Raised This Month: $ Target: $400
 0% 

[META] ERROR: Failed to find memloc for regcmd 'orpheu'


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-11-2017 , 21:23   Re: [META] ERROR: Failed to find memloc for regcmd 'orpheu'
Reply With Quote #11

Signatures are specific code locations that you can hook with Orpheu directly from the game binary. Like in this case you are hooking the player spawn function and overriding it. Orpheu signatures are stored in configs/orpheu folder.

In your case look at configs/orpheu/functions/InstallGameRules file.

PHP Code:
{
    
"name" "InstallGameRules",
    
"library" "mod",
    
"return" 
    {
        
"type" "CHalfLifeMultiplay *"
    
},
    
"identifiers":
    [
        {
            
"os" "windows",
            
"mod" "cstrike",
            
"value" : [0x68,"*","*","*","*",0xFF,"*","*","*","*","*",0x83,0xC4,0x4,0xFF,"*","*","*","*","*",0xA1,"*","*","*","*",0xD9,0x40,0x14],
            
"info" "Works for Condition Zero"
        
},
        {
            
"os" "linux",
            
"mod" "cstrike",
            
"value" "InstallGameRules__Fv"
        
},  


This is the old signature, which can be clearly seen for Linux entry. Here is the updated signature. Replace the contents of your InstallGameRules file with this and it should work or at the very least stop the crashes.

PHP Code:
{
    
"name" "InstallGameRules",
    
"library" "mod",
    
"return" :
    {
        
"type" "CGameRules *"
    
},
    
"identifiers":
    [
        {
            
"os" "windows",
            
"mod" "cstrike",
            
"value" : [0x68,"*","*","*","*",0xFF,"*","*","*","*","*",0x83,"*","*",0xFF,"*","*","*","*","*",0xA1,"*","*","*","*",0xD9,"*","*",0xD8,"*","*","*","*","*",0xDF]
        },
        {
            
"os" "linux",
            
"mod" "cstrike",
            
"value" "_Z16InstallGameRulesv"
        
}
    ]

__________________
Spirit_12 is offline
 



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 11:58.


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