Page 1 of 1

Multiple servers?

Posted: Fri Nov 10, 2006 1:35 am
by Nlyhem
Hi,

I'm new in this thing and I was wondering one thing. Is it possible to run 2 POLs in one machine? ie. the game server and build/test server. I have tried to just run 2 POLs from different directories but that doesn't seem to work :P

Thank you for your replies.

Posted: Fri Nov 10, 2006 1:39 am
by Austin
You need two seperate directories (copies) and you need to run the instances of POL on different ports.

Posted: Fri Nov 10, 2006 7:24 pm
by CWO
Remember to configure each POL in the pol.cfg and the /config/servers.cfg to use a different ports than eachother. I do this on mine all the time...

Live server - 5004 in POL.cfg and servers.cfg

then in another path for development

Dev server - 5005 in POL.cfg and servers.cfg

Posted: Sat Nov 11, 2006 2:42 am
by Marilla
Something to add, also;

Keep in mind that the servers.cfg is the configuration for something that is really a totally separate thing from the game server, as far as the client is concerned.

That is, the client, when you first enter your login info, is connecting to the "Login Server". The connection info for this comes from the login.cfg that the CLIENT has, which tells it where the find the login server.

The login server checks the login credentials, and assuming that succeeds, it then sends the client a list of servers to connect to. This is where the POL servers.cfg comes in; That is where that list that gets sent to the client comes from.

So, you can use your servers.cfg to have both servers show up on the same list. You would simply add one entry for each server in BOTH server's servers.cfg files; That way, no matter which server they initially connect to for login, they can then get into either one.

On the other hand, maybe you don't WANT people to be able to see both, in which case, ignore the above!

:razz:

Posted: Sat Nov 11, 2006 11:56 am
by MuadDib
Yeah, that's the very nice thing about POL's server listings. You have have a single pol.exe that contains the accounts.txt that matches the other servers (Very important!), and list 20 different shards if you want, that they connect to.

Posted: Wed Nov 15, 2006 3:48 pm
by Yukiko
You know, I never knew this about servers.cfg. It would be nice if the "Keeper of the POL docs" would add this tidbit to the knowledge base as well.

Posted: Thu Nov 16, 2006 4:20 am
by Marilla
The entry for servers.cfg pretty well lays it out, without going so far as making a tutorial of it. I think it even says something to the effect of, "You could run a lean POL server as a login server only, to direct people to multiple servers", or something like that. If I'm remembering the wording right, it did strike me as odd that it would suggest you would need a separate server to do that - which does work... but you can also just as easily use any of the multiple servers themselves to all point to each other, or to any other server you want at all.

Posted: Sun Nov 19, 2006 10:30 am
by Shinigami
Yukiko wrote:You know, I never knew this about servers.cfg. It would be nice if the "Keeper of the POL docs" would add this tidbit to the knowledge base as well.
this feature has nothing to do with servers.cfg, it's a client-feature... and I'm sure it's documented in some packet-lists

Shinigami