convert accounts and characters to ini

12/16/2008 03:14 -Reflexis-#1
tanelipe you can close it i have it in inis now
12/16/2008 07:06 alexbigfoot#2
look to CoZero`s DataBase.cs, is already made, with some bugs, at inventory , skills, prof and equips i think.
12/16/2008 15:32 _Emme_#3
If your using LOTF;
Convert accounts and characters to INI.

Why?Well, the famous loginfreeze is fixed then. Since MySQL drops connection from time to time with LOTF source, you change the character and account info to INI, and leave the rest stuffs in MySQL.

Wont the other stuffs, e.g Monster,NPC,Spawns etc be damaged if my server looses the connection with MySQL?No,it wont. Why? Beacuse Monster,Spawns , NPCS , Items and all that only have to be loaded ONCE, and that is at the server start. So it wont be damaged.



Emme
12/16/2008 22:03 LetterX#4
Quote:
Originally Posted by EmmeTheCoder View Post
If your using LOTF;
Convert accounts and characters to INI.

Emme
or simply make a timer that resets the connection to MySQL...?
12/16/2008 22:34 _Emme_#5
Connection.Close();
Connection.Open();

Well yes, but why cover up the problem when you can fix it? Lol
12/16/2008 22:58 LetterX#6
Quote:
Originally Posted by EmmeTheCoder View Post
Connection.Close();
Connection.Open();

Well yes, but why cover up the problem when you can fix it? Lol
INIs is not fixing it. Keeping the connection alive / reseting it (to stay alive) is fixing it.

But, I am sorry, I had this topic go off-topic by debating over MySQL and INIs/cover ups.
12/17/2008 00:44 Tw3ak#7
Quote:
Originally Posted by EmmeTheCoder View Post
Connection.Close();
Connection.Open();

Well yes, but why cover up the problem when you can fix it? Lol
ini's is for people that dunno how to do sql it isn't a fix it is basically jerryriggin it because you dunno how to fix it properly.

Quote:
Originally Posted by LetterX View Post
INIs is not fixing it. Keeping the connection alive / reseting it (to stay alive) is fixing it.

But, I am sorry, I had this topic go off-topic by debating over MySQL and INIs/cover ups.
Mine never drops sql enless my internet drops momentarily lol because i have sql and server running on 2 different boxes not local and the sql is on a remote dedi box.

There isn't even a need to reset the connection if sql is done correctly the 1 connection will stay alive entire time server is up.
12/17/2008 01:25 InfamousNoone#8
Quote:
Originally Posted by Tw3ak View Post
ini's is for people that dunno how to do sql it isn't a fix it is basically jerryriggin it because you dunno how to fix it properly.

I don't like (My)SQL, So I use INI's I don't use it because I can't use it properly, hell I have Ulti and all of his servers have been MySQL based. :P

Mine never drops sql enless my internet drops momentarily lol because i have sql and server running on 2 different boxes not local and the sql is on a remote dedi box.

There isn't even a need to reset the connection if sql is done correctly the 1 connection will stay alive entire time server is up.
Epic.
12/17/2008 13:53 tanelipe#9
#Closed - As requested.