[CS:S] Anti-Nade-Spam v2.3.6 (Updated: 8/20/12)
4 Attachment(s)
Dependencies:
|
Re: [CS:S] Anti-Nade-Spam
Thank you so much for this, I've just got myself a CSS server and I'm using it for breakfloor but couldn't find something like this. Thanks again.
edit: Found a mistake. Code:
"sm_ans_maxFB" = "2" ( def. "0" ) Code:
"sm_ans_maxSM" = "1" |
Flash bang issue
I'm having some issues with the flash bangs.
After every map start, I have to re-enter via console "sm_ans_maxFB 2". Otherwise I receive the in-game message "You are only allowed to buy 0 Flash Bang per round!" I don't have any issues with HE grenades and smokes. This is how I have it configured: sm_ans_enable 1 sm_ans_method 1 sm_ans_maxHE 1 sm_ans_maxSM 1 sm_ans_maxFB 2 Any ideas what's wrong? *BTW, this is an awesome plugin! |
Re: [CS:S] Anti-Nade-Spam
Thanks for those two errors, I'll look into them today and get back to you.
*Edit: The first post has been updated with version 1.2. I was unable to find any logic issues that would only affect Flash Bangs, so I assume it's an issue in how I was saving the data set. I had an issue in another project where my enum set was corrupting, but as ANS was my first project I never updated it. It now uses a simple array and *should* fix the Flash Bang issue. * |
I still have the issue
Quote:
I receive both of these messages: "You are not allowed to use any Flash Bangs!" "You are only allowed to buy 0 Flash Bang per round!" Can you code and post the source for the HE grenades and smokes?....These are the ones I need to prevent from being spammed, and it seems the plugin works well for those. Thanks! |
Re: [CS:S] Anti-Nade-Spam
I'm reworking a bit of the logic to prevent players from getting dual error messages, but I can see no issue that would present itself in that manner. Do you have any plugins running that may be attempting to give players a flashbang on their spawn?
*Edit: the original post has been updated with version 1.3 of anti-nade-spam. It features a convar sm_ans_messages to disable the error messages sent to players if they reach their maximum number of grenades. The logic for notifying players has also been reworked to prevent players from receiving dual error messages.* |
Re: [CS:S] Anti-Nade-Spam
Quote:
The HE grenades and smokes work fine, when configured as such. Thanks! |
Re: [CS:S] Anti-Nade-Spam
Alright. This issue has intrigued me so I'm actually testing my code before releasing the next version. Check back in an hour and the issue should be fixed.
|
Re: [CS:S] Anti-Nade-Spam
Busterbadboy, please try the latest version. I apologize for all the issues you've had; I never took into consideration the fact that CS:S allows players to buy 2 Flash Bangs. I also changed the method for which it restricts grenades (if you get restricted in the buyzone, you can still pick up grenades elsewhere just not in another buyzone).
|
Re: [CS:S] Anti-Nade-Spam
Quote:
Instead of using the console to configure my settings, I modified the settings in the cfg file and it seems to be working fine now. I'm going to put it on my regular server and test it in game play. I'll report the results. Thanks! |
All times are GMT -4. The time now is 18:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.