1 (edited by Domifist 2009-01-05 09:35:22)

Topic: [Solve]Server creation error under linux Ubuntu 8.10

Hi all,

I follow the step to creat a server on this post:
http://www.teeworlds.com/forum/viewtopic.php?id=772
but not all (port frontwarding) im the DMZ of the network ...

but the resulte is not a server, is a lunching error :s

Error log:
[495bdcab][engine]: running on unix-linux-ia32
[495bdcab][engine]: arch is little endian
[495bdcab][console]: executing 'venom_srv.cfg'
[495bdcab][console]: failed to open '/home/d1/.teeworlds/autoexec.cfg'
[495bdcab][datafile]: datafile loading. filename='data/maps/dm1.map'
[495bdcab][server]: data/maps/dm1.map crc is e6991fb3
[495bdcab][server]: couldn't open socket. port might already be in use

I see the port are occuped but i dont know what use it?!?
and autoexec.cfg i dont have it ...

i accept all suggestions?

2 (edited by shmafoozius 2008-12-31 20:48:16)

Re: [Solve]Server creation error under linux Ubuntu 8.10

#1: Which port are you using? Default Teeworlds port or another one?
#2: Have you tried another port?
#3: Have you launched the same server/config twice?

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

3

Re: [Solve]Server creation error under linux Ubuntu 8.10

lol an Q/R quizz xD

R1: 8303 (defaut)
R2: no, Pvpede say: Your port! Don't touch it
R3: its possible, i can be load a server without "Cfg"

that not explaine the missing of "autoexec.cfg" o.O

4

Re: [Solve]Server creation error under linux Ubuntu 8.10

You can ignore the autoexec "error", it has nothing to do with your problem. If you want to get rid of it, just create an empty autoexec.cfg file in requested directory.

Let's continue our little quiz!
#4 Did you forward/open port 8303 in your firewall/router?

Even if it's "already in use", it's possible that the ports is just still closed and not forwarded correctly.

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

5

Re: [Solve]Server creation error under linux Ubuntu 8.10

Just one thing...Why did you update to 8.10?! Stay with 8.4, it is much better and gooder.

<? php echo "Magix"; ?>
------------------------------------------------
Tee-City <--------- The one Teeworlds site to rule them all!

6 (edited by Domifist 2009-01-03 07:02:54)

Re: [Solve]Server creation error under linux Ubuntu 8.10

1st post:
I repeat what i said ...

I dont do the port frontwarding because im the DMZ
the DMZ are out of network security (port frontwarding)

and im on 8.10 because i only take the higher verson ...
and im new on linux tongue

-----------------
2nd post:
Good new im able to run one but i cant load the server CFG files

what i do to run the server:
>1.open Terminal
>2.sudo -s
>3.cd /home/d1/.Teeworlds/
>4../teeworlds_srv -f <name of the server CFG files>.cfg

and the server load but :s
whene i go on the game my server are named "unnamed server"
and his dont take my config.

7

Re: [Solve]Server creation error under linux Ubuntu 8.10

enter "netstat -anp" and you will see which ports are opened on your server. Known applications like mysql or something like that will also be displayed.

8

Re: [Solve]Server creation error under linux Ubuntu 8.10

Zerberster read the last post !
the port prob. are ok.
and now i need to know how load my CFG file

9

Re: [Solve]Server creation error under linux Ubuntu 8.10

cfg file in same directory as teeworlds_srv?
checked syntax of cfg file? (post your cfg file!)
Afaik, path and syntax can be the only errors here.

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

10 (edited by Domifist 2009-01-04 23:22:28)

Re: [Solve]Server creation error under linux Ubuntu 8.10

1st post
ok ... there are my cfg file:

>sv_name=TeeVenom
>sv_gametype=DM
>sv_warmup=3
>sv_map=hotfly
>sv_maprotation=hotfly dm6 dm2 dm1
>sv_max_clients=12
>sv_scorelimit=25
>rcon_password=**** (your dont need it)
>sv_port=8303
>sv_sendheartbeats=1
>masterserver=master.teewars.com

The CFG file and the teeworlds_srv app are on same dir.
-----
2nd post

ok your right~! bad syntax!
i put a "=" after each commandes

thanx all for your help!