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

Cath plugin messages?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mario AR.
Senior Member
Join Date: May 2011
Location: Lima, Perú
Old 08-31-2014 , 16:32   Cath plugin messages?
Reply With Quote #1

Hello. I'm looking for a way to catch every message sent (by engine, metamod plugins, amxx plugins), maybe there's a metamod plugin or orpheu one that can do this?

I know about emessage_* but I'm running a lot of plugins with uses message_* and I want to cath all of those messages.

Thank you in advance

Last edited by Mario AR.; 08-31-2014 at 16:32.
Mario AR. is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 08-31-2014 , 16:34   Re: Cath plugin messages?
Reply With Quote #2

Ill say that before fysiks.
Better explain what are you actually trying to achieve, so there could be better method found, than the one you think. (the XY problem)
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Mario AR.
Senior Member
Join Date: May 2011
Location: Lima, Perú
Old 08-31-2014 , 16:36   Re: Cath plugin messages?
Reply With Quote #3

I'm using the message "ScreenFade" with the STAYOUT flag, so I'm looking for a way to know when another plugin sends the same message (it makes the fade disappear).
Mario AR. is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-01-2014 , 00:30   Re: Cath plugin messages?
Reply With Quote #4

The last time that I wanted to catch messages/commands from other plugins it wasn't possible because they aren't sent to the server but rather directly to the clients (which means it doesn't pass through any modules that hook stuff).

Quote:
Originally Posted by Flick3rR View Post
Ill say that before fysiks.
LOL
__________________
fysiks is offline
Mario AR.
Senior Member
Join Date: May 2011
Location: Lima, Perú
Old 09-01-2014 , 22:08   Re: Cath plugin messages?
Reply With Quote #5

Maybe it's possible by editing the main amxx module, because as far as I know.. all the message_* in amxx plugins are natives that pass through the main amxx core...
I'm a noooooob in C++ but will try to do that...
Mario AR. 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 12:15.


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