Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[HL2DM] snd_restart crashes the game

Open kotaKew opened this issue 13 years ago • 8 comments

Since the Steampipe update typing snd_restart in the console crashes the game. This command is very useful because often sound effects get caught in an endless loop.

Error Message: http://abload.de/img/snd_restartfyut0.png

kotaKew avatar May 25 '13 16:05 kotaKew

For a real-world example of where this command is frequently used: https://github.com/ValveSoftware/Source-1-Games/issues/223

Pricetx avatar May 26 '13 00:05 Pricetx

#351 is the same report for TF2

johndrinkwater avatar Jul 18 '13 07:07 johndrinkwater

I want to say that crash do not happen on sv_pure 0 servers. The game 100% crashes if you are connected to sv_pure 2 server. This is terrible bug, because if you a playing a match on pure server and the sound looping happens, you have to pause the game and reconnect. Please fix it and fix sound loops

gavvvr avatar Jul 22 '13 15:07 gavvvr

server side fix: commenting this line scripts\soundmixers.txt trusted_source in /cfg/pure_server_full.txt

adelina1985a avatar Dec 16 '13 08:12 adelina1985a

Closing as this appears to be fixed.

kisak-valve avatar Dec 23 '16 15:12 kisak-valve

This is still a problem on many servers, even after adding that whitelisting.

Xeogin avatar Apr 16 '17 04:04 Xeogin

To recreate problem: Set server to sv_pure 1, and have scripts/sound mixers.txt either not defined or set to trusted_ source in the whitelist, then executing snd_restart in console will crash game. Setting the server to sv_pure 2 or setting scripts/sound mixers.txt to "any" the game executes snd_restart successfully.

Xeogin avatar Apr 16 '17 14:04 Xeogin

well pure_server_full I think goes for sv_pure 2, the other files in there are for pure 1 and 0

adelina1985a avatar Feb 11 '18 04:02 adelina1985a