--- Daodan/src/Daodan.c 2009/10/30 08:52:50 474 +++ Daodan/src/Daodan.c 2009/11/03 10:38:47 476 @@ -7,6 +7,7 @@ #include "Daodan_Cheater.h" #include "Daodan_Persistence.h" #include "Daodan_BSL.h" +#include "Daodan_Console.h" #include "Daodan_WindowHack.h" @@ -178,7 +179,19 @@ bool DDrPatch_Init() //Test newweap patch // if (patch_newweapon) { -// DDrPatch_NOOP( OniExe + 0x000E4DF8, 2); + + //Makes it always say "Recieved weapon_name." + //Needs check for loc_4DFC66 + DDrPatch_NOOP( OniExe + 0x000E4DF8,2); + + //Adds Weapon name and ammo meter to pickup autoprompt + DDrPatch_NOOP( OniExe + 0x000FAC73, 9); + DDrPatch_NOOP( OniExe + 0x000FAC80, 5); + DDrPatch_MakeCall( OniExe + 0xFAC85, DDrWeapon2Message); + + //Moves location of colors + DDrPatch_Int32( OniExe + 0x0002E3D5, (int)&DDrDSayColors[0].Char ); + DDrPatch_Int32( OniExe + 0x0002E3DA, (int)&DDrDSayColors[0].Char ); // } // Disable loading the vtuneapi.dll