View Single Post
Author Message
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 04-15-2020 , 11:19   Orpheu. Why signature is not working?
Reply With Quote #1

I'm trying to use Orpheu to hook into Con_Printf (in the latest version of ReHLDS) but for some reason it's not detecting it.

What am I doing wrong?

amxmodx/configs/orpheu/functions/Con_Printf
Code:
{
    "name" : "Con_Printf",
    "library" : "engine",
    "arguments" :
    [
        {
            "type" : "char *"
        },
        {
            "type" : "char *"
        }
    ],
    "identifiers" :
    [
        {
            "os"    : "linux",
            "mod"   : "ricochet",
            "value" : "_Z10Con_PrintfPKcz"
        }
    ]
}
orpheu config output
Code:
Orpheu functions search started.

        Parsing functions started.

                Parsing file "Con_Printf" started
                                Argument type "char *" validated
                                Argument type "char *" validated
                                Searching for name "_Z10Con_PrintfPKcz"... NOT FOUND
                Parsing file "Con_Printf" ended
        Parsing functions ended.


Orpheu functions search ended.
__________________

Last edited by gabuch2; 04-16-2020 at 13:47.
gabuch2 is offline