[Solved]Playerfiles to mySQL? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved]Playerfiles to mySQL? (
/showthread.php?tid=130350)
[Solved]Playerfiles to mySQL? -
ReFuSeR - 26.02.2010
Well, I have been doing research and I want to switch to mySQL. However, I don't want to rollback the stats for our players. Is there anyway I can convert playerfiles(.ini, .dudb etc...) to a mySQL database?
Re: Playerfiles to mySQL? -
Think - 26.02.2010
on login: Check if the players account is already in mysql, if not => put it in there with the current stats and then when the players account saves: update the table and when you have finished your full mysql script theyll have stats and wont notice a thing.
Re: Playerfiles to mySQL? -
ReFuSeR - 26.02.2010
Quote:
Originally Posted by Pandabeer1337
on login: Check if the players account is already in mysql, if not => put it in there with the current stats and then when the players account saves: update the table and when you have finished your full mysql script theyll have stats and wont notice a thing.
|
Poop! That was easy, thanks...(never used my brain)