Menu
![Exec Exec](http://2.bp.blogspot.com/_cnC4hLPE2DE/S9HQQ1h3mNI/AAAAAAAAASY/oGLc79yPBes/S1600-R/top.png)
The Almighty BSOJoin Date: 2002-04-02Member: 373Members, NS1 PlaytesterPosts: 874
Just cant make a working CS server by all means HL1 Servers (HLDS).
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.
http://www.vadakill.com/nsguides/ns30-steam-win.shtml
Thanks guys!
http://www.vadakill.com/nsguides/ns30-steam-win.shtml
Thanks guys!
[NAPT]Vadakill
NS Win32/Linux Server setup guides:
http://www.vadakill.com/nsguides
NS Win32/Linux Server setup guides:
http://www.vadakill.com/nsguides
Comments
- Join Date: 2002-11-25Member: 9948Members, ConstellationPosts: 1,410I would suggest making a shortcut to hlds.exe with the parameters
-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'
also using -insecure 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.0· - The ModFatherJoin Date: 2002-11-09Member: 7956MembersPosts: 6,411Fully active userYou mentioned extracting the base server file to C:HLServer which is good. I feel it's worth mentioning to NOT use the Dedicated Server that's in the Games Menu of the Steam GUI as I'm sure teh noobs will take that route thinking it's easier.
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 isQUOTE 'C:Program FilesServerDocserverdoc.exe' C:HLServer1hlds.exe -console +mapchangecfgfile 'server.cfg' -game nsp +port 27014 +maxplayers 10 +map co_angst If you fail to add the '+mapchangecfgfile 'server.cfg' it simply won't fire up. Also, I recommend using HLDS 4111d, fyi.
modNS Forums - NS1 and NS2: We Wrote The Book On NS Modding - Join Date: 2002-11-25Member: 9948Members, ConstellationPosts: 1,410actually I use an alternate mapchangefile and using exec may be old hat but it works, I haven't tried using mapchangefile instead but that is set in my server.cfg...
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 looking like 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.
//edit start ignoring here///
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. //red the next bit
'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.'
/// end edit
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 anywayEagleC - The Almighty BSOJoin Date: 2002-04-02Member: 373Members, NS1 PlaytesterPosts: 874It seems when I try to run the hlds.exe file in a batch file with server commands it still pops open the gui window. Is there a '-nogui' command or something?[NAPT]Vadakill
NS Win32/Linux Server setup guides:
http://www.vadakill.com/nsguides - The ModFatherJoin Date: 2002-11-09Member: 7956MembersPosts: 6,411Fully active user
QUOTE (Vadakill @ Feb 5 2004, 02:36 PM) It seems when I try to run the hlds.exe file in a batch file with server commands it still pops open the gui window. Is there a '-nogui' command or something? QUOTE 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. 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.
modNS Forums - NS1 and NS2: We Wrote The Book On NS Modding - Join Date: 2002-11-25Member: 9948Members, ConstellationPosts: 1,410did you just add that? No I guess I just missed it.
damn.0· - The Almighty BSOJoin Date: 2002-04-02Member: 373Members, NS1 PlaytesterPosts: 874That's what I was looking for, thanks! In Linux there isn't anything _but_ a console so I've never had to deal with that issue before[NAPT]Vadakill
NS Win32/Linux Server setup guides:
http://www.vadakill.com/nsguides - Join Date: 2002-11-05Member: 7013MembersPosts: 84
QUOTE (Vadakill @ Feb 5 2004, 01:36 PM) It seems when I try to run the hlds.exe file in a batch file with server commands it still pops open the gui window. Is there a '-nogui' command or something?
-console
C:NSServerSTEAMhlds.exe -game nsp -console +exec startme.cfg - The Almighty BSOJoin Date: 2002-04-02Member: 373Members, NS1 PlaytesterPosts: 874Okay, I updated the guide with the suggestions here. I intend to make an 'Advanced' guide which will cover creating an Autoexec.cfg file and cover what a lot of the variables actually do. For right now, this will get people started.
Any other comments?[NAPT]Vadakill
NS Win32/Linux Server setup guides:
http://www.vadakill.com/nsguides - Join Date: 2004-02-08Member: 26227Members, ConstellationPosts: 11to get people started i would find it very helpful. Looks good.
- Join Date: 2003-02-09Member: 13338MembersPosts: 35Vadakill - Just wanted to drop you a quick note to say, Thanks. I think your directions were clear - and even though I have been hosting a NS server for some time, I have had some major issues trying to get it running over the past month or so....To include not running the server from HLDS.
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. - The Almighty BSOJoin Date: 2002-04-02Member: 373Members, NS1 PlaytesterPosts: 874If you run the command 'meta version' it should tell you what metamod version is loaded, try running 'meta list' to see if it loaded adminmod. If neither one of those works you may want to double check to make sure that metamod is loading. you can find this info in the liblist.gam file found in the NSP directory. It should look something like this:
CODE
//gamedll 'dllsns.dll'
//gamedll_linux 'dlls/ns_i386.so'
gamedll 'addonsmetamoddllsmetamod.dll'[NAPT]Vadakill
NS Win32/Linux Server setup guides:
http://www.vadakill.com/nsguides
24-08-2004, 06:06 PM
![Listip.cfg Listip.cfg](http://i9.photobucket.com/albums/a89/qoop272/2.png)
When I creat a game in Sven Co-Op, it creats fine and I load up in the game.
However when my friend trys to join he cant,
I find our my ip address by, www.whatismyip.com but this doesnt give me a port nunber, if i give this one to my friend it doesnt work, it comes up in steam as 'not responding'.
However in game when I load it up, and pull down the console there is a ip nunmber there with port, if I give my friend this one, it still doesnt work. In steam it just comes up as 'Not Responding' again.
My question is how do I set up a server that one of us can host and the other can join?
Thanks.
Perhaps we are not giving each other our correct ip and port number?
However when my friend trys to join he cant,
I find our my ip address by, www.whatismyip.com but this doesnt give me a port nunber, if i give this one to my friend it doesnt work, it comes up in steam as 'not responding'.
However in game when I load it up, and pull down the console there is a ip nunmber there with port, if I give my friend this one, it still doesnt work. In steam it just comes up as 'Not Responding' again.
My question is how do I set up a server that one of us can host and the other can join?
Thanks.
Perhaps we are not giving each other our correct ip and port number?