ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.71k stars 626 forks source link

Server tried to send invalid command:"spk ...." #602

Closed ghost closed 11 years ago

ghost commented 11 years ago

1) This seems to only affect the most recent Beta updates.

2) This problem only exists with a few .WAV files in the popular female sounds pack, BUT NOT every .WAY file in that pack.

3) All of these sounds, both the working and the non-working, are invoked from an amxmodx plugin via this method: client_cmd(players[i], "spk %s", sound)

Of all the female sounds, only 4 sounds consistently produce these errors: Server tried to send invalid command:"spk misc/female/f_megakill.wav Server tried to send invalid command:"spk misc/female/f_multikill.wav Server tried to send invalid command:"spk misc/female/f_monsterkill.wav Server tried to send invalid command:"spk misc/female/f_ludacrisskill.wav

Any idea on what could cause only those 4 sounds to fail?

Thanks!

-EP

] version Protocol version 48 Exe version 1.1.2.7/Stdio (cstrike) Exe build: 10:34:27 Feb 21 2013 (5964)

alfred-valve commented 11 years ago

The "kill" string in the names of the wav's is tripping the bad stuff command filter. I'll work on the filter.

ghost commented 11 years ago

Thank you for the fast response @alfred-valve your efforts are much appreciated by many.