AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Block Pistol Spam (https://forums.alliedmods.net/showthread.php?t=121483)

Mr. Zero 03-16-2010 04:24

[L4D2] Block Pistol Spam
 
1 Attachment(s)
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


Mr. Zero 03-16-2010 04:26

Re: [L4D2] Block Pistol Spam
 
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.

egor1908 03-16-2010 04:35

Re: [L4D2] Block Pistol Spam
 
Thanks, another great plugin from Mr. Zero!

Visual77 03-16-2010 05:12

Re: [L4D2] Block Pistol Spam
 
Nice. Thanks.

jking 04-23-2012 10:39

Re: [L4D2] Block Pistol Spam
 
Is this even necessary any longer given recent game updates?

Visual77 04-23-2012 17:31

Re: [L4D2] Block Pistol Spam
 
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 :)

matrixmark 04-24-2012 04:58

Re: [L4D2] Block Pistol Spam
 
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.

ChaoMaster 04-24-2012 22:21

Re: [L4D2] Block Pistol Spam
 
Didn't know about this bug yet, managed to pull it off, but only if you have 2 pistols.

thetwistedpanda 04-24-2012 22:46

Re: [L4D2] Block Pistol Spam
 
Does L4D2 have the cvar sv_allow_wait_command ?

Visual77 04-25-2012 06:29

Re: [L4D2] Block Pistol Spam
 
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.


All times are GMT -4. The time now is 20:46.

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