Raised This Month: $ Target: $400
 0% 

Anti Sven Coop Drop Plugin [Version 3]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Sven Coop        Category:   Server Management       
LeGone
Senior Member
Join Date: Dec 2006
Location: Germany
Old 01-01-2007 , 08:26   Anti Sven Coop Drop Plugin [Version 3]
Reply With Quote #1

This plugin is against the Bugs with dropping Weapons in #5. Thats the bug who any player can drop unlimited Snarks, or Stachels(can also crash server).
Simple Plugin, player cannot drop that 4 weapons anymore, so there is no bug anymore
Plugin is for Svencoop

amx_candrophandgrenade | Default 1
amx_candroptripmine | Default 1
amx_candropsnarks | Default 0
amx_candropsatchels | Default 1
amx_cannotdroptext | Default [ASCDP] Sorry, you canīt drop this weapon.
amx_cannotdropwaittime | Default 150

amx_cannotdropwaittime is the time a player have to wait for drop something after selecting a weapon, that will stop the 2second bug
"weapon_snark;drop" ;)
If you want to change, you can change it, but ... that are NOT seconds !

This is my first plugin

Version 3
bugs fixed
Attached Files
File Type: sma Get Plugin or Get Source (ASCDP.sma - 953 views - 2.1 KB)

Last edited by LeGone; 01-10-2007 at 15:21.
LeGone is offline
neogeo
Senior Member
Join Date: Jul 2005
Old 01-01-2007 , 08:49   Re: Anti Snark Bug
Reply With Quote #2

thanks
neogeo is offline
LeGone
Senior Member
Join Date: Dec 2006
Location: Germany
Old 01-01-2007 , 12:41   Re: Anti Sven Coop Drop Plugin
Reply With Quote #3

thx, but the plugin is a simple weapon drop restrict ^^
and itīs not tested
LeGone is offline
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 01-01-2007 , 13:36   Re: Anti Sven Coop Drop Plugin
Reply With Quote #4

instead of stoping it completely, i recommend that you limit it to droping it once or so.
__________________
Don't ever place an order with Vee Servers. This is why.
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
LeGone
Senior Member
Join Date: Dec 2006
Location: Germany
Old 01-01-2007 , 17:06   Re: Anti Sven Coop Drop Plugin
Reply With Quote #5

But that will not stop the snark bug, thats only a little Plugin, hope someone can rewrite it ^^
LeGone is offline
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 01-03-2007 , 14:22   Re: Anti Sven Coop Drop Plugin
Reply With Quote #6

Nice! thanks for this. I have been waiting for such plugin. Many people are using the glitches / bugs on my server. + karma for you .
__________________

Last edited by Skyrider; 01-03-2007 at 14:33.
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
LeGone
Senior Member
Join Date: Dec 2006
Location: Germany
Old 01-03-2007 , 14:54   Re: Anti Sven Coop Drop Plugin
Reply With Quote #7

you tested it ? (thx for karma^^)
LeGone is offline
Trent-Resnor
Member
Join Date: Jan 2007
Location: Ontario, Canada
Old 01-04-2007 , 13:44   Re: Anti Sven Coop Drop Plugin
Reply With Quote #8

Not bad, didn't know that snark bug could crash the little sven servers

Anywho, you do know you can pull the same glitch with all weapons right? for instance the rpg... You shoot the last one and drop it at the same time. pick it up you got 1 more.

EDIT: +1 Karma for trying...

Last edited by Trent-Resnor; 01-04-2007 at 13:51.
Trent-Resnor is offline
Send a message via MSN to Trent-Resnor
VEN
Veteran Member
Join Date: Jan 2005
Old 01-04-2007 , 14:33   Re: Anti Sven Coop Drop Plugin
Reply With Quote #9

You should:
1. Fix the warning.

2. Use PCvar system, more info: http://wiki.amxmodx.org/index.php/AM...#CVAR_Pointers

Also i'd recommend to not hardcode the weapon indexes. This is from the HLSDK:
Code:
#define WEAPON_HANDGRENADE              12 #define WEAPON_TRIPMINE                 13 #define WEAPON_SATCHEL                  14 #define WEAPON_SNARK                    15

Last edited by VEN; 01-04-2007 at 19:03.
VEN is offline
LeGone
Senior Member
Join Date: Dec 2006
Location: Germany
Old 01-04-2007 , 17:58   Re: Anti Sven Coop Drop Plugin
Reply With Quote #10

updated code, is it ok now ?
(your link is wrong )

Last edited by LeGone; 01-04-2007 at 18:21.
LeGone is offline
Reply



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 04:26.


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