1 (edited by robots816 2009-02-05 09:15:26)

Topic: (Guide) How to test a server

Ok guys this is my first guide so bear with me for this one.  I also thought that I have asked enough questions!

Open Notepad and type the following IN THIS FORMAT AND WITHOUT THE BRACKETS!

cd (where ever your teeworlds directory is e.g. c:\program files\teeworlds)
teeworlds_srv "sv_map (type here the name of your map e.g. run map)" "sv_gametype (type here which gametype you want e.g. ctf)"


And that's about it, now you will be able to make your creations come to life
Notes:
Save your maps a .map but don't put this in the name box

save the code as whatever you like.BAT

The second set is all on one line


If you do not know how to make a map then go to Sebaci's map editor tutorial
Or
My Map making Guide
I hope this helps

The Problem-O-matic!

2

Re: (Guide) How to test a server

Doesnt work for me sad

I told my personality and im a nobody so Bye everyone!
*Banned* /FireArrow

3 (edited by robots816 2009-01-28 23:02:58)

Re: (Guide) How to test a server

Hmmmmmmmmmmmm, maybe it only works for Windows Vista.......

Did you do everything exactly right?
The saving of the .map and .BAT

did you find the place where is says data, try following the path you typed

The Problem-O-matic!

4

Re: (Guide) How to test a server

its works for windows but its would be better to create a config file e.g. server.cfg
that put it in your teeworlds folder.
Than create the batch file (e.g. server.bat) with a text editor and write in it the following:

cd the/directory/to/teeworlds
teeworlds_srv -f server.cfg
uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

5

Re: (Guide) How to test a server

do you know of any guide like this for linux?

6 (edited by TeeKnight 2009-02-15 20:25:59)

Re: (Guide) How to test a server

silly hilly billy wrote:

do you know of any guide like this for linux?

The same should apply on linux. Most terminals allow cd, as for the .bat(man), you could use bash.

->Download Teeworlds
->Decompress/Install
->Go to Folder
->Create your configuration file as you please
->Execute thought terminal

teeworld_sv -f <yourconfigurationfile>

  ... or you could your write on a new text file

#!/bin/bash    
teeworlds_srv -f  <yourconfigurationfile>

and then save as you please (just remember to execute on a terminal, as well as correct chmod).

Essencially the same.

Making the config file for server: http://www.teeworlds.com/forum/viewtopic.php?id=1018
How to execute the server easily: http://www.teeworlds.com/forum/viewtopi … 636#p34636
Redder than blood, darker than night, goddess of the eternal chaos I beg of you, for defeating all the idiots that gets on our way. Tip: Get a FAQ

7

Re: (Guide) How to test a server

The only thing is that my computer doesn't recognise a .cfg file

The Problem-O-matic!

8

Re: (Guide) How to test a server

robots816 wrote:

The only thing is that my computer doesn't recognise a .cfg file

just create a "new document.txt" if you use windows make a right click in the folder, new - new textdocument. Then edit it with the notepad and save it. Then rename it to yourconfigname.cfg. That's it.

Then double click on the .cfg-file and choose the notepad.exe (e.g. C:\WINDOWS\system32\notepad.exe) as your standard program

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

9

Re: (Guide) How to test a server

silly hilly billy wrote:

do you know of any guide like this for linux?

in linux u dont need to create a file like the .bat in windows! All u need is your .cfg with all server settings on it. Than just open your console in linux and cd to teeworlds directory and start the server. It looks like this e.g.:

cd /home/user/teeworlds
./teeworlds_srv -f configs/server.cfg

the directory should be other but i think u know what i mean wink

this "configs/server.cfg" is the directory to the configs. In this case there is a folder "configs" into the teeworlds folder which contains the "server.cfg". If u put the config directly into the teeworlds folder u just have to type this: "./teeworlds_srv -f server.cfg".

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^