Ns Server For A Lan Party (linux)
ghost4
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 ?
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
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-->
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
now it works thanks a lot for your help
Ghost
.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.
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