View previous topic :: View next topic |
Author |
Message |
kokkinogenis Advanced Cheater
Reputation: 0
Joined: 10 Sep 2015 Posts: 82 Location: Greece
|
Posted: Tue Oct 27, 2015 4:57 pm Post subject: wallhack with health hack ??? |
|
|
Hello folks ! After some extended reading from Rydian's guide, i managed to make my first trainers yay !!! Now, the problem is that, i tryed to make trainer for war of soldiers. I make unlimited ammo cheat. And health cheat. The problem with the health cheat, is that when i enable it, i don't take damage at all, but the problem is that players can't see me. They suddenly, they dissapear from the map(effect from the cheat of course), and almost every time, when a player, manage to shoot me, i just fall from the map !!! Like a "bad" wallhack. Why this is happening ? Is there any problem with my cheat, or it's the game "problem" ?? Thanks !! |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Wed Oct 28, 2015 2:16 am Post subject: |
|
|
Assuming you're not just noping an FSTP or something (which you shouldn't do, if it's an FTSP tell us)...
Right-click the code you're targeting and choose "find what addresses this instruction accesses". If you see a bunch of stuff other than your health show up, then that's a shared function that does a lot more than your health.
http://forum.cheatengine.org/viewtopic.php?t=583376
The techniques here are meant for when an invincibility code makes enemies invincible as well, but some of the workarounds could work in this case as well. _________________
|
|
Back to top |
|
 |
