okay.
Here is a section of my packerprocessor.cs
Now take a look at this part of it
When i change the IP there to 5.8.242.230, it will let everybody play my server. BUT it wont let me login, it will let everyone else login my server and not me.
When i leave it at 127.0.0.1 it will let me play my server but wont let anyone else login.
Anyone know a solution to letting me AND other people play my server?
Yes i have changed ips back and forth with the other two sections and it still wont work
Here is a section of my packerprocessor.cs
Code:
{
/*if(AuthSocket.Authorize(AccountName, Key, false))
{
CSocket.Send(Packets.AuthResponse("5.8.242.230", Key1, Key2));
}
else
{
CSocket.Disconnect();
}*/
if (AuthSocket.Authorize(AccountName, Key, false))
{
CSocket.Send(Packets.AuthResponse("127.0.0.1", Key1, Key2));
}
else
{
CSocket.Disconnect();
}
}
else if(ServerName == "CoEmu.Nano")
{
if(AuthSocket.Authorize(AccountName, Key, true))
{
CSocket.Send(Packets.AuthResponse("127.0.0.1", Key1, Key2));
}
else
{
CSocket.Disconnect();
}
}
}
else if(DBPass == "")
{
Code:
CSocket.Send(Packets.AuthResponse("127.0.0.1", Key1, Key2));
}
else
{
CSocket.Disconnect();
}
}
else if(ServerName == "CoEmu.Nano")
{
When i leave it at 127.0.0.1 it will let me play my server but wont let anyone else login.
Anyone know a solution to letting me AND other people play my server?
Yes i have changed ips back and forth with the other two sections and it still wont work