@OP, just change the save and load system to MySQL. Just use some LOTF source and see how they did it. All you have to do is change the table names and maybe add some tables and / or delete some. It's easy, but might take a while.
Your going to have to get rid of the statements/functions that write to INI files, and replace them with statements/functions that write to a SQL (or whatever kind) of database you wish to use.
Because of how you worded your post, I'm going to assume you expect someone to do it for you (as in give you the code) which sadly is unlikely to happen.
If you don't know how to edit a file at runtime you really shouldn't be calling yourself a programmer considering there is Win32 API functions to deal with INI files which can be harnessed into an easy-to-use wrapper-class.
In what sense is MySQL better than a flat-file system? You can't really just say "x" is better than "y" in this kind of case. With a flat-file system your less prone to have you system "hijacked", where as with a SQL-database, an attacker can generally find some way to SQL-inject and breach your database. This is just one example but the list goes on with SQL-languages winning some, and flat-files winning some.
If you don't know how to edit a file at runtime you really shouldn't be calling yourself a programmer considering there is Win32 API functions to deal with INI files which can be harnessed into an easy-to-use wrapper-class.
In what sense is MySQL better than a flat-file system? You can't really just say "x" is better than "y" in this kind of case. With a flat-file system your less prone to have you system "hijacked", where as with a SQL-database, an attacker can generally find some way to SQL-inject and breach your database. This is just one example but the list goes on with SQL-languages winning some, and flat-files winning some.
Lol, the only reason a few of the consider-themselves-smart people here say MySQL is better is because they either
1) Only listen to what they're told - Since sparkie will eat your face if you don't use a database system
2) Are retarded beyond reason like most
None of them have any real experience or testing done in the field of data management.
[HELP] Converting INI To Sql 08/10/2010 - CO2 Private Server - 1 Replies Hey guys I have run into a problem converting my INI Source to Sql.
I am in the process of converting the NPCs from INI. I have converted the ini file thats the easy part but I am stuck on the spawning. I can get the NPCs to load but not to spawn..
**EDIT**
Just figured it out.
#Request Close
Converting nc models 07/05/2010 - General Gaming Discussion - 3 Replies ok, i try to convert the nc model files (actor files) in a other format, do anyone know, how kk protect the actor files?
No modelprogramm can open/work with the files :(
[Help]Converting... 02/02/2010 - CO2 Private Server - 4 Replies How to convert the packet
public static byte ItemLock(int ItemUID, int Type01, int Type02, int Series)
{
PacketBuilder Packet = new PacketBuilder(2048, 16);
Packet.Long(ItemUID);
Packet.Int(Type01);
Packet.Int(Type02);
Packet.Short(0);//where do u call ItemLock method
Packet.Long(Series);
[Help]Packet Converting :P 01/18/2010 - CO2 Private Server - 1 Replies Hello Everybody,
I was Wondering if anybody could help me out i want to learn how to convert packets from 5195 back to 5165 preferably the Flower Packets...Add me on Msn [email protected]
Thanks,
LeGend
converting 01/27/2009 - Dekaron - 3 Replies when using winhex after you change the offsets u want
how do u convert the winhex file to the files that acclaim uses
is there a program? or do i have to get the full version of winhex to do this