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 


Array Offset Incorrect?

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

Joined: 21 Sep 2021
Posts: 10

PostPosted: Tue Jul 12, 2022 5:12 pm    Post subject: Array Offset Incorrect? Reply with quote

Example:
test:
dd (float)1.80
dd (float)1.80
dd (float)1.50
dd (float)1.50
dd (float)1.35
dd (float)1.25
dd (float)1.25
dd (float)1.50
dd (float)1.35
dd (float)1.40
dd (float)0.85
dd (float)0.85
dd (float)0.85
dd (float)0.80
dd (float)1.30
dd (float)1.80
dd (float)0.60
dd (float)0.60
dd (float)0.95
dd (float)0.95
dd (float)0.80
dd (float)0.80
dd (float)0.85
dd (float)0.85
dd (float)1.20
dd (float)0.70

[test],[test+4],[test+8] would be correct but then all of a sudden [test+12] would be in location [test+10] [test+16] would be in [test+14] etc..
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Tue Jul 12, 2022 5:52 pm    Post subject: Reply with quote

It's possible the data is not aligned.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4299

PostPosted: Tue Jul 12, 2022 5:54 pm    Post subject: Reply with quote

Offsets are in hexadecimal. i.e. [test+12] is 0x12, or 18 in decimal.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
hayabusa-senpai
Newbie cheater
Reputation: 0

Joined: 21 Sep 2021
Posts: 10

PostPosted: Tue Jul 12, 2022 6:33 pm    Post subject: Reply with quote

ParkourPenguin wrote:
Offsets are in hexadecimal. i.e. [test+12] is 0x12, or 18 in decimal.


God I'm dumb, that totally went over my head

Thanks
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