kokkinogenis Advanced Cheater
Reputation: 0
Joined: 10 Sep 2015 Posts: 82 Location: Greece
|
Posted: Wed Oct 28, 2015 3:54 am Post subject: |
|
|
i know what FTP is, i know what SFTP is, but i don't know what is FSTP or FTSP(because you write them both).
Yeah:( i was just nop the health memory, because i saw it on the tutorial. It worked out with the ammo, but not on the health. Anyway I found out from you article you just gave me, that there is a second adress "inside" the health adress. Is shows up, when i kill a player. Only then. So maybe, this is the problem. But i didn't understand what to do to stop it. I saw the tut but i don't understand.
P.S sorry for the bad English |
|
Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Wed Oct 28, 2015 4:09 am Post subject: |
|
|
FTSP is a typo by Rydian, he meant FSTP. Not sure if this is what its abbreviation for but i remember it as Float STack Pop
FTP/SFTP are completely different things lol, they are network protocols and nothing to do with assembly language. _________________
|
|
Back to top |
|
 |
kokkinogenis Advanced Cheater
Reputation: 0
Joined: 10 Sep 2015 Posts: 82 Location: Greece
|
Posted: Wed Oct 28, 2015 4:20 am Post subject: |
|
|
Hahahhaa i know what FSTP and FTP are. I said that. And i know that they have nothing to do with assembly LOL
Float Stack POP. OK. This start to make sense. Waiting Rydian for confirmation  |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Wed Oct 28, 2015 4:41 am Post subject: |
|
|
i r gud typer i nevr typo
But yeah what's the instruction you're actually messing with and what are you doing to it? _________________
|
|
Back to top |
|
 |
kokkinogenis Advanced Cheater
Reputation: 0
Joined: 10 Sep 2015 Posts: 82 Location: Greece
|
Posted: Wed Oct 28, 2015 10:19 am Post subject: |
|
|
Rydian wrote: | i r gud typer i nevr typo
|
What ??
Rydian wrote: |
But yeah what's the instruction you're actually messing with and what are you doing to it? |
You mean, what i don't understand from the "invisibility code fixes" topic ? The thing, that i really, doesn't understand, it's the code, that it will help us "cure" this thing. What i mean?? I mean, OK, i found out, that my adress doesn't "manage" only the health adress. I found what is the health adress, but i didn't understand, what code i will use, to patch the 9999 health that you said. |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Wed Oct 28, 2015 11:34 am Post subject: |
|
|
The first thing was me making fun of my own typos.
To the second, I mean... what's the code you're editing?
Like you see code in the game and you edit it, right?
Show us what it is. _________________
|
|
Back to top |
|
 |
kokkinogenis Advanced Cheater
Reputation: 0
Joined: 10 Sep 2015 Posts: 82 Location: Greece
|
Posted: Wed Oct 28, 2015 1:19 pm Post subject: |
|
|
Rydian wrote: | The first thing was me making fun of my own typos.
|
A OK
Rydian wrote: |
To the second, I mean... what's the code you're editing?
Like you see code in the game and you edit it, right?
Show us what it is. |
I am editing the health adress. But from your tutorial that you gave me, i found out, that the adresses that acesses this adress, are more than one. The adress, that i thought that in was only the health inside, i found out that it handles also the map, and the enemys too. BUT i don't understand, what to do next, to solve this problem. |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Wed Oct 28, 2015 3:16 pm Post subject: |
|
|
Okay but.
What is it?
What is it you're poking at?
You see code, right? The code that you hit CTRL+A on or whatever to make the script, right?
What is that code? Show or tell us.
That one line of code you're poking, show us. _________________
|
|
Back to top |
|
 |
kokkinogenis Advanced Cheater
Reputation: 0
Joined: 10 Sep 2015 Posts: 82 Location: Greece
|
Posted: Thu Oct 29, 2015 4:19 am Post subject: |
|
|
Rydian wrote: | Okay but.
What is it?
What is it you're poking at?
You see code, right? The code that you hit CTRL+A on or whatever to make the script, right?
What is that code? Show or tell us.
That one line of code you're poking, show us. |
Sorry,but i can't completely understand what you say. For what code you are talking about, that i "poke"on it ?? |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Thu Oct 29, 2015 6:36 am Post subject: |
|
|
What IS the health cheat?
Show it to us. _________________
|
|
Back to top |
|
 |
kokkinogenis Advanced Cheater
Reputation: 0
Joined: 10 Sep 2015 Posts: 82 Location: Greece
|
Posted: Thu Oct 29, 2015 6:54 am Post subject: |
|
|
Rydian wrote: | What IS the health cheat?
Show it to us. |
ahh you mean the code of the script, that nop the health ??
OK.
This is the code for the health:
Quote: |
[ENABLE]
aobscan(nodamage, D9 5E 30 D9 46 30 D9EE)
label(_nodamage)
registersymbol(_nodamage)
nodamage:
_nodamage:
db 90 90 90
[DISABLE]
_nodamage:
db D9 5E 30
unregistersymbol(_nodamage) |
|
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Thu Oct 29, 2015 7:19 am Post subject: |
|
|
fstp DWORD PTR [esi+0x30]
Okay, so that is an FSTP, and nopping it is bad because it unbalances the stack (since the pop is no longer happening) which is why everything goes crazy.
What you should do instead is use the AOB injection template, since that'll let you insert additional code. When you do that (and give the code a UNIQUE name), you'll end up with something like this somewhere in the code.
Code: | code:
fstp DWORD PTR [esi+0x30] |
What you should do is insert a new line right under that, which looks like this.
Code: | mov [esi+0x30],(Int)999 |
Which will reset your HP with 999 every time it goes to update it with that code.
EDIT: Updated the guide with info on this. _________________
|
|
Back to top |
|
 |
kokkinogenis Advanced Cheater
Reputation: 0
Joined: 10 Sep 2015 Posts: 82 Location: Greece
|
Posted: Thu Oct 29, 2015 10:30 am Post subject: |
|
|
Rydian wrote: | fstp DWORD PTR [esi+0x30]
Okay, so that is an FSTP, and nopping it is bad because it unbalances the stack (since the pop is no longer happening) which is why everything goes crazy.
What you should do instead is use the AOB injection template, since that'll let you insert additional code. When you do that (and give the code a UNIQUE name), you'll end up with something like this somewhere in the code.
Code: | code:
fstp DWORD PTR [esi+0x30] |
What you should do is insert a new line right under that, which looks like this.
Code: | mov [esi+0x30],(Int)999 |
Which will reset your HP with 999 every time it goes to update it with that code.
EDIT: Updated the guide with info on this. |
OK. TNX I saw the guide. And re-make the health cheat, with the AOB injection template as you said. I also modify to my new code. But when i am trying to enable it, the cheat doesn't enable. Maybe i did something wrong. My code is:
Quote: | [ENABLE]
aobscan(groundtype,D9 5E 30 D9 46 30)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
fstp dword ptr [esi+30]
mov [esi+30],(Int)999 //the new line that i put, as you can see
fld dword ptr [esi+30]
jmp return
groundtype:
jmp code
nop
return:
registersymbol(groundtype)
[DISABLE]
groundtype:
db D9 5E 30 D9 46 30
unregistersymbol(groundtype)
dealloc(newmem) |
|
|
Back to top |
|
 |
|