Register for your free account! | Forgot your password?

You last visited: Today at 16:18

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

[Help] Error

Old   #1
elite*gold: 0
Join Date: Mar 2008
Posts: 31
Received Thanks: 95
[Help] Error

Hi, I am With an ERROR In My Source, the Error is the Following one:


It will be That Somebody Could Help Me?

Brun0_ is offline  
Old 10/31/2008, 23:47   #2
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
Originally Posted by Rechocto View Post
so! here's how to fix it!

go into General.cs, and search for "public unsafe General()"

under that you will find "DataBase.Connect(DBUserName, DBUserPass);"

under that line add:
DataBase.Connection.StateChange += new StateChangeEventHandler(State_Changed);
then directly ABOVE "public unsafe General()" add:
        static void State_Changed(object sender, StateChangeEventArgs e)
            Ini Config = new Ini(System.Windows.Forms.Application.StartupPath + @"\Config.ini");
            string DBUserName = Config.ReadValue("Server", "DBUserName");
            string DBUserPass = Config.ReadValue("Server", "DBUserPass");
            if (e.CurrentState == ConnectionState.Closed) //no need for a timer to fix login freeze?
                DataBase.Connect(DBUserName, DBUserPass);
the end.
the fix.

alexbigfoot is offline  

« I have a problem | [NEW] EgyCo Server Online Again »

Similar Threads
PortMap Error: RichEdit line insertion error
02/16/2012 - Metin2 PServer - Discussions / Questions - 6 Replies
Hey Leute, habe mir letztens nen Metin2 P-Server mit Hamachi erstellt. Alles läuft super, wenn da dieser kack nicht wäre. PortMap zeigt eine Fehlermeldung, nachdem man sich eingeloggt hat: RichEdit line insertion error. Diese erscheint einmal...
[Fehler] Patch? Error? Hier Hilfe! [Error]
12/02/2010 - Combat Arms - 14 Replies
Da ich keine Werbung machen möchte muss ich wohl alles abkopieren... Ich entschuldige mich das ich alles zuspoilern musste aber bei soviel Text....;) 1.Error Codes und ähnliches Da es nach einem neuen Update immer wieder...
MySro Error~>Microsoft Error Visual C++ Runtime...
08/18/2009 - SRO PServer Ask the Experts - 3 Replies
Hello, i have got a problem: I have already installed Microsoft Visual C++ Runtime Library 2005 and after that i installed 2007. It didn´t work. Who can help me? thanks Alucard15

All times are GMT +2. The time now is 16:18.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.