Raised This Month: $150 Target: $400
 37% 

[ANY]Permanent Alltalk Vote


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Plugin ID:
1834
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Ask players about their alltalk preference and saves it. Sets alltalk on/off based on saved Values.
    Old 07-28-2010 , 01:47   [ANY]Permanent Alltalk Vote
    Reply With Quote #1

    Permanent Alltalk vote
    current version 0.0.4b

    Description:

    The plugins will ask the player once for his alltalk preference and saves it. 30 Seconds after the map began it will calculate if Alltalk will be on or off. Players who don't have yet set a preference are not counted in the calculation.

    Features:
    • Stores Preferences using Clientprefs
    • Players can change their preference by saying "!alltalk"
    • Percentage of people who need to vote for on/off adjustable by cvar
    • Generates Plugin Config
    • Broadcasts the result of the calculation (after the calculation and to late joiners)
    • timers adjustable by cvar
    Commands:
    • "!alltalk"
    Cvars:
    • perm_alltalk_version - Showing Version of the Plugin
    • perm_alltalk_percent - Percentage of people who need to vote for alltalk on in order to activate alltalk
    • perm_alltalk_show_info - Show information if alltalk is on/off to late joiners
    • perm_alltalk_info_delay - Delay between late joining the server and announcing if alltalk is on/off
    • perm_alltalk_calc_delay - Delay between late joining the server and announcing if alltalk is on/off
    • perm_alltalk_pref_delay - Delay between joing the server and asking the player for his preference if it is not set. Should be shorter that the calc delay
    Installation:
    • Place the parm_alltalk_vote.smx in the /sourcemod/plugins dir.
    • make sure clientprefs are activated and configured
    Changelog:
    Quote:
    0.0.4b
    Initial version based on Permanent Critvote: http://forums.alliedmods.net/showthread.php?t=130179
    Future Updates:
    • Translations
    Bugs:
    • currently none
    Notes:

    • currently none

    Thanks:

    r5053: for the original TF2 Critvote
    Grrrrrrrrrrrrrrrrrrr: for using cookies in his quake sounds [revamped] plugin..where I could look up infos on how to work with them

    Attached Files
    File Type: sp Get Plugin or Get Source (perm_alltalk_vote.sp - 771 views - 7.4 KB)
    __________________
    brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this


    www.unterwasserpyromanen.de

    Last edited by Matthias Vance; 08-20-2010 at 12:15. Reason: You forgot to add to set the public cvar in the thread.
    Sillium is offline
    KrAzyChe3To
    Junior Member
    Join Date: Jul 2010
    Old 08-18-2010 , 04:38   Re: [ANY]Permanent Alltalk Vote
    Reply With Quote #2

    This is EXACTLY what I have been looking for FOREVER because my plugins disable it everytime. THANK YOU!! Works GREAT
    KrAzyChe3To is offline
    Arthurp
    Junior Member
    Join Date: Mar 2010
    Old 10-31-2010 , 05:48   Re: [ANY]Permanent Alltalk Vote
    Reply With Quote #3

    Can I be a leach and ask for a highlander mode one as well ?
    Arthurp is offline
    Smarmy
    Senior Member
    Join Date: Mar 2012
    Old 10-17-2012 , 09:50   Re: [ANY]Permanent Alltalk Vote
    Reply With Quote #4

    What would one need to do to modify this to use something like the beginning of a round to perform the alltalk calculation rather than OnMapStart()? We have some 24/7 Map servers that run for a few hours and the number of people who like or dislike alltalk would surely change during that time.
    Smarmy is offline
    Sillium
    AlliedModders Donor
    Join Date: Sep 2008
    Location: Germany
    Old 10-18-2012 , 00:36   Re: [ANY]Permanent Alltalk Vote
    Reply With Quote #5

    This is untested but it should do the calculation part after (perm_alltalk_calc_delay) every round start.
    Attached Files
    File Type: sp Get Plugin or Get Source (perm_alltalk_vote.sp - 237 views - 8.2 KB)
    __________________
    brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this


    www.unterwasserpyromanen.de
    Sillium 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 14:54.


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