View previous topic :: View next topic |
Author |
Message |
omax Newbie cheater
Reputation: 0
Joined: 29 May 2014 Posts: 14 Location: Jupiter
|
Posted: Wed Jun 18, 2014 8:19 am Post subject: how to make an address unassociated with its instruction |
|
|
hello, i have an address which i would like to change but the instruction which writes to it prevents me from doing that and i can't simply nop the instruction since it also writes onto some other address which would result game crash. so i would like to prevent the instruction from accessing my address but not other addresses.
thanks for the help
|
|
Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Wed Jun 18, 2014 9:31 am Post subject: |
|
|
The easiest way is to set Freeze interval to 1ms instead of 100ms. This will not stop the code, but CE will set back the value much more frequently.
The other easy way is to make a script like
Code: |
push eax
lea eax,[esi+04] //store the address on eax
cmp eax,myaddress //check if the address is your address
pop eax
je originalcode //if yes, jump over the instruction that is changing it
fstp [esi+04] |
_________________
|
|
Back to top |
|
 |
omax Newbie cheater
Reputation: 0
Joined: 29 May 2014 Posts: 14 Location: Jupiter
|
Posted: Wed Jun 18, 2014 12:50 pm Post subject: |
|
|
decreasing the freeze interval does work. however due to the lack of my knowledge in assembly language i couldn't understand "je orignalcode" and "fstp [esi+04]"'s functions. i also found out the reason why the game crashed when i nopped the opcode... it was because the game was running on an emulator and so the instruction which i found was actually the emulator's code not the game's code.
thanks for the help
|
|
Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Wed Jun 18, 2014 2:20 pm Post subject: |
|
|
fstp was just a random imaginary code, since I didn't know what is the original instruction and je is supposed to jump over it.
But if freeze interval has worked, just stick to that.
_________________
|
|
Back to top |
|
 |
|