Raised This Month: $32 Target: $400
 8% 

Simple Message Suppression


Post New Thread Reply   
 
Thread Tools Display Modes
Antithasys
Moderator
Join Date: Apr 2008
Old 01-01-2009 , 13:09   Re: Message Suppression
Reply With Quote #71

Quote:
Originally Posted by FlyingMongoose View Post
Updated, properly formatted logging should be working, connect messages have the option to be surpressed and the cvar for admins seeing disconnect messages has been changed to a show for all messages or no messages.

it now should log EVERYTHING it blocks properly, it will also display any blocked events to admins only.

Admins = ANYBODY with access rights.

Now I can use this. Brilliant!
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 01-01-2009 , 18:29   Re: Message Suppression
Reply With Quote #72

So my a flagged clients have to see the messages I suppressed? Is there a way I can change it to just z flagged or g flagged(which I think would also be Z flagged)

Will update now.
__________________

DontWannaName is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 01-01-2009 , 19:55   Re: Message Suppression
Reply With Quote #73

For now it's just "if they have admin access or if they don't have admin access" (the on or off of sm_adminshowmessages) I'll probably expand upon it later, but for now, this is cleaner/quicker.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
Nail
BANNED
Join Date: May 2008
Location: PetrovЪ GradЪ
Old 04-20-2009 , 13:52   Re: Message Suppression
Reply With Quote #74

SourceMod v1.3.0 Linux, Dedicated, Protocol 7
It crash my server...
Nail is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 05-02-2009 , 00:48   Re: Message Suppression
Reply With Quote #75

Did this stop working for anyone today
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 05-02-2009 , 01:22   Re: Message Suppression
Reply With Quote #76

In my experience with blocking events, I noticed that it blocks the event from being fired in other plugins as well. Unless I'm wrong maybe you should make a note of this in the first post?

For example if you block player_team, the model menu in mani admin will never come up. This is something I'v heard from a user of my ZR plugin which blocks the team message using the same method as this plugin.
__________________
Greyscale is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 05-04-2009 , 01:49   Re: Message Suppression
Reply With Quote #77

I only block under specific situations, but I'll make note of it.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-11-2009 , 02:04   Re: Message Suppression
Reply With Quote #78

Small request. IF any of the cvars = 2 block them for only admins so no one can see that an admin has joined the game and joined spectator to watch a hacker.
__________________

DontWannaName is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 05-28-2009 , 23:34   Re: Message Suppression
Reply With Quote #79

This isn't working properly for me anymore. Anyone else? It's not showing the spec switch messages for -anyone-.
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 05-29-2009 , 00:21   Re: Message Suppression
Reply With Quote #80

Alright, fixed it myself. Works like I always thought it should instead of blocking every spec message :/

If you guys find any errors with this, let me know. Hopfully FlyingMongoose will update the op.
Attached Files
File Type: sp Get Plugin or Get Source (suppressmessages.sp - 323 views - 5.7 KB)
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
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 10:47.


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