1

Topic: how can I create a server with linux

I want to create a server but I do not know how

2 (edited by wappsify 2011-05-29 19:02:59)

Re: how can I create a server with linux

Look at the Documentation.

burn the land and boil the sea, you can't take the sky from me.

3

Re: how can I create a server with linux

I have that in the terminal :

teeworlds_srv: Command not found

4

Re: how can I create a server with linux

That's why you do this:

./teeworlds_srv

5 (edited by antoine2tt 2011-05-29 22:00:35)

Re: how can I create a server with linux

Again an error :


[4de2a5d7][engine]: running on unix-linux-ia32
[4de2a5d7][engine]: arch is little endian
[4de2a5d7][storage]: added path '$USERDIR' ('/home/antoine/.teeworlds')
[4de2a5d7][storage]: added path '$DATADIR' ('data')
[4de2a5d7][storage]: added path '$CURRENTDIR' ('/home/antoine/teeworlds')
[4de2a5d7][console]: failed to open 'autoexec.cfg'
[4de2a5d7][console]: executing 'serverconfig.cfg'
[4de2a5d7][Console]: Value:
[4de2a5d7][Console]: Value:
[4de2a5d7][Console]: No such command: sv_rcon_ban_time.
[4de2a5d7][Console]: Value:
[4de2a5d7][Console]: Value: 3
[4de2a5d7][server]: starting...
[4de2a5d7][datafile]: loading. filename='maps/Map to use.    ctf3.map'
[4de2a5d7][datafile]: could not open 'maps/Map to use.    ctf3.map'
[4de2a5d7][server]: failed to load map. mapname='Map to use.    ctf3'

6

Re: how can I create a server with linux

Do you have a data folder and a storage.cfg in the folder of your serverfile?

7

Re: how can I create a server with linux

http://s3.noelshack.com/uploads/images/7009156384263_capture.png

8

Re: how can I create a server with linux

sv_map ctf3
put the ctf3.map in the folder maps

9

Re: how can I create a server with linux

I just copy, but it is still

10

Re: how can I create a server with linux

http://s3.noelshack.com/uploads/images/8458132052205_capture1.png

11

Re: how can I create a server with linux

You've got a "sv_map "Map to use.    ctf3.map"" or something like that in your config, remove it.
Also, post your config, it will be easier to help you.

spl0k, aka Al`. From the HuH clan.
Noobing pwns since 01/01/1970.
TeeViewer - TeeComp

12

Re: how can I create a server with linux

When taking a look at the docs, you should not only do copy/paste but actually read the docs.
The server settings docs has the settings listed and there is also a description. Obviously the description is not be used in the actual settings, which you did here.

sv_map "Map to use.    ctf3"

If you had thought about it for 1 minute or so or if you had taken a proper look at the docs, you would know that this is wrong.

correct code:

sv_map ctf3

13 (edited by antoine2tt 2011-05-30 09:21:54)

Re: how can I create a server with linux

Ok, I forgot to delete that line .

Now it's ok ?  :

antoine@ubuntu:~$ cd teeworlds
antoine@ubuntu:~/teeworlds$ ./teeworlds_srv -f serverconfig.cfg
[4de32364][engine]: running on unix-linux-ia32
[4de32364][engine]: arch is little endian
[4de32364][storage]: added path '$USERDIR' ('/home/antoine/.teeworlds')
[4de32364][storage]: added path '$DATADIR' ('data')
[4de32364][storage]: added path '$CURRENTDIR' ('/home/antoine/teeworlds')
[4de32364][console]: failed to open 'autoexec.cfg'
[4de32364][console]: executing 'serverconfig.cfg'
[4de32364][Console]: Value:
[4de32364][Console]: Value:
[4de32364][Console]: No such command: sv_rcon_ban_time.
[4de32364][Console]: Value:
[4de32364][Console]: Value: 3
[4de32364][server]: starting...
[4de32364][datafile]: loading. filename='maps/ctf3.map'
[4de32364][datafile]: allocsize=2336
[4de32364][datafile]: readsize=2192
[4de32364][datafile]: swaplen=2212
[4de32364][datafile]: item_size=1880
[4de32364][datafile]: loading done. datafile='maps/ctf3.map'
[4de32364][server]: maps/ctf3.map crc is a3739d41
[4de32364][server]: server name is 'CTF / Games-Soft'
[4de32364][datafile]: loading data index=13 size=556 uncompressed=24940
[4de32364][server]: version 0.6 626fce9a778df4d4
[4de32364][engine/mastersrv]: refreshing master server addresses
[4de32364][register]: refreshing ip addresses
[4de32366][engine/mastersrv]: saving addresses
[4de32366][register]: fetching server counts
[4de32369][register]: chose 'master2.teeworlds.com' as master, sending heartbeats

14

Re: how can I create a server with linux

well, your server seems to be starting now, so everything seems to be fine.

15

Re: how can I create a server with linux

[4de3bcb1][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcb1][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bcc0][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcc0][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bccf][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bccf][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bcde][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcde][register]: ERROR: configure your firewall/nat to let through udp on port 0.


I have open my port 8303

(sv_port *        8303)

16

Re: how can I create a server with linux

antoine2tt wrote:

[4de3bcb1][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcb1][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bcc0][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcc0][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bccf][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bccf][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bcde][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcde][register]: ERROR: configure your firewall/nat to let through udp on port 0.


I have open my port 8303

(sv_port *        8303)

use

sv_port 8303

or just omit it, it's the default port.

17

Re: how can I create a server with linux

i have delete "*" and i have again this error

[4de3bcb1][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcb1][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bcc0][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcc0][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bccf][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bccf][register]: ERROR: configure your firewall/nat to let through udp on port 0.
[4de3bcde][register]: ERROR: the master server reports that clients can not connect to this server.
[4de3bcde][register]: ERROR: configure your firewall/nat to let through udp on port 0.

18 (edited by andi103 2011-05-30 18:06:28)

Re: how can I create a server with linux

you must set the port (I think higher) like the standard 8303 or something else. (sv_port 8303)
And as written configure firewall/nat

19

Re: how can I create a server with linux

Just delete the whole sv_port
Because you are to stupid to strg+c

20

Re: how can I create a server with linux

BotoX wrote:

Just delete the whole sv_port
Because you are to stupid to strg+c

It's ctrl+c (this is an English forum).

21

Re: how can I create a server with linux

Well, then you can also tell me whether we are using the English or American keyboard layout here?!

22

Re: how can I create a server with linux

It's working , thanks !

But when i write "status" in the terminal ... Nothing appears

23

Re: how can I create a server with linux

Flamewars are to be taken elsewhere.


antoine2tt wrote:

But when i write "status" in the terminal ... Nothing appears

You cannot write it in the terminal. Commands can only be run through the remote console (rcon) which you can find by pressing F2 in-game.

24

Re: how can I create a server with linux

You can try to use TSC 3.1 whin wine software of linux.

Playing Teeworlds since 2011!
"I will always be topless for you"
                  - Günther Branlutte

25

Re: how can I create a server with linux

Wine isn't an excuse for programmers not to support linux. But wine doesn't even work in all cases.