1 (edited by Pvpede 2008-03-26 21:36:53)

Topic: [INFO] 0.4.0 Server CFG's

Hello - The docs are outdated, so I thought I could make a new half explaining information-thread.

In this new patch, the CFG's have been changed a lot.
Instead of "sv_map=MAPNAME" - it'll be: "sv_map MAPNAME" . - They have removed the = .

Other changes:
sv_sendheartbeats >> sv_register
rcon_password >> sv_rcon_password


New Stuff:
sv_motd - Sets Message of the Day
sv_register - Same function as Sendheartbeats
sv_rcon_password - Same function as the old rcon_password

Changes to the "Docs"-stuff:

Here is a simple DM server configuration:

sv_name Sample DM Server
sv_gametype dm
sv_warmup 10
sv_map dm2
sv_maprotation dm2 dm6
sv_max_clients 8
sv_scorelimit 20

Here is a simple 2on2 TDM server configuration:

sv_name Sample 2on2 TDM Server
sv_gametype tdm
sv_warmup 10
sv_map dm1
sv_max_clients 4
sv_scorelimit 50

Here is a simple CTF server configuration:

sv_name Sample CTF Server
sv_gametype ctf
sv_warmup 30
sv_map ctf2
sv_max_clients 10
sv_scorelimit 400

Atm, mine looks like this:

sv_name [DS] Clan Server #2 - DSClan.org
sv_warmup 0
sv_motd Join DSClan! http://www.dsclan.org !
sv_teamdamage 0
sv_map dm6
sv_maprotation dm1 dm2 dm6
sv_powerups 1
sv_scorelimit 20
sv_timelimit 0
sv_gametype dm
sv_tournament_mode 0
sv_port 8303
sv_external_port 8303
sv_max_clients 8
sv_high_bandwidth 0
sv_register 1
sv_rcon_password sfjghdouidsfjgno8945y 6789hr9t 
dbg_bots 0

Hope this was useful. If you need any other info, ask please.

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

2

Re: [INFO] 0.4.0 Server CFG's

rcon_password was changed to sv_rcon_password too, you have it right in your example configs, but you didn't mention it under "changes" smile

3

Re: [INFO] 0.4.0 Server CFG's

I wrote a little patch to add a "cmdlist" command (both to the client and the server consoles) which lists the commands: http://ipxserver.dyndns.org/friends/peoro/cmdlist.patch

Usage: cmdlist [beg]
if beg is present it prints every command which begins with beg, else prints every command.

Hope it can help.

Dio Bastardo!

4

Re: [INFO] 0.4.0 Server CFG's

nice patch, should fix tab-completion however.

5

Re: [INFO] 0.4.0 Server CFG's

matricks wrote:

nice patch, should fix tab-completion however.

Yup, the idea was indeed to add tab-completion, but the keyboard handler lost me. I'll keep on working on it later or tomorrow.

Dio Bastardo!

6

Re: [INFO] 0.4.0 Server CFG's

Note to all: The new server configurator supports 0.4.0. Get it here:

http://www.teeworlds.com/forum/viewtopi … 8110#p8110

Its a gui way of configuring the teewars server.

7

Re: [INFO] 0.4.0 Server CFG's

Tjofras wrote:

rcon_password was changed to sv_rcon_password too, you have it right in your example configs, but you didn't mention it under "changes" smile

Added,
Thanks -


And to the others, thanks again

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

8 (edited by Mat 2008-03-23 16:12:24)

Re: [INFO] 0.4.0 Server CFG's

I think we have to explain what some options are doing:



cl_mouse_deadzone
Setting when camera will starting to follow the cursor. If 0 it will follow the cursor all the time. Camera starting to follow the cursor after it reach the value. Value is distance between tee and cursor in pixels (default 400).

cl_mouse_followfactor

Setting how fast camera will follow the cursor. Then bigger the value then faster camera will follow the cursor. If value is too high then distance between cursor and tee is reducing automatically (default 60).


cl_mouse_max_distance
Setting maximum distance between the tee and cursor (even with a 9999999 value u can't see the  whole map) (default 1000).

Mouse settings a la Soldat (camera always follow the cursor):

cl_mouse_deadzone 0
cl_mouse_followfactor 30
cl_mouse_max_distance 1500


"Secret" command
ping
show what latency is in format xx,xx

9

Re: [INFO] 0.4.0 Server CFG's

Confused... can you create a separate .cfg file for the server? Or do you have to use the one with all the settings in>?

10

Re: [INFO] 0.4.0 Server CFG's

Rivers wrote:

Confused... can you create a separate .cfg file for the server? Or do you have to use the one with all the settings in>?

Sorry, I don't understand your question . Please explain it a bit better hmm

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

11

Re: [INFO] 0.4.0 Server CFG's

and how can i make tahts i saw player ids and can he kick?

12

Re: [INFO] 0.4.0 Server CFG's

This got unstickied . Why?

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

13

Re: [INFO] 0.4.0 Server CFG's

What do I use to make projectiles follow tees? Also, how do I specify the length of the grappling hook? Thanks.

I need to figure out something to put here.

14

Re: [INFO] 0.4.0 Server CFG's

It's not possible to make projectiles follow tees withoud rewriting the server source and recompiling. This would be a real mod, not a server setting.

The length of the hook can be changed with "tune hook_length 380" (380 is the default value, iirc)

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

15

Re: [INFO] 0.4.0 Server CFG's

Thank you for the tip, but the console say, "there is no such command, tune."

I need to figure out something to put here.

16

Re: [INFO] 0.4.0 Server CFG's

You have to use the rcon console (F2), not the console which appears when pressing F1.

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

17

Re: [INFO] 0.4.0 Server CFG's

OK, thanks. One more question: how do you make your server on the Internet tab instead of the LAN tab?

I need to figure out something to put here.

18

Re: [INFO] 0.4.0 Server CFG's

should be "sv_register 1"

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

19 (edited by Jon 2008-03-25 17:32:19)

Re: [INFO] 0.4.0 Server CFG's

Thank you, but it does not seem to work. I entered it in the F1 console, restarted the cfg, and it is still in LAN. Do I have to buy a server to make it work?

I need to figure out something to put here.

20

Re: [INFO] 0.4.0 Server CFG's

Uh... I told you to do it in the F2 (rcon) console, NOT in the F1 console.
And uh... no, you don't have to buy a server. Problem may be your firewall/router (ports blocked).

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

21

Re: [INFO] 0.4.0 Server CFG's

thx for the pw xD

22

Re: [INFO] 0.4.0 Server CFG's

Xaller wrote:

thx for the pw xD

Oops lol xD

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

23

Re: [INFO] 0.4.0 Server CFG's

Ok I went to the Portforword and I clicked on the Toshida one cuz that's the tipea of computer I have and the rest of the stuff I don't know what to do like what tipe of fire wall I need and other stuff, and B 4 I put my map on a sever I want to know if my map is good so it there any way to test my map b 4 I put it on the severs? HELP!

24

Re: [INFO] 0.4.0 Server CFG's

There is.

Go into your config file - and then find:
sv_register 1

Instead, use:
sv_register 0

This will make it a LAN-Server .

Core2Quad QX9650 12MB 4x3,00GHz - Razer Lachesis - Corsair 8 GB XMS2 DDRII PC6400 RAM DualChannel - Nvidia GeForce 9800GX2 1GB PCI-E - Windows Vista Ultimate EN 64-bit

25

Re: [INFO] 0.4.0 Server CFG's

Where do i find the conig file in OSX?