This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Suppress strange weapon chat messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 03-05-2017 , 10:54   Suppress strange weapon chat messages
Reply With Quote #1

I had previously asked for this to be included in the "Tidy Chat" plugin but the dev hasn't responded yet.

What I am after is a plugin to suppress the chat messages that announce to the whole server when ever someones strange weapon reaches the next rank. In other words, a plugin that hides the "<player's> Strange Minigun has reached a new rank" messages in chat.

I'm not looking to disable the pop up that is displayed to the player who owns the weapon when they reach the next rank, just chat messages that get displayed to everyone else.
__________________
Werewolf_UK is offline
africanspacejesus
Senior Member
Join Date: Nov 2016
Location: Bay Area, CA
Old 03-05-2017 , 20:39   Re: Suppress strange weapon chat messages
Reply With Quote #2

Has to be changed within the plugin
__________________
Taking paid plugin requests
africanspacejesus is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 03-05-2017 , 21:00   Re: Suppress strange weapon chat messages
Reply With Quote #3

Ask and you shall receive!

sm_tidychat_strange_level - 1/0 on or off

Untested by the way.

removed plugin*
__________________

Last edited by Chaosxk; 03-08-2017 at 10:49.
Chaosxk is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 03-07-2017 , 14:38   Re: Suppress strange weapon chat messages
Reply With Quote #4

Quote:
Originally Posted by Chaosxk View Post
Ask and you shall receive!

sm_tidychat_strange_level - 1/0 on or off

Untested by the way.
Sorry for taking a couple days getting back to you, compiled and tested it against Sourcemod 1.8.0.5974, and it worked perfectly!

Now we just need the plugin dev to incorporate it into the main thread!


EDIT: Unfortunatly I have to take that back, it did not work. Turned out people simply weren't reaching new ranks while I was watching the chat window.
__________________

Last edited by Werewolf_UK; 03-07-2017 at 14:58. Reason: Update to correct details
Werewolf_UK is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 03-08-2017 , 09:38   Re: Suppress strange weapon chat messages
Reply With Quote #5

Oops, i forgot to put a # to indicate it as a translation.

Fixed.

removed plugin*
__________________

Last edited by Chaosxk; 03-08-2017 at 10:49.
Chaosxk is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 03-08-2017 , 10:06   Re: Suppress strange weapon chat messages
Reply With Quote #6

Tried your updated version, still does not work I'm afraid.
__________________
Werewolf_UK is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 03-08-2017 , 10:28   Re: Suppress strange weapon chat messages
Reply With Quote #7

You sure?

Code:
"TF_HUD_Event_KillEater_Leveled"   "Your %weapon_name% has reached a new rank: %rank_name%!"
"TF_HUD_Event_KillEater_Leveled_Chat"   "%s1's %s2 has reached a new rank: %s3!"
The one i posted blocks TF_HUD_Event_KillEater_Leveled_Chat, which is the one that gets printed to everyone.

I didn't block TF_HUD_Event_KillEater_Leveled which prints to just yourself.

If you want both blocked i can update it.
__________________
Chaosxk is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 03-08-2017 , 10:32   Re: Suppress strange weapon chat messages
Reply With Quote #8

Yes I'm sure. Tried it with it set to both "1" and "0", and in both cases I still see when other players weapons get upgraded.
__________________
Werewolf_UK is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 03-08-2017 , 10:48   Re: Suppress strange weapon chat messages
Reply With Quote #9

Try this, ...if that doesn't work then try tidychat2.sp (rename back to tidychat.sp so you don't have 2 running)

If both don't work then i have no clue.
Attached Files
File Type: sp Get Plugin or Get Source (tidychat.sp - 207 views - 5.1 KB)
File Type: sp Get Plugin or Get Source (tidychat2.sp - 203 views - 5.1 KB)
__________________

Last edited by Chaosxk; 03-08-2017 at 10:48.
Chaosxk is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 03-08-2017 , 11:18   Re: Suppress strange weapon chat messages
Reply With Quote #10

Sorry, neither worked.

Thanks for trying though!
__________________
Werewolf_UK 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 04:25.


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