Make your own free website on Tripod.com

Quake 3 Server Help

Quake III Arena Server Stuff


1. What is the meaning of "Hitch warning: x msec frame time" does this mean my server is having problems??
2. Is it ok to run a dedicated server but use the same cd to run a client on another machine?
3. For running both dedicated and listen CTF servers, does anyone know how to have players automatically assigned to a team?
4. Where are all these "sample configs" I keep hearing about?
5. How do I make a map rotation for my server?
6. How do I setup a password on my server?
7. What are privateclients?
8. What is the formula for Bandwidth on a Quake3 server? How do I determine the best sv_maxRate settings?
9. Quake III Arena is too dark on Windows 2000!! How do I fix that!?
10. How do I get colors in my players names?
11. How do I talk to players thru the server console?

Answers to the Questions

1. Since the question "What does the 'Hitch warning: x msec frame time' message mean on a dedicated server?" keeps coming up here, I figured it needed a real answer. Quake 3 has a program loop that is constantly handling game "events". The loop gets an event, handles that event, gets an event, handles that event, etc. That loop has to execute at a fairly constant rate for the game play to be smooth. However, since that loop can be interrupted by other programs running on the computer, or can be delayed when the game does some time-consuming operation (like loading levels or bots from disk), there's code in that loop that adjusts for small amounts of time lost to those interruptions (call the interruptions "hitches"). Longer hitches cause glitches in game play (you've probably seen those where your connection to a server goes bad and everything starts jumping around).

When Quake 3 is running as a dedicated server, it warns you (via the console log) of hitches longer than 500 msec. You'll probably see hitch warnings as the game loads levels, loads bots, or other time consuming operations. The hitch warnings can be ignored as long as they are small amounts of time. However, large hitches will be noticed by the clients (with the extreme case being a temporary disconnection). (from SysError 119)

2. It's definitely OK to run a dedicated server and a client off of the same CD. You WILL need to make sure and disable bots on the server, however. Instructions on how to do that are contained in the game documentation. (from Todd Hollenshead) The command to do so is "set bots_enable 0"

3. The commands for autojoin team and team balance are below:

seta g_teamAutoJoin "0"
seta g_teamForceBalance "0"

g_teamAutoJoin: (0 or 1):
(0): Places connecting players in spectator mode once they have fully connected to the game. (1): Automatically places a player on the team with the lowest number of players (or score if equal player counts) after fully connecting to the game.

g_teamForceBalance (0 or 1):
(0): Allows players to join any team, regardless of player counts. (1): Forces players to join the team with the lower number of players, and if equal, then the team with the lower score.

4. To view the sample configs you can use winzip to open /baseq3/pak0 then view the files with .cfg extention (from Pigskin)

5. A sample map rotation can be found below. You can alter the fraglimit and mapname for each level you are wanting to precede it.
 

From CleverAce
-----------------------------------
this works good for me:
set m1 "fraglimit 25; map q3dm1 ; set nextmap vstr m2"
set m2 "fraglimit 25; map q3dm2 ; set nextmap vstr m3"
set m3 "fraglimit 25; map q3dm3 ; set nextmap vstr m4"
set m4 "fraglimit 25; map q3dm4 ; set nextmap vstr m5"
set m5 "fraglimit 25; map q3dm5 ; set nextmap vstr m6"
set m6 "fraglimit 25; map q3dm6 ; set nextmap vstr m7"
set m7 "fraglimit 25; map q3dm7 ; set nextmap vstr m8"
set m8 "fraglimit 25; map q3dm8 ; set nextmap vstr m9"
set m9 "fraglimit 25; map q3dm9 ; set nextmap vstr m10"
set m10 "fraglimit 25; map q3dm10 ; set nextmap vstr m11"
set m11 "fraglimit 25; map q3dm11 ; set nextmap vstr m12"
set m12 "fraglimit 25; map q3dm12 ; set nextmap vstr m13"
set m13 "fraglimit 25; map q3dm13 ; set nextmap vstr m14"
set m14 "fraglimit 25; map q3dm14 ; set nextmap vstr m15"
set m15 "fraglimit 25; map q3dm15 ; set nextmap vstr m1"

6. Here are the commands for setting up a password by g:

Passwords are set using these commands:
set g_password "xxxx"
set g_needpass "1"

The first one sets the actual password.
The second one enables the password.

You could put the lines in your server config with g_needpass "0" and then turn the password on remotely using rcon.

/rcon g_needpass 1
or
/rcon toggle g_needpass

Of course you'll need to have a rcon password setup to access the server remotely.

If you dont have the password lines in your server config, you can just use rcon to give the server the command:

/rcon g_password my_password
and
/rcon g_needpass 1

7. Here are the commands for setting up sv_privateclients by g:

The private client stuff works like this:

set sv_maxclients "16"
set sv_privateclients 2
set sv_privatepassword "xxxxx"

The commands I have above set the server maxclients to 16. The second line reserves 2 spots for priority connect (admins, friends, etc..).The last line sets the password needed to join the priority slots. The commands as listed above reduce the server to 14 public slots, and 2 private slots.

8. Here is how to determine bandwidth and maxrate for your Q3 Server by Zxel.
 

Slots X sv_maxRate = Bandwidth
so
12 X 8000 = 96Kb/sec (960 kbps)

9. You can fix the "darkness" in Quake3Arena in Windows 2000 and some vid cards by using either of the answers mentions below.

set r_ignorehwgamma "1" or set r_overBrightbits "0"

This gives you full control of your gamma slider in NT/2000... overall colors are sorta washed out but can easily be compensated by tweaking your r_intensity value... default is 1, I have mine set to 1.6 (dont go too high with this or you'll wash out everything, way too bright).

10. Here is a simple explanation of how to use colors in your name.

Just put a carot "^", then a number representing the color when you want to change the color. You have to end the name with the color code for white, otherwise the last color will wreck havoc on other stuff. For example (and you should put this in a file called
autoexec.cfg in the baseq3 folder): colored names.....

0 - black
1 - red
2 - green
3 - yellow
4 - blue
5 - cyan
6 - magenta
7 - white

11. Talking to players thru the server console is easy, just remember that the console message defaults to white text, which is very hard for players to read, so make sure to add some color to your message.

Using the color commands from #10 above here is a sample message from the console:

say ^5This is a message from the server console.

Which looks like this to the player in the game:

This is a message from the server console.