Click to See Complete Forum and Search --> : Quake 2 server setup


Sokertes
06-12-2000, 02:01 PM
I was wondering if there is a way to setup a Quake2 server on my closet linux server (server with no monitor). I have tried but failed. If it is possible how is it done. I have quake2 3.20 (win version) and I d/l the quake rpm.

Any suggestions or howtos would be great.

Thanks in advance.

Sokertes

ph34r
06-12-2000, 03:50 PM
You will need to install the data files from the cd to /usr/local/games/quake2 then install the rpm (rpm -i --nodeps quake2...rpm). Then you want to setup a nice little shell script to lauch a dedicated server from the command line.

#!/bin/bash
cd /usr/local/games/quake2
./quake2 +set dedicated 1 +set deathmatch 1 +set map q2dm1

chmod +x your script, and then run it!

The Quake howto covers this, planetquake.com has had articles as well, and there is always www.linuxquake.com (http://www.linuxquake.com)


Post that IP addy so we can frag!

Sokertes
06-12-2000, 10:52 PM
Cool it works. But when I try and run Lithium it tells me that it can't exec config.cfg, Quake2 initializes then it says couldn't exec server.cfg. I am using the same server.cfg that I used in windows so it should work, right? And what about the config.cfg? Is that the same as the windows config.cfg?

Thanks

Sokertes

ph34r
06-13-2000, 12:26 AM
Ya don't really need config.cfg for a dedicated server, because that is the players config/control file. server.cfg is a generic dedicated server config file, and for lithium you have to copy one of theirs (ctf/dm, listen/dedicated) to server.cfg - or bypass it completely.

I typically write my own config file with my own naming scheme and then add it to the command line (./quake2 +exec myconfig.cfg ...)

Sokertes
06-13-2000, 05:26 PM
Finally with your help I got it going. Then I had e the problem of maps being missing so I copied over the pak files again and I am going to try it again. Thanks for all your help. Now for the peak and tweak fo the server.cfg to my liking.

thanks again

Sokertes

Sokertes
06-13-2000, 06:49 PM
One more thing. The server shuts down after x amount of inactivity. Is there a way to disable that? I want to have it open 24/7 for friends and family to connect and frag. If it's in the lithium.cfg, what setting is it?

Thanks again

Sokertes

ph34r
06-13-2000, 08:26 PM
hrm... None of my servers ever shut down... maybe run a bot or something? Dunno...

Sokertes
06-13-2000, 10:28 PM
I looked at the log and it says "Timelimit hit". Then I have to restart the server. It's wierd. It does it in the middle of the game too.

BTW: the ip for the server is 24.19.106.231:27910

I'll be Sokertes{XF} when I'm on.

[This message has been edited by Sokertes (edited 13 June 2000).]

[This message has been edited by Sokertes (edited 13 June 2000).]

ph34r
06-14-2000, 09:13 AM
Aha! you have a dm timelimit set. With no client around to make the map change, it gets stuck. Also, the problem may be that you don't have a map rotation setup.

Can you post your server config files?

Sokertes
06-14-2000, 12:53 PM
Here is the server.cfg

Also, I have timelimit set to 0. Does that elemenate the timelimit or does it default back to 15?

//
// Lithium II Mod v1.2x Config
//
// lithium.cfg - settings for a default Lithium II server.
// see config.txt for setting information.
//
//set master q2master.planetquake.com www.telefragged.com (http://www.telefragged.com) q2master.minos.co.uk q2master.mondial.net.au master.quake.inet.fi

set hostname "Sokertes House Of Pain Training Ground"
set maxclients 20
set public 1
set timelimit 0
set fraglimit 30
set dmflags 16916
set sv_airaccelerate 10

set use_runes 1
set use_packs 1
set use_hook 1
set use_safety 1
set use_startobserver 1
set use_startchasecam 0
set use_suicidekick 1
set use_chatmuzzle 1
set use_chatkick 1
set use_zbotkick 1
set use_zbotlog 1
set use_hitfactor 1
set use_nocamp 1
set use_gslog 0
set use_mapqueue 1
set use_mapvote 1
set use_highscores 1
set use_lmaster 0

set timestamp 5

set mapqueue "maps.lst"
set map_random 1

set motd "motd.txt"
set banlist "ban.lst"

set adminlist "admin.lst"
set admin_map 50
set admin_kick 50
set admin_ban 100
set admin_dmflags 100
set admin_uses 100
set admin_vars 200

set gslog "gslog.log"
set gslog_flush 0

set def_bestweapon 0
set def_id 1
set def_hud 2
set def_scores 1

set fast_respawn 0.65
set fast_minpbound 4
set fast_maxpbound 16

set fast_wep 2

set max_rate 8000

set safety_time 4.0
set knockback_adjust 1.0
set knockback_self 3.2
set fall_damagemod 1.0

set rune_flags 31
set rune_perplayer 0.6
set rune_life 20
set rune_min 3
set rune_max 12
set rune_resist 2.0
set rune_strength 2.0
set rune_regen 0.25
set rune_regenmax 200
set rune_vampire 0.5
set rune_vampiremax 200
set rune_resist_sound "world/force2.wav"
set rune_strength_sound "items/damage3.wav"
set rune_haste_sound "world/x_light.wav"
set rune_regen_sound "items/l_health.wav"
set rune_vampire_sound "makron/pain2.wav"

set pack_spawn 0.03
set pack_life 20

set hook_speed 2500
set hook_pullspeed 1000
set hook_sky 1
set hook_maxtime 999
set hook_damage 5
set hook_initdamage 10
set hook_maxdamage 20
set hook_delay 0.2

set ping_watch 10
set ping_endwatch 20
set ping_min 0
set ping_max 1000

set chatmuzzle_says 3
set chatmuzzle_time 2.0
set chatmuzzle_holdtime 20
set chatkick_says 10
set chatkick_time 5.0
set chatkick_muzzles 3

set mapvote_min 0
set mapvote_max 8
set mapvote_time 45
set mapvote_need 50
set mapvote_pass 51
set mapvote_tries 3
set mapvote_instant 1

set intermission_time 8.5
set intermission_sound "world/xian1.wav"

set camp_threshold 250
set camp_time 8.0
set camp_warn 5.0

set dropweapammo 0.6

set jacket_armor "50 100 0.30 0.00"
set combat_armor "75 150 0.60 0.30"
set body_armor "100 200 0.80 0.60"
set shard_armor 5

set power_armor_screen 0.25
set power_armor_shield 0.50

set start_health 100
set start_armor 0
set start_bullets 50
set start_shells 10
set start_rockets 10
set start_grenades 10
set start_cells 50
set start_slugs 10

set max_health 120
set max_armor 200
set max_bullets 240
set max_shells 120
set max_rockets 60
set max_grenades 60
set max_cells 240
set max_slugs 60

set pack_health 120
set pack_armor 250
set pack_bullets 360
set pack_shells 180
set pack_rockets 90
set pack_grenades 90
set pack_cells 360
set pack_slugs 90

set start_weapon 1
set start_blaster 1
set start_shotgun 0
set start_sshotgun 0
set start_machinegun 0
set start_chaingun 0
set start_grenadelauncher 0
set start_rocketlauncher 0
set start_hyperblaster 0
set start_railgun 0
set start_bfg 0

set no_shotgun 0
set no_sshotgun 0
set no_machinegun 0
set no_chaingun 0
set no_grenadelauncher 0
set no_rocketlauncher 0
set no_hyperblaster 0
set no_railgun 0
set no_bfg 0

set no_quad 0
set no_pent 0

set blaster_damage 17
set blaster_speed 1000
set shotgun_damage 6
set shotgun_count 12
set shotgun_hspread 500
set shotgun_vspread 500
set sshotgun_damage 6
set sshotgun_count 22
set sshotgun_hspread 1000
set sshotgun_vspread 500
set machinegun_damage 8
set machinegun_hspread 300
set machinegun_vspread 500
set chaingun_damage 8
set chaingun_hspread 300
set chaingun_vspread 500
set grenade_damage 100
set grenade_radius 140
set rocket_damage 100
set rocket_damage2 20
set rocket_rdamage 120
set rocket_radius 140
set rocket_speed 900
set rocket_knockback 0
set hyperblaster_damage 17
set hyperblaster_speed 1000
set railgun_damage 120
set bfg_damage 200
set bfg_radius 1000
set bfg_speed 400
set bfg_raydamage 5
set bfg_balldamage 200
set bfg_ballradius 100

set allow_download 1
set allow_download_players 1
set allow_download_models 1
set allow_download_sounds 1
set allow_download_maps 1

// Pro-Rocket specs. Uncomment this line to use them.
//exec procket.cfg

// map to start on (required for server to start with +exec)
// if mapqueue is on, this map is skipped, but REQUIRED here
map q2dm1

ph34r
06-14-2000, 02:35 PM
I can't see anything wrong with it... although you may want ot remove the timestamp option completely...

I'lll try to restore my q2 server and I'll send that config file that I use...

Don't worry! We will make it right http://www.linuxnewbie.org/ubb/smile.gif

Sokertes
06-15-2000, 12:52 AM
I do beleive I have it fixed thanks to your help. I took the time stamp off and it's been running for over 4 hours (approx.) and no crashes. Thanks for all your help.

Sokertes

------------------
I wasn't born with enough middle fingers

Life is hell til you find LINUX, then your beyond heavan

ph34r
06-15-2000, 10:15 AM
The time stamp may have been filling your memory or something... or maybe the console log.

Glad it is all working for ya. Maybe I can get a decent connection at home one day and come play for a bit...

iandaemon
12-27-2000, 02:39 PM
I am trying to set up a Quake 2 server on a linux machine. I have had no luck in doing so. My question is:

Is Mandrake linux different from Redhat linux?

I know they're different flavors, but will I have any software problems?

Thanks in advance.

------------------

ph34r
12-27-2000, 09:49 PM
Should work like a champ.

What problems are you having exactly?

iandaemon
01-03-2001, 02:55 PM
Originally posted by ph34r:
Should work like a champ.

What problems are you having exactly?

Software just won't run. I don't know at this point...

Sokertes
01-03-2001, 09:24 PM
What errors are you getting? Does it say anything in /var/log/messages about quake2? Is it saying anything in the console after typing the executable command? Give us somemore detail so we can help.