Page 1 of 1

servers.cfg help

Posted: Sat May 09, 2009 7:56 am
by westrupp
this is my servers.cfg

Code: Select all

GameServer
{
    Name    KaoZ RuleZ WS
    IP      64.233.163.147
    Port    5003
}
lan IP: 10.1.1.2
internet IP: 64.233.163.147

login.cfg of players have internet IP...but i cant login with internet IP and if i try lan IP client stuck...
I think need reedit servers.cfg to enable me connect in uo client inside server....

Inside server.txt have a note about use --lan-- and --ip--, but I not sure about sintaxe...

Thanks for read and sorry my bad english...

Re: servers.cfg help

Posted: Sat May 09, 2009 8:43 am
by Damien.
Make sure you have opened port 5003 in your router and that there is only one port 5003 opened.
Their login.cfg should look like this:
LoginServer=64.233.163.147,5003
Also make sure you use the correct WAN-ip. http://checkmyip.org

Re: servers.cfg help

Posted: Sun May 10, 2009 1:19 pm
by westrupp
my IP is correct and my router already configured, players can login inside war shard...

My problem is: I cant login with my admin in server of war shard...i think need reedit servers.cfg

Re: servers.cfg help

Posted: Sun May 10, 2009 1:28 pm
by Damien.
hmm, never faced that problem.. try edit this into your servers.cfg and see if you can connect to WAN.
Maybe its necessary to atleast include the IPMatch in one of the GameServer Elements in the servers config.

Code: Select all

GameServer POL-LOCAL
{
	Name	POL-LocalHost
	IP	10.1.1.2
	Port	5003
	IPMatch	10.1.1.2
}

GameServer POL-LAN
{
	Name	POL-LAN
	IP	10.1.1.2
	Port	5003
	IPMatch	192.168.0.0/255.255.0.0
}

GameServer
{
    Name    KaoZ RuleZ WS
    IP      64.233.163.147
    Port    5003
}

Re: servers.cfg help

Posted: Sun May 10, 2009 2:44 pm
by westrupp
Thx Damien, everything running fine now...

Re: servers.cfg help

Posted: Mon May 11, 2009 1:58 am
by Pierce
westrupp wrote: Inside server.txt have a note about use --lan-- and --ip--, but I not sure about sintaxe...
--lan-- reads your local ip address
--ip-- reads your internet ip, quite useful if it's dynamic

Even if you solved it already, in your case it would look this way:

Code: Select all

GameServer
{
   Name   POL-LocalHost
   IP   --lan--
   Port   5003
}

GameServer
{
    Name    KaoZ RuleZ WS
    IP      --ip--
    Port    5003
}
I don't know if --lan-- reads the local address correct in newer cores. A few
years ago it seems to read it wrong, so i set always the local ip numbers there.