LUA Script Running Bugs
Posted: Mon Mar 09, 2020 2:47 pm
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.
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.