.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 1 SDK (http://forums.bots-united.com/forumdisplay.php?f=33)
-   -   Monitoring exported functions - How? (http://forums.bots-united.com/showthread.php?t=5289)

The Storm 20-05-2006 18:05

Monitoring exported functions - How?
 
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?


All times are GMT +2. The time now is 10:50.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.