in visual basic i only use cshell.dll
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?Code: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.Code:bool IsGameReadyForHook() { if(GetModuleHandleA("d3d9.dll") != NULL && GetModuleHandleA("ClientFX.fxd" ) != NULL && GetModuleHandleA("CShell.dll") != NULL) return true; return false; }
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...Code:if(GetAsyncKeyState(VK_NUMPAD0)&1) { *(long*)0x01BF9D58 = 99; }
Last edited by seaplusplus; 05-08-2011 at 02:48 PM.
in visual basic i only use cshell.dll
I love it when people keep their agreements /sarcasm ftw
i guess so
i am not familiar with c++
but i used this
Code:If IsProcessOpen("BlackOps") Then string1 = readdll("cshell.dll") string2 = "&H" & Hex(string1 + address) WriteMemory(string2, value, bytes)
I love it when people keep their agreements /sarcasm ftw
nope maybe he can help
@Hell_Demon
I love it when people keep their agreements /sarcasm ftw
#1: int (__cdecl *execConsoleComand)(int a1, int a2, char *command) = (int (__cdecl*)(int,int,char*))0x48C070;
usage: execConsoleComand(0, 0, "command");
Not 100% sure, I haven't played black ops in months
#2: it just means they don't/didn't know what that argument was for, therefor didn't rename it from what Hex Rays for IDA named it.
#3: None, only BlackOpsMP.exe is needed for BO(it doesnt have any important dll's)
Last edited by Hell_Demon; 05-08-2011 at 01:41 PM.
Ah we-a blaze the fyah, make it bun dem!
Maybe it doesn't work cause he gave you the MP offset which I assume it is cause he is talking about BlackOpsMP.exe later on.
L2reverse or GTFO and don't beg.
No-oversized-signatures-movement!
♪~ ᕕ(ᐛ)ᕗ (05-10-2011),[MPGH]master131 (05-08-2011)
Code:006B1B23 6A 00 PUSH 0 006B1B25 68 C469B400 PUSH BlackOps.00B469C4 ; ASCII "ui_showShadowOptions" 006B1B2A E8 91E1F6FF CALL BlackOps.0061FCC0
Ah we-a blaze the fyah, make it bun dem!