View Single Post
Monitoring exported functions - How?
Old
  (#1)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,620
Join Date: Jul 2004
Location: Bulgaria
Default Monitoring exported functions - How? - 20-05-2006

Hi all,

I want to monitor some functions that are exported from the mp.dll. I mean I need to know when they are called.
For now I know only how to monitor the functions from the struct
enginefuncs_t and DLL_FUNCTIONS.
But I need to monitor some other functions that are exported from the mp.dll and are not called by the engine(I think).
Just for example I will point this exported functions:
from class CGrenade
Code:
    void EXPORT BounceTouch( CBaseEntity *pOther );
    void EXPORT SlideTouch( CBaseEntity *pOther );
    void EXPORT ExplodeTouch( CBaseEntity *pOther );
    void EXPORT DangerSoundThink( void );
    void EXPORT PreDetonate( void );
    void EXPORT Detonate( void );
    void EXPORT DetonateUse( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value );
    void EXPORT TumbleThink( void );
How I can monitor when such functions are called from the bot dll?
  
Reply With Quote