PDA

View Full Version : [Solved] Problems with OrpheuGetFunction


Kreation
06-19-2010, 01:00
Okay so I got this code that compiles fine without an error. Once I take a look at the error logs on the server this is what I get.

L 06/18/2010 - 23:31:27: Start of error session.
L 06/18/2010 - 23:31:27: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20100618.log")
L 06/18/2010 - 23:31:27: [ORPHEU] Function "InstallGameRules" not found
L 06/18/2010 - 23:31:27: [AMXX] Displaying debug trace (plugin "codmod14.amxx")
L 06/18/2010 - 23:31:28: [AMXX] Run time error 10: native error (native "OrpheuGetFunction")
L 06/18/2010 - 23:31:28: [AMXX] [0] codmod14.sma::plugin_precache (line 858)Line 858:
OrpheuRegisterHook( OrpheuGetFunction( "InstallGameRules" ), "OnInstallGameRules", OrpheuHookPost );OnInstallGameRules Function:
public OnInstallGameRules()
{
g_pGameRules = OrpheuGetReturn();
}I've never used orpheu and have no idea as to how there could be a problem.
Any help appreciated.

EDIT: Sigh... I won't delete anything in order to not make fysiks rage but I figured it out. Fuck.

Arkshine
06-19-2010, 04:57
I guess you forget to upload the signature ? ^^