AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   Orpheu module and brr_nokill (https://forums.alliedmods.net/showthread.php?t=318767)

MihailoZ 09-19-2019 10:39

Orpheu module and brr_nokill
 
Hello,

OrpheuRegisterHookFromObject(g_pGameRules,"FP layerCanRespawn","CGameRules","OnFPlayerCanRe spawn")

are not working.

L 09/18/2019 - 21:28:22: [ORPHEU] Function "InstallGameRules" not found
L 09/18/2019 - 21:28:22: [AMXX] Displaying debug trace (plugin "brr_nokill.amxx", version "unknown")
L 09/18/2019 - 21:28:22: [AMXX] Run time error 10: native error (native "OrpheuGetFunction")
L 09/18/2019 - 21:28:22: [AMXX] [0] brr_nokill.sma::plugin_precache (line 60)

LearninG 09-19-2019 10:49

Re: Orpheu module and brr_nokill
 
You don't have that function in functions folder. and about plugin_precache error , show the function.

MihailoZ 09-19-2019 10:53

Re: Orpheu module and brr_nokill
 
Quote:

Originally Posted by LearninG (Post 2667549)
You don't have that function in functions folder. and about plugin_precache error , show the function.

I do have: https://prnt.sc/p8ac7p

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" : "_Z16InstallGameRulesv"
        },
                {
            "os" : "windows",
            "mod" : "SvenCoop",
            "value" : [0x55,0x8B,0xEC,0x6A,0xFF,0x68,"*","*","*","*",0x64,"*","*","*","*","*",0x50,0x81,"*","*","*","*","*",0xA1,"*","*","*","*",0x33,0xC5,0x89,0x45,0xF0]
        },
                {
                        "os" : "windows",
                        "mod" : "ns",
                        "value" : [0x6A,0xFF,0x68,"*","*","*","*",0x64,"*","*","*","*","*",0x50,0x64,"*","*","*","*","*","*",0x51,0x68]
                },
                {
                        "os" : "linux",
                        "mod" : "ns",
                        "value" : "_Z16InstallGameRulesv"
                },
                {
                        "os" : "windows",
                        "mod" : "dod",
                        "value" : [0x55,0x8B,0xEC,0x83,0xEC,0x48,0x53,0x56,0x57,0x68,"*","*","*","*",0xFF,"*","*","*","*","*",0x83,0xC4,0x04,0xFF]
                },
                {
                        "os" : "linux",
                        "mod" : "dod",
                        "value" : "_Z16InstallGameRulesv"
                },
                {
                        "os" : "windows",
                        "mod" : "valve",
                        "value" : [0x68,"*","*","*","*",0xFF,"*","*","*","*","*",0x83,0xC4,0x04,0xFF,"*","*","*","*","*",0x8B]
                },
                {
                        "os" : "linux",
                        "mod" : "valve",
                        "value" : "_Z16InstallGameRulesv"
                },
                {
                        "os" : "windows",
                        "mod" : "ts",
                        "value" : [0x6A,0xFF,0x68,"*","*","*","*",0x64,"*","*","*","*","*",0x50,0x64,"*","*","*","*","*","*",0x51,0x56,0x68]
                },
                {
                        "os" : "linux",
                        "mod" : "ts",
                        "value" : "_Z16InstallGameRulesv"
                }               
    ]
}

This is the function:

Code:

public OnInstallGameRules()
    g_pGameRules = OrpheuGetReturn()


HamletEagle 09-20-2019 04:03

Re: Orpheu module and brr_nokill
 
Write orpheu config and post the output. Your signature may be outdated.

MihailoZ 09-20-2019 08:26

Re: Orpheu module and brr_nokill
 
Quote:

Originally Posted by HamletEagle (Post 2667655)
Write orpheu config and post the output. Your signature may be outdated.

Plugin brr_nokill is giving me "bad load" now.

Code:

Orpheu configuration started.

        Parsing mods configuration started.

                Current mod : "cstrike"

                Parsing mod file "dod"
                Parsing mod file "cstrike"
                        Found.

        Parsing mods configuration ended.

        Parsing libraries configuration started.

                Parsing file "podbot"
                        Added library podbot identified by cvar pb_version
                Parsing file "monstermod"
                        Added library monstermod identified by cvar monster_spawn

        Parsing libraries configuration ended.

        Parsing type aliases started.

                Parsing folder "CBaseEntity"
File "CFuncRotating" incorrectly formatted
                        Adding alias"CBaseEntity *"
                Parsing folder "CGameRules"
                        Adding alias"CGameRules *"
                Parsing folder "charPointer"
                        Adding alias"char *"
                Parsing folder "CMBaseMonster"
                        Adding alias"CMBaseMonster *"
                Parsing folder "long"
                        Adding alias"long"
                Parsing folder "VectorPointer"
                        Adding alias"Vector *"


        Parsing type aliases ended.

Orpheu configuration ended.
./hlds_run: line 255:  5334 Segmentation fault      $HL_CMD



All times are GMT -4. The time now is 09:54.

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