0
C++ Manipulating Value
Hi, I tried to make cheat for cs 1.6 (its going to work with bots) I found the value of Health point for example it is 0x274F7 I opened dev c++ and empty source code page. I wrote this: int *hpPointer = (int*) "0x274F7"; and tried to that, if (*hpPointer < 100) *hpPointer = 100; you know code above checking if hp is less than 100, equal it to 100 but it did not worked I compiled and opened, you know, code is checking is hp less than 100? i meant code is going to manipulate hp, when my hp has decreased
4 odpowiedzi
0
game is stopping work
also i tried to do the thing like that in sololearn
i declared variable and looked its place in the ram
for example its 0x237
i changed it like that
int *p = (int*) "0x237";
*p = 23; //i changed value
cout<< *p; //then print it
0
I already found the address with cheat engine