narko
vertrauenswürdig ~
Currently I am developing a new war server with lots of stuff like frags counter, killing spree, KD ratio, etc. I want you guys to tell me what would be the best way to store the frags by storage or database.
Storages:
Database:
When I say best way I mean that what would be the one its consumes less resources, to not to get lagged.
Thanks in advance.
Storages:
Code:
doCreatureSetStorage(cid, frags, getCreatureStorage(cid, frags)+1)
Code:
db.executeQuery("UPDATE `players` SET `frags` = `frags` + 1 WHERE `name` = '"..getCreatureName(cid).."';")
Thanks in advance.