Raised This Month: $ Target: $400
 0% 

Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
colossus
Member
Join Date: Sep 2013
Old 08-29-2015 , 00:15   Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #1

Please, i need that signature

CheckRoundTimeExpired

This don't work:
PHP Code:
OrpheuRegisterHook(OrpheuGetFunction("CheckFreezePeriodExpired""CHalfLifeMultiplay" ), "CheckFreezePeriodExpired"); 
PHP Code:
{
    
"name"    "CheckFreezePeriodExpired",
    
"class"   "CHalfLifeMultiplay",
    
"library" "mod",
    
"identifiers" 
    [
        {
            
"os"    "linux",
            
"mod"   "cstrike",
            
"value" "CheckFreezePeriodExpired__18CHalfLifeMultiplay"
        
},
        {
            
"os"    "linux",
            
"mod"   "cstrike",
            
"value" "_ZN18CHalfLifeMultiplay17CheckFreezePeriodExpiredEv"
        
}
    ]


Last edited by colossus; 08-29-2015 at 00:15.
colossus is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 08-29-2015 , 05:01   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #2

I think this would work
PHP Code:
{

    
"name"    "HasRoundTimeExpired",
    
"class"   "CHalfLifeMultiplay",
    
"library" "mod",
    
"return"  
    {
        
"type" "bool"
    
},
    
"identifiers" 
    [
        {
            
"os"    "linux",
            
"mod"   "cstrike",
            
"value" "HasRoundTimeExpired__18CHalfLifeMultiplay"
        
}
    ]

SpeeDeeR is offline
colossus
Member
Join Date: Sep 2013
Old 08-29-2015 , 18:12   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #3

Quote:
Originally Posted by SpeeDeeR View Post
I think this would work
PHP Code:
{

    
"name"    "HasRoundTimeExpired",
    
"class"   "CHalfLifeMultiplay",
    
"library" "mod",
    
"return"  
    {
        
"type" "bool"
    
},
    
"identifiers" 
    [
        {
            
"os"    "linux",
            
"mod"   "cstrike",
            
"value" "HasRoundTimeExpired__18CHalfLifeMultiplay"
        
}
    ]

I do not need that signature, I need that I indicated
colossus is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-29-2015 , 19:31   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #4

Quote:
Originally Posted by SpeeDeeR View Post
I think this would work
PHP Code:
{

    
"name"    "HasRoundTimeExpired",
    
"class"   "CHalfLifeMultiplay",
    
"library" "mod",
    
"return"  
    {
        
"type" "bool"
    
},
    
"identifiers" 
    [
        {
            
"os"    "linux",
            
"mod"   "cstrike",
            
"value" "HasRoundTimeExpired__18CHalfLifeMultiplay"
        
}
    ]

Correct signature for HasRoundTimeExpired would be

Code:
_ZN18CHalfLifeMultiplay19HasRoundTimeExpiredEv
The only signature that I could find relating to CheckFreezePeriodExpired was this one. See, if it works for you.

Code:
_ZN10CGameRules14IsFreezePeriodEv
__________________
Spirit_12 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-30-2015 , 03:32   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #5

OP has already the proper symbols for linux. He's asking likely for windows, but unfortunately because of optimization at compilation, such function content is directly copied in functions where it's used, meaning you can't hook it under windows.
__________________

Last edited by Arkshine; 03-06-2016 at 06:41.
Arkshine is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-30-2015 , 13:58   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #6

Quote:
Originally Posted by Arkshine View Post
OP has already the proper symbols for linux. He's asking likely for windows, but unfortunately because of optimization at compilation, such function content is directly copied in functions where it's used, meaning you can't hook it under windows.
Which file holds that signature on Linux? I tried, but couldn't find it.
__________________
Spirit_12 is offline
colossus
Member
Join Date: Sep 2013
Old 08-30-2015 , 13:43   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #7

I need to linux
colossus is offline
colossus
Member
Join Date: Sep 2013
Old 09-04-2015 , 21:40   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #8

I need the that signature please, how to make that?
colossus is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-05-2015 , 18:47   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #9

Did you try the one that I posed?
__________________
Spirit_12 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-06-2015 , 04:13   Re: Wrong signature CHalfLifeMultiplay::CheckRoundTimeExpired
Reply With Quote #10

Maybe you should try explain what you're trying to do. This function can't be hooked under windows.
__________________
Arkshine 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 22:16.


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