Raised This Month: $51 Target: $400
 12% 

No Team Flash


Post New Thread Reply   
 
Thread Tools Display Modes
Kigen
BANNED
Join Date: Feb 2008
Old 09-17-2008 , 22:16   Re: No Team Flash
Reply With Quote #11

Failure for large servers, or just few small servers in the event two players on opposite teams throw flashes at each other.

Try hooking "flashbang_detonate" instead of using the "weapon_fire" event and that'll solve the problem.

Another is if the client was killed while holding a primed flashbang it would cause the No Flash affect on the wrong people possibly.

The below file fixes such issues.

Last edited by Kigen; 09-17-2008 at 23:41. Reason: Removed file
Kigen is offline
SAMURAI16
BANNED
Join Date: Sep 2006
Old 09-17-2008 , 23:20   Re: No Team Flash
Reply With Quote #12

Updated to version 0.2
- Fixed flash bug - thanks Kigen
- Now only flashbang's thrower don't get flashed
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
Kigen
BANNED
Join Date: Feb 2008
Old 09-17-2008 , 23:45   Re: No Team Flash
Reply With Quote #13

Fixed small issues that I just realized. ( Relating to g_FlashOwner being -1 or not set. )

Also it should be noted that it the versions I've been posting will allow the thrower to not protected, his team however, is protected.

Last edited by Kigen; 09-18-2008 at 09:09. Reason: Removed file.
Kigen is offline
SAMURAI16
BANNED
Join Date: Sep 2006
Old 09-18-2008 , 08:08   Re: No Team Flash
Reply With Quote #14

that's not a bug. g_FlashOwner was 0 and player's index is from 1 to 32.
I think it was enough to just tell me where the code is bad and why istead of posting your method; For sure i'm able to fix my plugins

Anyway, updated

Last edited by SAMURAI16; 09-18-2008 at 08:13.
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
Smofly
Junior Member
Join Date: Aug 2008
Location: Denmark
Old 09-18-2008 , 08:19   Re: No Team Flash
Reply With Quote #15

where is still som bugs in it.. it 50/50 then you throw a flash and the other team allso do you not get flash

and i think still him there team flash still need to be blind not just loose you radar and sound.

sry my bad english have testet it on my server a 30/30 slots css ffa server and many peopel are complaning over you not all the time get flash by the other teams flash either
Smofly is offline
Kigen
BANNED
Join Date: Feb 2008
Old 09-18-2008 , 08:57   Re: No Team Flash
Reply With Quote #16

Quote:
Originally Posted by SAMURAI16 View Post
that's not a bug. g_FlashOwner was 0 and player's index is from 1 to 32.
I think it was enough to just tell me where the code is bad and why istead of posting your method; For sure i'm able to fix my plugins

Anyway, updated
IsClientConnected and the other functions like it will throw a native error if a invalid index is passed (anything <1 or >GetMaxClients() ).
Kigen is offline
SAMURAI16
BANNED
Join Date: Sep 2006
Old 09-18-2008 , 09:02   Re: No Team Flash
Reply With Quote #17

Maybe you have right. What about bug reported by Smofly ? any suggestion ?
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
Kigen
BANNED
Join Date: Feb 2008
Old 09-18-2008 , 09:09   Re: No Team Flash
Reply With Quote #18

Try this.

NOTE: The below file has NOT been tested.

Last edited by Kigen; 09-18-2008 at 10:37. Reason: Removed file
Kigen is offline
Smofly
Junior Member
Join Date: Aug 2008
Location: Denmark
Old 09-18-2008 , 09:21   Re: No Team Flash
Reply With Quote #19

that work not good now can you team flash and all get blinde include you self hehe
Smofly is offline
fpsbrian
Senior Member
Join Date: Feb 2008
Old 09-24-2008 , 22:20   Re: No Team Flash
Reply With Quote #20

I'm having problems getting this to run?
What am I doing wrong?
(simple terms of what I'm doing)

I put the .smx in my sourcemod/plugins folder

no_team_flash 1 in my server.cfg

restarted server, and nothing changed?
__________________
fpsbrian 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 09:51.


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