Raised This Month: $ Target: $400
 0% 

[CS:S] Anti Team Flash (v1.2.3)


Post New Thread Reply   
 
Thread Tools Display Modes
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-09-2010 , 12:39   Re: [CS:S] Anti Team Flash
Reply With Quote #31

Interesting... It seems that a pre-hooked flash_detonate actually fires before a pre-hooked player_blind, but when hooked normally, player_blind fires before flash_detonate... I've removed the attachment as I'll actually have to do some tests to see the best method to resolve this.
__________________
thetwistedpanda is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-20-2010 , 15:07   Re: [CS:S] Anti Team Flash
Reply With Quote #32

Disregard the previous post, I was drunk and talking out of my ass. Version 1.1.0 has been released, which should squash all remaining bugs and provide additional functionality. This update features the cvar sm_anti_team_flash, which allows you to enable/disable the entire plugin. This allows you to use certain features regardless of what the other cvars are set to. I let this plugin run on a server with 32 bots for over an hour, spawning with knives and infinite flash bangs, and received no errors what so ever, so it appears to be ready for public consumption. I'm terribly sorry for th delay in updates however, I had issues to take care of within my community.
__________________
thetwistedpanda is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 10-20-2010 , 16:11   Re: [CS:S] Anti Team Flash
Reply With Quote #33

Quote:
Originally Posted by thetwistedpanda View Post
Disregard the previous post, I was drunk and talking out of my ass. Version 1.1.0 has been released, which should squash all remaining bugs and provide additional functionality. This update features the cvar sm_anti_team_flash, which allows you to enable/disable the entire plugin. This allows you to use certain features regardless of what the other cvars are set to. I let this plugin run on a server with 32 bots for over an hour, spawning with knives and infinite flash bangs, and received no errors what so ever, so it appears to be ready for public consumption. I'm terribly sorry for th delay in updates however, I had issues to take care of within my community.
Yey, fresh fixed version, nice. Installing the plugin back on my server, thanks ;].
__________________
GrO is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 10-20-2010 , 20:40   Re: [CS:S] Anti Team Flash
Reply With Quote #34

Question?
Is it possible for the plugin to identify the player throwing the flash.
and announce this in team chat?
Similar to the plugin who banged me

I could see this plugin with all other variables disabled
and just used to identify team flashers.
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!



Last edited by nightrider; 10-20-2010 at 20:49.
nightrider is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-20-2010 , 20:55   Re: [CS:S] Anti Team Flash
Reply With Quote #35

Yes, I believe you would be able to use this plugin to that end. Unless the plugin is disabled, it will always store the team of the flashbang into the queue, and delete it when the flashbang explodes. If you disabled sm_anti_team_flash_owner, then it will also store the client index of the flashbang's owner into a separate queue. Then when the flashbang explodes, it will be able to pull both out. I can add this functionality if you wish (might be a week or two), otherwise look for the function Event_OnFlashPlayer, specifically lines 204 through 215. Either way it'll require a little bit of code modification.

Edit: Actually, it may serve a better purpose if I re-release a version of Who Banged Me with this queue system.
__________________

Last edited by thetwistedpanda; 10-20-2010 at 21:01.
thetwistedpanda is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 10-20-2010 , 21:09   Re: [CS:S] Anti Team Flash
Reply With Quote #36

Cool, thanks for the reply
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!



Last edited by nightrider; 10-20-2010 at 23:46.
nightrider is offline
Arcy
Senior Member
Join Date: Feb 2010
Location: Wroclaw, Poland
Old 10-23-2010 , 04:27   Re: [CS:S] Anti Team Flash
Reply With Quote #37

Quote:
Originally Posted by thetwistedpanda View Post
Edit: Actually, it may serve a better purpose if I re-release a version of Who Banged Me
So will You do it?
Arcy is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 10-27-2010 , 17:04   Re: [CS:S] Anti Team Flash
Reply With Quote #38

The plugin is working great, but the last and only bug is:

when I'm dead and spectating someone, who flashed himself, the flashbang effect is not blocked.
__________________
GrO is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-27-2010 , 17:28   Re: [CS:S] Anti Team Flash
Reply With Quote #39

Aye I noticed that myself earlier today, I'll have a fix out in a few days for it.
__________________
thetwistedpanda is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-27-2010 , 17:42   Re: [CS:S] Anti Team Flash
Reply With Quote #40

Nevermind, it was a rather easy fix. I had the opposite values set for checking spectators/dead players. Version 1.1.3 is up on the first page and fixes your bug.
__________________
thetwistedpanda 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 21:36.


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