Re: [hlds_linux] replay feature
I just wanted to inform, that there is a small issue with path names on linux servers. If I have set the replay_local_fileserver_path cvar to a directory which contains uppercase characters, the replay feature fails. replay_local_fileserver_path /opt/SRCDS.tf2main/replay_files replay_enable 1 ... (a lot of stuff) ... * Fileserver type:Local Web server * Path: /opt/srcds.tf2main/replay_files/ * * Source file exists?..OK * Checking fileserver path.FAILED Fileserver path '/opt/srcds.tf2main/replay_files/' invalid (see replay_local_fileserver_path)* * * ** ERROR: Fileserver path '/opt/srcds.tf2main/replay_files/' invalid (see replay_local_fileserver_path) * strace report: open(/opt/SRCDS.tf2main/orangebox/tf/replay/server/tmp/testpublish_7483.tmp, O_RDWR|O_CREAT|O_TRUNC, 0666) = 21 stat64(/opt/SRCDS.tf2main/orangebox/tf/replay/server/tmp/testpublish_7483.tmp, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 stat64(/opt/SRCDS.tf2main/orangebox/tf/replay/server/tmp/testpublish_7483.tmp, {st_mode=S_IFREG|0644, st_size=1024000, ...}) = 0 stat64(/opt/srcds.tf2main/replay_files, 0xbf9b8404) = -1 ENOENT (No such file or directory) open(/opt/srcds.tf2main, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat64(/opt/srcds.tf2main/replay_files, 0xbf9b8404) = -1 ENOENT (No such file or directory) ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
[hlds_linux] How to set steam path correctly?
Hi, I'm running HLDS server on linux, mainly TF2. It tells me cannot find the path to steam, so I manually add the path in orangebox/srcds_run, set STEAM=my/path insideinit() { }. But it seems to get overridden after an update. Can anyone tell me what's the correct way to set it? Thanks! Best Regards, // ET.Lin ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] How to set steam path correctly?
On Tue, 10 May 2011, ET(ET, Lin) wrote: Hi, I'm running HLDS server on linux, mainly TF2. It tells me cannot find the path to steam, so I manually add the path in orangebox/srcds_run, set STEAM=my/path insideinit() { }. But it seems to get overridden after an update. Can anyone tell me what's the correct way to set it? The correct way would be for valve to enable the script to handle allready set variables. This way you can run it as: # STEAM=/path/to/steam; ./srcds_run Or write a wrapper script that sets all your variables you want before running srcds_run. Or set it in the users .bash_profile. Another idea would be if they allow configuration files srcds_run. One way, that allready works today, is to set the path to the steam binary for your user. The script is written to try finding the steam binary. # export PATH=$PATH:/games/steamdir echo 'export PATH=$PATH:/games/steamdir' .bash_profile /Bjorn ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] How to set steam path correctly?
Thanks for your help :D Best Regards, // ET.Lin On 10 May 2011 18:44, kama k...@pvp.se wrote: On Tue, 10 May 2011, ET(ET, Lin) wrote: Hi, I'm running HLDS server on linux, mainly TF2. It tells me cannot find the path to steam, so I manually add the path in orangebox/srcds_run, set STEAM=my/path insideinit() { }. But it seems to get overridden after an update. Can anyone tell me what's the correct way to set it? The correct way would be for valve to enable the script to handle allready set variables. This way you can run it as: # STEAM=/path/to/steam; ./srcds_run Or write a wrapper script that sets all your variables you want before running srcds_run. Or set it in the users .bash_profile. Another idea would be if they allow configuration files srcds_run. One way, that allready works today, is to set the path to the steam binary for your user. The script is written to try finding the steam binary. # export PATH=$PATH:/games/steamdir echo 'export PATH=$PATH:/games/steamdir' .bash_profile /Bjorn ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] New Replay feature listening on 27040
change replay_port Done through server.cfg or startupcommand? //Daniel ics skrev 2011-05-09 21:32: Also, find replay into server console gives you lots of more options that were not mentioned in update notes. -ics 9.5.2011 22:22, AnAkIn . kirjoitti: Change the replay_port cvar. 2011/5/9rep...@servon.dk Hi, after the new Counter-Strike Source update, our servers now listens on port 27040 and so forth, which is a big issue, because we have servers running from port 27015-27060. Isn't there a command to disable this replay feature, so it doesn't listen on that port? Regards, Lasse Poulsen servON.dk ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] How to set steam path correctly?
Best option would be steam to fix this problem by moving default location on every game so standard setup always can find the binary. And also fix that they dont push an update on srcds_run afterwards for us that want to tweak and fix little ourselfes. Then we would not need config files or bash solutions. //Daniel ET(ET, Lin) skrev 2011-05-10 10:40: Hi, I'm running HLDS server on linux, mainly TF2. It tells me cannot find the path to steam, so I manually add the path in orangebox/srcds_run, set STEAM=my/path insideinit() { }. But it seems to get overridden after an update. Can anyone tell me what's the correct way to set it? Thanks! Best Regards, // ET.Lin ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
[hlds_linux] Replay Overview for Server Operators / FAQ
http://forums.steampowered.com/forums/showthread.php?p=22333197#post22333197 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Replay Overview for Server Operators / FAQ
Excellent reference material. thanks. I have a question. You mentioned: Once you've edited the config files, you can test everything by start a dedicated server, making sure to include *+exec replay.cfg* to the command line parameters. Would there be any issues using in a server.cfg ? Adding exec relay.cfg to it. This way i would think if they comment out exec relay.cfg in the server.cfg the relay system would not be loaded on a map change. Of course the replay_enable would need to be set to 0 by default. Also what about this: *Will shutting down my server mess up Replays?* If you shut down your server using the exit command, it should publish any data it needs to and shut down gracefully. Does that include using the command quit ? On Tue, May 10, 2011 at 5:03 PM, Jon Lippincott j...@valvesoftware.comwrote: http://forums.steampowered.com/forums/showthread.php?p=22333197#post22333197 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] replay feature
Looking into it - thanks. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Kaspars Sent: Tuesday, May 10, 2011 12:41 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] replay feature I just wanted to inform, that there is a small issue with path names on linux servers. If I have set the replay_local_fileserver_path cvar to a directory which contains uppercase characters, the replay feature fails. replay_local_fileserver_path /opt/SRCDS.tf2main/replay_files replay_enable 1 ... (a lot of stuff) ... * Fileserver type:Local Web server * Path: /opt/srcds.tf2main/replay_files/ * * Source file exists?..OK * Checking fileserver path.FAILED Fileserver path '/opt/srcds.tf2main/replay_files/' invalid (see replay_local_fileserver_path)* * * ** ERROR: Fileserver path '/opt/srcds.tf2main/replay_files/' invalid (see replay_local_fileserver_path) * strace report: open(/opt/SRCDS.tf2main/orangebox/tf/replay/server/tmp/testpublish_7483.tmp, O_RDWR|O_CREAT|O_TRUNC, 0666) = 21 stat64(/opt/SRCDS.tf2main/orangebox/tf/replay/server/tmp/testpublish_7483.tmp, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 stat64(/opt/SRCDS.tf2main/orangebox/tf/replay/server/tmp/testpublish_7483.tmp, {st_mode=S_IFREG|0644, st_size=1024000, ...}) = 0 stat64(/opt/srcds.tf2main/replay_files, 0xbf9b8404) = -1 ENOENT (No such file or directory) open(/opt/srcds.tf2main, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat64(/opt/srcds.tf2main/replay_files, 0xbf9b8404) = -1 ENOENT (No such file or directory) ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] New Replay feature listening on 27040
I can potentially change the default port for replay. If anyone has a preference please let me know. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Daniel Nilsson Sent: Tuesday, May 10, 2011 8:42 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] New Replay feature listening on 27040 change replay_port Done through server.cfg or startupcommand? //Daniel ics skrev 2011-05-09 21:32: Also, find replay into server console gives you lots of more options that were not mentioned in update notes. -ics 9.5.2011 22:22, AnAkIn . kirjoitti: Change the replay_port cvar. 2011/5/9rep...@servon.dk Hi, after the new Counter-Strike Source update, our servers now listens on port 27040 and so forth, which is a big issue, because we have servers running from port 27015-27060. Isn't there a command to disable this replay feature, so it doesn't listen on that port? Regards, Lasse Poulsen servON.dk ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Replay Overview for Server Operators / FAQ
Do me a favor and direct questions related to the overview/FAQ to the forums. -Jon -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of clad iron Sent: Tuesday, May 10, 2011 2:25 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Replay Overview for Server Operators / FAQ Excellent reference material. thanks. I have a question. You mentioned: Once you've edited the config files, you can test everything by start a dedicated server, making sure to include *+exec replay.cfg* to the command line parameters. Would there be any issues using in a server.cfg ? Adding exec relay.cfg to it. This way i would think if they comment out exec relay.cfg in the server.cfg the relay system would not be loaded on a map change. Of course the replay_enable would need to be set to 0 by default. Also what about this: *Will shutting down my server mess up Replays?* If you shut down your server using the exit command, it should publish any data it needs to and shut down gracefully. Does that include using the command quit ? On Tue, May 10, 2011 at 5:03 PM, Jon Lippincott j...@valvesoftware.comwrote: http://forums.steampowered.com/forums/showthread.php?p=22333197#post22333197 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] How to set steam path correctly?
There is an option -steambin that allows you to specify the full path to the binary. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Daniel Nilsson Sent: Tuesday, May 10, 2011 1:03 PM To: hlds_linux@list.valvesoftware.com Subject: Re: [hlds_linux] How to set steam path correctly? Best option would be steam to fix this problem by moving default location on every game so standard setup always can find the binary. And also fix that they dont push an update on srcds_run afterwards for us that want to tweak and fix little ourselfes. Then we would not need config files or bash solutions. //Daniel ET(ET, Lin) skrev 2011-05-10 10:40: Hi, I'm running HLDS server on linux, mainly TF2. It tells me cannot find the path to steam, so I manually add the path in orangebox/srcds_run, set STEAM=my/path insideinit() { }. But it seems to get overridden after an update. Can anyone tell me what's the correct way to set it? Thanks! Best Regards, // ET.Lin ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Replay Overview for Server Operators / FAQ
I believe that setting replay_enable 1 will enable replays the next time a map is loaded. So setting it in server.cfg will continually reinitialize the replay system and never activate it. I tried doing this myself when setting up our servers and wondered why replays weren't working. So you want to initialize it once at start up using +exec replay.cfg on the command line. To turn the replays on and off you should use rcon. M. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of clad iron Sent: Tuesday, May 10, 2011 2:25 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Replay Overview for Server Operators / FAQ Excellent reference material. thanks. I have a question. You mentioned: Once you've edited the config files, you can test everything by start a dedicated server, making sure to include *+exec replay.cfg* to the command line parameters. Would there be any issues using in a server.cfg ? Adding exec relay.cfg to it. This way i would think if they comment out exec relay.cfg in the server.cfg the relay system would not be loaded on a map change. Of course the replay_enable would need to be set to 0 by default. Also what about this: *Will shutting down my server mess up Replays?* If you shut down your server using the exit command, it should publish any data it needs to and shut down gracefully. Does that include using the command quit ? On Tue, May 10, 2011 at 5:03 PM, Jon Lippincott j...@valvesoftware.comwrote: http://forums.steampowered.com/forums/showthread.php?p=22333197#post22333197 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] Replay Overview for Server Operators / FAQ
Adding it in the server.cfg will work. During waiting for players it was not enabled, but after waiting for players, during the setup time, it was enabled using. This is what I experienced when trying this. On Tue, May 10, 2011 at 6:11 PM, Milton Ngan mil...@valvesoftware.comwrote: I believe that setting replay_enable 1 will enable replays the next time a map is loaded. So setting it in server.cfg will continually reinitialize the replay system and never activate it. I tried doing this myself when setting up our servers and wondered why replays weren't working. So you want to initialize it once at start up using +exec replay.cfg on the command line. To turn the replays on and off you should use rcon. M. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto: hlds_linux-boun...@list.valvesoftware.com] On Behalf Of clad iron Sent: Tuesday, May 10, 2011 2:25 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Replay Overview for Server Operators / FAQ Excellent reference material. thanks. I have a question. You mentioned: Once you've edited the config files, you can test everything by start a dedicated server, making sure to include *+exec replay.cfg* to the command line parameters. Would there be any issues using in a server.cfg ? Adding exec relay.cfg to it. This way i would think if they comment out exec relay.cfg in the server.cfg the relay system would not be loaded on a map change. Of course the replay_enable would need to be set to 0 by default. Also what about this: *Will shutting down my server mess up Replays?* If you shut down your server using the exit command, it should publish any data it needs to and shut down gracefully. Does that include using the command quit ? On Tue, May 10, 2011 at 5:03 PM, Jon Lippincott j...@valvesoftware.com wrote: http://forums.steampowered.com/forums/showthread.php?p=22333197#post22333197 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
[hlds_linux] Team Fortress 2 Update Released
An optional update for Team Fortress 2 is now available. The specific changes include: - Removed the ability to delete the craft count attribute from items - Made the Hottie's Hoodie craftable - Replay - Fixed a server lockup during data cleanup - Fixed a viewmodel fov bug during rendering - Renamed the ConVar replay_demolifespan to replay_data_lifespan Jason ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] New Replay feature listening on 27040
i would prefeer low port numbers like 9000 and so on... Den 10 maj 2011 22.35 skrev Jon Lippincott j...@valvesoftware.com: I can potentially change the default port for replay. If anyone has a preference please let me know. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto: hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Daniel Nilsson Sent: Tuesday, May 10, 2011 8:42 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] New Replay feature listening on 27040 change replay_port Done through server.cfg or startupcommand? //Daniel ics skrev 2011-05-09 21:32: Also, find replay into server console gives you lots of more options that were not mentioned in update notes. -ics 9.5.2011 22:22, AnAkIn . kirjoitti: Change the replay_port cvar. 2011/5/9rep...@servon.dk Hi, after the new Counter-Strike Source update, our servers now listens on port 27040 and so forth, which is a big issue, because we have servers running from port 27015-27060. Isn't there a command to disable this replay feature, so it doesn't listen on that port? Regards, Lasse Poulsen servON.dk ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] New Replay feature listening on 27040
Or... no port number. What is it needed for? A relic of SourceTV? Get rid of it. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of daniel jokiaho Sent: Tuesday, May 10, 2011 7:28 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] New Replay feature listening on 27040 i would prefeer low port numbers like 9000 and so on... Den 10 maj 2011 22.35 skrev Jon Lippincott j...@valvesoftware.com: I can potentially change the default port for replay. If anyone has a preference please let me know. -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto: hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Daniel Nilsson Sent: Tuesday, May 10, 2011 8:42 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] New Replay feature listening on 27040 change replay_port Done through server.cfg or startupcommand? //Daniel ics skrev 2011-05-09 21:32: Also, find replay into server console gives you lots of more options that were not mentioned in update notes. -ics 9.5.2011 22:22, AnAkIn . kirjoitti: Change the replay_port cvar. 2011/5/9rep...@servon.dk Hi, after the new Counter-Strike Source update, our servers now listens on port 27040 and so forth, which is a big issue, because we have servers running from port 27015-27060. Isn't there a command to disable this replay feature, so it doesn't listen on that port? Regards, Lasse Poulsen servON.dk ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux