Raised This Month: $9 Target: $400
 2% 

[L4D2] Block manual idle


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Alex101192
Senior Member
Join Date: Aug 2018
Plugin ID:
7178
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Stops players from going idle no matter what they use (console, vocalizer, pause menu).
    Unapprover:
    Reason for Unapproving:
    No source.
    Old 06-30-2020 , 04:13   [L4D2] Block manual idle
    Reply With Quote #1

    Just a small modification I made of the idle fix plugin. Instead of having idle blocked only on certain conditions, in this one it will be fixed for ever. The only way to go idle is to stay afk and have the server put you in it.

    I made this because there is just so much exploits that can be done with it, that the original plugin just was not enough.

    I am not posting the source code because I lost it long time ago, but I still use this compiled version. So just wanted to share for anyone who would like to use it.
    Blocked Attachments
    File Type: smx noidle.smx

    Last edited by Alex101192; 06-30-2020 at 04:19.
    Alex101192 is offline
    Firebred
    Junior Member
    Join Date: Oct 2019
    Old 07-01-2020 , 10:18   Re: [L4D2] Block manual idle
    Reply With Quote #2

    So when your plugin is loaded, does that mean someone cannot just click 'take a break' & go idle?
    Firebred is offline
    canadianjeff
    Member
    Join Date: Sep 2016
    Old 08-04-2020 , 21:48   Re: [L4D2] Block manual idle
    Reply With Quote #3

    my plugin is very similar the source code is provided and you can block unblock idle with a cvar
    canadianjeff is offline
    XJR15
    Senior Member
    Join Date: Sep 2010
    Old 09-18-2020 , 16:30   Re: [L4D2] Block manual idle
    Reply With Quote #4

    Can you or anyone provide a link to said Idle block plugin with the source code as this one was taken down due to no source code.

    thank you.
    __________________
    XJR15 is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Old 09-19-2020 , 09:06   Re: [L4D2] Block manual idle
    Reply With Quote #5

    Well I don't know if it would work but try adding

    PHP Code:
    public OnPluginStart()
    {
        
    RegConsoleCmd("go_away_from_keyboard"Command_AFK);

    and

    PHP Code:
    public Action:Command_AFK(clientargs)
    {
        return 
    Plugin_Handled;

    __________________

    Last edited by Marttt; 09-19-2020 at 09:06.
    Marttt is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-20-2020 , 12:27   Re: [L4D2] Block manual idle
    Reply With Quote #6

    Should be using AddCommandListener not RegConsoleCmd. Read the formers API description why.
    __________________
    Silvers is offline
    xZk
    Senior Member
    Join Date: Nov 2017
    Location: cl
    Old 09-20-2020 , 14:39   Re: [L4D2] Block manual idle
    Reply With Quote #7

    Here's an example: https://forums.alliedmods.net/showpo...47&postcount=6
    and in case anyone is interested I will shared an antispam version of the idle command, which can help prevent glitches of damage to the player
    Attached Files
    File Type: sp Get Plugin or Get Source (idle_antispam.sp - 9 views - 1.4 KB)

    Last edited by xZk; 09-20-2020 at 14:46.
    xZk 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:41.


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