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 


whats the difference in byte type.

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

Joined: 28 Aug 2004
Posts: 36

PostPosted: Sat Aug 28, 2004 6:42 pm    Post subject: whats the difference in byte type. Reply with quote

i scaned unknown initial and then 4 byte increasing value and i got nothing for results. Then i repeated the process in 2 byte and got many results. What is the difference, in byte type. And if i do other byte options will i get other codes as well.

My final questions are...What would happen if i change byte type of a 2 byte result to a 4 byte. Also i learned about changing values to make codes. But can u change the adress to make codes?
Back to top
View user's profile Send private message
emperor
Master Cheater
Reputation: 0

Joined: 16 May 2003
Posts: 470
Location: Germany

PostPosted: Sat Aug 28, 2004 7:34 pm    Post subject: Reply with quote

2 Byte means: 00 00 to FF FF this allows only up to 65535, obviously.
4 byte maens: 00 00 00 00 to FF FF FF FF (allows up to 4294967295).
Now for example you can miss 2 byte values with 4 byte scans:
example: value in game is 300 stored in game's memory as 012C
If you search for 12C as 2 Byte it will be in your results.
If you search for 12C as 4 byte the 2 Bytes before the 012C matter as well.
For example the 012C would be after an FF FF.
Meaning: FF FF 01 2C is in the memory 01 2C being what you are searching for. However seen as 4 Byte this is not 01 2C (300) but it's FF FF 01 2 C (4294902060) .
To my mind for exact value scans you should use the smallest appopirate byte type (for ex if it doesn't rise over 65000 use 2 byte). However since most games multiply it with a certain factor exact value scans are hardly any useful...when doing an unknown value scan it's up to you to chose the correct bytesize...most commonly used is 4 byte after all. It's nothing new to me seeing games showing a stat up to like 2000-3000 as 4 Byte in a huge number over serveral hundret thousands..however how much a certain game multiplies,adds or substracts, or tries to hide it depends on the game, is therefore sort of unknown therefore i think in many cases the bytesize is also sort of unknown although 4 Byte is always likely. Note doing increase/decrease value scans wouldn't fail even if there were some other bytes before it: for ex
FF FF 01 2C is increased by one...
---> FF FF 01 2D increased would still be okay as unknown initial.
But if the FF FF also changes
to like FE FE then it would screw up the scan.


Last edited by emperor on Mon Aug 30, 2004 3:58 am; edited 3 times in total
Back to top
View user's profile Send private message
wh1t3y
Advanced Cheater
Reputation: 1

Joined: 09 May 2003
Posts: 85
Location: Missouri

PostPosted: Sun Aug 29, 2004 8:43 pm    Post subject: Reply with quote

well that was a damn good explanation emperor... moved to > tutorial section
_________________
(( / wh1t3y / ))
...yeah i guess that's cool...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Wigger
Cheater
Reputation: 0

Joined: 28 Aug 2004
Posts: 36

PostPosted: Mon Aug 30, 2004 8:22 pm    Post subject: Reply with quote

yes it was thank you.
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