Problem to start a server

ReekahReekah Join Date: 2012-11-09 Member: 168593Members
edited December 2012 in Server Discussion
<div class="IPBDescription">Trying to start a server on my own PC</div>Hello guys,

I followed <!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->oldassgamers's video tutorial<!--colorc--></span><!--/colorc-->, but when I start the '<!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->Server.exe<!--colorc--></span><!--/colorc-->' it stops (pic below).
Saw this Error on other videos too. But it still started for them.

Hope it's still possible. I didn't buy a rental server, it's just my own PC.
Thank you for you help.

i7-2600K @3.4GHz
16GB RAM
GTX 580

<img src="http://i.imgur.com/AFb3x.png" border="0" class="linked-image" /> <img src="http://i.imgur.com/aTaDS.png" border="0" class="linked-image" />

<img src="http://i.imgur.com/PfdLv.png" border="0" class="linked-image" />

Comments

  • VitdomVitdom Join Date: 2012-04-30 Member: 151345Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, WC 2013 - Shadow
    How do you know it has stopped? It looks normal. Can't you connect?

    Press tab and bring up the console and issue the sv_changemap <level> command and it should work.
  • ReekahReekah Join Date: 2012-11-09 Member: 168593Members
    edited December 2012
    Thanks for the reply, Vitdom.

    It's not on the server list.
    <a href="http://i.imgur.com/eTPBr.jpg" target="_blank">http://i.imgur.com/eTPBr.jpg</a>

    And I'm missing those login lines here from <!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->oldassgamers<!--colorc--></span><!--/colorc-->.
    <a href="http://i.imgur.com/A2MEp.jpg" target="_blank">http://i.imgur.com/A2MEp.jpg</a>
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    edited December 2012
    Start the server.exe from within a .bat file with the start options you want defined in there. I have found calling server.exe from outside a .bat file does not work too well.

    Example: instead of calling server.exe call start.bat with contents like:
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Server.exe -name "Test" -map ns2_refinery -limit 16 -webadmin -config_path D:\game_servers\Current_Servers\ns2\cfg<!--c2--></div><!--ec2-->

    The server process will run within that so you can still use a keep alive script with this launch method.
  • ReekahReekah Join Date: 2012-11-09 Member: 168593Members
    edited December 2012
    Okay, let me try that right now.

    That's what I did. Is that right?
    <a href="http://i.imgur.com/CZh54.png" target="_blank">http://i.imgur.com/CZh54.png</a>
    <!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->Still no "Test" server on the Server List.<!--colorc--></span><!--/colorc-->

    What I tried next is to "START SERVER" from NS2 inside and it gave me a "client and server differ" so I disabled all mods and made it in at least.
    <a href="http://i.imgur.com/l8fAw.jpg" target="_blank">http://i.imgur.com/l8fAw.jpg</a>

    :edit: Ok, something IS actually starting, but not with the right name. It's the name from the ingame "START SERVER".
    <a href="http://i.imgur.com/ogXJe.jpg" target="_blank">http://i.imgur.com/ogXJe.jpg</a>
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    edited December 2012
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->@echo off

    cd D:\NS2Server1
    C:\Windows\system32\cmd.exe /C start /high Server.exe -name "Team156.com | Seattle #1 | 4.6Ghz, Customs, NS2Stats" -config_path "D:\Config1" -map ns2_summit -limit 20 -ip 192.168.0.192 -port 27015 -modstorage "D:\Workshop"<!--c2--></div><!--ec2-->

    Here's the batch file for one of my servers. You don't necessarily need to specify the ip and port explicitly (e.g. it will default to your standard IP and port 27015), but its nice to do and a necessity if your doing more than one server instance. Also, note that the parameters you pass to Server.exe need to be on the same line.

    If the server isn't showing up on the server browser (or is only showing up with (LAN) attached to the name), then its likely that the necessary ports are not open. You'll need to foward the ports 27015-27016 (or the port and port+1 you specify in the batch file) for your router. Easiest way to do this is to follow the instructions <a href="http://portforward.com/english/routers/port_forwarding/" target="_blank">here</a>, where you choose your Router and then Steam (just change the steam ports to the 27015-27016).
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    I think that it does not like that he is using separated lines in the bat. It should all be in one line just like how it looks on the code I copied above.
  • oldassgamersoldassgamers Join Date: 2011-02-02 Member: 80033Members, Squad Five Blue, Reinforced - Shadow
    edited December 2012
    Hi Reekah, add me on steam and I guide you through step by step. My steam id is on my homesite www.oldassgamers.com
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    Reekah, I went through h e double ell trying to get my server online. We finally determined it was my Belkin wireless router - it wouldn't allow me to open the necessary ports.
  • ReekahReekah Join Date: 2012-11-09 Member: 168593Members
    edited December 2012
    Thanks.
    The parameters are in one line now, and it works for the name, map, limit, but it's still <!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->(LAN)<!--colorc--></span><!--/colorc-->.
    And freaking a lot of Errors.

    <img src="http://i.imgur.com/W5edx.png" border="0" class="linked-image" />

    I guess I need to work on the ports now.

    <img src="http://i.imgur.com/m6iuR.jpg" border="0" class="linked-image" />

    It's in german, sorry for that. <!--coloro:#008000--><span style="color:#008000"><!--/coloro-->Fritz!Box 7270<!--colorc--></span><!--/colorc-->.
    Still needs something more /different.

    Hey <!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->oldassgamers<!--colorc--></span><!--/colorc-->, I'm gonna add you in ~10h. Need to nap :) Thanks for the help.
    I hope not <!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->Depot <!--colorc--></span><!--/colorc-->:) Keep faith.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    edited December 2012
    I run servers from behind a router (the Team156 Seattle servers) and that (LAN) indicator is normal if your trying to connect from a client behind the same router. If running properly, the server should actually show up twice on your server list (from the client behind the same router) with one of the names have (LAN) attached to it.

    Also, those errors and other text are normal and shouldn't impact your server in any way.
  • ZEROibisZEROibis Join Date: 2009-10-30 Member: 69176Members, Constellation
    <!--quoteo(post=2046038:date=Dec 14 2012, 11:26 PM:name=ScardyBob)--><div class='quotetop'>QUOTE (ScardyBob @ Dec 14 2012, 11:26 PM) <a href="index.php?act=findpost&pid=2046038"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I run servers from behind a router (the Team156 Seattle servers) and that (LAN) indicator is normal if your trying to connect from a client behind the same router. If running properly, the server should actually show up twice on your server list (from the client behind the same router) with one of the names have (LAN) attached to it.

    Also, those errors and other text are normal and shouldn't impact your server in any way.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Correct, you should see it multiple times if your trying to test from inside the network. Try to connect to it via your external ip to verify that outside connections work. As always you can type connect localhost to preform quick system checks on your server or to test configuration changes quickly from the same machine.
  • ReekahReekah Join Date: 2012-11-09 Member: 168593Members
    edited December 2012
    Nice. Seems to work now. <!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->oldassgamers<!--colorc--></span><!--/colorc--> changed the TCP to 27000-27020 and it magically worked ;)
    Thanks guys!

    <!--coloro:#FFA500--><span style="color:#FFA500"><!--/coloro-->And it's really only working with the .bat.<!--colorc--></span><!--/colorc-->

    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->C:\Windows\system32\cmd.exe /C start /high Server.exe -port 27015 -map ns2_docking -limit 12 -name "I love oldassgamers" -config_path "D:\Games\ns2rocks\server_1\config" -modstorage "D:\Games\ns2rocks\server_1\mods"<!--c2--></div><!--ec2-->


    <img src="http://i.imgur.com/FsqZr.jpg" border="0" class="linked-image" />
  • m0rf3m0rf3 Join Date: 2012-12-28 Member: 176575Members
    edited December 2012
    I have the same problem with the bat not solve adjuto me a picture and I put the route.

    <a href="http://imageshack.us/photo/my-images/687/45091757.png/" target="_blank"><img src="http://img687.imageshack.us/img687/1117/45091757.png" border="0" class="linked-image" /></a>


    -port 27700 -map ns2_summit -limit 16 -name " Ns2 Spanish" -config_path "C:\ns2rocks\server_1\config" -modstorage "C:\ns2rocks\server_1\mods"

    C:\windows\system32\cmd.exe \C start /ns2rocks\server_1 server.exe -port 27700 -map ns2_docking -limit 16 -name " Ns2 Spanish" -config_path "C:\ns2rocks\server_1\config" -modstorage "C:\ns2rocks\server_1\mods"
Sign In or Register to comment.