Need help with clearing allocate memory problem, please take a look.

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
tesfileview
Noobzor
Noobzor
Posts: 8
Joined: Sat Sep 03, 2022 7:52 am
Reputation: 0

Need help with clearing allocate memory problem, please take a look.

Post by tesfileview »

In a battle of game, I used a script create an allocate memory for use to Record bunch of info into address and reconfirm them at another script.
after the fight is over, I want to make all those addresses in that allocate memory to zero bytes to make sure it always has enough space to record address.so which calling should I use to make this happen?

User avatar
Toga
Expert Cheater
Expert Cheater
Posts: 243
Joined: Wed Mar 03, 2021 1:11 pm
Reputation: 98

Re: Need help with clearing allocate memory problem, please take a look.

Post by Toga »

", please take a look"

how are we supposed to take a look and help? there's no code/script included.

no offense but...

tesfileview
Noobzor
Noobzor
Posts: 8
Joined: Sat Sep 03, 2022 7:52 am
Reputation: 0

Re: Need help with clearing allocate memory problem, please take a look.

Post by tesfileview »

Toga wrote:
Sun Aug 27, 2023 10:35 am
", please take a look"

how are we supposed to take a look and help? there's no code/script included.

no offense but...
I am trying to find a way reset all the bytes in an allocated memory to zero after every time a fight is over. The trigger has been setup in script, so I want to know which call has that ability or just put zero to those address of each 8 byte and loop till end?

User avatar
SunBeam
Administration
Administration
Posts: 4932
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4630

Re: Need help with clearing allocate memory problem, please take a look.

Post by SunBeam »

Save your script (add to CE GUI list), then enable script and disable it after a fight, then re-enable it. It will reallocate everything. If you still don't get it, the post the script here so we can check. If you continue to post and don't show any script, we will ignore you.

tesfileview
Noobzor
Noobzor
Posts: 8
Joined: Sat Sep 03, 2022 7:52 am
Reputation: 0

Re: Need help with clearing allocate memory problem, please take a look.

Post by tesfileview »

ok guys, I have done this work by other way, thanks you for the visit and idea.

Post Reply

Who is online

Users browsing this forum: No registered users