Raised This Month: $7 Target: $400
 1% 

Orpheu module and brr_nokill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MihailoZ
Member
Join Date: Aug 2013
Old 09-19-2019 , 10:39   Orpheu module and brr_nokill
Reply With Quote #1

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)
__________________
mhvtnns
MihailoZ is offline
LearninG
Senior Member
Join Date: Apr 2019
Location: Iran
Old 09-19-2019 , 10:49   Re: Orpheu module and brr_nokill
Reply With Quote #2

You don't have that function in functions folder. and about plugin_precache error , show the function.
LearninG is offline
MihailoZ
Member
Join Date: Aug 2013
Old 09-19-2019 , 10:53   Re: Orpheu module and brr_nokill
Reply With Quote #3

Quote:
Originally Posted by LearninG View Post
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()
__________________
mhvtnns
MihailoZ is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-20-2019 , 04:03   Re: Orpheu module and brr_nokill
Reply With Quote #4

Write orpheu config and post the output. Your signature may be outdated.
__________________
HamletEagle is offline
MihailoZ
Member
Join Date: Aug 2013
Old 09-20-2019 , 08:26   Re: Orpheu module and brr_nokill
Reply With Quote #5

Quote:
Originally Posted by HamletEagle View Post
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
__________________
mhvtnns

Last edited by MihailoZ; 09-20-2019 at 08:28.
MihailoZ is offline
Reply


Thread Tools
Display Modes

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 07:38.


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