• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS storage table

Itutorial

Excellent OT User
Joined
Dec 23, 2014
Messages
2,326
Solutions
68
Reaction score
999
I think we should work on setting up different tables for different storage values. For example: Exhaust storage could be its own table. Quest storage in its own table, ect. This would allow multiple of the same storage values to be used in different context and keep tables smaller increasing the efficiency of the database when handling storage values. What do you guys think?
 
pointless, just use 1 lib .lua put every storage number to table like:


STORAGES_QUESTS = {
QUEST_NAME = 1234,
}
etc, so you know which storages u used and which not. Don't need any other system. + storages are saved in memory, it save to database when you save player, so its not a problem.

+ you have some reserved storages for outfits etc and you can reserve some for any of your custom system
 
pointless, just use 1 lib .lua put every storage number to table like:


STORAGES_QUESTS = {
QUEST_NAME = 1234,
}
etc, so you know which storages u used and which not. Don't need any other system. + storages are saved in memory, it save to database when you save player, so its not a problem.

+ you have some reserved storages for outfits etc and you can reserve some for any of your custom system
yeah that is exactly how it is already, we currently only have 17 storages and I don't see new ones coming anytime soon
 
Back
Top