Writing Y_INI Player stats into MySQL table
#3

To my understanding, Y_INI conforms to the basic INI format, so you can convert the files to your database. A good way to do this could be using this, once your accounts are in the database, you only need to change the way your script loads and saves user information.

Simply changing the code in your script will not support your old user information if you are doing this on a live server, therefore it is important that you convert your user files to be stored in your database.

Take a look at how ORM is used in BlueG's MySQL plugin here, it is a really simple way to save and load player information.
Reply


Messages In This Thread
Writing Y_INI Player stats into MySQL table - by cr33d - 06.05.2014, 19:46
Re: Writing Y_INI Player stats into MySQL table - by Blademaster680 - 06.05.2014, 22:32
Re: Writing Y_INI Player stats into MySQL table - by Calgon - 06.05.2014, 22:42
Re: Writing Y_INI Player stats into MySQL table - by cr33d - 07.05.2014, 07:20
Re: Writing Y_INI Player stats into MySQL table - by Roel - 07.05.2014, 08:58
Re: Writing Y_INI Player stats into MySQL table - by cr33d - 08.05.2014, 11:38
Re: Writing Y_INI Player stats into MySQL table - by Calgon - 08.05.2014, 18:06
Re: Writing Y_INI Player stats into MySQL table - by cr33d - 08.05.2014, 20:21
Re: Writing Y_INI Player stats into MySQL table - by cr33d - 09.05.2014, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)