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 


Example help (i've read the tuts but i cant find this

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Armed10
Expert Cheater
Reputation: 0

Joined: 05 Nov 2006
Posts: 147
Location: With you.

PostPosted: Sat Nov 17, 2007 12:11 pm    Post subject: Example help (i've read the tuts but i cant find this Reply with quote

in need for speed most wanted i wanted to put a code in an Auto assemble script for a trainer but i phailed =s

this is the original code:
00692A96 fld [esi+000000f8]

it is replaced by this code
00692A96 fld [esi+000000f9]

can anyone help me out or give me a hint??
thx in advance

_________________

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
mapleh4ckz
Master Cheater
Reputation: 0

Joined: 20 Sep 2006
Posts: 386
Location: Maplestory

PostPosted: Sat Nov 17, 2007 2:13 pm    Post subject: Reply with quote

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat

00692A96:
fld [esi+000000f9]
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat

00692A96:
 fld [esi+000000f8]



Now, there may be some Nops to add


go to 00692a96 in memory view and change f8 to f9 and a box will pop up that says something like " The generated code is 1 byte(s) long, but the selected opcode is 2 bytes etc... do you want to replace the rest with nop and you press yes...

So add accordingly the number of nops that you need to to the enable section after fld [esi+000000f9]

_________________
My Best Hacks...

ZF- the universal hack
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25805
Location: The netherlands

PostPosted: Sat Nov 17, 2007 5:19 pm    Post subject: Reply with quote

00692A96 fld [esi+000000f9]

let me guess, random crashes, or instant crash. Or just complete random results?

_________________
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
View user's profile Send private message MSN Messenger
Armed10
Expert Cheater
Reputation: 0

Joined: 05 Nov 2006
Posts: 147
Location: With you.

PostPosted: Wed Nov 21, 2007 8:19 am    Post subject: Reply with quote

Dark Byte wrote:
00692A96 fld [esi+000000f9]

let me guess, random crashes, or instant crash. Or just complete random results?


random.. how did u know?? i found a better code now that doesn't create glitches or crashes

_________________

Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25805
Location: The netherlands

PostPosted: Wed Nov 21, 2007 8:32 am    Post subject: Reply with quote

the original code was
fld [esi+000000f8]
indicating that at esi+f8 is a floating point value

the changed code is:
fld [esi+000000f9]
which means you are writing 1 byte after the start of a 4/8 byte floating point value. So the normal reads would read the value at f8, and getting a unpredicted result after the first byte

_________________
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
View user's profile Send private message MSN Messenger
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