Jump to content

Script Engine Upgrade


Aleos

Recommended Posts


  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

Script Engine Upgrade
As of 6295c77, rAthena's script engine has been significantly improved!

Thanks to Hercules for the release of it!

Character and Account (and Global Account) Variable Changes:

  • They're no longer limited to #define ACCOUNT/GLOBAL_REG_NUM, they're now limitless.
  • Storage and speed processing have been improved with less traffic being sent between the servers.
  • Character and Account variables now support arrays!
  • Variables stored in global_reg_value are now split up into account, character, and global tables (each having their own string and integer table).

Array Changes:

  • Increased array limit from 127 to 2 billion!
  • Overall speed has been improved through new array handling methods.
  • Script command 'getarraysize' overall processing has also been increased.

Temporary Variable Changes:

  • Variables are now stored in DBMaps which helps with read/write speed.
  • Trying to write to an instance variable outside of an actual instance will now print a warning.

Please report all bugs to the Issue Tracker!

  • Upvote 14
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

two billion? @Aleos, thank you for the great great update i was waiting for this array, since the old one was only limits into 127.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  265
  • Reputation:   95
  • Joined:  09/30/14
  • Last Seen:  

Awesome! Can't wait to merge this into NovaRO. Thanks for all the work as usual Aleos!

No more needing to split big arrays into two separate ones. :]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...