{"id":674,"date":"2009-02-09T00:00:00","date_gmt":"2009-02-09T05:00:00","guid":{"rendered":"https:\/\/attackofthegamer.com\/howto-openarena-dedicated-sever-linux\/"},"modified":"2009-02-09T00:00:00","modified_gmt":"2009-02-09T05:00:00","slug":"howto-openarena-dedicated-sever-linux","status":"publish","type":"post","link":"https:\/\/www.attackofthegamer.com\/index.php\/2009\/02\/09\/howto-openarena-dedicated-sever-linux\/","title":{"rendered":"HOWTO: OpenArena Dedicated Sever &#8211; Linux"},"content":{"rendered":"<p>Open Arena is an amazing Open Source arena based first person shooter. It is based on the quake 3 engine, and has a lot of fast gameplay.<\/p>\n<p>You are going to need your own server running linux. A shell account will not do, the admin will probably disable your account, and most likely you won&#8217;t have access to enough resources to run a dedicated game server. So I am going to assume you either have a computer sitting beside you running linux, or a virtual machine either on your pc, or hosted on a server somewhere. You will not be able to run the dedicated server on your own machine, without changing some of the server flags.<\/p>\n<p>The first thing you will need to do is download the latest version of the <a>OpenArena<\/a>, which can be done <a>here<\/a>. Any download link will do, the windows and the linux binaries are both packaged together.<\/p>\n<p>I recommend uploading the archive to your server, then uncompressing it, instead of uncompressing it on your computer then uploading it, just to save some time and bandwidth.<\/p>\n<p>Once you have everything uploaded and uncompressed on your server, you will need to go into the baseoa directory and create a file called <strong>server.cfg<\/strong><\/p>\n<p>Your <strong>server.cfg<\/strong> file is going to look something similar to this:<\/p>\n<blockquote><p><code><br \/>\nsv_hostname \"\"My OA server\"\"<br \/>\nsv_maxclients 16<br \/>\nsv_master1 \"\"dpmaster.deathmask.net\"\"<br \/>\nsv_maxPing 150<br \/>\nsv_minPing 0<br \/>\nsv_pure 1<br \/>\nsv_maxRate 25000<br \/>\nsv_fps 20<br \/>\nsv_allowdownload 1 <\/code><\/p>\n<p><code><code><\/code><\/code>sv_privateClients &#8220;&#8221;2&#8243;&#8221; \/\/ slots substracted from sv_maxclients<br \/>\nsv_privatePassword &#8220;&#8221;&#8221;&#8221;<\/p>\n<p><code><code><\/code><\/code>capturelimit 8<br \/>\ntimelimit 15<br \/>\nfraglimit 35<\/p>\n<p><code><code><\/code><\/code>set rconPassword &#8220;&#8221;&#8221;&#8221; \/\/ for remote ingame servercontrol<\/p>\n<p><code><code><\/code><\/code>g_motd &#8220;&#8221;&#8221;&#8221;<br \/>\ng_quadfactor 4<br \/>\ng_inactivity 0<br \/>\ng_allowvote 1<\/p>\n<p><code><code><\/code><\/code>\/\/If you want to use unlagged functionality (since 0.7.6)<br \/>\ng_delagHitscan 1<\/p>\n<p><code><code><\/code><\/code>\/\/Special modes since 0.7.6:<br \/>\n\/\/g_instantgib 1<br \/>\n\/\/g_rockets 1<br \/>\n\/\/g_vampire 0.25 \/\/25%<br \/>\n\/\/g_regen 5 \/\/5 health per sec.<\/p>\n<p><code><code><\/code><\/code>\/\/Gametypes<br \/>\n\/\/ 0 = Free For All<br \/>\n\/\/ 1 = Tourney<br \/>\n\/\/ 3 = Team Deathmatch<br \/>\n\/\/ 4 = Capture The Flag<br \/>\n\/\/ 8 = Elimination<br \/>\n\/\/ 9 = CTF Elimination<br \/>\n\/\/ 10 = Last Man Standing<br \/>\n\/\/ 11 = Double Domination<br \/>\n\/\/ 12 = Domination<br \/>\ng_gametype 0<\/p>\n<p><code><br \/>\n<\/code><code>    set d1 \"\"map aggressor; set nextmap vstr d2\"\"<br \/>\nset d2 \"\"map oa_dm1; set nextmap vstr d3\"\"<br \/>\nset d3 \"\"map oa_dm2; set nextmap vstr d4\"\"<br \/>\nset d4 \"\"map oa_dm3; set nextmap vstr d5\"\"<br \/>\nset d5 \"\"map oa_dm4; set nextmap vstr d6\"\"<br \/>\nset d6 \"\"map kaos2; set nextmap vstr d7\"\"<br \/>\nset d7 \"\"map oa_dm5; set nextmap vstr d8\"\"<br \/>\nset d8 \"\"map oa_rpg3dm2;set nextmap vstr d9\"\"<br \/>\nset d9 \"\"map oa_shouse; set nextmap vstr d1\"\"<br \/>\nwait<br \/>\nvstr d1 \/\/ start loop at d1<br \/>\n<\/code><\/p><\/blockquote>\n<p>The main portions you are going to want to worry about are:<\/p>\n<blockquote><p><strong>sv_hostname<\/strong> &#8211; Sets your viewable hostname in the serverlist<br \/>\n<strong>sv_maxclients<\/strong> &#8211; Sets the maximum ammount of clients allowed to connect to your server<br \/>\n<strong>sv_privateClients<\/strong> &#8211; Sets the ammount of slots held for private use (sv_maxclients &#8211; sv_privateClients = total clients)<br \/>\n<strong>sv_privatePassword<\/strong> &#8211; Sets the password for the private slots<br \/>\n<strong>capturelimit<\/strong> &#8211; Sets the capture limit in CTF<br \/>\n<strong>timelimit<\/strong> &#8211; Sets the time limit<br \/>\n<strong>fraglimit<\/strong> &#8211; Sets the frag limit<br \/>\n<strong>set rconPassword<\/strong> &#8211; Sets the rcon passsword for admin usage<br \/>\n<strong>g_motd<\/strong> &#8211; Sets the message of the day<br \/>\n<strong>g_gametype<\/strong> &#8211; Sets the gametype, the current option is 0, Free for All aka Deathmatch<\/p><\/blockquote>\n<p>The last portion is the confusing bit. This is where you setup the actual map rotation.<\/p>\n<blockquote><p><code><br \/>\nset d1 \"\"map mapname1; set nextmap vstr d2\"\"<br \/>\nset d2 \"\"map mapname2; set nextmap vstr d3\"\"<br \/>\nset d3 \"\"map mapname3; set nextmap vstr d1\"\"<br \/>\nwait<br \/>\nvstr d1 \/\/ start loop at d1<br \/>\n<\/code><\/p><\/blockquote>\n<p>Basically what you are doing here is setting up a loop. d1 is set, with the next map being d2 and so on. You can do this with as many levels as you want, you just have to make sure to make the last map link to the first map, or the loop will not work.<\/p>\n<p>Once you have your <strong>server.cfg<\/strong> file saved, go back into the root OpenArena directory and start up your server like this:<\/p>\n<blockquote><p><code>.\/oa_ded.i386 +set dedicated 2 +exec server.cfg<br \/>\n<\/code><\/p><\/blockquote>\n<p>You may want to run this process inside of a screen session. There are alot more things you can do, this is just the basics for getting your own OpenArena dedicated server setup. Enjoy<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open Arena is an amazing Open Source arena based first person shooter. It is based on the quake 3 engine, and has a lot of fast gameplay. You are going to need your own server running linux. A shell account will not do, the admin will probably disable your account, and most likely you won&#8217;t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,4,1],"tags":[],"class_list":["post-674","post","type-post","status-publish","format-standard","hentry","category-linux-tutorials","category-tutorials","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/posts\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/comments?post=674"}],"version-history":[{"count":0,"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/posts\/674\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/media?parent=674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/categories?post=674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.attackofthegamer.com\/index.php\/wp-json\/wp\/v2\/tags?post=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}