Skip to content
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

Merged
merged 7 commits into from Aug 31, 2015
Merged

Script Engine Upgrade #457

merged 7 commits into from Aug 31, 2015

Conversation

aleos89
Copy link
Contributor

@aleos89 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.

aleos89 added 3 commits 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.
* Removed an unused function.
@Stolao
Copy link
Contributor

@Stolao Stolao commented Jun 26, 2015

Increased array limit from 128* to 2 billion.
forgetting 0 :)

also downloaded branch will respond with results tomorrow

@Stolao
Copy link
Contributor

@Stolao Stolao commented Jun 29, 2015

@aleos89 did several test today before work, everything seemed fine. I'll do some more complicated test when home.

@aleos89
Copy link
Contributor Author

@aleos89 aleos89 commented Jun 29, 2015

Thanks for the testing. There are a few memleaks on server close which I will be fixing shortly. :)

@Stolao
Copy link
Contributor

@Stolao Stolao commented Jun 30, 2015

@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,

@aleos89 aleos89 added this to the Engine Optimization milestone Aug 17, 2015
aleos89 added 4 commits Aug 21, 2015
* 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.
@aleos89 aleos89 merged commit 6295c77 into master Aug 31, 2015
2 checks passed
@aleos89 aleos89 deleted the feature/script_engine_upgrade branch Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants