Ns Server For A Lan Party (linux)

ghost4ghost4 Join Date: 2003-03-22 Member: 14778Members
First off all I wish to thank vadakill's guide to setting up a linux ns server.

After having a huge battle all day with getting the librarys (libstdk++-libc6.2-.2.so.3 to work (sience my linux system was done from scratch ( http:// linuxfromscratch.org ) I had to install glibc from source and not install the RPM .

Anyway I mannage to get my server to fire up and I get a responce when I type stat in the console
what I need to know is how in living hell I get this server to start as a lan type server and not a internet one (lets say you want to run one @ a lan party) and to pop in the lan menu in the client.

I know you use -nomaster and +sv_lan 1 but when I jump on the client lan game I do not see my server that I created.

My command string when I launch the server looks like this: ./hlds_run -game ns -nomaster +sv_lan 1 +ip xxx.xxx.xxx.xxx +maxplayers 12 +map ns_bast.bsp
(I have also changed the server.cfg file but to no effect)

Can any1 shead some light into what I may of missed ?

Comments

  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    <!--QuoteBegin--`ghost+Mar 22 2003, 09:05 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (`ghost @ Mar 22 2003, 09:05 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->First off all I wish to thank vadakill's guide to setting up a linux ns server.

    After having a huge battle all day with getting the librarys (libstdk++-libc6.2-.2.so.3 to work (sience my linux system was done from scratch ( http:// linuxfromscratch.org ) I had to install glibc from source and not install the RPM .

    Anyway I mannage to get my server to fire up and I get a responce when I type stat in the console
    what I need to know is how in living hell I get this server to start as a lan type server and not a internet one (lets say you want to run one @ a lan party) and to pop in the lan menu in the client.

    I know you use -nomaster and +sv_lan 1 but when I jump on the client lan game I do not see my server that I created.

    My command string when I launch the server looks like this: ./hlds_run -game ns -nomaster +sv_lan 1 +ip xxx.xxx.xxx.xxx +maxplayers 12 +map ns_bast.bsp
    (I have also changed the server.cfg file but to no effect)

    Can any1 shead some light into what I may of missed  ?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I don't think you need to have all that in the command line

    My command line:
    "hlds.exe -game ns +map ns_eclipse -maxplayers 12 -port 27016"
    I know my OS is windows, but this is all the command line stuff I have

    You shouldn't need all that ip, master server stuff.
    Put sv_lan 1 in your server.cfg file. Master servers are not used if sv_lan is 1.(no wonid's checked)
    As I understand...linux HL is same as windows, correct?

    Anyways, hope that helps, and if I'm way off...it's because I'm not fimiliar with linux. <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->

    -[MOM]Boris <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    Just another note...maybe your lan is not fully setup to see the server computer. Your not playing from the same machine as the server, right? <---I'm assuming not, unless you have HL successfully set up on your linux.
  • Max1Max1 Join Date: 2002-11-08 Member: 7730Members
    Remove the +ip part, if you use that on a lan server it won't show up in the browser
  • Scum_of_the_UniverseScum_of_the_Universe Join Date: 2003-02-06 Member: 13174Members
    are your machines on the same subnet? i.e. both have ip addresses that have the first 3 octets the same, such as 192.168.0.1 and 192.168.0.2
  • ghost4ghost4 Join Date: 2003-03-22 Member: 14778Members
    edited March 2003
    The network seams to be setup corectly because I can ftp and ping betwen the two machines
    I have tried the sv_lan 1 in the server.cfg file (without anyjoy) but I am yet to try without the +ip address in the command line, I try that now.

    Chears
  • ghost4ghost4 Join Date: 2003-03-22 Member: 14778Members
    ok taking the +ip address out of the command line dose work. but when you do, make sure you only have 1 network card installed in the machine (This box normaly lives it's life as a gateway)
    now it works thanks a lot for your help


    Ghost
  • gde_timmygde_timmy Join Date: 2003-01-02 Member: 11730Members
    I run a lan server box that is multi-nic, and multi-homed. -nomaster is in the cmd line, and sv_lan 1 is in the config.

    .NET server RC2
    1 dynamically assigned nic - internet
    1 static nic w/ ips :
    192.168.1.1
    192.168.1.5 NS
    192.168.1.6 CS open
    192.168.1.7 CS tourney
    192.168.1.8 CS tourney HLTV (to be tested)
    192.168.1.9 UT2k3
    192.168.1.10 America's Army

    I believe the server has to be on the default port to show up in lan listing. You can definately specify +ip in command line. I like the multiple ip's, makes admining easier for me. But this config works well for me... I've yet to test the HLTV yet.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    thats one monster box
  • scottlscottl Join Date: 2002-12-20 Member: 11232Members
    Wow!, now are those always full(6 proc system? lol)
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    i know that he could run all 3 CS servers on a single proc....NS on another.....and i have no clue about ut2k3 and AA
  • scottlscottl Join Date: 2002-12-20 Member: 11232Members
    AA = single, UT i believe is like NS(sucks that CPU out the wazoo!)
  • ghost4ghost4 Join Date: 2003-03-22 Member: 14778Members
    well considering I am using a 450mhz box with a striped down version of linux (built from scratch)
    I am only willing to run 1 server at a time and that's NS

    if +ipconfig and having more then 1 nic in the machine works for you then I have to go back to the drawing board after the weekend
    thanks for your help all
  • gde_timmygde_timmy Join Date: 2003-01-02 Member: 11730Members
    It will run all of them at the same time, and i haven't seen complaints of lag yet. The only one out of the bunch I haven't tested yet, is the HLTV.
Sign In or Register to comment.