Jump to content

Xynvaroth_Array 2.0


Recommended Posts


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  254
  • Reputation:   72
  • Joined:  07/10/13
  • Last Seen:  

This script package contains functions which can be used to define a Xynvaroth_Array.

A Xynvaroth_Array allows you to also create character and account variables and compared to the normal rAthena arrays, the index limit (which currently is 128) is significantly increased. This is very useful if you would like to store much data using server variables instead of MySQL for performance reasons.

Besides, you can also create associative arrays (arrays with string indices) using Xynvaroth_Array. However, you will have to care about how to delete them yourself, because Xynvaroth_Array_Delete( ) can not be used to delete an associative Xynvaroth_Array.

Important: Xynvaroth_Array will - due to limitations of the rAthena scripting engine - start with a number one index and not zero.

There is a detailed documentation inside the file.

Xynvaroth_Array

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  254
  • Reputation:   72
  • Joined:  07/10/13
  • Last Seen:  

2.0

- Added Xynvaroth_Array_Search( ).

- Added Xynvaroth_Array_SearchAndDestroy( ).

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