Anyone got any EF1, Quake 3, CS linux server experience?

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
Bucko
Power user
Posts: 229
Joined: Mon Aug 11, 2003 4:14 pm
Location: England
Contact:

Anyone got any EF1, Quake 3, CS linux server experience?

Post by Bucko »

Hiya. I downloaded Elite force dedicated server for Linux.
Patch release version 1.20 and followed the instructions.

Transffered all the required files and it seems to startup fine

Code: Select all

Xbox gentoox # /home/gentoox/stvef/linuxstvefded_1.2-static +exec server.cfg
ST:V HM v1.20 linux-i386 Apr 17 2001
----- FS_Startup -----
Current search path:
/root/.stvef/baseEF
/home/gentoox/stvef/baseEF/weapons02.pk3 (70 files)
/home/gentoox/stvef/baseEF/vm.pk3 (2 files)
/home/gentoox/stvef/baseEF/ussmagnificent.pk3 (172 files)
/home/gentoox/stvef/baseEF/tfgpak.pk3 (12 files)
/home/gentoox/stvef/baseEF/pro_maps.pk3 (76 files)
/home/gentoox/stvef/baseEF/pro_kappa.pk3 (7 files)
/home/gentoox/stvef/baseEF/pro_faceoff.pk3 (5 files)
/home/gentoox/stvef/baseEF/playermaps.pk3 (60 files)
/home/gentoox/stvef/baseEF/pak3.pk3 (1685 files)
/home/gentoox/stvef/baseEF/pak2.pk3 (794 files)
/home/gentoox/stvef/baseEF/pak1.pk3 (67 files)
/home/gentoox/stvef/baseEF/pak0.pk3 (19069 files)
/home/gentoox/stvef/baseEF/geothermal2.pk3 (11 files)
/home/gentoox/stvef/baseEF/efx_voy2.pk3 (8 files)
/home/gentoox/stvef/baseEF/Dangercity.pk3 (150 files)
/home/gentoox/stvef/baseEF/ctf_spyglass2.pk3 (3 files)
/home/gentoox/stvef/baseEF/ctf_spyglass.pk3 (8 files)
/home/gentoox/stvef/baseEF/ctf_sni1.pk3 (7 files)
/home/gentoox/stvef/baseEF/ctf_set1.pk3 (7 files)
/home/gentoox/stvef/baseEF/ctf_reservoir2.pk3 (59 files)
/home/gentoox/stvef/baseEF/ctf_ngstation.pk3 (11 files)
/home/gentoox/stvef/baseEF/ctf_kappa2.pk3 (10 files)
/home/gentoox/stvef/baseEF/ctf_geothermal.pk3 (11 files)
/home/gentoox/stvef/baseEF/ctf_faceoff2.66fee05b.pk3 (39 files)
/home/gentoox/stvef/baseEF/ctf_faceoff.pk3 (7 files)
/home/gentoox/stvef/baseEF/ctf_Castle_[AWoL].pk3 (8 files)
/home/gentoox/stvef/baseEF/ctf_Camelot.pk3 (10 files)
/home/gentoox/stvef/baseEF/CTF_Aquaduct.pk3 (7 files)
/home/gentoox/stvef/baseEF/CTF_AJILON.pk3 (15 files)
/home/gentoox/stvef/baseEF/ctf_2fort.pk3 (8 files)
/home/gentoox/stvef/baseEF/ct_ctf_f_2.pk3 (33 files)
/home/gentoox/stvef/baseEF/centerfold.pk3 (15 files)
/home/gentoox/stvef/baseEF/boxbar_ctf.pk3 (18 files)
/home/gentoox/stvef/baseEF/biggerbase_ctf.pk3 (19 files)
/home/gentoox/stvef/baseEF/anotherbase_ctf.pk3 (16 files)
/home/gentoox/stvef/baseEF/angel_city.pk3 (141 files)
/home/gentoox/stvef/baseEF

