Raised This Month: $32 Target: $400
 8% 

[Orpheu] Signature for PM_UnDuck


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 03-23-2014 , 11:15   [Orpheu] Signature for PM_UnDuck
Reply With Quote #1

Could someone maybe share the windows signature of the following function please?

Quote:
void PM_UnDuck( void )
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.

Last edited by bibu; 03-23-2014 at 12:02.
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-23-2014 , 11:37   Re: [Orpheu] Signature for PM_UnDuck
Reply With Quote #2

Why signature? Under linux, you can use the symbol : PM_UnDuck
__________________
Arkshine is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 03-23-2014 , 12:01   Re: [Orpheu] Signature for PM_UnDuck
Reply With Quote #3

Nah...wrong written. Oviously I need it for windows, lol.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-23-2014 , 12:42   Re: [Orpheu] Signature for PM_UnDuck
Reply With Quote #4

I'm afraid this function can't be used ; it's content seems to be put directly in parent function.
__________________
Arkshine is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 03-23-2014 , 15:01   Re: [Orpheu] Signature for PM_UnDuck
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
I'm afraid this function can't be used ; it's content seems to be put directly in parent function.
Even if trying to hook?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-23-2014 , 17:24   Re: [Orpheu] Signature for PM_UnDuck
Reply With Quote #6

Some function because of compilation optimization, their content is copied directly in the parent instead of being called like: function(). It means, the function itself still exists, you can hook it but It won't be called.
__________________

Last edited by Arkshine; 03-23-2014 at 17:25.
Arkshine is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 03-24-2014 , 12:20   Re: [Orpheu] Signature for PM_UnDuck
Reply With Quote #7

You have any other idea how I could pass such situation then?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-24-2014 , 13:01   Re: [Orpheu] Signature for PM_UnDuck
Reply With Quote #8

It depends what you want to do. If just hooking it, you might need to hook PM_Duck, which calls PM_Unduck including necessary check.
__________________
Arkshine is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 03-24-2014 , 13:47   Re: [Orpheu] Signature for PM_UnDuck
Reply With Quote #9

You might think it's a xyz problem. The main idea was hooking the change of EV_VEC_view_ofs. Then I found out that it changes when ducking. I tried to hook Player_Duck with ham, but then I noticed that it also resets when releasing/unducking. So I couldn't find any other event then PM_UnDuck.
Maybe PM_Duck will solve my problem, gotta test that now.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
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 00:21.


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