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 


Can't deallocate memory in AA script.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Aurα
How do I cheat?
Reputation: 0

Joined: 14 Aug 2022
Posts: 1
Location: Greece

PostPosted: Sun Sep 04, 2022 8:51 am    Post subject: Can't deallocate memory in AA script. Reply with quote

Hello,

So I made a CETrainer which has a lot of AA scripts in it. While I was testing the trainer to make sure everything works as it's supposed to, I noticed that, even though the jumps were perfectly done and new memory was being properly allocated, disabling the script did not seem to deallocate that memory at all. Instead, every time I reactivated a script, new memory kept getting allocated over and over again. The scripts were working perfectly outside of the Cetrainer. I tried registering newmem as a symbol, didn't work. I tried to deallocate the memory relatively to some defines I had done, didn't work either. I know I can use globalalloc and not worry about deallocating new memory at all, but I would like to not do that. This happens with all the AA scripts that I put in my trainer. Any suggestion?

Thanks for your time and effort.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25289
Location: The netherlands

PostPosted: Sun Sep 04, 2022 11:28 am    Post subject: Reply with quote

Do you use the addresslist for auto assembler script activation or the autoAssemble lua command?

If the lua command, make sure you also pass the disableinfo to the command when disabling

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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