View Single Post
  #11  
Old 06-03-2010, 09:29 AM
orkim
Sarnak
 
Join Date: Sep 2008
Location: -
Posts: 31
Default

You pretty much got it there Mirakus.

One note I will add, is "adding your ip to the top of the config file" portion from above.

Typically when the world server connects to the login server it will save the IP address from which the world server connected. Say, world server at 1.2.3.4 connects to login server at 4.3.2.1, therefor the login server knows the public IP address of the world server.

However, when you run both on the same machine (or within a LAN and desire outside connections) this can be a bit tricky. Local LAN + outside connections typically runs into some routing problems (i.e. route the internal LAN packets properly using internal addresses and still listen/respond to external addresses). If you're not concerned about external connections (i.e. from the internet) then you have a easier job. But I digress...

Here in lies the rub, the login server will not know the public/private IP address to which it should use to connect to the world server. This is why when you are running the login server and world server on a single machine you MUST set these fields. Otherwise the 'IP' gets recorded as 127.0.0.1 and all clients are then routed back to themselves (127.0.0.1) to look for the worldserver, which of course isn't there.

As clear as mud?

Hope that helps.

-ork
Reply With Quote