Setting Up A Steam Ns Server

DuckDuck Members Join Date: 2002-11-18 Member: 9195Posts: 143
edited October 2003 in Win32 Server Support
How to do it from scratch
Setting up a steam NS server from scratch isn't very hard.

First, get an email address OTHER than your personal steam account.

Second, get the HLDS from http://www.fileplanet.com/files/130000/130426.shtml

Install said HLDS.

Run the HLDS updater and create an account. Select "Start Menu->Run" and then type in cmd in the run dialog. Navigate to your install directory. Then type "hldsupdatetool -create [email protected] your_password" where "your_password" is whatever you want it to be. Then type "hldsupdatetool -update ricochet . [email protected] your_password Y". This will update the HLDS. If you're planning on running any of the other mods, you have to update each individually (when ns becomes offically on steam, substitute ns for ricochet - i suggest ricochet because it hasn't had a steam content update other than the HLDS).

Get the NS server version 2.0 from http://www.fileplanet.com/files/120000/128458.shtml

Install it to your installation directory.

Get the NS server version 2.01 from http://www.fileplanet.com/files/110000/116917.shtml

Extract the file and overwrite the .dlls it should prompt you for.

Next, edit your server's settings. These are all located in your ns folder in the server.cfg file. There are two that you should add that are not there: "sv_contact" and "log on". "log on" enables logging on your server, and "sv_contact" provides a way for users to contact the admin - whether it be a website address or a email address - it's always good to have an easy way for the server's gamers to find an admin. Note that right now, logging is only really helpful in seeing if anyone is trying to hack the server using rcon since steam ids are not working right now for NS and once players enter the game their unique ids are all the same. It is also not suggested that you specify an rcon password, as it is sent as text and can be sniffed out on the internet. One setting that is good to change is mp_timelimit, as people seem to get bored of playing the same map for 60 minutes, especially if the aliens are taking it in 3 minutes each time. Specifying 15 minutes for a timelimit gives a good map rotation, and prevents the same map from running again and again. Note that this is how long the map will run before a new map will start, but the new map won't start until a round is completed. You probably ought to change "hostname" too, since that's what the server's title will be and you don't want your server known as "Natural Selection v2.0" since that's not distinctive (of course, this is up to you).

Next, get metamod - http://www.metamod.org - install the metamod.dll to "INSTALL_DIRECTORY\NS\Addons\Metamod\dlls". Create a blank txt file in "INSTALL_DIRECTORY\ns\Addons\Metamod" named plugins.ini.

Next, edit the liblist.gam file in your ns installation directory (INSTALLATION_DIRECTORY\ns\liblist.gam). Change:
CODE
gamedll "dlls\ns.dll"
gamedll_linux "dlls/ns_i386.so"
to:
CODE
gamedll "addons\metamod\dlls\metamod.dll"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"


Next, I suggest you get two metamod plugins - unstuck and hldsbooster. Extract the unstuck_mm.dll to "INSTALL_DIRECTORY\ns\Addons\unstuck". Extract the booster_mm.dll to "INSTALL_DIRECTORY\ns\Addons\booster".

Change the contents of plugins.ini (that you created just a little bit ago) to be
CODE
win32 addons/booster/booster_mm.dll
win32 addons/unstuck/unstuck_mm.dll


Create a shortcut on your desktop to HLDS. It should be something like this:

CODE
"INSTALL_DIRECTORY\hlds.exe" -game ns +map ns_eclipse -maxplayers 20 -console


Double click the shortcut and you're good to go!

*edits are in italics
Post edited by Unknown User on

Comments

  • DepotDepot The ModFather Members Join Date: 2002-11-09 Member: 7956Posts: 6,411 Fully active user
    A good post, although mostly repetitive. For more comprehensive instructions (and some good links) view How To Convert Your Ns Win32 To Steam, All the info you need to do it right
    image
    modNS Forums - NS1 and NS2: We Wrote The Book On NS Moddingimage
  • DuckDuck Members Join Date: 2002-11-18 Member: 9195Posts: 143
    Perhaps, but you instruct the users to download hlds 4.1.1.0 (while people can download 4.1.2.0 from fileplanet) and then to download the steam app from a defunct link. Also, your post didn't go in enough detail. When I went to install my server, I found a few bumps in the road and figured that I could make it easier on others by typing up a thorough instruction set without telling them to read the readme (since few people ever read the readme). This isn't intended as a "how to convert", but rather as a "how to install from scratch". biggrin.gif
  • DepotDepot The ModFather Members Join Date: 2002-11-09 Member: 7956Posts: 6,411 Fully active user
    QUOTE
    Duck Posted on Oct 20 2003, 09:42 PM


    Perhaps, but you instruct the users to download hlds 4.1.1.0 (while people can download 4.1.2.0 from fileplanet) and then to download the steam app from a defunct link.
    As I recall the 4.1.2.0 STILL needed to be updated and I heavily prefer the 4.1.1.0 anyways. Appreciate the deadlink though - I am fixing it now.
    image
    modNS Forums - NS1 and NS2: We Wrote The Book On NS Moddingimage
Sign In or Register to comment.