INI user accounts to mysql
#1

I was saving user accounts through Y_INI and now I want to convert them into mysql based one.
I converted the scripting part but I don't get how can I convert these accounts to mysql? Any help?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=245893

Try this one.
Reply
#3

Quote:
Originally Posted by Rektumiliam
Посмотреть сообщение
Actually it's a new script so the structure is kinda different. Can I just convert accounts to mysql? without other parts like cash, kills, deaths, etc..?

If I just convert accounts, they don't have to re-register again because it is a new script.
Reply
#4

when player connects, check the .ini saved accounts and mysql saved accounts (both)
if player have only .ini account, just load his .ini data and delete this .ini file, than save with MySQL.
it's very simple and easy, I hope you understand.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)