Raised This Month: $32 Target: $400
 8% 

[ANY] VoiceannounceEX (VoiceHook) [Updated 20-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
ayrton09_arg
Senior Member
Join Date: Nov 2017
Old 07-09-2020 , 05:51   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #131

Quote:
Originally Posted by ayrton09_arg View Post
Pls someone update gamedata for cs:s.
i tried to find these offsets but seems like they are missing on the page, there is a way to get these offsets for cs:s windows?
ayrton09_arg is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 08-11-2020 , 12:29   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #132

in forums
Code:
/**
 *
 * Called when a client is speaking.
 *
 * @param client	The index of the client that is speaking.
 *
 * @return			True to allow the client to talk, false otherwise.
 *
 */

forward bool:OnClientSpeakingEx(client);
in github
Code:
/**
 *
 * Called while a client is speaking.
 *
 *	@param client	Client index.
 *
 * @noreturn
 *
 */

forward void OnClientSpeakingEx(int client);
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-11-2020 , 13:34   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #133

Updated first post.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-21-2020 , 11:15   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #134

I try to hook client speaking, but doesn't work in l4d1 sourcemod v1.10.
PHP Code:
public void OnClientSpeakingEx(int client)
{
    
PrintToChatAll("%N is speaking",client); // server never prints this line
    
ClientSpeakingTime[client] = true;

Spoiler
__________________

Last edited by HarryPotter; 08-21-2020 at 11:24.
HarryPotter is offline
NiTro1
Member
Join Date: Sep 2015
Location: france
Old 10-23-2020 , 13:54   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #135

Quote:
Originally Posted by HarryPotter View Post
I try to hook client speaking, but doesn't work in l4d1 sourcemod v1.10.
PHP Code:
public void OnClientSpeakingEx(int client)
{
    
PrintToChatAll("%N is speaking",client); // server never prints this line
    
ClientSpeakingTime[client] = true;

Spoiler
For L4d1 & L4d2 the offset OnVoiceTransmit is removed and they use only the ProcessVoiceData offset now.
So to make this plugin work for those games you should edit a line in the plugin and recompile it :
Code:
g_bUseVoiceTransmit = (GetEngineVersion() == Engine_CSGO || GetEngineVersion() == Engine_Left4Dead || GetEngineVersion() == Engine_Left4Dead2 || GetEngineVersion() ==  Engine_Insurgency);
Change to :
Code:
g_bUseVoiceTransmit = (GetEngineVersion() == Engine_CSGO || GetEngineVersion() ==  Engine_Insurgency);
After the last L4D2 update the plugin is causing crashes and freezes even though all the offsets are up to date. They changed something for the voice function and i cant find out what.
NiTro1 is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 10-24-2020 , 03:13   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #136

For both L4D games, use Accelerator's extension as an alternative for this.
cravenge is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 10-30-2020 , 13:45   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #137

Quote:
Originally Posted by cravenge View Post
For both L4D games, use Accelerator's extension as an alternative for this.
thanks, it works .


Source code: https://github.com/fbef0102/L4D2-Plu...aster/show_mic
__________________

Last edited by HarryPotter; 04-13-2021 at 10:05.
HarryPotter is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 11-18-2020 , 22:13   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #138

This script improves server crushes on win os..

Last edited by ZASTRELIS; 11-18-2020 at 22:14.
ZASTRELIS is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 11-23-2020 , 20:26   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #139

Updated signature and offset for windows version of counter strike source:


PHP Code:
        "Addresses"
        
{
            
"CBaseServer"
            
{
                
"windows"
                
{
                    
"signature"    "CVEngineServer::CreateFakeClient"                
                    "read"        "7"
                
}
            }
        } 
....

PHP Code:
        "Signatures"
        
{
            
"CVEngineServer::CreateFakeClient"
            
{
                
"library"    "engine"
                "windows"    "\x55\x8B\xEC\xFF\x75\x08\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0"
            
}
        } 
backwards is offline
klikk
Member
Join Date: Apr 2021
Old 09-22-2021 , 14:11   Re: [ANY] VoiceannounceEX (VoiceHook) [Updated 3-Jul-2020]
Reply With Quote #140

I think since the new update (Riptide) on csgo, this plugin needs update too. am i wrong? one of my plugin which requires this plugin, stops working...

Last edited by klikk; 09-22-2021 at 18:15.
klikk is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode