Register for your free account! | Forgot your password?

You last visited: Today at 16:44

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

Advertisement



[Help] Error

Discussion on [Help] Error within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Brun0_'s Avatar
 
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
Quote:
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:
Code:
DataBase.Connection.StateChange += new StateChangeEventHandler(State_Changed);
then directly ABOVE "public unsafe General()" add:
Code:
        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  
Reply


Similar Threads Similar Threads
PortMap Error: RichEdit line insertion error
02/16/2012 - Metin2 Private Server - 5 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 zusätzlich pro Sekunde und PortMap und Metin2 wird beendet, sobald ca. 100 von diesen Meldungen auf dem Bildschirm sind. Was soll ich machen? Hat jemand ne Lösung? Vielen Dank im Vorraus =)
[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 Probleme auftreten, empfehlen wir Euch folgende Liste mit den häufigsten Fehlern durchzugehen: 1. Deinstalliere Combat Arms über Arbeitsplatz-->Software 2. Prüfe ob alle Ordner von Nexon auf der Festplatte gelöscht sind. Wenn nicht lösche...
MySro Error~>Microsoft Error Visual C++ Runtime...
08/18/2009 - SRO Private Server - 3 Replies
Hello, i have got a problem: http://image.cp-g.net/pics/4a8971bd15c0d.jpg. 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:44.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.