Still getting this error, been trying to fix it. I followed BOTH this first post and [Only registered and activated users can see links. Click Here To Register...]
I still can't get it to work. Something wroung with my GameServer connecting to the login server i think or the min-max pool size but i edited that out as it said in the guide.
That's what it says on DatabaseConnection.cs in LoginServer and GameServer.
I may have got some ips mixed up and that may be my problem. If this helps find out what's causing the problem... When i first made the account and logged in it let me choose class, name, size then said press back twice and login again. I did that and then that's when it started saying that message on cmd.
I still can't get it to work. Something wroung with my GameServer connecting to the login server i think or the min-max pool size but i edited that out as it said in the guide.
Code:
C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'");
Code:
if(ServerName == "TaintedCo")
{
/*if(AuthSocket.Authorize(AccountName, Key, false))
{
CSocket.Send(Packets.AuthResponse("127.0.0.1", Key1, Key2));
}
else
{
CSocket.Disconnect();
}*/
if (AuthSocket.Authorize(AccountName, Key, false))
{
CSocket.Send(Packets.AuthResponse("127.0.0.1", Key1, Key2));