Raised This Month: $95 Target: $400
 23% 

Forward Logging (Developers)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Technical/Development        Approver:   v3x (159)
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 07-14-2008 , 12:52   Forward Logging (Developers)
Reply With Quote #1

Like a year ago now I made a nifty plugin I needed to catch some forwards.
I tought I lost it but I found it back in a backup and tought it might be a help with developers.

Its basicly does thesame as message logging. only for forwards. you can also block certain forwards with it from happaning.

Quote:
amx_forwardlog start ALL: starts logging of ALL forwards.
amx_forwardlog start nospam: starts logging of forwards that dont spam.
amx_forwardlog start FORWARDNAME/ID: starts logging of this forward.
amx_forwardlog stop ALL: stops logging of ALL forwards.
amx_forwardlog stop FORWARDNAME/ID: stops logging of this forward.
amx_forwardlog block FORWARDNAME 1/0: block a forward
needs "ForwardBlocking.amxx" to be active
amx_forwardlog forwards: show all forward names
I recommand to not use amx_forwardlog start ALL since it will log every server_frame client_prethink etc.
Your console will be overwhelmed with messages and might crash.
use amx_forwardlog start nospam instead.


ForwardBlocking.amxx seems to crash the server sometimes, there is no need to run this, unless you need amx_forwardlog block FORWARDNAME

when you block a forward it will automaticly return "FMRES_SUPERCEDE"
else it will return "FMRES_IGNORED"


Do Not run this plugin on public servers since its quite heavy and only needed for developers etc.

Once again: Do not load ForwardBlocking if you do not need it, since it crashes the server somtimes. and I can't figure out why.

Most message will be printed in the SERVERS console.
and in amxmodx/logs/forwards.log

Use at your own risk.


Happy coding,
-Ramon
Attached Files
File Type: sma Get Plugin or Get Source (ForwardLogging.sma - 1085 views - 56.6 KB)
File Type: sma Get Plugin or Get Source (ForwardBlocking.sma - 983 views - 8.4 KB)
__________________
Um, hi.

Last edited by Ramono; 07-14-2008 at 13:33.
Ramono is offline
Old 09-12-2010, 01:20
culdasac[KK]
This message has been deleted by Exolent[jNr]. Reason: Posts made to advertise server.
Reply


Thread Tools
Display Modes

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 13:48.


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