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 


I think there's a bug in allocating memory

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

Joined: 19 Jan 2017
Posts: 30

PostPosted: Sun May 10, 2020 10:22 am    Post subject: I think there's a bug in allocating memory Reply with quote

Something weird started happening, where the addresses are not properly set.
For example the default value of [Timer] should be 0 when memory is allocated.
But value -6.693051061E-14 is set instead

Nothing is writing/accessing that address
Worked fine 5 minutes before, nothing edited, then this happens.
Thought it might be too much or little memory allocated, but no (using $40)
Restarted game and even pc, thinking it might be a driver issue or something like that
I had this random problem once a month ago.

For example:
I have a script that checks if [AutoMoveGoto X] is 0, if so it doesn't execute the script.
The default value is now -6.693051061E-14 and when manually set to 0 it ignores that check
What is going on?!
Also the address set for OnFoot does not end with 0,4,8 or C but 2 !

Screenshot: https://i.imgur.com/i0jEaYX.png


Edit:

Solved the issue by using globalalloc and define.

My old script had lots of alloc and dealloc, now it's a bunch of define end registersymbols!
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Sun May 10, 2020 1:51 pm    Post subject: Reply with quote

You'd need to post the script for us to tell you what you did wrong.
_________________
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
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