Multiple server problem

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
User avatar
Core Essence
Neophyte Poster
Posts: 38
Joined: Tue Feb 07, 2006 10:40 am

Multiple server problem

Post by Core Essence »

Hello everyone, I would ask your help for a little issue that came up while trying to run 2 servers (live and test servers) on different machines.

Until some time ago it was all going smooth, we had our live-server with this entries on servers.cfg

Code: Select all

GameServer
{
    Name    [M4D]VenuS
    IP      93.63.193.190
    Port    2594
}


GameServer
{
    Name    [M4D]VenuS-Test
    IP      93.63.193.186
    Port    2594
}
and our test-server with just this:

Code: Select all

GameServer
{
    Name    [M4D]VenuS-Test
    IP      93.63.193.186
    Port    2594
}
Both servers were using Pol 097.3 (2009-02-16 coregina), with the difference that the test-server was using an hook on packets to handle wich accounts had access on it.

Code: Select all

Packet 0x80
{
  Length 62
  ReceiveFunction hooks:r_Login
}

Packet 0x91
{
  Length 65
  ReceiveFunction hooks:r_GameServerLogin
}
A while ago we turned the test-server to Pol 099beta (2010-02-02). This is when problems started.
It seems that we can no longer access trough our live-server by selecting the 2nd entry for the test-server. If we do so, we would get blocked on "Connecting..". The server is receiving correctly the connection (I tried by adding some logs on the hooks) but it seems not to go anything further than that. I've also tried to disable the package that hooks the packets above but nothing happened. We're still getting the same problem. If we try to connect by using the direct ip to the test-server anyhow "almost" everything runs fine.

(of course both servers have the same accounts.txt)

What is even stranger is that some accounts seems to be able to log in from our live-servers, while others don't. And some others cannot log in from either servers, as they get an "incorrect password" wich is also strange since the password is correct (we tried changing passwords, and checking if the md5 saved on the accounts.txt was the same as the password by using an md5 converter)

We really don't know what is happening and have no idea on how to solve this problem. We are not sure that this is a problem related to the conversion from pol 097 to 099, it is just that problems started when we did that. Can anyone gives us any advices?
Post Reply