Natural Selection Hlds Setup Guide
Vadakill
The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
<div class="IPBDescription">Looking for feedback...</div> Hey guys, I'm mainly a Linux admin and would like some feedback on a new guide I wrote up. Those of you who mainly run Win32 servers no doubt have shortcuts or other tips that you have found over the years. If you would please take a quick look at the guide and give me feedback on what looks wrong or there is a better way of doing something please let me know.
<a href='http://www.vadakill.com/nsguides/ns30-steam-win.shtml' target='_blank'>http://www.vadakill.com/nsguides/ns30-steam-win.shtml</a>
Thanks guys!
<a href='http://www.vadakill.com/nsguides/ns30-steam-win.shtml' target='_blank'>http://www.vadakill.com/nsguides/ns30-steam-win.shtml</a>
Thanks guys!
Comments
<b>-game nsp -maxplayers 16 +map co_core -console +ip 222.111.222.111 +port 27015 +exec server.cfg +exec banned.cfg +exec listip.cfg +rcon_password "rconpassword"</b>
also using <b>-insecure </b>if you want to run cheating death or dont want to run VAC.
This way you can double click on the icon to start the game with the same settings each time, you can also use Firedaemon to auto restart your server in the event of a crash.
As to the target line, eaglec's is a bit long, and a lot of the stuff in his I have either in my server.cfg or autoexec.cfg. My target line is
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->"C:\Program Files\ServerDoc\serverdoc.exe" C:\HLServer1\hlds.exe -console +mapchangecfgfile "server.cfg" -game nsp +port 27014 +maxplayers 10 +map co_angst<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->If you fail to add the "+mapchangecfgfile "server.cfg"" it simply won't fire up. Also, I recommend using HLDS 4111d, fyi.
The advantage is that I can set a password or a timelimit and it wont be reset on map change, same for tourney mode.
if you run banned and iplist every map change you'll stuff you logs for physcostats and end up <i>looking like</i> a hackers paradise, hence why I only run them on start.
+ip is required for some mods to work properly and always better than letting the server think its 127.0.0.1
rcon password should not be set in server.cfg in case another dl vunrability rears it's head, its much safer in the start line.
<span style='color:red'>//edit start ignoring here///</span>
<span style='color:gray'>Also you dont set -console, in windows this means you end up with a horrible gui interface and non of the other command lines you entered will make a damn bit of difference. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo--> </span> <span style='color:red'>//red the next bit</span>
"You do set -console but I am too stupid to read properly. -console is a damn good idea because otherwise you get a bloody anoying gui."
<span style='color:red'>/// end edit</span>
Finally you set port 27014, rightly so Vadakill says that port should not be changed. Not until you know what your doing and wont be reading a guide like this anyway <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Also you dont set -console, in windows this means you end up with a horrible gui interface and non of the other command lines you entered will make a damn bit of difference. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->I'll kill 2 birds with one stone here... the "-console" in my target line prevents the GUI from popping up, AND has absolutely no negative consequences. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
damn.
<!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
-console
C:\NSServerSTEAM\hlds.exe -game nsp -console +exec startme.cfg
<!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
Any other comments?
That said, I was on hiatus for a couple months before the Steam transfer and I wonder if you (or anyone for that matter) can offer me a bit of help.
In short, I am running my server off the Steam Interface. I can get the server up and people seem to come in. However, my Adminmod and Metamod are not operational. I am currently running the latest versions of both (to include Metamod 1.17.0a).
The console shows that Adminmod.cfg is executing, but in HLSW it shows no add-ons or anti-cheat (I run CD). I cannot run commands when I enter the game, but the admin icon shows up.
I have tried altering the server.cfg and even tried to revert back to the last version of NS, to no avail. I did have Adminmod and Metamod working with NS 3.0 beta 2.
Any thoughts, or should I field this in a separate post?
also, its a Windows server.
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
//gamedll "dlls\ns.dll"
//gamedll_linux "dlls/ns_i386.so"
gamedll "addons\metamod\dlls\metamod.dll"
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->