• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Multi-World] Cannot connect to game server TFS 0.3.5 PL1

Mazen

Developer
Joined
Aug 20, 2007
Messages
612
Reaction score
38
Location
Sweden
Hello everyone, I've worked really hard to try to get this working. I searched the whole forum for the answer, I worked on this for hours without any results, so I've decided to ask you for help.

The problem is that I can't connect to the game-world. I get the error: Invalid Server Address.(10049)

Yes, I've disabled all my firewalls and no I'm not behind a router.

Here is my configurations
I have one login-server that is compiled with -D__LOGIN_SERVER__ . It has the world id 0 and these configs:
Code:
	worldId = 0
	ip = "swev.se"
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	serverName = "Swevolutions"
	loginOnlyWithLoginServer = "no"

Then I have a game-server that is compiled as a normal server(Of course rebuilt). It has these configs:
Code:
	worldId = 1
	ip = "swev.se"
	loginPort = 7175
	gamePort = 7176
	adminPort = 7175
	statusPort = 7175
	serverName = "Oldera"
	loginOnlyWithLoginServer = "yes"

Of course all both servers have their own config files that they are using.

and the last thing, my servers.xml file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<servers>
	<server id="1" name="Oldera" versionMin="850" versionMax="850" address="swev.se" port="7175"/>
</servers>

The login server is loading the game-server and everything is working, but I can't access the world. :(

Please help me, what have I done wrong?
 
Mmm see..!!

Hello everyone, I've worked really hard to try to get this working. I searched the whole forum for the answer, I worked on this for hours without any results, so I've decided to ask you for help.

The problem is that I can't connect to the game-world. I get the error: Invalid Server Address.(10049)

Yes, I've disabled all my firewalls and no I'm not behind a router.

Here is my configurations
I have one login-server that is compiled with -D__LOGIN_SERVER__ . It has the world id 0 and these configs:
Code:
	worldId = 0
	ip = "swev.se"
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	serverName = "Swevolutions"
	loginOnlyWithLoginServer = "no"

Then I have a game-server that is compiled as a normal server(Of course rebuilt). It has these configs:
Code:
	worldId = 1
	ip = "swev.se"
	loginPort = 7175
	gamePort = 7176
	adminPort = 7175
	statusPort = 7175
	serverName = "Oldera"
	loginOnlyWithLoginServer = "yes"

Of course all both servers have their own config files that they are using.

and the last thing, my servers.xml file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<servers>
	<server id="1" name="Oldera" versionMin="850" versionMax="850" address="swev.se" port="7175"/>
</servers>

The login server is loading the game-server and everything is working, but I can't access the world. :(

Please help me, what have I done wrong?

Hello men see only change the next topic

In your xml server

Code:
<?xml version="1.0" encoding="UTF-8"?>
<servers>
	<server id="0" name="Example" versionMin="841" versionMax="842" address="127.0.0.1" port="7171"/>
</servers>

In your config lua

Code:
worldId = 0
	ip = "190.200.000.000" // Change yor ip adress find in pc
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	serverName = "Swevolutions"
	loginOnlyWithLoginServer = "no"

working ok.. sorry for my english
 
Hello men see only change the next topic

In your xml server

Code:
<?xml version="1.0" encoding="UTF-8"?>
<servers>
	<server id="0" name="Example" versionMin="841" versionMax="842" address="127.0.0.1" port="7171"/>
</servers>

In your config lua

Code:
worldId = 0
	ip = "190.200.000.000" // Change yor ip adress find in pc
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	serverName = "Swevolutions"
	loginOnlyWithLoginServer = "no"

working ok.. sorry for my english

No it's not working, still the same error.

It's always the same error. :(

EDIT: It's working now! The solution was to have an ip address like 127.0.0.1 and not like localhost or swev.se.

Great! :D
 
Last edited:
Back
Top