24.08.2017, 13:38
Hello,
I am pretty sure almost everyone knows about DayZSA gamemode, developed by kitten...
For some reason this mode has been using file-based saving system for saving player inventories, however as my server has a big amount of player everyday and alot of registrations and so on wso the number of files is growing very fast (approx 500k+ files).
I am thinking to move the system to mysql, for a better management and memory saving however i am a bit confused... on how to do it.
I've round about 80 inventory items, i want to save the items and its quantity a player had before leaving and then load it once he logs in... Anyone has any idea how can i save them?
I am pretty sure almost everyone knows about DayZSA gamemode, developed by kitten...
For some reason this mode has been using file-based saving system for saving player inventories, however as my server has a big amount of player everyday and alot of registrations and so on wso the number of files is growing very fast (approx 500k+ files).
I am thinking to move the system to mysql, for a better management and memory saving however i am a bit confused... on how to do it.
I've round about 80 inventory items, i want to save the items and its quantity a player had before leaving and then load it once he logs in... Anyone has any idea how can i save them?