Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 17:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Converting flat-file to MySQL (ini to MySQL) - How?

Discussion on Converting flat-file to MySQL (ini to MySQL) - How? within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
xBlackPlagu3x's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 286
Received Thanks: 71
Converting flat-file to MySQL (ini to MySQL) - How?

The question says it all. Using LOTF is a real joy for me because I understand it real well. The only problem is I like to use my PHP skills and I don't know/think I can have it read data like it would from a MySQL database by using .ini databases. How would I go about re-writing the database to save/load by using MySQL? Is it as simple as copying another sources way of save/loading?
xBlackPlagu3x is offline  
Old 09/13/2011, 20:49   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Load from ini, save to mysql.
BaussHacker is offline  
Thanks
1 User
Old 09/13/2011, 23:10   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
#deleted

Your reply was inappropriate. His was slightly disrespectful so I'll remove it also but yours was just being immature.

That being said... just look at examples online as to how to combine C# with sql.

Then write some small example programs (always pull back from conquer first and look at GENERAL THEORY). Once you get a basic grasp of how to use sql then you can worry about converting one system at a time (for example convert characters to sql and all the required save/load methods then worry about other systems like items or w/e later!)

<edit>

There are TONS of ways to integrate sql including many existing libraries of varying complexities and purposes. That's why research is always recommended before choosing something.
pro4never is offline  
Thanks
1 User
Old 09/13/2011, 23:48   #4
 
xBlackPlagu3x's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 286
Received Thanks: 71
Quote:
Originally Posted by pro4never View Post
#deleted

Your reply was inappropriate. His was slightly disrespectful so I'll remove it also but yours was just being immature.

That being said... just look at examples online as to how to combine C# with sql.

Then write some small example programs (always pull back from conquer first and look at GENERAL THEORY). Once you get a basic grasp of how to use sql then you can worry about converting one system at a time (for example convert characters to sql and all the required save/load methods then worry about other systems like items or w/e later!)

<edit>

There are TONS of ways to integrate sql including many existing libraries of varying complexities and purposes. That's why research is always recommended before choosing something.
Thanks for both the advice and for the deleting of both comments. I think what I'll do is try a small program that loads from a .ini and saves to a .mysql like Jacob suggested and then from there make that program load from MySQL and then convert one system at a time, like you said. Thanks a bunch!
xBlackPlagu3x is offline  
Reply


Similar Threads Similar Threads
[ERROR] Mysql can't connect to local Mysql server through socket
11/06/2010 - Metin2 Private Server - 5 Replies
I just recently tried to configure a DNS server for MT2.. It came up with this error ERROR: 2002 (HY000): Can't connect to local Mysql server through socket '/tmp/mysql.sock' (2) Do I need to do a fresh installation of FBSD? :S Thanks.
MySQL Navicat 1130-Host'5.xxx.xx.xxx' is not allowed to connect to the MySQL Server
08/07/2010 - Metin2 Private Server - 14 Replies
Hallo com, ich habe ein Problem mit Navicat. Undzwar habe ich diesen Fehler hier : "1130-Host'5.xxx.xx.xxx' is not allowed to connect to the MySQL Server" seid gestern. Ich dachte mir mal ich änder mein Navicat Passwort um... Als ich dies getan habe, und meinen Server rebootet habe und Navicat neugestartet habe, und ich mich wieder in Navicat einloggen wollte kam diese Fehlermeldung. Nun habe ich das Problem das ich mich nicht mehr mit Navicat connecten kann. Habe schon alles versucht...
mysql my.cnf file !!!!
10/24/2008 - EO PServer Hosting - 0 Replies
guyz i need ur help , there is a file called my.cnf in the mysql i need it to compleate my server , do any one know how to get that ?
Mysql 4.0 configure file my.ini
01/23/2008 - EO PServer Hosting - 4 Replies
#2008-01-14 14:17:33 #Uncomment or Add only the keys that you know how works. #Read the MySQL Manual for instructions basedir=D:/MySQL bind-address=127.0.0.1 datadir=D:/MySQL/data #language=D:/MySQL/share/your language directory



All times are GMT +1. The time now is 17:27.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.