Since July I was working on metamod plugin "VoiceTranscoder", which corrects the voice problems of non steam (old clients) and steam (new clients) players.
This plugin should work on builds from 4382 to 6153. (maybe can work on earlier builds)
http://amxmodx.lt/viewtopic.php?f=7&t=449This plugin needs dproto 0.9.356 or more recent version of dproto.
This module don't work with miles voice codec.
Features:
Recoding from Speex (old clients codec) to SILK (new clients codec) and vice versa.
Increase the volume of voice (only for recoding, sv_voicevolume_speex and sv_voicevolume_silk cvars).
Prevent flood voice packets (sv_voicefloodms cvar, disabled by default).
CVARs:
sv_voicevolume_speex - for increase volume for Speex->SILK recoding (default value is 1.0)
sv_voicevolume_silk - for increase volume for SILK->Speex recoding (default value is 1.0)
sv_voicefloodms - for prevent flooding of voice packets (for example by speedhack), in milliseconds (that is minimal time between voice packets, default value is 0 disabled)
Installation:
1. Go to your <gamedir> (for example "valve" or "cstrike") and copy there folder "addons" from the archive.
2. Then go to your metamod directory (for default is <gamedir>/addons/metamod/) and add after dproto into plugins.ini :
For windows:
Code: Select all
win32 addons\vtc\vtc.dll
Code: Select all
linux addons/vtc/vtc.so
Module running, but players can't speak (Bad liblist.gam).
To fix that problem you need to comment or remove these strings in liblist.gam:
Code: Select all
gamedll "dlls\mp.dll"gamedll "dlls\hl.dll"gamedll_linux "dlls/cs_i386.so"gamedll_linux "dlls/hl_i386.so"gamedll_linux "dlls/cs.so"
How to install new version without restart server:
1.Type in console:
2. Then update files (vtc.dll / vtc.so)meta unload VoiceTranscoder
3. Type "meta load <path>" where <path> is a path to VoiceTranscoder module, by default path is addons\vtc\vtc.dll (windows) or addons/vtc/vtc.so (linux)
For example, for windows:
For linux:meta load addons\vtc\vtc.dll
4. And now profit! or ... sometimes server can crashmeta load addons/vtc/vtc.so
In case of problems:
1. Install new version of plugin
2. Describe your problem
3. Tell build of server and platform
4. Write content of liblist.gam
5. And content of meta list and meta version
6. Attach your vtc.log (from logs folder)
Changelog
79-80
Add extra logging (logs/vtc.log)
Direct set sv_voicecodec to voice_speex (if sv_voicecodec not equal voice_speex)
sv_voicefloodms default value is 0 (i think temporarily)
78-79
Fixed bug with sv_voicefloodms cvar (players can't speak after change map)
Current version: 80
Attachment: download
http://cs.rin.ru/forum/download/file.php?id=14857
HLDS VoiceTranscoder v80
http://cs.rin.ru/forum/viewtopic.php?f=10&t=63814