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 just replaced server name with my server name and hamachi ip with the hamachi ip. Was that supposed to be that ip or 127.0.0.1? I'm curious about that. Also MasterSocket.cs in both GameServer and LoginServer has the hamachi ip as the ip, should i have put 127.0.0.1 aswell for those?
I may have got some ips mixed up and that may be my problem.
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 == "SERVER NAME")
{
/*if(AuthSocket.Authorize(AccountName, Key, false))
{
CSocket.Send(Packets.AuthResponse("HAMACHI IP", Key1, Key2));
}
else
{
CSocket.Disconnect();
}*/
if (AuthSocket.Authorize(AccountName, Key, false))
{
CSocket.Send(Packets.AuthResponse("HAMACHI IP", Key1, Key2));
I may have got some ips mixed up and that may be my problem.