Ns 2.0 On A Steam Server

VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
edited September 2003 in Linux Server Support
<div class="IPBDescription">New guide, need input...</div> Since I know little about running HLDS 3.1.1.1/Steam servers I need some input from those of you that have. Are there any different config such as ones run on each map change? Here's the guide in it's current form:

<a href='http://www.vadakill.com/nsguides/ns20-steam.shtml' target='_blank'>http://www.vadakill.com/nsguides/ns20-steam.shtml</a>

Please let me know if you see any glaring errors or if I'm missing a step somewhere.

Thanks in Advance

Comments

  • criogenicscriogenics Join Date: 2003-01-13 Member: 12248Members, Constellation
    Yup, got my server working, used the same steps <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • joevjoev Giving grief... With a smile. Join Date: 2002-07-20 Member: 977Members, Retired Developer, NS1 Playtester, Contributor, Constellation, Reinforced - Shadow
    edited September 2003
    Looks like you've got a broken link there Vada:

    <i>an error occurred while processing this directive] The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. [an error occurred while processing this directive] </i>

    Thats what I get...

    joev.
  • ShockehShockeh If a packet drops on the web and nobody&#39;s near to see it... Join Date: 2002-11-19 Member: 9336NS1 Playtester, Forum Moderators, Constellation
    So Vada, updating Valve is good enough?

    If so, I'll go for it now.
  • NurEinMenschNurEinMensch Join Date: 2003-02-26 Member: 14056Members, Constellation
    Try this link it works:
    <a href='http://www.vadakill.com/nsguides/ns20-steam.shtml' target='_blank'>http://www.vadakill.com/nsguides/ns20-steam.shtml</a>
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    Yep, sorry I renamed it, I had a capital letter in there.
  • NurEinMenschNurEinMensch Join Date: 2003-02-26 Member: 14056Members, Constellation
    Great guide by the way! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • The_MAzTerThe_MAzTer Join Date: 2003-01-04 Member: 11784Members, Constellation
    i cant get steam working here. Getting this error:

    Checking bootstrapper version ...
    Updating Installation
    No installation record found at .
    Checking/Installing 'Linux Server Engine' version 0
    Failed to get valid content ticket
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    Yeah this is a known issue but I don't remember what the fix is. I'll post back later.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    Vada, as always <b>awsome howto</b>. They are always clear cut and very clean looking. great job
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    edited September 2003
    Okay, there are three "content ticket" errors that are common:

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    Failed to Get a Valid Content Ticket
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    This error means it wasn't able to connect to the Steam content servers in order to authenticate you for download. It means the Content server is slammed and is to busy to respond.

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    Ran out of content tickets
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    This error means that the server recognized you and authenticated you but it is too busy to fulfill your request for data download.

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    User's ticket has expired
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    This means you have been authenticate and given a spot to download but you did not download before your authentication was set to expire. Think of this like the fileplanet system. Once you are finished waiting in line, your IP address is allowed to start the download for a period of time, even if your download gets interrupted. Except, in this case, I think steam tickets expire in minutes.
  • LeetVegeTaLeetVegeTa Join Date: 2003-02-27 Member: 14103Members
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->scandir failed:/hlds_steam/./platform/SAVE<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    it says that in the middle of server startup.
    server seems to be running fine, but do u know what that means?
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    edited September 2003
    I think scandir is a programming function that allows the listing of files. The error shows up since the directory doesn't exist. Since you aren't saving any games you can safely ignore this.

    If it really bugs you you can just create a blank directory and the error shouldn't show up again.
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    mkdir /home/user/hlds_steam/./platform/SAVE
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
  • LeetVegeTaLeetVegeTa Join Date: 2003-02-27 Member: 14103Members
    i noticed that i had no platform and i figured it was something like that

    thanks for help
  • JoeBlowJoeBlow Join Date: 2003-01-28 Member: 12899Members
    OK, i feel pretty dumb, cause this is probably going to be a simple fix but here it goes. I followed your how-to (well, I did it once myself, but did the exact same thing, then retried from scratch your way) and when i try to start the server i get

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->gameserver@palace hlds $ ./hlds_i686 -game ns +ip 64.5.61.160 -port 27016 +map ns_eclipse -autoupdate

    Console initialized.
    scandir failed:/home/gameserver/hlds/./valve/SAVE
    scandir failed:/home/gameserver/hlds/./platform/SAVE
    Segmentation fault<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    Any ideas?
  • ArkaineArkaine Join Date: 2002-07-12 Member: 914Members
    edited September 2003
    JoeBlow, try Vadakill's idea, two posts up.


    <!--QuoteBegin--Vadakill+Sep 17 2003, 01:20 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Vadakill @ Sep 17 2003, 01:20 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I think scandir is a programming function that allows the listing of files.  The error shows up since the directory doesn't exist.  Since you aren't saving any games you can safely ignore this. 

    If it really bugs you you can just create a blank directory and the error shouldn't show up again.
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    mkdir /home/user/hlds_steam/./platform/SAVE
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2--> <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
  • JoeBlowJoeBlow Join Date: 2003-01-28 Member: 12899Members
    That's not the problem, I could care less about scan fails. I'm more worried about the seg fault immediately following.
  • Pebbles-TPFPebbles-TPF Join Date: 2002-11-11 Member: 8237Members, Constellation
    <!--QuoteBegin--JoeBlow+Sep 25 2003, 10:14 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (JoeBlow @ Sep 25 2003, 10:14 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->gameserver@palace hlds $ ./hlds_i686 -game ns +ip 64.5.61.160 -port 27016 +map ns_eclipse -autoupdate

    Console initialized.
    scandir failed:/home/gameserver/hlds/./valve/SAVE
    scandir failed:/home/gameserver/hlds/./platform/SAVE
    Segmentation fault<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    the "autoupdate" bugs me.

    Since it's a non-official mod, steam would not know what exactly to update... they could have tried to update your server while you started it.

    Just something to be thrown out there.

    <i>Pebbs</i>
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    edited September 2003
    <!--QuoteBegin--JoeBlow+Sep 25 2003, 10:14 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (JoeBlow @ Sep 25 2003, 10:14 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->gameserver@palace hlds $ ./hlds_i686 -game ns +ip 64.5.61.160 -port 27016 +map ns_eclipse -autoupdate

    Console initialized.
    scandir failed:/home/gameserver/hlds/./valve/SAVE
    scandir failed:/home/gameserver/hlds/./platform/SAVE
    Segmentation fault<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Try removing the "-autoupdate" and replacing it with "-debug" and then try running it again.

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    ./hlds_i686 -game ns +ip 64.5.61.160 -port 27016 +map ns_eclipse -debug
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    If that doesn't work try renaming the InstallRecord.blob -> InstallRecord.blob.bak and then running the steam update command to re-verify the files on your server. Hopefully it's something simple.

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    mv InstallRecord.blob InstallRecord.blob.bak
    ./steam -update valve . username@domain.com YourPassword
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    If that doesn't work and you have installed adminmod/metamod/AMX try changing the liblist.gam file back to normal and see if that helps.
  • JoeBlowJoeBlow Join Date: 2003-01-28 Member: 12899Members
    Thanks for the suggestions guys.

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->the "autoupdate" bugs me.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Yeah, i just tried throwing that on to see if it helped, no luck. debug doens't help either

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->If that doesn't work try renaming the InstallRecord.blob -> InstallRecord.blob.bak and then running the steam update command to re-verify the files on your server.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Done, didnt help.

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->If that doesn't work and you have installed adminmod/metamod/AMX try changing the liblist.gam file back to normal and see if that helps. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    When I first had the problem, i just nuked the NS directory and started over. Its a base, non edited install right now. Also, don't know if this tells you anything, but my CS 1.6 server runs just fine out of the same installation, so I doubt its a problem with the generic HLDS files.

    I appreciate your help guys, keep the ideas coming <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> I'm quite sure the response will make my reply be "god i'm a retard"
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    make sure that amx, adminmod, or ns were <b>not</b> unzip with the <b>-a</b> flag as it breaks both AMX and NS2 (from experience)
  • JoeBlowJoeBlow Join Date: 2003-01-28 Member: 12899Members
    edited September 2003
    <!--QuoteBegin--cracker jackmac+Sep 25 2003, 09:21 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Sep 25 2003, 09:21 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> make sure that amx, adminmod, or ns were <b>not</b> unzip with the <b>-a</b> flag as it breaks both AMX and NS2 (from experience) <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Hmm, I've never had that problem before, but I'm tentatively saying that may have fixed my problem. I'll finish setting it up and report back.


    Yep, all better now! I knew i was right from teh beginning

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->OK, i feel pretty dumb, cause this is probably going to be a simple fix<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
  • Lt_Fly_BoyLt_Fly_Boy Join Date: 2003-03-12 Member: 14437Members
    I might just not be doing something right, but when I ./ hldsupdatetool.bin, I get this message

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    Enter 'yes' to accept this agreement, 'no' to decline: yes
    sh: line 1: uncompress: command not found
    Broken pipe
    [ns@opti hlds]$
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    it makes a file called "steam", but it's empty, so i'm lost at what to do.

    PS. I looked around for a few days, but never found anyone that has this message. Also when I use the search, it allways gives me the 404 not found message <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
  • verboseverbose Join Date: 2002-11-25 Member: 9968Members, Constellation
    <!--QuoteBegin--Lt Fly Boy+Sep 26 2003, 11:15 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Lt Fly Boy @ Sep 26 2003, 11:15 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I might just not be doing something right, but when I ./ hldsupdatetool.bin, I get this message

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    Enter 'yes' to accept this agreement, 'no' to decline: yes
    sh: line 1: uncompress: command not found
    Broken pipe
    [ns@opti hlds]$
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    The install script was unable to use the "uncompress" command because it doesn't exist in your execution path. "uncompress" is usually located in /usr/bin. Make sure you have uncompress somewhere, and that that directory is in your path (set | grep -i path) before you run the update tool.
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    <!--QuoteBegin--cracker jackmac+Sep 25 2003, 09:21 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Sep 25 2003, 09:21 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> make sure that amx, adminmod, or ns were <b>not</b> unzip with the <b>-a</b> flag as it breaks both AMX and NS2 (from experience) <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I should put a note about the "unzip -a" thing in the guides. I thought the explicit instructions telling exactly what to type was clear enough, I see it could use a bit more clarifying.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    Well, its not _just_ ns that borks, but amx as well from my experiences.
  • JoeBlowJoeBlow Join Date: 2003-01-28 Member: 12899Members
    <!--QuoteBegin--Vadakill+Sep 26 2003, 12:34 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Vadakill @ Sep 26 2003, 12:34 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I should put a note about the "unzip -a" thing in the guides. I thought the explicit instructions telling exactly what to type was clear enough, I see it could use a bit more clarifying. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Yeah, my problem is I automatically put -a out of habit, if i were a n00b I probably would have noticed you didn't say that and not done it. A note would be a good idea.
  • TUNA_AnomayTUNA_Anomay Join Date: 2003-09-19 Member: 21005Members
    Just wanted to drop a line and see how well things are running for you guys? I'm trying to decide whether or not to put up my server as a Windows box or a Linux box. I prefer Linux, but wasn't sure how well Steam is performing under it. Thanks!
  • farcryfarcry Join Date: 2003-06-22 Member: 17614Members
    <!--QuoteBegin--Lt Fly Boy+Sep 26 2003, 11:15 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Lt Fly Boy @ Sep 26 2003, 11:15 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I might just not be doing something right, but when I ./ hldsupdatetool.bin, I get this message

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    Enter 'yes' to accept this agreement, 'no' to decline: yes
    sh: line 1: uncompress: command not found
    Broken pipe
    [ns@opti hlds]$
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    it makes a file called "steam", but it's empty, so i'm lost at what to do.

    PS. I looked around for a few days, but never found anyone that has this message. Also when I use the search, it allways gives me the 404 not found message <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    no1 really helped him, so i will <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    you need the ncompress file to be installed, i hope your on redhat or some other rpm system, because thats what my instructions cover <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    $ wget ftp://speakeasy.rpmfind.net/linux/redhat/beta/taroon/en/as/i386/RedHat/RPMS/ncompress-4.2.4-33.i386.rpm
    $ rpm -i ncompress-4.2.4-33.i386.rpm
    $ ./hldsupdatetool.bin
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
  • Pebbles-TPFPebbles-TPF Join Date: 2002-11-11 Member: 8237Members, Constellation
    Actully, the full Steam HLDS installer installs to "/usr/steam" or something like that.

    If you are a non root user and you try to uncompress the file, then this is what the problem could also be. (Since that directory is not in existence)

    just make that directory and give that user write permissions to it and you should be good.

    <i>Pebbs</i>
Sign In or Register to comment.