| View previous topic :: View next topic |
| Author |
Message |
darsh2010 Newbie cheater
Reputation: 1
Joined: 31 Aug 2011 Posts: 20
|
Posted: Thu Apr 12, 2012 1:55 pm Post subject: god mode assemble code help |
|
|
i'm trying to do a god mode but when i activate my script it gives me god mode and gives enemy god mode as well so anyone know how to find the code which only gives me godmode not the enemy
"this is not for all games"
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25858 Location: The netherlands
|
Posted: Thu Apr 12, 2012 2:51 pm Post subject: |
|
|
Instead of nopping you must do a code injection that checks the state of the registers and the memory
First find out what addresses that instruction accesses to find structures to compare against (get shot and shoot an enemy, but do not kill it)
Then use data dissect and compare the structure of the enemy to your own and see if you can determine a way to distinguish between the two (perhaps the first pointer has a specific value for the player, or a certain value is always 0, or 1, etc...)
alternatively, find out what accesses your health, and your health alone(e.g for gui updates). In there store the address of health and compare against that in the routine that lowers your health
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Kavvman Master Cheater
Reputation: 2
Joined: 17 Apr 2004 Posts: 316
|
Posted: Thu Apr 12, 2012 4:04 pm Post subject: |
|
|
^what DB said. Also there are several other ways to get a player only compare.
There is the stack comparison method which i don't fancy a lot since it isn't the most stable one but in some games its rather easier this way. There's also the string comparison method, in your structure or in the stack you might find an interesting string that is specific to player only (i've seen it with scripted engines mostly)
Which game is it ? it'd be easier to tell how to do what you're doing knowing the game engine.
_________________
... |
|
| Back to top |
|
 |
darsh2010 Newbie cheater
Reputation: 1
Joined: 31 Aug 2011 Posts: 20
|
Posted: Thu Apr 12, 2012 8:32 pm Post subject: |
|
|
the game is Prince Of Persia The Forgotten sands i'm practicing on it
now i know how to make god mode but what about when i find enemy's health's address will i be able to make damage x2 or x3 or even 1 hit by adding 2X[the value that decrease enemy's health] at the part of the script i think it should be like this :
if the enemy's health was 100:
mov [XXXXXXXX],eax ---------------> mov [XXXXXXXX],eax-10
dec [XXXXXXXX],eax ------------------> dec [XXXXXXXX],2*eax
and just like that right ???????
srry for my bad english
|
|
| Back to top |
|
 |
Kavvman Master Cheater
Reputation: 2
Joined: 17 Apr 2004 Posts: 316
|
Posted: Fri Apr 13, 2012 1:07 pm Post subject: |
|
|
Just put 1 or 0 into enemy health that should give you a nice one hit kill. If the instruction is executed in real-time and accesses all enemies loaded on map then injecting 0 will give you a nice Mass Kill option.
POP:TFS shouldn't be too hard to train, there were tons of trainers out for it so the engine mustbe pretty easy
_________________
... |
|
| Back to top |
|
 |
darsh2010 Newbie cheater
Reputation: 1
Joined: 31 Aug 2011 Posts: 20
|
Posted: Fri Apr 13, 2012 3:41 pm Post subject: |
|
|
when i activate the script now nothing change and i think i don't get it right
i do find out what access....... to the address then alot of address show up alot of them with +20 count and only 5 are 1 count and these five address check the health address if it equal 00 if i got hit or i hit enemy they are the same function can you help me
|
|
| Back to top |
|
 |
|