OpenArena Message Boards

OpenArena => General => Topic started by: WH173Ru5Tty on September 02, 2007, 11:54:54 AM



Title: Running a server on a linux computer?
Post by: WH173Ru5Tty on September 02, 2007, 11:54:54 AM
Hi, I just got a linux computer from a family member, and I was wondering if I could set it up as a server.  I got the game to run, and setting up a listen server works fine, but trying to set it up as a dedicated server causes the system to freeze.  I've never used linux before, though I wish I had, now that I see the difference in frame rate.  I also never setup a server for a quake 3 engine game before, even though I do own quake 3.   Could someone help me set up a basic server, and map rotation for starters?


Title: Re: Running a server on a linux computer?
Post by: w1zrd on September 02, 2007, 01:04:22 PM
Use the forum search here and type: Linux Server.
You will get plenty of information and if you have problems with it, then there are people to help.


Title: Re: Running a server on a linux computer?
Post by: WH173Ru5Tty on September 02, 2007, 01:28:36 PM
...but trying to set it up as a dedicated server causes the system to freeze...

I got the map rotation to work, but I still can't get the server to run as a dedicated server.  /set dedicated 2 does nothing.


Title: Re: Running a server on a linux computer?
Post by: w1zrd on September 02, 2007, 03:26:34 PM
...but trying to set it up as a dedicated server causes the system to freeze...

I got the map rotation to work, but I still can't get the server to run as a dedicated server.  /set dedicated 2 does nothing.
You need to start it with +set dedicated 2 from the command line, it's doesn't start if you have that line in the config files since it needs to be read before the execution of the file itself.


Title: Re: Running a server on a linux computer?
Post by: WH173Ru5Tty on September 02, 2007, 04:12:21 PM
It's not in the config.  I have it set up like that. 


Title: Re: Running a server on a linux computer?
Post by: w1zrd on September 02, 2007, 06:44:54 PM
It's not in the config.  I have it set up like that. 
Could you then please post your server config (remove all passwords first).


Title: Re: Running a server on a linux computer?
Post by: WH173Ru5Tty on September 03, 2007, 12:17:22 PM
...but trying to set it up as a dedicated server causes the system to freeze...

I got the map rotation to work, but I still can't get the server to run as a dedicated server.  /set dedicated 2 does nothing.

I didn't notice that it said "/set dedicated".  I posted this on my linux computer, and the keyboard is different.
(http://img252.imageshack.us/img252/816/uvs070903001ug1.png)
  Sorry, if that was a little confusing.  I'll have to get on the linux computer, as the server config is on there.


Title: Re: Running a server on a linux computer?
Post by: WH173Ru5Tty on September 03, 2007, 12:23:38 PM
Code:
seta g_filterban 1
seta net_ip "65.32.134.74"
seta net_port "27960"
seta sv_hostname "^1(((^RR^uu5 ^10.7.1 ^3tdm,&CTF"
seta rconpassword "***********************************************************"
seta sv_maxclients "32"
seta sv_maxrate "10000"
seta sv_minrate "2000"
seta zombietime "3"
seta sv_pure "0"
seta sv_allowdownload "1"
seta sv_floodprotect "1"
seta sv_master1 "dpmaster.deathmask.net"
seta sv_master2 "master0/gamespy.com"
seta sv_master3 "q3master.barryworld.com:27950"
seta sv_master4 "q3master.gameinferno.com"
seta sv_master5 ""
seta g_inactivity "100"
seta g_log "server.log"
seta g_logsync "1"
seta g_password ""
seta g_needpass "0"
seta g_allowvote "1"
seta g_motd "Ru5?"
seta g_blueteam "DEEP BLUE"
seta g_redteam "LIGHT RED"
seta g_friendlyfire "0"
seta g_forceresspawn "0"
seta g_teamautojoin "0"
seta g_forceteambalance "10"
cl_allowdownload 1

set m1 "g_gametype 4; capturelimit 20; timelimit 30; map czest2ctf; set nextmap vstr m2"
set m2 "g_gametype 2; capturelimit 100; timelimit 30; map czest1dm; set nextmap vstr m3"
set m3 "g_gametype 4; capturelimit 20; timelimit 25; map czest3ctf; set nextmap vstr m4"
set m4 "g_gametype 2' capturelimit 100; timelimit 30; map OA_shine; set nextmap vstr m1"

vstr m1


Title: Re: Running a server on a linux computer?
Post by: WH173Ru5Tty on September 04, 2007, 07:18:57 PM
Never mind, I was going to set this up on labor day weekend, but I'll be too busy to set it up now.  My computer is sitting on a small fridge, and is hard use because of that.  The config seems to work, but I can't set up a dedicated server without the computer crashing.


Title: Re: Running a server on a linux computer?
Post by: w1zrd on September 04, 2007, 09:12:18 PM
Never mind, I was going to set this up on labor day weekend, but I'll be too busy to set it up now.  My computer is sitting on a small fridge, and is hard use because of that.  The config seems to work, but I can't set up a dedicated server without the computer crashing.
Well, the config looks like it should work. Only things are to try and specify the net_port and ip in the command line, instead of in the config. And also simplify the sv_hostname as this sometimes can cause problems with over 21 characters and ^ in it. First thing to check is that you can ping the dpmaster.deathmask.net from the server though. And set com_hunkMegs to either 32 or 64 to start with. Other than that it's not much I can think of that this stage (6 in the morning).