readprocessmemory - Read Process Memory in C++ -
i coding hack online-game have issue. value address want changing everytime restart game.
void wallshootfunction(bool fenable) { if(fenable) { int value = 0x000000; int oo = readprocessmemory("s4client", (lpvoid)value, &value, 4, 0); writepointer(oo, 0x0, 4) } }
i did that. thing want is, need add value +3 everytime, example if it's orig. value 5, must 8. if orig. value changes 7, must 10, 17 => 20 etc. how can ? thanks.
ok:
hacking online games not considered cool;
readprocessmemory
not returnint
, nor should haveint
parameter using them;the first parameter
readprocessmemory
not "name" process, process handle. you'll have find handle usingenumprocesses
etc.
Comments
Post a Comment