I have founded two things in this plugin, that, IMHO, are glitches.
The first glitch concerns buying a new defuse kit. For example, if I set new defuse kit’s price to 2500 and I will use say /defuse command to buy it, then everything is fine. However, if I will die (or drop my new defuse kit, more below) and I would like to buy a normal defuse kit again, then instead of buying a normal defuse kit I am not only buying a new defuse kit, but it also costs me 200 (prize for a normal defuse kit) instead of 2500. And this thing is happening until next map is loaded, or a current map is reloaded (sv_restart command doesn’t help).
I have discovered a second glitch while I was testing this plugin with the Drop Defuser Kit plugin (
http://forums.alliedmods.net/showthread.php?p=57960). This is what happens. First, I have bought a normal defuse kit and dropped it, then I have bought a new defuse kit and dropped it too. And now, when I have picked up a normal defuse kit, I have picked up a new defuse kit instead of the normal one?
Also, I have a few suggestions, that, IMO, might improve this plugin
.
How about an ability to upgrade your normal defuse kit to the new one, for a price of course? This is how it could work: you have bought a normal defuse kit for a 200 and now you want to have the new kit which costs, for example, 1000, but you can’t buy it because you already have that normal kit. At this point you can upgrade your kit via the menu (witch is, for example, accessible by using say_team /kitupgrade command) to the new one by paying 800 (or any other value witch could be configured by a cvar) and there you go
. No need to risk your life (and a gun on witch you have collected so much cash
) just to deplete your defuse kit on that C4. You can just simply perform an upgrade in a buy zone (or everywhere. This could depend by setting an other cvar).
How about an adding a say_team /defuse command, so only CTs would know that I have bought a better version of a defuse kit?
And I suggest to add a little improvement to bot support. I mean, everything is fine
, but if a bot will deplete his defuse kit on a bomb, he won’t buy another defuser, because he thinks, that he still has one. You can imagine what may happen if a defuse_block is set to 1
. And he will only attempt to buy it again, if he gets killed. I think that a setting that would force a bots to attempt to buy a defuse kits at the beginning of each round (even if they already have one) would solve this.