Call game function by it's address from specified class.
Hello.
I have just started having fun with making .DLL hooks. Unfortunately I'm not that expieranced in it yet.
For now I can do GTA:San andreas cheat using Memory addressesⓘ found by the other ppl which are returning embedded C++ types.
I can simply make whatever I want:
//Setting health to 100.
I found other game I want to make a cheat for - Gothic II Night of the raven.
I've got all addresses but the problem is that many of them return custom types like oCNpc, oCWorld etc.
Sample:
0x00AB2684 public: static oCNpc * oCNpc:
layer
0x00AB2688 private: static int oCNpc::s_bEnabledDialogCamStop
0x00AB2680 private: static int oCNpc::s_bTargetLocked
0x00AB26D8 private: static zMAT4 oCNpc::s_playerPositi********
Let's say I want to get player like I did it with GTA:
// gta
?????Gothic II how???
Should I make a class named oCNpc and put there:
*(static oCNpc*) (0x00AB2684)
Do you think it will work?
I have just started having fun with making .DLL hooks. Unfortunately I'm not that expieranced in it yet.
For now I can do GTA:San andreas cheat using Memory addressesⓘ found by the other ppl which are returning embedded C++ types.
I can simply make whatever I want:
//Setting health to 100.
Code:
DWORD* Player = (DWORD*)0xB6F5F0;
float* Health = (float*)((*cPlayer + 0x540));
if(*Player)
{
*Health = 100.0;
}
I've got all addresses but the problem is that many of them return custom types like oCNpc, oCWorld etc.
Sample:
0x00AB2684 public: static oCNpc * oCNpc:
layer0x00AB2688 private: static int oCNpc::s_bEnabledDialogCamStop
0x00AB2680 private: static int oCNpc::s_bTargetLocked
0x00AB26D8 private: static zMAT4 oCNpc::s_playerPositi********
Let's say I want to get player like I did it with GTA:
Code:
DWORD* Player = (DWORD*)0xB6F5F0;
?????Gothic II how???
Should I make a class named oCNpc and put there:
*(static oCNpc*) (0x00AB2684)
Do you think it will work?