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

3rd Jan 2018, 10:36 AM
Mustafa K.
Mustafa K. - avatar
2 Respuestas
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
3rd Jan 2018, 10:37 AM
Mustafa K.
Mustafa K. - avatar
0
I already found the address with cheat engine
3rd Jan 2018, 11:25 AM
Mustafa K.
Mustafa K. - avatar