Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


how to make an address unassociated with its instruction

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
omax
Newbie cheater
Reputation: 0

Joined: 29 May 2014
Posts: 14
Location: Jupiter

PostPosted: Wed Jun 18, 2014 8:19 am    Post subject: how to make an address unassociated with its instruction Reply with quote

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 Smile
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Wed Jun 18, 2014 9:31 am    Post subject: Reply with quote

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]

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
omax
Newbie cheater
Reputation: 0

Joined: 29 May 2014
Posts: 14
Location: Jupiter

PostPosted: Wed Jun 18, 2014 12:50 pm    Post subject: Reply with quote

decreasing the freeze interval does work. however due to the lack of my knowledge in assembly language Sad 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 Smile
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Wed Jun 18, 2014 2:20 pm    Post subject: Reply with quote

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.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites