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 


255 max value problem

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
adaptusaaf
Advanced Cheater
Reputation: 0

Joined: 13 Jan 2008
Posts: 52

PostPosted: Tue Jul 22, 2014 8:30 pm    Post subject: 255 max value problem Reply with quote

I'm a long time assembly/memory tweaker but I've recently come across a time when I need to make a game think my ID is different, the trouble is the instruction to write the ID looks like this:
mov [esi+40],edx

and my ID is 213921

I can force an ID change by changing the instruction to this for example

mov [esi+40],00000000 to set ID to 0
or
mov [esi+40],000000FF to set ID to 255

How can I approach setting my ID to, for example, 213931?

EDIT: I can get a 6 digit ID like I want by doing this:
mov [esi+40],0000ACCC
but I can't figure out how to get the exact number I want, for example, how to calculate what instruction (like mov [esi+40],0000ACCC) will equal what ID? The ID I'm trying to get is exactly 388764
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Jul 22, 2014 9:01 pm    Post subject: Reply with quote

388764 (decimal) = 0005EE9C (hex)

You can use windows calculator (in programmer mode) to convert Dec-to-Hex etc..

You can also write the value in your script using decimal format:

Code:
mov [esi+40],#388764
Back to top
View user's profile Send private message
huzaifa
Newbie cheater
Reputation: 0

Joined: 07 Jul 2014
Posts: 12

PostPosted: Wed Jul 23, 2014 3:06 pm    Post subject: help Reply with quote

i have seen ur many works and specially 4 watch-dogs u r the best..there is a game don bradman cricket 14 yet no one has been able to make its trainer plz man make one
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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