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

Catch all Events that are triggered?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 05-22-2010 , 23:51   Catch all Events that are triggered?
Reply With Quote #1

I thought there was a plugin years ago that when ran would catch every event that was triggered, so then we could see what the event names are for some mods.
I am specifically trying to get the event name for the round end for NS, and I cannot find this plugin anywhere.
Anyone know what I am talking about?

Thanks
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 05-23-2010 , 01:42   Re: Catch all Events that are triggered?
Reply With Quote #2

Quote:
Originally Posted by ns.inc
/**
* Called immediately when a round ends
*
* @param roundtime The length of the round in seconds.
* @noreturn
*/
forward round_end(Float:roundtime);
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 05-23-2010 , 03:05   Re: Catch all Events that are triggered?
Reply With Quote #3

Thanks, but I still need to know the plugin. =)
Anyone know?
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-23-2010 , 17:07   Re: Catch all Events that are triggered?
Reply With Quote #4

Any plugin that you write with this:


PHP Code:
#include <ns>
public round_end()
{
    
// Round just ended
    // Do something

__________________
fysiks is offline
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 05-23-2010 , 17:33   Re: Catch all Events that are triggered?
Reply With Quote #5

I think you misinterpreted what I meant lol.
I need to know the plugin that used to exist many years ago that would actually record all of the events that happened when they happened.

Say I am developing for a mod, I cannot find the event that relates to killing buildings, I need to record all events as they happen so that I know the event name.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-23-2010 , 17:36   Re: Catch all Events that are triggered?
Reply With Quote #6

Open the console to your server (with metamod) and type "meta game" and then you can rewrite the plugin I guess
__________________
fysiks is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-23-2010 , 20:45   Re: Catch all Events that are triggered?
Reply With Quote #7

I think he is trying to get an output of events as they happen so he can figure out how to catch a particular event in his plugin.

http://forums.alliedmods.net/showthread.php?t=7118
__________________

Last edited by Bugsy; 05-23-2010 at 21:40.
Bugsy is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-23-2010 , 21:54   Re: Catch all Events that are triggered?
Reply With Quote #8

Yeah. You'll have to know the names or numbers of the message which you can get from "meta game".
__________________
fysiks is offline
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 05-23-2010 , 22:03   Re: Catch all Events that are triggered?
Reply With Quote #9

Quote:
Originally Posted by Bugsy View Post
I think he is trying to get an output of events as they happen so he can figure out how to catch a particular event in his plugin.

http://forums.alliedmods.net/showthread.php?t=7118
Correct! Thank you! That is the exact plugin I was thinking of but I could not remember the name! Thanks!
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
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 19:15.


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