Raised This Month: $ Target: $400
 0% 

mods:dod,tfs,ts,esf - funcs definitions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Turanga_Leela
Junior Member
Join Date: Nov 2010
Old 08-04-2013 , 10:54   mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #1

i am search definitions: (? - Index Or: edict_t * / entvars_t *)

_DOD_RoundStore // void (void) - Return 'void' ?
_DOD_GetStateEnt // int ( ? )

_TFC_EngineerUse // int ( ? )
_TFC_EmpExplode // void ( ? , float, float)
_TFC_TakeEmpBlast // void ( ? )
_TFC_TakeConcussionBlast // void ( ? , float)
_TFC_Concuss // void ( ? )

_ESF_TakeDamage2 // int (? , ?, float, float, size_t)

_NS_AwardKill // void ( ? )

_TS_GoSlow // void (float, ? )
_TS_ShouldCollide // BOOL ( ? )

...
pls help
Turanga_Leela is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-04-2013 , 11:42   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #2

Open ham_const.inc and check yourself.
__________________
Arkshine is offline
Turanga_Leela
Junior Member
Join Date: Nov 2010
Old 08-04-2013 , 11:48   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #3

All of this from ham_const.inc
For example

/**
* Description: Unsure
* Forward params: function(this, idPlayer)
* Return type: None.
* Execute Params: ExecuteHam(Ham_DOD_AreaSendStatus, this, idPlayer);
*/
Ham_DOD_AreaSendStatus,


idPlayer - edict_t * ? entvars_t * ? CBasePlayer * ? Or '&'

Last edited by Turanga_Leela; 08-04-2013 at 11:49.
Turanga_Leela is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-04-2013 , 11:49   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #4

Explain first what you're trying to achieve.
__________________
Arkshine is offline
Turanga_Leela
Junior Member
Join Date: Nov 2010
Old 08-04-2013 , 11:53   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #5

Need get definitions from dll(so) src.

// example
class ... {
void DOD_AreaSendStatus(edict_t *); // virtual - of course
// ...
};
Turanga_Leela is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-04-2013 , 11:57   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #6

You don't answer the question. Please don't start a XY problem. Explain what you want REALLY to do.
__________________
Arkshine is offline
Turanga_Leela
Junior Member
Join Date: Nov 2010
Old 08-04-2013 , 12:01   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #7

i am try
need - function prototype (all)

ExecuteHam(Ham_DOD_AreaSendStatus, this, idPlayer);
For example this may have prototype - "void (*)(edict_t *)" // in class definition
Turanga_Leela is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-04-2013 , 14:11   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #8

Yes I understand you want prototype, I'm asking why you need that. I want to understand what you're trying to do by getting prototype.
__________________

Last edited by Arkshine; 08-04-2013 at 14:11.
Arkshine is offline
Turanga_Leela
Junior Member
Join Date: Nov 2010
Old 08-04-2013 , 15:28   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #9

for virtual hook (& Call), like - 'ExecuteHamB'

Last edited by Turanga_Leela; 08-04-2013 at 15:29.
Turanga_Leela is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-04-2013 , 15:59   Re: mods:dod,tfs,ts,esf - funcs definitions
Reply With Quote #10

That's something you can know using for example IDA with linux game binary, as symbols will be available and it will give prototype too.
__________________
Arkshine is offline
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 15:50.


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