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 


Structure created in random order!?

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

Joined: 08 Mar 2017
Posts: 55

PostPosted: Wed Mar 15, 2017 1:44 pm    Post subject: Structure created in random order!? Reply with quote

Hi guys,

I have the structures of my players containing the x,y and z coordinates. Problem is sometimes when I play the order is x,y,z then the next time I fire up the game the coordinates in memory are y,z,x.

How can I force the structures to keep the same order or at least determine which value is what? All 3 are floats determining location so it is very hard to know which is which if they keep changing order.

Thanks
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 72

Joined: 29 Oct 2010
Posts: 3534

PostPosted: Wed Mar 15, 2017 2:00 pm    Post subject: Reply with quote

Can you disclose the target?
Back to top
View user's profile Send private message
pellik
Advanced Cheater
Reputation: 0

Joined: 14 Jun 2013
Posts: 92

PostPosted: Wed Mar 15, 2017 2:01 pm    Post subject: Reply with quote

Maybe you could find the jump function.
Back to top
View user's profile Send private message
nero1232
Advanced Cheater
Reputation: 0

Joined: 08 Mar 2017
Posts: 55

PostPosted: Wed Mar 15, 2017 2:14 pm    Post subject: Reply with quote

++METHOS wrote:
Can you disclose the target?


It's a vr game for the htc vive.

pellik wrote:
Maybe you could find the jump function.


The jump function for what? I already found the edit function for the location and have AOB script that saves the base addresses in memory. Now though sometimes the coordinates are in the wrong order which makes it very hard to code around.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 72

Joined: 29 Oct 2010
Posts: 3534

PostPosted: Wed Mar 15, 2017 2:23 pm    Post subject: Reply with quote

nero1232 wrote:
++METHOS wrote:
Can you disclose the target?
It's a vr game for the htc vive.
-'No' works, just as well.
Back to top
View user's profile Send private message
nero1232
Advanced Cheater
Reputation: 0

Joined: 08 Mar 2017
Posts: 55

PostPosted: Wed Mar 15, 2017 2:27 pm    Post subject: Reply with quote

++METHOS wrote:
nero1232 wrote:
++METHOS wrote:
Can you disclose the target?
It's a vr game for the htc vive.
-'No' works, just as well.


Have you not experienced this issue before then? Everything else seems to remain in the same order it's just the x,y,z that sometimes seems to be random.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 72

Joined: 29 Oct 2010
Posts: 3534

PostPosted: Wed Mar 15, 2017 2:28 pm    Post subject: Reply with quote

No. Which is why I asked about the target.
Back to top
View user's profile Send private message
nero1232
Advanced Cheater
Reputation: 0

Joined: 08 Mar 2017
Posts: 55

PostPosted: Wed Mar 15, 2017 2:32 pm    Post subject: Reply with quote

++METHOS wrote:
No. Which is why I asked about the target.


Okay I thought it may be normal that things can can instantiated not always in the correct order in memory, but if not then it must do it intentionally.

Thanks
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 116

Joined: 09 Jun 2013
Posts: 3175

PostPosted: Wed Mar 15, 2017 5:29 pm    Post subject: Reply with quote

Are the three addresses right next to each other?
Back to top
View user's profile Send private message
nero1232
Advanced Cheater
Reputation: 0

Joined: 08 Mar 2017
Posts: 55

PostPosted: Thu Mar 16, 2017 2:53 am    Post subject: Reply with quote

Zanzer wrote:
Are the three addresses right next to each other?


Yes always, they are always 1A0, 1A4 and 1A8 it's just sometimes X might be first, other times Z is first.
Back to top
View user's profile Send private message
pellik
Advanced Cheater
Reputation: 0

Joined: 14 Jun 2013
Posts: 92

PostPosted: Thu Mar 16, 2017 6:14 am    Post subject: Reply with quote

I meant jump not jmp. Like bounce...
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