21.06.2018, 22:46
Quote:
No.. Saving all the data when a player quits is bad practice.
You send queries to the database when data changes. Not a big bundle of shit where half the values remain the same. Does the player buy a skin? Update their skin variable in the database. Do they bank some money? Update the bank money variable. Nothing else. You update the database when it changes in the game. |