Page 1 of 1

LUA Script Running Bugs

Posted: Mon Mar 09, 2020 2:47 pm
by Cadimiom
Memory leaks / performance issues all come about cause we iterate and make all entries used or we never free a in-use runtime it the lua function didn't exist

http://cutpon.com:3000/devn00b/EQ2EMu/c ... 80ac36e325

before:

https://i.gyazo.com/58a74d29bfc1fa369db ... 6a5e71.gif

after:

https://cdn.discordapp.com/attachments/ ... emleak.gif

Note: the zoneserver.cpp was a client crash fix, when camping out I was finding that the spawn/client was being destroyed before we were done with this function. So the client/spawn removal is now moved to the end.

Re: LUA Script Running Bugs

Posted: Mon Mar 09, 2020 5:29 pm
by Jabantiz
Committed, will be up on the server soon.

Re: LUA Script Running Bugs

Posted: Mon Mar 16, 2020 5:57 pm
by John Adams
My god, I have missed you, man.

:lol: