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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
4294
Plugin Version:
2.3.1
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    279 
    Plugin Description:
    Plugin for hook voice chat with a easy API for developers
    Old 08-01-2014 , 03:32   [ANY] VoiceannounceEX (VoiceHook) [Updated 20-Dec-2022]
    Reply With Quote #1

    Description:

    Plugin for hook voice chat with a easy API for developers.

    This plugin has become very popular so I decided to release it in a new topic for give it a better support and add my new version of this plugin that have CS:GO support, a new native and some others changes.


    Requeriments:

    DHooks


    Natives:
    Code:
    /**
     *
     * Checks whether a client is speaking or not.
     *
     * @param client 	The client index to check against.
     *
     * @error 			Client is not valid, ingame, or client is a bot.
     *
     * @return 			True if client is speaking, false otherwise.
     *
     */
    
    native bool IsClientSpeaking(int client);
    
    /**
     *
     * Called while a client is speaking.
     *
     *	@param client	Client index.
     *
     * @noreturn
     *
     */
    
    forward void OnClientSpeakingEx(int client);
    
    /**
     *
     * Called when a client ends speaking.
     *
     * @param client	Client index.
     *
     * @noreturn
     *
     */
    forward void OnClientSpeakingEnd(int client);

    Plugins that currently use this API:

    Voice Amount Anti-lag
    Jail Captain
    TF2Jail


    Credits:

    GoD-Tony - for the compatibily with CSS, TF2 and l4d2
    Mini - For make code that implement it with natives


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    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.


    Last edited by Franc1sco; 12-20-2022 at 12:12.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    robotortoise
    Senior Member
    Join Date: Nov 2013
    Old 08-01-2014 , 03:42   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #2

    Awesome!

    I'm assuming this supports the new TF2 codec, right?
    __________________
    -Robotortoise [Palutena's Bro]

    If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

    Contact me via Steam

    I don't bite.


    How to loop and compress .wav files

    Me and my friends' server
    robotortoise is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 08-01-2014 , 03:48   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #3

    Quote:
    Originally Posted by robotortoise View Post
    Awesome!

    I'm assuming this supports the new TF2 codec, right?
    Mmmm no idea because I dont test it in TF2, but surely works in CS:S and CS:GO
    __________________
    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
    robotortoise
    Senior Member
    Join Date: Nov 2013
    Old 08-01-2014 , 03:51   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #4

    Quote:
    Originally Posted by Franc1sco View Post
    Mmmm no idea because I dont test it in TF2, but surely works in CS:S and CS:GO
    Well it's the same codec, right? The "sv_use_steam_voice" cvar.
    __________________
    -Robotortoise [Palutena's Bro]

    If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

    Contact me via Steam

    I don't bite.


    How to loop and compress .wav files

    Me and my friends' server
    robotortoise is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 08-01-2014 , 07:30   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #5

    this doesnt support any kind of codecs and likely it never will without an extension. by september ill release my voicehook that will have support for both speex and steam voice without 3rd party libraries and it will serve as a drop-in replacement for asherkin's voicehook
    __________________
    Taking private C++/PHP/SourcePawn requests, PM me.
    Zephyrus is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 08-01-2014 , 11:34   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #6

    Ok, will be good, while, they can using my plugin
    __________________
    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.


    Last edited by Franc1sco; 08-01-2014 at 11:37.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    robotortoise
    Senior Member
    Join Date: Nov 2013
    Old 08-01-2014 , 15:11   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #7

    Quote:
    Originally Posted by Zephyrus View Post
    this doesnt support any kind of codecs and likely it never will without an extension. by september ill release my voicehook that will have support for both speex and steam voice without 3rd party libraries and it will serve as a drop-in replacement for asherkin's voicehook
    Yay thank you
    __________________
    -Robotortoise [Palutena's Bro]

    If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

    Contact me via Steam

    I don't bite.


    How to loop and compress .wav files

    Me and my friends' server
    robotortoise is offline
    n3v3r23
    Junior Member
    Join Date: Dec 2013
    Old 08-02-2014 , 08:21   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #8

    thanks Franc1sco really nice job
    i was searching for something like that 3 months
    and waiting for more awesome plugins from you
    n3v3r23 is offline
    splewis
    Veteran Member
    Join Date: Feb 2014
    Location: United States
    Old 08-02-2014 , 13:09   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #9

    Interesting, I might use this as a way to detect mic spam (i.e. playing music) on my servers.

    Thanks!
    __________________
    splewis is offline
    robotortoise
    Senior Member
    Join Date: Nov 2013
    Old 08-02-2014 , 14:49   Re: [ANY] VoiceannounceEX (VoiceHook)
    Reply With Quote #10

    Quote:
    Originally Posted by splewis View Post
    Interesting, I might use this as a way to detect mic spam (i.e. playing music) on my servers.

    Thanks!
    Ironically, I was planning on using this plugin to make sure micspam on my servers was regulated.

    Heh.
    __________________
    -Robotortoise [Palutena's Bro]

    If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

    Contact me via Steam

    I don't bite.


    How to loop and compress .wav files

    Me and my friends' server
    robotortoise 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 01:15.


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