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?
Need help with clearing allocate memory problem, please take a look.
-
- 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.
", please take a look"
how are we supposed to take a look and help? there's no code/script included.
no offense but...
how are we supposed to take a look and help? there's no code/script included.
no offense but...
-
- 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.
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?
Re: Need help with clearing allocate memory problem, please take a look.
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.
-
- 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.
ok guys, I have done this work by other way, thanks you for the visit and idea.
Who is online
Users browsing this forum: No registered users