[Guide]CoEmu v2 Source Setup

05/28/2009 08:56 areudie#76
thx for ur help teroareboss1 :] i just found my biggest mistake from the start >< haha now downloading and trying it again later ...
05/28/2009 12:37 ScamBolterII#77
gonna reinstall my comp ;D maby will work ;D
05/28/2009 14:18 backtomatrix#78
i have problem help login freez how can i fix it :(
05/28/2009 14:21 scottdavey#79
Quote:
Originally Posted by backtomatrix View Post
i have problem help login freez how can i fix it :(
I had login freeze, problem = invalid conquer version.
05/28/2009 15:23 geloux#80
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;
}
}
05/28/2009 18:17 myjonas13#81
hi can i ask u something pm me at [Only registered and activated users can see links. Click Here To Register...] please"?
05/28/2009 19:02 myjonas13#82
can i ask some1 here? i got probs please pm me at yahoo messenger.. [Only registered and activated users can see links. Click Here To Register...]
05/28/2009 21:11 w00tare#83
Nice guide ;)
05/29/2009 12:31 areudie#84
Quote:
Originally Posted by scottdavey View Post
I had login freeze, problem = invalid conquer version.
i have 5095 and i still got login freeze any idea?
05/29/2009 14:41 JoieJones90#85
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:
05/29/2009 15:13 geloux#86
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'
05/29/2009 15:17 damianpesta#87
Quote:
Originally Posted by geloux View Post
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.
05/29/2009 15:29 BloofyGirl#88
Those settings really did the job.

Thanks damianpesta ever so much for your time and understanding.
05/30/2009 18:56 gme4l1f3#89
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.
05/30/2009 23:00 LetterX#90
Quote:
Originally Posted by gme4l1f3 View Post
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