in game server i got this error
line 34
MySqlConnection C = null;
try{
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'; Min Pool Size = 300; Max Pool Size = 900");
C.Open();
}
catch(Exception e)
},<---- this is the line 34
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
at login server i got this error
MySql.Data.MySqlClient.MySqlException:acess denied for user 'coemuorg'@'localhost
line 30
MySqlConnection C = null;
try{
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'");
C.Open(); <---- line 30
}
catch(Exception e)
{
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
having this problem some1 can help in database.cs line 516
Quote:
System.InvalidOperationException was unhandled
Message="Connection must be valid and open."
Source="MySql.Data"
StackTrace:
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader( CommandBehavior behavior)
at CoEmu_v2_GameServer.Database.Database.LoadMonsters () in C:\Documents and Settings\Owner\Desktop\co\restart\CoEmu v2\CoEmu v2 GameServer\Database\Database.cs:line 516
at CoEmu_v2_GameServer.Structs.Struct.LoadMonsters() in C:\Documents and Settings\Owner\Desktop\co\restart\CoEmu v2\CoEmu v2 GameServer\Structs\DataLoader.cs:line 142
at CoEmu_v2_GameServer.Nano.StartServer() in C:\Documents and Settings\Owner\Desktop\co\restart\CoEmu v2\CoEmu v2 GameServer\Nano.cs:line 67
at CoEmu_v2_GameServer.Program.Main(String[] args) in C:\Documents and Settings\Owner\Desktop\co\restart\CoEmu v2\CoEmu v2 GameServer\Main.cs:line 32
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
plz somebody help me
i follow all step
and i get my old error game server
line 34
using MySql.Data.MySqlClient;
namespace CoEmu_v2_GameServer.Database
{
/// <summary>
/// Provides MySql resource connections, for multiple connections to a single MySql database.
/// This is due to the fact that the server is multi-threaded, so allowing a single connection would
/// likely result in errors, or general loss of performance.
/// </summary>
public static class DatabaseConnection
{
public const string USER_NAME = "root";
public const string PASSWORD = "test";
public const string SERVER = "127.0.0.1";
public const string DATA_BASE = "conqueremu";
public static MySqlConnection DBConnection = null;
public static MySqlConnection NewConnection()
{
MySqlConnection C = null;
try{
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'");
C.Open(); <--- say error at this too
}
catch(Exception e)
{ <---- line 34
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
and at login server i got this
/*
* Created by SharpDevelop.
* User: sams
* Date: 3/8/2009
* Time: 1:13 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using MySql.Data.MySqlClient;
namespace CoEmu_v2_LoginServer.Database
{
/// <summary>
/// Provides MySql resource connections, for multiple connections to a single MySql database.
/// This is due to the fact that the server is multi-threaded, so allowing a single connection would
/// likely result in errors, or general loss of performance.
/// </summary>
public static class DatabaseConnection
{
public const string USER_NAME = "root";
public const string PASSWORD = "test";
public const string SERVER = "127.0.0.1";
public const string DATA_BASE = "conqueremu";
public static MySqlConnection NewConnection()
{
MySqlConnection C = null;
try{
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'");
C.Open(conqueremu); <---- line 30
}
catch(Exception e)
{
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
i use MySql navicat 8.1
DatabaseConnection.cs the name conqueremu does not exist in the current context
OpenSSL could not be found (6) times
Warning
ManagedOpenSsl
acess denied for 'coemuorg'@'localhost'
plz somebody help me
i follow all step
and i get my old error game server
line 34
using MySql.Data.MySqlClient;
namespace CoEmu_v2_GameServer.Database
{
/// <summary>
/// Provides MySql resource connections, for multiple connections to a single MySql database.
/// This is due to the fact that the server is multi-threaded, so allowing a single connection would
/// likely result in errors, or general loss of performance.
/// </summary>
public static class DatabaseConnection
{
public const string USER_NAME = "root";
public const string PASSWORD = "test";
public const string SERVER = "127.0.0.1";
public const string DATA_BASE = "conqueremu";
public static MySqlConnection DBConnection = null;
public static MySqlConnection NewConnection()
{
MySqlConnection C = null;
try{
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'");
C.Open(); <--- say error at this too
}
catch(Exception e)
{ <---- line 34
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
and at login server i got this
/*
* Created by SharpDevelop.
* User: sams
* Date: 3/8/2009
* Time: 1:13 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using MySql.Data.MySqlClient;
namespace CoEmu_v2_LoginServer.Database
{
/// <summary>
/// Provides MySql resource connections, for multiple connections to a single MySql database.
/// This is due to the fact that the server is multi-threaded, so allowing a single connection would
/// likely result in errors, or general loss of performance.
/// </summary>
public static class DatabaseConnection
{
public const string USER_NAME = "root";
public const string PASSWORD = "test";
public const string SERVER = "127.0.0.1";
public const string DATA_BASE = "conqueremu";
public static MySqlConnection NewConnection()
{
MySqlConnection C = null;
try{
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'");
C.Open(conqueremu); <---- line 30
}
catch(Exception e)
{
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
i use MySql navicat 8.1
acess denied for 'coemuorg'@'localhost'
PRESS THE M&%HER F$%KING Rebuild and then DEBUG GAMESERVER N LOGIN SERVER! GEEZ.
I neeeeeeedz help. I did everything on this guide and when i start the server it says Connecting to the account server, for a really long time. I did the fix for some issues and i wish to play this source.
I neeeeeeedz help. I did everything on this guide and when i start the server it says Connecting to the account server, for a really long time. I did the fix for some issues and i wish to play this source.
One possibility is you didn't change the ServerNames or keep them consistent with the server/client. =d
[Guide] CoEmu Setup+LoginFix+Line30,31,34 Fix 03/09/2010 - CO2 PServer Guides & Releases - 17 Replies Setting Up CoEmuV2
Download everything Here
Download Client from Here
Thanks andy123 and BrokeN^WinG
Now let's start...
[Guide] How to setup Reflex Source 09/11/2009 - CO2 PServer Guides & Releases - 14 Replies hey 4 people pmed me that they dont know how to setup a source and i saw that beta and someone else didnt knew it eiter how to set it up so here is a guide.
Downloads:
The Source (http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/197876-release-project-reflex-sou rce-v1-0-a.html)
APPServer 2.6.0 (AppServNetwork)
Co Client Patch 5017 (Conquer_2.0.rar - FileFront.com)
Note: People with Windows Vista need APPserver 2.5.1
The Final Guide: