Freezing a value

Posts 1–5 of 5 · Page 1 of 1
Freezing a value
Say im making a trainer for a game, and i want to freeze the value of ammo.
i can set the ammo to 999 ( memoryh4x(&H176C8B8, 999, 4))
but i have no idea how to keep it from going to 998 when i shoot. someone please help! thanks guys
Quote Originally Posted by Blubb1337 View Post
Use a timer?
please explain dude, im completley lost. i cant find anything to keep the value at 999
Quote Originally Posted by HexMurder View Post
please explain dude, im completley lost. i cant find anything to keep the value at 999
There is a control called "Timer", use it.

With that hint, if you don't know any further, google will help you.
Freezing is really just writing back your "frozen" value to that memory location very quickly to give the impression that it never changed. To truly "Freeze" a value you would need to NOP all methods that access your value, which takes some reverse engineering and is too much of a pain in the ass.
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us