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:

  1. hacking online games not considered cool;

  2. readprocessmemory not return int, nor should have int parameter using them;

  3. the first parameter readprocessmemory not "name" process, process handle. you'll have find handle using enumprocesses etc.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -