New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script Engine Upgrade #457
Conversation
aleos89
commented
Jun 11, 2015
- Upgraded the script engine variables to no longer be limited.
- Increased array limit from 127 to 2 billion.
- Improvement in overall speed and storage size.
- All variable types now support arrays.
- Merge from HerculesWS/Hercules@82b583b. Thanks to those who worked on it.
* Upgraded the script engine variables to no longer be limited. * Increased array limit from 127 to 2 billion. * Improvement in overall speed and storage size. * All variable types now support arrays. - Merge from HerculesWS/Hercules@82b583b. Thanks to those who worked on it.
* Removed an unused function.
|
Increased array limit from 128* to 2 billion. also downloaded branch will respond with results tomorrow |
|
@aleos89 did several test today before work, everything seemed fine. I'll do some more complicated test when home. |
|
Thanks for the testing. There are a few memleaks on server close which I will be fixing shortly. :) |
|
@aleos89 I tested again using each variable type (NPC,Player,Account,Server) for both strings and int, up to variable array length of 30000ish. I lost the account stinged Array after server restart once (might have not saved the variable before the reset is my guess) when you update again ill try again, im already loving this feature for my mining system and login rewards scripts, |
* Cleaned up db_vdestroy errors at server shutdown. * Expanded the ERS system. Thanks to Hercules. * Added ERS to the database trees to speed up iterator memory allocation. Thanks to Hercules.
* Fixed remaining memory leak. * Cleaned up and optimized a few more ERS allocations.
* Fixed some more memory leaks. * Added a few checks that were left out/removed by mistake.
* Renamed SQL upgrade file. * Fixed a buffer overflow in 'set' atcommand.
Script Engine Upgrade * More information here: https://rathena.org/board/topic/102946-script-engine-upgrade/