to make storage like guild_storage to save memory

Jeffery

New member
Messages
8
Points
0
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.

 
Last edited by a moderator:
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.

 
Last edited by a moderator:
Back
Top