MySQL Question [+REP]
#1

Hey,

I was looking through some Tutorials and the ones I've looked at loads the infromation when needed, Is it okay to just load everything so its all in the enums etc. Then upload te new ones when they leave. So eeverthing for the players is only loaded and unloaded once?.
Reply
#2

Yes, that's the best solution - Load data to player variables on connect, edit them on the run (while the player is ingame) and save the data from the variables to MySQL when a player disconnects.
Reply
#3

How would I select EVERYTHING then as in about 70 values per player? THanks
Reply
#4

"Select * WHERE `Name` = 'PlayerName'"
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)