So as you know I use to code DLL hacks in C++ for Combat Arms. But now I'm getting into Black Ops Zombies. I'm going to make a hotkey DLL that uses console commands. I have 3 questions:
1) What is the most updated address for...
2) What is int a1 there for?
typedef void (*SendConsoleCommand_)(int a1, char *command);
SendConsoleCommand_ SendConsoleCommand = (SendConsoleCommand_)0x??????;
3) What files do I have to check before hooking? In Combat Arms I do...
What files will I need put in for Black Ops.
if(GetModuleHandleA("d3d9.dll") != NULL
&& GetModuleHandleA("ClientFX.fxd" ) != NULL
&& GetModuleHandleA("CShell.dll") != NULL)
EDIT: I actually have another question...
4) I tried injecting a DLL that I made that would change the ammo of the first weapon in zombies to 99. This is my code...
0x01BF9D58 is the address of the amount of ammo. But for some reason it wont work when I press numpad 0...
*(long*)0x01BF9D58 = 99;