View previous topic :: View next topic |
Author |
Message |
Troughy How do I cheat? Reputation: 0
Joined: 24 Apr 2022 Posts: 4
|
Posted: Sun Apr 24, 2022 8:15 am Post subject: Can't find a pointer to ammo string |
|
|
I'm trying to make a cheat for Teardown, and they seem to be storing the ammo in a string, which is weird. I can just search for the ammo in string, change it, freeze it, and it works like that. I clicked on Find out what accesses this, and all the ones were at offset 0, so I checked the Hex option and looked for the same address, but there are no results. With pointerscanning I managed to find hundreds of pointers, but none with comparing pointermaps, and after I restarted the game, found address again, in the open pointer scan window went to Pointer scanner -> Rescan memory and typed the new address, I got one left but it doesn't even point anywhere (that was 7 levels, with 10 levels at the end I had a threadstack one)
Now I just started game hacking a few days ago and this is the first game I'm trying to hack by myself. I already found player coordinates and health, and if it matters, only the first 4 characters of the ammo's address is the same as other player related stuff
Btw if there's a way to find this string in C++ (DLL) that works for me, the problem is it's not gonna be the only string with that value
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sun Apr 24, 2022 8:43 am Post subject: |
|
|
The real value won't be a string. The string will just be a reference to the real value.
|
|
Back to top |
|
|
Troughy How do I cheat? Reputation: 0
Joined: 24 Apr 2022 Posts: 4
|
Posted: Sun Apr 24, 2022 9:02 am Post subject: |
|
|
LeFiXER wrote: | The real value won't be a string. The string will just be a reference to the real value. |
So how can I find the real value? This is the only address in memory with this value, there's a bunch of instructions accessing it, but I don't really understand assembly well enough to make sense of it :/
It's like it displays the text and reads it every tick, I can even set it to a number above the max ammo and it'll still start decreasing it
|
|
Back to top |
|
|
TsTg Master Cheater Reputation: 5
Joined: 12 Dec 2012 Posts: 334 Location: Somewhere....
|
Posted: Sun Apr 24, 2022 1:24 pm Post subject: |
|
|
you could try reversing some of these instructions and see how the ammo value is obtained, before printing it on the screen, or:
try using "unknown value" search, then you can start doing "decreased/increased" filters
if still no good results, try again unknown value search but this time using "changed/unchanged" filters
|
|
Back to top |
|
|
Troughy How do I cheat? Reputation: 0
Joined: 24 Apr 2022 Posts: 4
|
Posted: Sun Apr 24, 2022 11:54 pm Post subject: |
|
|
TsTg wrote: | you could try reversing some of these instructions and see how the ammo value is obtained, before printing it on the screen, or:
try using "unknown value" search, then you can start doing "decreased/increased" filters
if still no good results, try again unknown value search but this time using "changed/unchanged" filters |
I've tried that and the only thing that came up was this string. It would be possible to store ammo in the string and parse it into an int when ur shooting, right? I'm gonna try to find it again when I get home
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Mon Apr 25, 2022 7:14 am Post subject: |
|
|
Ah okay, this is made with Lua and heavily modifiable. You can even modify the code because alot of the plain source code is visible, and editable in the data folder.
|
|
Back to top |
|
|
Troughy How do I cheat? Reputation: 0
Joined: 24 Apr 2022 Posts: 4
|
Posted: Mon Apr 25, 2022 9:22 am Post subject: |
|
|
LeFiXER wrote: | Ah okay, this is made with Lua and heavily modifiable. You can even modify the code because alot of the plain source code is visible, and editable in the data folder. |
Oh that's good because I'm experienced with that. Btw when I look for Changed value, it doesn't really make sense as a float, but when you change it to a string, it gives you the current ammo.
|
|
Back to top |
|
|
|