View Single Post
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