Server suggestions

devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
There's a few things I'd love to be changed on the server, but I'm unsure of how to properly suggest them. Getsatisfaction is.. less then satisfying for suggesting things.

So, I'll post them here in hopes someone reads them :)

1) Make the server logging path configurable. %appdata%/Natural Selection 2/ is actually pretty terrible if you want to host multiple servers per machine. A command line or normal config variable for this would be perfect.
2) Provide some way of getting a client's steamid. All sorts of fun features are possible once this is available, such as reserved slots, banning, etc. IP addresses really aren't a great way of identifying players.
3) Print out player chat to console. I released a patch for this at <a href="http://unknownworlds.com/ns2/forums/index.php?showtopic=111358" target="_blank">http://unknownworlds.com/ns2/forums/index....howtopic=111358</a> , it's two lines of code ;)

Comments

  • FehaFeha Join Date: 2006-11-16 Member: 58633Members
    Great ideas!, I am especially interested in #2 :P. Is some fun mods you could make if you had the steam id (sure ip works, but some people use dynamic...).
  • SoulzzSoulzz Join Date: 2010-05-02 Member: 71597Members
    Those are definitely great ideas :).
  • MartinMartin Join Date: 2010-07-27 Member: 73229Members
    SteamID I need asap for something I'm working on
  • w0dk4w0dk4 Join Date: 2008-04-22 Member: 64129Members, Constellation, Reinforced - Shadow
    Also, you may want to comment out the AddBot console command hooks on servers in order to prevent idiots from spamming your server with bots.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    Clients cant add bots to oher peoples servers, only to your own hosted game. Unless there is a bizarr unique incodent that allows you to?
  • w0dk4w0dk4 Join Date: 2008-04-22 Member: 64129Members, Constellation, Reinforced - Shadow
    edited November 2010
    I dont know if the patch changed something, but you could definately add bots to any server you want on the last build.
  • RebelRebel Join Date: 2003-04-10 Member: 15371Members, NS2 Playtester, NS2 Map Tester, Subnautica Playtester
    What I REALLY need is for the server to auto update or allow the dedicated server files to be downloaded from a steam account that doesn't own the game, it's a real PITA to log into my dedicated box, swap to my personal account, download the entire game then switch back to the servers account to run it (and allowing me to log back in)
  • w0dk4w0dk4 Join Date: 2008-04-22 Member: 64129Members, Constellation, Reinforced - Shadow
    <!--quoteo(post=1804499:date=Nov 4 2010, 06:30 PM:name=Rebel)--><div class='quotetop'>QUOTE (Rebel @ Nov 4 2010, 06:30 PM) <a href="index.php?act=findpost&pid=1804499"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->What I REALLY need is for the server to auto update or allow the dedicated server files to be downloaded from a steam account that doesn't own the game, it's a real PITA to log into my dedicated box, swap to my personal account, download the entire game then switch back to the servers account to run it (and allowing me to log back in)<!--QuoteEnd--></div><!--QuoteEEnd-->


    That took me like 2 minutes, yeah UWE should totally make this a priority... not.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1804499:date=Nov 4 2010, 01:30 PM:name=Rebel)--><div class='quotetop'>QUOTE (Rebel @ Nov 4 2010, 01:30 PM) <a href="index.php?act=findpost&pid=1804499"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->What I REALLY need is for the server to auto update or allow the dedicated server files to be downloaded from a steam account that doesn't own the game, it's a real PITA to log into my dedicated box, swap to my personal account, download the entire game then switch back to the servers account to run it (and allowing me to log back in)<!--QuoteEnd--></div><!--QuoteEEnd-->

    The server no longer requires Steam to be running, so you don't need a 'server account' for it.
  • RebelRebel Join Date: 2003-04-10 Member: 15371Members, NS2 Playtester, NS2 Map Tester, Subnautica Playtester
    I wasn't talking about steam running to run the server, I was talking about having to shut all the other servers down that run on the box, drop out of steam, log into it using my personal account (that owns NS2) and then update NS2, then swap back to the server account and start the NS and the other servers back up.
    So yeah, checking the build ID against the latest release and running an update cycle would actually be pretty damn helpful.

    So in short the picture is a little bit bigger then the inconvenience of having to update NS on a remote box (speaking of which it's bloody horrible using the main steam interface over RDP :/ )
  • MartinMartin Join Date: 2010-07-27 Member: 73229Members
    Well since steam isn't required maybe a unique hash for a user could be created and sent only once to a server, that way we can track who is really who. Like steam id but not from steam? Totally possible and would be useful for sure.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1804572:date=Nov 5 2010, 01:57 AM:name=Rebel)--><div class='quotetop'>QUOTE (Rebel @ Nov 5 2010, 01:57 AM) <a href="index.php?act=findpost&pid=1804572"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I wasn't talking about steam running to run the server, I was talking about having to shut all the other servers down that run on the box, drop out of steam, log into it using my personal account (that owns NS2) and then update NS2, then swap back to the server account and start the NS and the other servers back up.
    So yeah, checking the build ID against the latest release and running an update cycle would actually be pretty damn helpful.

    So in short the picture is a little bit bigger then the inconvenience of having to update NS on a remote box (speaking of which it's bloody horrible using the main steam interface over RDP :/ )<!--QuoteEnd--></div><!--QuoteEEnd-->
    I store all my NS2 files in a git repository. When updates come, I just tell it to add all the changed files. Once that's done, I have a nice list of changed files, which I feed to tar, and upload that to the server. It's not ideal in any way, but it works quite well. I have been told they are working on getting the server available via hldsupdatetoool, which should make things significantly easier.

    <!--quoteo(post=1804584:date=Nov 5 2010, 06:43 AM:name=Martin)--><div class='quotetop'>QUOTE (Martin @ Nov 5 2010, 06:43 AM) <a href="index.php?act=findpost&pid=1804584"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Well since steam isn't required maybe a unique hash for a user could be created and sent only once to a server, that way we can track who is really who. Like steam id but not from steam? Totally possible and would be useful for sure.<!--QuoteEnd--></div><!--QuoteEEnd-->
    You don't need steam running on the server to be able to get someone's steamid. There's essentially a tiny steam client embedded in the server, so it can retrieve steamid's and such. Steam is definitely required, just not the client you usually use.
  • RebelRebel Join Date: 2003-04-10 Member: 15371Members, NS2 Playtester, NS2 Map Tester, Subnautica Playtester
    <!--quoteo(post=1804599:date=Nov 5 2010, 09:56 AM:name=devicenull)--><div class='quotetop'>QUOTE (devicenull @ Nov 5 2010, 09:56 AM) <a href="index.php?act=findpost&pid=1804599"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I store all my NS2 files in a git repository. When updates come, I just tell it to add all the changed files. Once that's done, I have a nice list of changed files, which I feed to tar, and upload that to the server. It's not ideal in any way, but it works quite well. I have been told they are working on getting the server available via hldsupdatetoool, which should make things significantly easier.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Yep the last game I helped the devs test servers against just had a build ID, then called home to see what the latest was and had it's own little rsync client that updated if needed, having a proper dedicated server tool in the list would be really helpful but then it's 2 sets up updates for them to submit to valve. :/
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1804601:date=Nov 5 2010, 11:55 AM:name=Rebel)--><div class='quotetop'>QUOTE (Rebel @ Nov 5 2010, 11:55 AM) <a href="index.php?act=findpost&pid=1804601"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Yep the last game I helped the devs test servers against just had a build ID, then called home to see what the latest was and had it's own little rsync client that updated if needed, having a proper dedicated server tool in the list would be really helpful but then it's 2 sets up updates for them to submit to valve. :/<!--QuoteEnd--></div><!--QuoteEEnd-->

    I'd rather stick with hldsupdatetool. It's not perfect, but it's well-debugged, and well-known. The developers writing their own update client for servers (it's a lot harder to do due to the variance in server setups) would really just be a waste of time.
  • RebelRebel Join Date: 2003-04-10 Member: 15371Members, NS2 Playtester, NS2 Map Tester, Subnautica Playtester
    edited November 2010
    I agree having a steam server update would be the best approach in at the release stage but as I said I suspect it would mean running 2 threads with valve (seeing as they have valve submissions listed in their progress thread) which would probably explain why there isn't a server listed in the tools already.

    -edit: Also worth noting that things like l4d2 / tf2 have version checks / updates within the srcds executable not the update tool.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1804654:date=Nov 5 2010, 10:40 PM:name=Rebel)--><div class='quotetop'>QUOTE (Rebel @ Nov 5 2010, 10:40 PM) <a href="index.php?act=findpost&pid=1804654"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->-edit: Also worth noting that things like l4d2 / tf2 have version checks / updates within the srcds executable not the update tool.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Actually, they are in the master servers. The game sends it's version when it tries to register for the master server list. If it's too old, the master replies with a message saying it's out of date.
  • derWalterderWalter Join Date: 2008-10-29 Member: 65323Members
    simple rcon support should take a half day of work.
  • RebelRebel Join Date: 2003-04-10 Member: 15371Members, NS2 Playtester, NS2 Map Tester, Subnautica Playtester
    <!--quoteo(post=1804724:date=Nov 6 2010, 12:04 PM:name=devicenull)--><div class='quotetop'>QUOTE (devicenull @ Nov 6 2010, 12:04 PM) <a href="index.php?act=findpost&pid=1804724"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Actually, they are in the master servers. The game sends it's version when it tries to register for the master server list. If it's too old, the master replies with a message saying it's out of date.<!--QuoteEnd--></div><!--QuoteEEnd-->

    The distinction is semantical, the point is a check is made against the servers running version and the latest one available and if an update is available it is downloaded.... :/
    Sigh.
  • devicenulldevicenull Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
    <!--quoteo(post=1804734:date=Nov 6 2010, 02:54 PM:name=derWalter)--><div class='quotetop'>QUOTE (derWalter @ Nov 6 2010, 02:54 PM) <a href="index.php?act=findpost&pid=1804734"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->simple rcon support should take a half day of work.<!--QuoteEnd--></div><!--QuoteEEnd-->

    The game already has rcon support.
  • MartinMartin Join Date: 2010-07-27 Member: 73229Members
    Will a user's steam id be exposed in anyway or is it not possible to retrieve it in any way currently?
  • scorpydudescorpydude Join Date: 2005-03-05 Member: 43603Members
    <!--quoteo(post=1804829:date=Nov 7 2010, 04:56 PM:name=devicenull)--><div class='quotetop'>QUOTE (devicenull @ Nov 7 2010, 04:56 PM) <a href="index.php?act=findpost&pid=1804829"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->The game already has rcon support.<!--QuoteEnd--></div><!--QuoteEEnd-->

    more info on how to connect rcon please (and you better not say via the website - who the hell would ever run a webserver on their gaming vps?)
  • MartinMartin Join Date: 2010-07-27 Member: 73229Members
    edited November 2010
    the web server is a very basic way to do rcon, but there is no information coming back.

    scorpydude check your inbox ;)
Sign In or Register to comment.