Posts: 49
Threads: 3
Joined: Jan 2015
Reputation:
0
Hey guys, I'd like some help converting my gamemode from y_ini to mysql (latest version). Seems very difficult for me cause there are many features and I can't find any stock that saves players data, only callbacks (onplayerofflinelogib,onplayerofflinesave etc.) What's the best way to convert it? And where I should start first? Login/register system, saving data or what?
Any good tutorial appreciated or some instructions/help.
P.S please do not tell me to start the gamemode from scratch (obviously I'm using edited one)
Posts: 49
Threads: 3
Joined: Jan 2015
Reputation:
0
I know the basics, the problem is; my gamemode has no pName (or w/e) inside the enum pInfo. Not even a global variable, how should I store the username in the database?
My ini files are like username.ini (%s.ini).
Posts: 1,398
Threads: 25
Joined: Jan 2014
Reputation:
0
****** and find pre-made MySQL login/register system and have a look at their script it will give you a idea of how to do it
Posts: 49
Threads: 3
Joined: Jan 2015
Reputation:
0
Another question is; is it possible to keep the y_ini system till I fully convert the gamemode into Mysql? Like I load/save the username,positions,password,skin,gender (the basics) and the others .ini? I'm saying this because it will take much time for this. Do you think this will make the gamemode disfunctional?
Posts: 49
Threads: 3
Joined: Jan 2015
Reputation:
0
Can someone tell me what's the difference between mysql r5 r6 r7 and r15? Is there any changelogs file or something? (sorry for bumping but I need this.)