HLDS VoiceTranscoder v80

Metamod modulio pluginai.
Post Reply
smile
Jau perkopė 10 žinučių ribą !
Posts: 10
Joined: 2013 Nov 15 17:36

HLDS VoiceTranscoder v80

Post by smile »

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)
This plugin needs dproto 0.9.356 or more recent version of dproto.
http://amxmodx.lt/viewtopic.php?f=7&t=449
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:

Kodas: Select all

win32 addons\vtc\vtc.dll
For linux:

Kodas: Select all

linux addons/vtc/vtc.so
Known problems:
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:

Kodas: 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"
If this don't help, attach your liblist.gam

How to install new version without restart server:
1.Type in console:
meta unload VoiceTranscoder
2. Then update files (vtc.dll / vtc.so)
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:
meta load addons\vtc\vtc.dll
For linux:
meta load addons/vtc/vtc.so
4. And now profit! or ... sometimes server can crash

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

User avatar
aaarnas
Vyr. diskusijų administratorius
Posts: 3891
Joined: 2010 Aug 31 13:21
Skype: fiarno
Contact:

Re: HLDS VoiceTranscoder v80

Post by aaarnas »

Bent jau buvo galima išversti ir failus forume patalpinti. Žinom, kaip cs.rin mėgsta pradingti iš interneto.
Palikau CS pasaulį ;/ . Nebepasiekiamas.

GhostMan
Gana aktyvus vartotojas
Posts: 311
Joined: 2012 Jun 30 17:52

Re: HLDS VoiceTranscoder v80

Post by GhostMan »

Mėginot kasnors, kaip veikia?
NWK.LT Counter-Strike 1.6 Serveriai:
  • War3FT ★ [url=steam://connect/cs.nwk.lt:27015]cs.nwk.lt:27015[/url]
  • JailBreak ★ [url=steam://connect/cs.nwk.lt:27016]cs.nwk.lt:27016[/url]
  • Public ★ [url=steam://connect/cs.nwk.lt:27017]cs.nwk.lt:27017[/url]
  • DeathRun ★ [url=steam://connect/cs.nwk.lt:27018]cs.nwk.lt:27018[/url]
  • Hide'N'Seek ★ [url=steam://connect/cs.nwk.lt:27019]cs.nwk.lt:27019[/url]

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: HLDS VoiceTranscoder v80

Post by laimiukas3 »

HLDS VoiceTranscoder v106
mano cvars :)

Kodas: Select all

vtc_log "0"sv_voicecodec voice_speexsv_voicequality "5"sv_voicevolume_speex "0.5"sv_voicevolume_silk "0.5"sv_voicefloodms "0"

new
vtc_log [0/1]
vtc_logdir "direktorija"
Attachments
3987_VoiceTranscoder.zip
(398.87 KiB) Downloaded 534 times
Image
Image
Image

smile
Jau perkopė 10 žinučių ribą !
Posts: 10
Joined: 2013 Nov 15 17:36

Re: HLDS VoiceTranscoder v80

Post by smile »

HLDS VoiceTranscoder v302 Linux
HLTV Demo fix
http://non-steam.ru/?p=247
Attachments
VoiceTranscoder302linux.rar
HLDS VoiceTranscoder v302 Linux
(160.71 KiB) Downloaded 254 times
VTC_Fix.sma
HLTV DEMO VOICE FIX
(13.24 KiB) Downloaded 720 times

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: HLDS VoiceTranscoder v80

Post by laimiukas3 »

New version 2.0RC1:
Added new cvar VTC_ForceSendHLTV
Added API for plugins
Improved SILK codec

VoiceTranscoder 2017 RC3 (fix archive)
Attachments
VoiceTranscoder.zip
VoiceTranscoder 2017 RC3 (fix archive)
(1.36 MiB) Downloaded 342 times
VoiceTranscoder_2017_RC2.rar
VEIKAI SU REHLDS API 3.
(812.87 KiB) Downloaded 325 times
revoice_0.1.25.zip
Skirta ReHLDS
(549.45 KiB) Downloaded 291 times
Image
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest