Jump to content
Sign in to follow this  
Jeffery

to make storage like guild_storage to save memory

Recommended Posts

Players don't use storage all the time,

so there's no reason for map-server to store memory data for them all the time (sd->status.storage).

 

I suggest that make storage data like guild_storage data.

Only occupy memory when player use the storage system.

And free the memory when player close the storage and save to SQL.

Edited by Jeffery

Share this post


Link to post
Share on other sites

I think it used to be like that at some point in time, I recall some years ago during eathena you had to for example type @storeall twice because on the first call storage data was not yet present (it'd request it on the first call i think). doing it like that (taking it away from char status) would also expand the storage size limits as my fix to the storagelist packet some time ago allows -- e.g. storages could go up to 32k in size.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.