1

Topic: Server start problems!

I looked in the page that tells how to start a server, and under the Linux section, and it has 1 command that goes as follows:

 teeworlds_srv -f serverconfig.cfg 

but when I try to execute this command in the terminal, it says this:

 teeworlds_srv: command not found 

What do I do?

2

Re: Server start problems!

Go by

./teeworlds_srv -f serverconfig.cfg
Real programmers don't comment their code - it was hard to write, it should be hard to understand.
Proudly verkeckt since 2010.

3

Re: Server start problems!

xush wrote:

Go by

./teeworlds_srv -f serverconfig.cfg
 bash: ./teeworlds_srv: No such file or directory 

4

Re: Server start problems!

It COULD be, that you don't have necessary libraries installed (the no such file appears to be a wrong message, I experienced that once). Try compiling on your own, otherwise there is no teeworlds_srv binary in that directory

Having troubles finding servers in the serverlist? Go to Pastebin (its a referer cause there is daily a new pastebin) and add the lines to your settings.cfg (in %APPDATA%\teeworlds). Then open teeworlds and go to the favorites tab. (Note however, standard teeworlds client can only show 256 favorites, use ddnet instead)

5

Re: Server start problems!

Cryptor_the_Lemon_Keeper wrote:
xush wrote:

Go by

./teeworlds_srv -f serverconfig.cfg
 bash: ./teeworlds_srv: No such file or directory 

You have to be in the right directory. Navigate there first with the

cd dirname/twdirname

command. Obviously with the correct directory names.

Real programmers don't comment their code - it was hard to write, it should be hard to understand.
Proudly verkeckt since 2010.

6

Re: Server start problems!

How did you install Teeworlds? Did you do `apt-get install teeworlds-server`? If not, you should probably do that first.

7

Re: Server start problems!

xush wrote:
Cryptor_the_Lemon_Keeper wrote:
xush wrote:

Go by

./teeworlds_srv -f serverconfig.cfg
 bash: ./teeworlds_srv: No such file or directory 

You have to be in the right directory. Navigate there first with the

cd dirname/twdirname

command. Obviously with the correct directory names.

My Teeworlds directory is .Teeworlds.

heinrich5991 wrote:

How did you install Teeworlds? Did you do `apt-get install teeworlds-server`? If not, you should probably do that first.

I installed through Steam.

8

Re: Server start problems!

Cryptor_the_Lemon_Keeper wrote:

I installed through Steam.

In that case, do a `cd ~/.local/share/Steam/SteamApps/common/Teeworlds` before you start the server with `./teeworlds_srv`.