Raised This Month: $78 Target: $400
 19% 

[L4D2] Block Pistol Spam


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Plugin ID:
1531
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    28 
    Plugin Description:
    Prevents people from mass spawning pistols by using an exploit
    Old 03-16-2010 , 04:24   [L4D2] Block Pistol Spam
    Reply With Quote #1

    Block Pistol Spam

    About:
    If you havent seen this exploit in live action, count yourself lucky. Its a weird/laggy exploit.

    The laggy part is because is what the exploit does. What happens is player picks up a melee weapon, finds a pistol and there we. Unlimited pistols.
    The player just keep spamming +use upon dropping the melee weapon and getting the pistol in the hand. Somehow this produces an extra pistol.

    This equal massive lag as the server is trying to calculate all these falling pistol in the same place.

    Now the weird part is not on how this pistol just enters the world. Its more because I noticed that neither item_pickup nor spawner_give_item triggers when pistol gets picked up O.o
    So I had to go with player_use and check the entity net class of the entity that is being used. If so block +use for 0.3 seconds.

    Description:
    Prevents people from mass spawning pistols by using an exploit
    Changelog:
    Code:
    Version 1.0
    Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (BlockPistolSpam.sp - 1434 views - 1.4 KB)
    Mr. Zero is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 03-16-2010 , 04:26   Re: [L4D2] Block Pistol Spam
    Reply With Quote #2

    The following script is completely only for testing purposes. Use with caution!

    Code:
    alias +usespam "alias usespam dousespam; dousespam"
    alias -usespam "alias usespam "
    alias dousespam "+use; wait 3; -use; wait 3; usespam"
    bind b +usespam
    With this you can do the above explained exploit. Just keep spamming +use once you have a melee weapon and a pistol.
    Mr. Zero is offline
    egor1908
    Veteran Member
    Join Date: Sep 2009
    Location: Russia
    Old 03-16-2010 , 04:35   Re: [L4D2] Block Pistol Spam
    Reply With Quote #3

    Thanks, another great plugin from Mr. Zero!
    egor1908 is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 03-16-2010 , 05:12   Re: [L4D2] Block Pistol Spam
    Reply With Quote #4

    Nice. Thanks.
    Visual77 is offline
    jking
    Senior Member
    Join Date: Jan 2012
    Old 04-23-2012 , 10:39   Re: [L4D2] Block Pistol Spam
    Reply With Quote #5

    Is this even necessary any longer given recent game updates?
    jking is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 04-23-2012 , 17:31   Re: [L4D2] Block Pistol Spam
    Reply With Quote #6

    valve hasn't patched this exploit and it can be used to crash servers, so yes, it's still neccessery.
    the exploit dosn't even require a script. if u have a melee and a pistol on floor, just spam E and you'll soon start seeing a hundred pistols

    Last edited by Visual77; 04-23-2012 at 17:55.
    Visual77 is offline
    matrixmark
    Senior Member
    Join Date: Jun 2010
    Old 04-24-2012 , 04:58   Re: [L4D2] Block Pistol Spam
    Reply With Quote #7

    Thanks for this plugin, witnessed this by a bunch of.....idjits on my lfd 2 server last night. Luckily I was watching them via HLSW and was able to boot them.
    matrixmark is offline
    ChaoMaster
    BANNED
    Join Date: Apr 2012
    Old 04-24-2012 , 22:21   Re: [L4D2] Block Pistol Spam
    Reply With Quote #8

    Didn't know about this bug yet, managed to pull it off, but only if you have 2 pistols.
    ChaoMaster is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 04-24-2012 , 22:46   Re: [L4D2] Block Pistol Spam
    Reply With Quote #9

    Does L4D2 have the cvar sv_allow_wait_command ?
    __________________
    thetwistedpanda is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 04-25-2012 , 06:29   Re: [L4D2] Block Pistol Spam
    Reply With Quote #10

    it does but this exploit dosn't require the script at all. just the use button, a melee weapon and a pistol/magnum.
    keep picking the melee and the pistol up once they fall to the ground and there you go. dosn't require the wait script mr zero is talking about.

    Last edited by Visual77; 04-25-2012 at 08:07.
    Visual77 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 11:10.


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