[HELP] Read Me!

01/02/2009 22:31 ~Demented~#1
well i get these 2 errors

any help i nerver get these errors before while trying to do fix login freeze i used this guys idea

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
01/02/2009 22:33 tao4229#2
Code:
using MySql.Data.MySqlClient;
01/02/2009 22:35 Kital82#3
Quote:
Originally Posted by tao4229 View Post
Code:
using MySql.Data.MySqlClient;
Was going to tell that :D
01/02/2009 22:36 ~Demented~#4
i got tht in database.cs

Code:
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Data.OleDb;
using MySql.Data.MySqlClient;
using System.Data;
using System.IO;
using System.Threading;
01/02/2009 22:41 tao4229#5
Put it in General.cs?

Duh-uhhhhh...
01/02/2009 22:55 ~Demented~#6
i did looks like this in genereal.cs but i still got errors
Quote:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Threading;
using System.Diagnostics;
using System.Windows.Forms;
using System.Timers;
using System.Data;
using System.ComponentModel;
using MySql.Data.MySqlClient;
01/02/2009 23:46 ~Demented~#7
please help i tryed everything :s
01/03/2009 00:23 _Emme_#8
Open your source, press Project-> Add refference, then go to a WORKING CO2-pserver folder, go into the bin, find MySql.Data or something like that, press it, press OK or something. Goodluck
01/03/2009 13:30 ~Demented~#9
it dosent work says it alredy exsists in the project
01/03/2009 17:36 Beta Limit#10
ok delete the current reference to it - add it to references again then press F6 then see what happens
01/03/2009 17:38 _Emme_#11
Exactly.
On the right side you see a list of all .cs file, there should be a gray thing called References, press that + and rightclick MySql.Data.dll and delete it, then do what I said.
01/03/2009 18:42 ~Demented~#12
for some reson the eerrors still stay OMG can someone add me on msn and help me my msn is [Only registered and activated users can see links. Click Here To Register...]

this is the code that dont work:

Code:
        static void State_Changed(object sender, StateChangeEventArgs e)
        {
            if ((([I][B]MysqlConnection[/B][/I])sender).CurrentState == ConnectionState.Closed || (([I][B]MysqlConnection[/B][/I])sender).CurrentState == ConnectionState.Broken)
            {
                General.WriteLine("Attempting to reconnect");
                Ini Config = new Ini(System.Windows.Forms.Application.StartupPath + @"\Config.ini");
                string DBUserName = Config.ReadValue("Server", "DBUserName");
                string DBUserPass = Config.ReadValue("Server", "DBUserPass");
                try { DataBase.Connect(DBUserName, DBUserPass); General.WriteLine("Reconnected"); }
                catch { General.WriteLine("Reconnect failed, restart the server!"); }
            }
        }
the 2 words "Mysqlconnection" are underlined red and i got those 2 errors
01/03/2009 18:54 ~Demented~#13
WHEN I PRESS f6 IT IS UNDERLINED BLUE soz for caps :p