<!--quoteo(post=1815692:date=Dec 14 2010, 12:33 AM:name=SN.Wolf)--><div class='quotetop'>QUOTE (SN.Wolf @ Dec 14 2010, 12:33 AM) <a href="index.php?act=findpost&pid=1815692"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->When will we see additional ports open up for multiple servers from one IP?<!--QuoteEnd--></div><!--QuoteEEnd-->
+1
Please add support for multiple servers per IP..
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->I would like to run my normal NS2 server while i rum my level test server at the same time.<!--QuoteEnd--></div><!--QuoteEEnd-->
What is preventing you to do that? You can run your NS2 server on any port you want. However, you cannot run more than one server on one ip. Also, 27016 is the hardcoded query port for the NS2 server.
i'm new to NS2 server and curently setting up a box.
Two questions:
Does NS2 has yet an public query protocol and if so, has somone already written some sort of class for it (e.g. for PHP)?
Or does NS2 even support the VALVE query protocol? I know that NS2 is not using Source, but there are a view other non source indie games that implentet this querytype. I've only tried it with HLSW yet which shows the server as down.
That's about the query, now i have another question about the actual performance:
The box i'm setting up atm is an AMD Phenom X6 1055T 2.8GHz with 8GB RAM. Note that i'm attemting to run NS2 inside a VM, however this will be HVM (AMD-V) powered so the performance loss shouldn't be that high. The Host System is Debian Lenny x64. The Guest System (in it running NS2) is Win 7 Pro 32bit
Anyway, so asuming i'd give Win 2 cores and 2GB RAM, how many slots should i expect to work properly and lagfree? (NS2 Build 160+) For the ease, in your recommendations you may leave out the fact that the system is inside a VM, so just think about it as if this win system is a real System.
Just try and see for yourself. My server is running on a virtualized Core i7 and I cannot run more than 10-12 slots on the current build (160) without the server tick rate to decrease a lot.
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Or does NS2 even support the VALVE query protocol?<!--QuoteEnd--></div><!--QuoteEEnd-->
I think it does, the standard (hardcoded) query port is 27016 though, which means you cannot host more than one NS2-masterlist-available server per IP.
WOW, ok, hopefully the performance will become better in future. good that this is just a beta atm :P Is your VM windows too?
<!--quoteo(post=1818457:date=Dec 22 2010, 07:37 PM:name=w0dk4)--><div class='quotetop'>QUOTE (w0dk4 @ Dec 22 2010, 07:37 PM) <a href="index.php?act=findpost&pid=1818457"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->.. I think it does, the standard (hardcoded) query port is 27016 though, which means you cannot host more than one NS2-masterlist-available server per IP.<!--QuoteEnd--></div><!--QuoteEEnd--> Yup, just read that in your previus post. thanks though. Got it working now (Source query).
<b>Dumps:</b> <a href="http://madmakz.com/get/dumps/ns2/ns2-srv-dmp_WERC581.tmp.zip" target="_blank">http://madmakz.com/get/dumps/ns2/ns2-srv-dmp_WERC581.tmp.zip</a> (From Win as it doesn't seem NS2 creates own ones?)
hi. i've tried dedicated server on my desktop, but i wasn't able to see it in the list of servers (only seeing LAN part of it). probably ded. server is announcing the lan address. my destop lies in a network behind linux router with following iptables rules (so the forwarding should be ok): <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>#ns2 -A PREROUTING -i eth1 -p udp -m multiport --dports 27015,27016 -j DNAT --to-destination 192.168.1.1 -A PREROUTING -i eth1 -p tcp -m multiport --dports 27015,27016 -j DNAT --to-destination 192.168.1.1 .... -A POSTROUTING -o eth1 -j MASQUERADE</div> is there any way to force ded. server to use outer (=internet) address?
yes, tried with that (i followed exactly the tutorial on wiki). i had similar problem before, i think it was something hl1 based. the only working way was to add a special parameter for server, so when it announces itself to the world (internet - master servers?) it uses an IP on router (not the one inside my local network)
ViewModel:SetAnimation(swipe_from_stab): Actor animations locked during OnProcessMove() and previous animation (stab_from_swipe) already queued. Hive:SetAnimation(death): Actor animations locked during OnProcessMove() and previous animation (deploy) already queued. Hive:SetAnimation(death): Actor animations locked during OnProcessMove() and previous animation (deploy) already queued. Spike:AddImpulse(<-5.35, -10.57, 8.96>, <-1.#J, -1.#J, -1.#J>): No physics model.
Turns out if you call server.exe through a batch file... make sure the batch resides in the root directory (with server.exe). So if your setup is C:\NS2\server.exe put the batch in C:\NS2. Process Monitor was a big help in this troubleshooting process, it returned a bunch of NAME_NOT_FOUND errors when looking for game_setup.xml (among other entities) in the same directory as my batch files...
Windows Server 2008 R2 with PhysX DirectX and HLDS NS2 build 160 properly installed. Running with <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->-name "SERVERNAME" -map ns2_tram -limit 10 -lan false -save true<!--c2--></div><!--ec2--> creates server.xml in <i>%APPDATA%\Natural Selection 2</i> but console shows the following feedback:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Changing setting 'lanGame' to: 'false'... Changing setting 'mapName' to: 'ns2_tram'... Changing setting 'playerLimit' to: '10'... Changing setting 'serverName' to: 'SERVERNAME'... Build 160 Error loading game_setup.xml<!--QuoteEnd--></div><!--QuoteEEnd-->
As <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=112275&view=findpost&p=1821777" target="_blank">suggested</a> I copied <i>game_setup.xml </i>to the same folder as server.exe and changed <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><client>lua/Client.lua</client><!--c2--></div><!--ec2--> and <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><server>lua/Server.lua</server><!--c2--></div><!--ec2--> to <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><client>ns2/lua/Client.lua</client><!--c2--></div><!--ec2--> and <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><server>ns2/lua/Server.lua</server><!--c2--></div><!--ec2--> I now had 2 instances of <i>game_setup.xml </i>both structurally correct but yet... to no avail.
The entire process is run as Administrator but I gave Users modify rights on the root directory just to be sure. No dice.
I'm running out of options to try, and this is really frustrating me since I seem to be alone in this. Anyone?
As far as I know you don't need a good graphics card actually. I've dealt with Xen before and I'm wondering if maybe the environment being virtualized could be causing a possible issue.
Hey, quick question is the dedicated server not able to run in 64 bit? Tried to run it in 64 bit wine and it wants to run 32bit:(. Sadly centos doesnt have the 32 bit version when the 64 is installed. Wondering if I hit a brick wall.
Seems you hit a brick wall, unless you figure out a way to have Centos / WINE run the application in 32-bit. There's currently no 64-bit server available and I'm not sure if UWE is planning to release it any time soon, or at all.
<!--quoteo(post=1825652:date=Jan 20 2011, 03:23 AM:name=Bricksolid)--><div class='quotetop'>QUOTE (Bricksolid @ Jan 20 2011, 03:23 AM) <a href="index.php?act=findpost&pid=1825652"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Hey, quick question is the dedicated server not able to run in 64 bit? Tried to run it in 64 bit wine and it wants to run 32bit:(. Sadly centos doesnt have the 32 bit version when the 64 is installed. Wondering if I hit a brick wall.<!--QuoteEnd--></div><!--QuoteEEnd--> I don't have any experience with centos or 64-bit wine, but their faq says that Wine 64 runs in 32-bit mode and 64 is experimental. Hope that helps with your question. <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->2.4. Does Wine run on 64-bit?
Yes. Normally, installation should be the same as with 32-bit: simply install the Wine package for your distribution. Check the Downloads page. If you need to build Wine from source, see WineOn64bit.
Note that Wine for 64-bit actually runs in 32-bit mode. This is necessary, as virtually all Windows applications are 32-bit. Support for 64-bit Windows applications is currently experimental (see Wine64).
* Wine is currently offered in 32-bit. 16-bit and 32-bit Windows applications work with it. It runs on both 32-bit and 64-bit Linux/Unix installations. * Wine is also experimentally offered in 64-bit. 32-bit and 64-bit Windows applications (should) work with it. It runs only on 64-bit Linux installations.<!--QuoteEnd--></div><!--QuoteEEnd-->
Yes, but centos repositories are old. The yum only installs wine-1.0.1 when I need 1.2.2. I tried moving in the dlls it was asking for, but still no luck. I cant install newer repositories because the dependency do not exist. Very frustrating.
The problem with building it myself is these 2: rpmlib(FileDigests) <= 4.6.0-1 is needed by wine-core-1.3.7-1.el6.rft.i686 rpmlib(PayloadIsXz) <= 5.2-1 is needed by wine-core-1.3.7-1.el6.rft.i686
those files <b>may</b> be in rpm-devel (about half way down for centos links) <a href="http://rpm.pbone.net/index.php3?stat=3&limit=3&srodzaj=3&dl=40&search=rpm-devel" target="_blank">http://rpm.pbone.net/index.php3?stat=3&...earch=rpm-devel</a>
there may also be a way for you to circumvent those files before you compile.
Well I finally got it to run. There is a whole slue of things you must do. I could post a tutorial or the script im making for my boxes on here if anyone is interested in installing 32 bit wine on 64 bit centos 5.
One problem, is there a max to how big the name of the server can be? It seems to just put the works together even if there are spaces.
Well I finished the script, works like a charm.
This installs 32bit wine 1.2.2 which is required by ns2 on a 64bit centos system. <a href="http://www.hostedgameservers.com/2011/installing-32-bit-wine-on-a-64-bit-centos" target="_blank">http://www.hostedgameservers.com/2011/inst...a-64-bit-centos</a>
I'm having trouble getting the server to start on a 2008 64bit.. The window will pop up but that's about as much as I get.. No error no dumps nothing.. I followed the hldsupdate to get the server started toyed with different options from using a xml file to full blown command line options. Does it still fail when you input the ip?
Sorry I got her fixed didnt realize dx wasn't installed on the server.. Is there a chance the high cpu usage and memory usage with zero players going to be addressed?
Comments
<ul><li>Distribute dedicated server through HLDS</li><li>Optimize server physics performance</li></ul>
+1
Please add support for multiple servers per IP..
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->I would like to run my normal NS2 server while i rum my level test server at the same time.<!--QuoteEnd--></div><!--QuoteEEnd-->
What is preventing you to do that? You can run your NS2 server on any port you want. However, you cannot run more than one server on one ip. Also, 27016 is the hardcoded query port for the NS2 server.
i'm new to NS2 server and curently setting up a box.
Two questions:
Does NS2 has yet an public query protocol and if so, has somone already written some sort of class for it (e.g. for PHP)?
Or does NS2 even support the VALVE query protocol?
I know that NS2 is not using Source, but there are a view other non source indie games that implentet this querytype.
I've only tried it with HLSW yet which shows the server as down.
That's about the query, now i have another question about the actual performance:
The box i'm setting up atm is an AMD Phenom X6 1055T 2.8GHz with 8GB RAM.
Note that i'm attemting to run NS2 inside a VM, however this will be HVM (AMD-V) powered so the performance loss shouldn't be that high.
The Host System is Debian Lenny x64.
The Guest System (in it running NS2) is Win 7 Pro 32bit
Anyway, so asuming i'd give Win 2 cores and 2GB RAM, how many slots should i expect to work properly and lagfree? (NS2 Build 160+)
For the ease, in your recommendations you may leave out the fact that the system is inside a VM, so just think about it as if this win system is a real System.
So again;
2x 2.8GHz (actual prozessor generation)
Win 7 Pro 32bit
2GB RAM
100Mbits FD (to internet)
How many slots could i run lagfree on such a setup with no other Tasks running (excl. System tasks).
Regards and hello to all
Makz
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Or does NS2 even support the VALVE query protocol?<!--QuoteEnd--></div><!--QuoteEEnd-->
I think it does, the standard (hardcoded) query port is 27016 though, which means you cannot host more than one NS2-masterlist-available server per IP.
Is your VM windows too?
<!--quoteo(post=1818457:date=Dec 22 2010, 07:37 PM:name=w0dk4)--><div class='quotetop'>QUOTE (w0dk4 @ Dec 22 2010, 07:37 PM) <a href="index.php?act=findpost&pid=1818457"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->..
I think it does, the standard (hardcoded) query port is 27016 though, which means you cannot host more than one NS2-masterlist-available server per IP.<!--QuoteEnd--></div><!--QuoteEEnd-->
Yup, just read that in your previus post. thanks though. Got it working now (Source query).
Is there a way to install the dedicated server through HLDS now ? (i mean with the build 160)
[Edit] Oops, i didn't read the news entirely... it's for the next update, my bad.
<b>Dumps:</b> <a href="http://madmakz.com/get/dumps/ns2/ns2-srv-dmp_WERC581.tmp.zip" target="_blank">http://madmakz.com/get/dumps/ns2/ns2-srv-dmp_WERC581.tmp.zip</a> (From Win as it doesn't seem NS2 creates own ones?)
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->2x 2.8GHz (AMD Phenom)
Win 7 Pro 32bit
2GB RAM<!--QuoteEnd--></div><!--QuoteEEnd-->
my destop lies in a network behind linux router with following iptables rules (so the forwarding should be ok):
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>#ns2
-A PREROUTING -i eth1 -p udp -m multiport --dports 27015,27016 -j DNAT --to-destination 192.168.1.1
-A PREROUTING -i eth1 -p tcp -m multiport --dports 27015,27016 -j DNAT --to-destination 192.168.1.1
....
-A POSTROUTING -o eth1 -j MASQUERADE</div>
is there any way to force ded. server to use outer (=internet) address?
sry for bad english, thx for any answer :)
ViewModel:SetAnimation(swipe_from_stab): Actor animations locked during OnProcessMove() and previous animation (stab_from_swipe) already queued.
Hive:SetAnimation(death): Actor animations locked during OnProcessMove() and previous animation (deploy) already queued.
Hive:SetAnimation(death): Actor animations locked during OnProcessMove() and previous animation (deploy) already queued.
Spike:AddImpulse(<-5.35, -10.57, 8.96>, <-1.#J, -1.#J, -1.#J>): No physics model.
Turns out if you call server.exe through a batch file... make sure the batch resides in the root directory (with server.exe). So if your setup is C:\NS2\server.exe put the batch in C:\NS2. Process Monitor was a big help in this troubleshooting process, it returned a bunch of NAME_NOT_FOUND errors when looking for game_setup.xml (among other entities) in the same directory as my batch files...
<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><b>[/SOLVED]</b><!--colorc--></span><!--/colorc-->
I require a little assistance...
Windows Server 2008 R2 with PhysX DirectX and HLDS NS2 build 160 properly installed. Running with <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->-name "SERVERNAME" -map ns2_tram -limit 10 -lan false -save true<!--c2--></div><!--ec2--> creates server.xml in <i>%APPDATA%\Natural Selection 2</i> but console shows the following feedback:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Changing setting 'lanGame' to: 'false'...
Changing setting 'mapName' to: 'ns2_tram'...
Changing setting 'playerLimit' to: '10'...
Changing setting 'serverName' to: 'SERVERNAME'...
Build 160
Error loading game_setup.xml<!--QuoteEnd--></div><!--QuoteEEnd-->
As <a href="http://www.unknownworlds.com/ns2/forums/index.php?showtopic=112275&view=findpost&p=1821777" target="_blank">suggested</a> I copied <i>game_setup.xml </i>to the same folder as server.exe and changed <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><client>lua/Client.lua</client><!--c2--></div><!--ec2--> and <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><server>lua/Server.lua</server><!--c2--></div><!--ec2--> to <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><client>ns2/lua/Client.lua</client><!--c2--></div><!--ec2--> and <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--><server>ns2/lua/Server.lua</server><!--c2--></div><!--ec2-->
I now had 2 instances of <i>game_setup.xml </i>both structurally correct but yet... to no avail.
The entire process is run as Administrator but I gave Users modify rights on the root directory just to be sure. No dice.
I'm running out of options to try, and this is really frustrating me since I seem to be alone in this. Anyone?
Also are you running on a windows server box or xp, vista, or windows 7?
Edit: Oh, and -save true because I like to know what server I'm starting without checking the server.xml.
Xen 3.6 Machine (Host: Debian Lenny 64bit):
Windows Server 2008
3 Cores assigned (Core i7 920)
3 GB RAM assigned
And i'm still experiences sometimes more lags than at some other server.
Is there any "trick" or hardware requirement like a graphic card?
source engine example:
"C:\SRCDS\left4dead2\srcds.exe" -console -game left4dead2 +hostip <b>YOUR.WAN.IP.ADDY</b> -ip <b>YOUR.LAN.IP.ADDY</b> +hostport 27016 +clientport 27006 -nohltv +exec server.cfg +map c5m1_waterfront
I don't have any experience with centos or 64-bit wine, but their faq says that Wine 64 runs in 32-bit mode and 64 is experimental. Hope that helps with your question.
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->2.4. Does Wine run on 64-bit?
Yes. Normally, installation should be the same as with 32-bit: simply install the Wine package for your distribution. Check the Downloads page. If you need to build Wine from source, see WineOn64bit.
Note that Wine for 64-bit actually runs in 32-bit mode. This is necessary, as virtually all Windows applications are 32-bit. Support for 64-bit Windows applications is currently experimental (see Wine64).
* Wine is currently offered in 32-bit. 16-bit and 32-bit Windows applications work with it. It runs on both 32-bit and 64-bit Linux/Unix installations.
* Wine is also experimentally offered in 64-bit. 32-bit and 64-bit Windows applications (should) work with it. It runs only on 64-bit Linux installations.<!--QuoteEnd--></div><!--QuoteEEnd-->
<a href="http://packages.sw.be/wine/" target="_blank">http://packages.sw.be/wine/</a>
Hope this helps.
rpmlib(FileDigests) <= 4.6.0-1 is needed by wine-core-1.3.7-1.el6.rft.i686
rpmlib(PayloadIsXz) <= 5.2-1 is needed by wine-core-1.3.7-1.el6.rft.i686
Iv looked everywhere, they dont exist.
<a href="http://rpm.pbone.net/index.php3?stat=3&limit=3&srodzaj=3&dl=40&search=rpm-devel" target="_blank">http://rpm.pbone.net/index.php3?stat=3&...earch=rpm-devel</a>
there may also be a way for you to circumvent those files before you compile.
again, hope this helps.
One problem, is there a max to how big the name of the server can be? It seems to just put the works together even if there are spaces.
Well I finished the script, works like a charm.
This installs 32bit wine 1.2.2 which is required by ns2 on a 64bit centos system.
<a href="http://www.hostedgameservers.com/2011/installing-32-bit-wine-on-a-64-bit-centos" target="_blank">http://www.hostedgameservers.com/2011/inst...a-64-bit-centos</a>