PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Multiple servers?

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096
Display posts from previous:   

Author Message
Nlyhem



Joined: 10 Nov 2006
Posts: 2

PostPosted: Fri Nov 10, 2006 5:35 am    Post subject: Multiple servers? Reply with quote

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 Razz

Thank you for your replies.

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 354
Location: San Diego, California

PostPosted: Fri Nov 10, 2006 5:39 am    Post subject: Reply with quote

You need two seperate directories (copies) and you need to run the instances of POL on different ports.

Author Message
CWO



Joined: 04 Feb 2006
Posts: 685
Location: Chicago, IL USA

PostPosted: Fri Nov 10, 2006 11:24 pm    Post subject: Reply with quote

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

Author Message
Marilla



Joined: 02 Feb 2006
Posts: 329

PostPosted: Sat Nov 11, 2006 6:42 am    Post subject: Reply with quote

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

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sat Nov 11, 2006 3:56 pm    Post subject: Reply with quote

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.

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Wed Nov 15, 2006 7:48 pm    Post subject: Reply with quote

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.

Author Message
Marilla



Joined: 02 Feb 2006
Posts: 329

PostPosted: Thu Nov 16, 2006 8:20 am    Post subject: Reply with quote

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.

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Sun Nov 19, 2006 2:30 pm    Post subject: Reply with quote

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 new topic   Reply to topic    PenUltima Online Forum Index -> General Help 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty