1 (edited by pspsps91 2010-08-16 15:54:21)

Topic: Setting up an internetserver

Hi at all,

I despair of running a server which can be found via the internet. I've read a lot of posts before and I think I have done everything right but then it should work and it don't.
So I'd like to tell you what I've done so far and may you could tell me were I've done a mistake

1. I've forwarded port 8303 UDP in my internet router to my pc.
2. I've checked that there is no firewall running (on the router as well as on my pc)
3. I'm using this serverconfig file:

sv_name Testserver0815
sv_map dm1
sv_gametype dm
sv_maprotation 
sv_scorelimit 10
sv_timelimit 25
sv_port 8303
sv_external_port 0
password 
sv_rcon_password *****
sv_max_clients 16
sv_register 1 
sv_sendheartbeats 1
sv_bindaddr
sv_high_bandwidth 0

Here is what the server cmd says:

[4c695bab][engine]: running on windows-win32-ia32
[4c695bab][engine]: arch is little endian
[4c695bab][engine/datadir]: paths used:
[4c695bab][engine/datadir]:     .
[4c695bab][engine/datadir]:     C:\Dokumente und Einstellungen\*********\Anwendungsdaten/Teeworlds
[4c695bab][engine/datadir]:     data
[4c695bab][engine/datadir]: saving files to: C:\Dokumente und Einstellungen\*********\Anwendungsdaten/Teeworlds
[4c695bab][console]: executing 'server.cfg'
[4c695bab][console]: failed to open 'autoexec.cfg'
[4c695bab][datafile]: datafile loading. filename='maps/dm1.map'
[4c695bab][server]: maps/dm1.map crc is f35c9309
[4c695bab][server]: server name is 'Testserver0815'
[4c695bab][datafile]: loading data index=16 size=325 uncompressed=12000
[4c695bab][server]: version 0.5 b67d1f1a1eea234e
[4c695bab][engine/mastersrv]: refreshing master server addresses
[4c695bab][register]: refreshing ip addresses
[4c695bab][engine/mastersrv]: saving addresses
[4c695bab][register]: fetching server counts
[4c695bae][register]: choosen 'master1.teeworlds.com' as master, sending heartbeats
[4c695bb1][register]: no firewall/nat problems detected
[4c695bb1][register]: server registered

So far everything seems fine but when I start Teeworlds I can only see my server in the LAN area, it is not listet in the internet servers list. If I try enter the server's IP I only can connect with my LAN IP but not with the external IP of my router.

There are some entries in the server config file I don't now what they do. May there is the problem?
sv_bindaddr  ? no idea what this means...
sv_sendheartbeats 1  ? may this does check if there are any problems with my network configuration but it says no firewall/nat problems detected in the server cmd. Or does this entry do anything else?

I hope some can help me so thanks in advance.

Paddy

*edit: forgot to post my version: teeworlds: 0.5.2 on Windows XP

2

Re: Setting up an internetserver

For you (and everyone else in the same network as you) it'll show up in the LAN tab. For the rest, it'll show up in the internet tab.

= there's no problem

3

Re: Setting up an internetserver

Ok thank you.

But why I can't even see my own server in the serverlist? My server tells the masterserver that it should take it in its list and my client asks the masterserver for that list. Does the masterserver recognise if a client has the same IP as a server?

If it is normal like this I'll try tomorrow if it works.

4

Re: Setting up an internetserver

It's just how it is smile

5

Re: Setting up an internetserver

pspsps91 wrote:
[4c695bb1][register]: server registered

With this message the server should be working ok.

Some things about the config file:
sv_external_port 0    - just if the port in the firewall is different than the port on the pc
sv_bindaddr              - not needed if you only got one network card
sv_sendheartbeats 1 - I think this is obsolete. Not sure though.

And finally I'd like to nominate you for the "Exemplary Support Question" award. Way better than all the "help plz!!1 server not start" topics popping up recently.
Too bad there is no such award. Yet.

aka cheesy