----------------------
22640 files in pk3 files
execing default.cfg
couldn't exec hmconfig.cfg
couldn't exec autoexec.cfg
Segmentation fault
Though I get a Segmentation fault :(.

Here is my server.cfg file config.

Code: Select all



g_gametype 4

fraglimit 0
timelimit 20

capturelimit 8
g_friendlyFire 0

sv_maxclients 10

sv_hostname "^l[WW^l]^5Training Powered by Xbox"

g_motd "^l[WW^l]^5Training http://buckosxbox.no-ip.org:8080"


//set requirement for client password. 1=require password, 0=no password required (Default: 0)
sv_privateClients 0
//set Password for private server
sv_privatePassword "take2"

rconpassword "wolf444"
sv_maxRate 10000

sv_pure 1


sv_master2 ""
sv_master3 ""
sv_master4 ""
sv_master5 ""



g_weaponrespawn 5

g_adaptrespawn 1

g_allowvote 1

g_quadfactor 3

g_doWarmup 0
//g_warmup 5
g_holoIntro 0

g_intermissionTime 15


g_ghostRespawn 2

//force model groups, game will change the player's model to one from the defined group.  (default : none)
//valid teams are: borg, starfleet, hazardteam, klingons, romulans
//red team
//g_team_group_red hazardteam
//blue team
//g_team_group_blue borg


g_syncronousClients 0
Hope you can help.

Mark.
Bucko
Power user
Posts: 229
Joined: Mon Aug 11, 2003 4:14 pm
Location: England
Contact:

Post by Bucko »

OK I got it to work great on the LAN but not on the WAN. Though my mate says I need to do somthing like this

Code: Select all

"C:\stvef\stvoyhm.exe" +set net_ip 217.155.138.48
(thats his PC IP). Though I'm wondering how on earth do I do this in Linux server? Hum...

I have also port forwarded 27960 and 27961 to my Xbox IP.
chro
Newbie
Posts: 4
Joined: Sun Dec 28, 2003 3:49 pm

Post by chro »

Alot of games are based on the Quake3 engine, and as such, share the same type of setup options for the dedicated server.

A server needs options passed to it on the command line, even if they are in the config files. For example, a Quake3 server would be:

Code: Select all

pro quake3 # pwd
/home/quake3/
pro quake3 # ./q3ded +set dedicated 2 +exec q3server.cfg
The file q3server.cfg resides in the default game directory, in this case, baseq3. If you set the game mode to something else, like say, instagibplus, the q3server.cfg file would be read out of the \instagibplus directory instead of the baseq3 directory. ex:

Code: Select all

pro quake3 # ./q3ded +set fs_game instagibplus +set dedicated 2 +exec q3server.cfg
Oh, one last thing, the "+set dedicated" tells the server what mode it's running in. 1 means that it won't report to the tracker, 2 means it will. You most likely want it to report to the tracker so that other people can find your game. :P

You do NOT want to bind the server to the net ip... it's not available in your case, as you indicated a router setup for your network. The "+set dedicated" is enough.

---

For your server, you will want to run it like:

Code: Select all

Xbox gentoox # /home/gentoox/stvef/linuxstvefded_1.2-static +set dedicated 2 +exec server.cfg 
Make sure you're in the correct directory. It never hurts and is easy to do. You may even want to chroot the server just in case someone r00ts it.

Looking over your server.cfg, I see you're missing the map start command. The server will not do anything if you don't start a map. You can either throw this on the command line, or you can do it from the cfg file. It's probably a good idea to make a map rotation config file, but until then, you can just add "map e1m1" to the end of the server.cfg (I assume e1m1 is the map you want, but substitute the propper map obviously. :)

-chro

Edit: changed directory and fs_game to match
Edit: fixed up some stuff to make a bit clearer... I swear I'll use the preview function sometime...
Bucko
Power user
Posts: 229
Joined: Mon Aug 11, 2003 4:14 pm
Location: England
Contact:

Post by Bucko »

Xbox gentoox # /home/gentoox/stvef/linuxstvefded_1.2-static +set dedicated 2 +exec server.cfg
Works an all but still stays at awaiting challange 1,2,3 as my friends say.

I have also disabled the firewall to.

I port forwarded 27960 and 27961 you sure there are any more ports to forward. Im using STL Port Forwarder because Im on a hub.
Bucko
Power user
Posts: 229
Joined: Mon Aug 11, 2003 4:14 pm
Location: England
Contact:

Post by Bucko »

Bump.
Shmio
Linux User
Posts: 15
Joined: Tue Jan 27, 2004 5:05 am

CS Server

Post by Shmio »

Now with Steam (CS 1.6) it is sooooo easy to run a strong CS server on gentoox...

http://jap.servicez.org/steam/install.html


Good Luck
Post Reply