1 (edited by Aseliot 2013-07-02 12:32:38)

Topic: Server setup doc is vague

Seriously i did IT and i don't know what it says.

for example; To start the server you must specify a config for it to load. This is done by adding the flag "-f" to the server start command, like this:

teeworlds_srv -f serverconfig.cfg

What is the server start command? Where, what, how. I don't get it. I can't add any parameters to the executable file or whatever. I do admit it has been a while since i've done this stuff but the documentation is just too vague on this imo. I don't have a server config file if it had to be made by the exe itself or something i don't know i havent registered it yet but can connect to it via 127.0.0.1 i believe. EDIT - yes okay i can join it locally i just saw my name in the commandline.

EDIT2 - Ugh nevermind i already found a thread with info about it, i think it would be nice though if the documentation contained links or whatever to this sort of thing because i forgot you had to make a shortcut to do that =/

2

Re: Server setup doc is vague

You can just type it in the console as well or make a .bat script for that. The shortcut is just one way among others.

Not Luck, Just Magic.

3

Re: Server setup doc is vague

hi, don't be shy use google... there many tutorials even on youtube how to set up a server.

the content of the config file (you should name it autoexec.cfg) depends on the different mods.

normally it contains:

sv_name Your Server Name
sv_port 8303    (it's the default port if you want to have it online)
sv_register 1    (1 - online/ Internet, 0 - LAN but you have to open an UDP pOrt in router and in firewall)
sv_map ctf5      (map should be lacated in %appdata%/Teeworlds/maps, so move it from downloadedmaps into maps and choose an usefull name smile )

if the config file's name is autoexec.cfg and it's placed in the same dir as the server executable you can start the server with this config file with a double click on .exe

if you want to get special commands for different mods search for:

Teeworlds <modname> config
or
Teeworlds <modname> autoexec filetype:cfg  (if you want to download the autoexec)

#yemDX is a known troll

4

Re: Server setup doc is vague

Yeah okay, i already have it. I have everything working but the register thingy.

What is wrong with this? It's the port mapping thing...

http://s8.postimg.org/yhfh7s2hx/ipconfig.png

5

Re: Server setup doc is vague

Are you sure your server is running on port 8303? Maybe you have a firewall blocking ingoing traffic, try disabling it. Also, please post your config file, so we can check if there is anything wrong.

6

Re: Server setup doc is vague

what is displayed in the CMD window?

[51dc443e][register]: ERROR: the master server reports that clients can not connect to this server.
[51dc443e][register]: ERROR: configure your firewall/nat to let through udp on port 8303.

or

[51dc4463][register]: WARNING: No master servers. Retrying in 60 seconds

or something else?

#yemDX is a known troll

7

Re: Server setup doc is vague

I didn't respond for a while because i already magically got it working. No idea how but appareantly the thing suddenly decided i didn't do anything wrong in the first place =p Thanks.