Multiple servers?

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
Post Reply
Nlyhem

Multiple servers?

Post 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.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

You need two seperate directories (copies) and you need to run the instances of POL on different ports.
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post 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
Marilla

Post 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:
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post 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.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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.
Marilla

Post 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.
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am

Post 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
Post Reply