Raised This Month: $106 Target: $400
 26% 

Error Con ShowSyncHudMsg,get_pcvar_float, OrpheuCreateFunction


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CoBus
New Member
Join Date: May 2014
Old 12-06-2018 , 21:56   Error Con ShowSyncHudMsg,get_pcvar_float, OrpheuCreateFunction
Reply With Quote #1

PHP Code:
//L 12/06/2018 - 17:24:23: HudSyncObject -1 is invalid
//L 12/06/2018 - 17:24:23: [AMXX] Displaying debug trace (plugin "zp_tcs5.amxx", version "v5.7.1")
//L 12/06/2018 - 17:24:23: [AMXX] Run time error 10: native error (native "ShowSyncHudMsg")
//L 12/06/2018 - 17:24:23: [AMXX]    [0] zp_tcs5.sma::game_blockConditions (line 23622)
public welcomeMsg()
{
    
set_hudmessage(25500, -1.00.2513.04.04.03.0, -1);
//23622    ShowSyncHudMsg(0, g_Hud, "¡ EL VIRUS-T SE HA LIBERADO !");
    
    
set_lights(g_lights[0]);

--------------
PHP Code:
//L 12/06/2018 - 17:24:21: [AMXX] Displaying debug trace (plugin "zp_tcs5.amxx", version "v5.7.1")
//L 12/06/2018 - 17:24:21: [AMXX] Run time error 10: native error (native "get_pcvar_float")
//L 12/06/2018 - 17:24:21: [AMXX]    [0] zp_tcs5.sma::event_HLTV (line 6008)

set_task(2.0"welcomeMsg"TASK_WELCOMEMSG);
    
    
remove_task(TASK_MAKEZOMBIE);
//6008    set_task(get_pcvar_float(g_CVAR_Delay), "makeZombieTask", TASK_MAKEZOMBIE);
    
    
g_taringa_at_night 0;
    
g_only_modes 0;
    
    static 
iYearMonthDay[3];
    static 
iTimeToUnix[3];
    
    
date(iYearMonthDay[0], iYearMonthDay[1], iYearMonthDay[2]);
    
    
iTimeToUnix[0] = TimeToUnix(iYearMonthDay[0], iYearMonthDay[1], iYearMonthDay[2], 130000);
    
iTimeToUnix[1] = TimeToUnix(iYearMonthDay[0], iYearMonthDay[1], iYearMonthDay[2], 170000);
    
    if(
arg_time() >= iTimeToUnix[0] && arg_time() < iTimeToUnix[1])
    {
        
g_taringa_at_night 1;
        
colorChat(0TERRORIST"%s!tGAM!NGA AT DAY!!y Tu experiencia y ammo packs sube un !g+x1!y"ZP_PREFIX);
    } 
-------------
PHP Code:
L 12/06/2018 17:24:11: [ORPHEUInvalid function structure "PM_Move"

//L 12/06/2018 - 17:24:11: [AMXX] Displaying debug trace (plugin "zp_tcs5.amxx", version "v5.7.1")
//L 12/06/2018 - 17:24:11: [AMXX] Run time error 10: native error (native "OrpheuCreateFunction")
//L 12/06/2018 - 17:24:11: [AMXX]    [0] orpheu_stocks.inc::OrpheuGetDLLFunction (line 59)
//L 12/06/2018 - 17:24:11: [AMXX]    [1] zp_tcs5.sma::game_blockConditions (line 3551)

#if defined USE_ORPHEU
//3551        OrpheuRegisterHook(OrpheuGetDLLFunction("pfnPM_Move", "PM_Move"), "OnPM_Move");
        
OrpheuRegisterHook(OrpheuGetFunction("PM_Jump"), "OnPM_Jump");
        
OrpheuRegisterHook(OrpheuGetFunction("PM_Duck"), "OnPM_Duck");
    
#endif
stock OrpheuFunction:OrpheuGetDLLFunction(const memberName[],const libFunctionName[])
{
    static 
OrpheuStruct:OrpheuDLLFunctions
    
    
if(!OrpheuDLLFunctions)
    {
        
OrpheuDLLFunctions OrpheuGetDLLFunctionsStruct()
    }
    
//59    return OrpheuCreateFunction( OrpheuGetStructMember(OrpheuDLLFunctions,memberName),libFunctionName )


Last edited by CoBus; 12-06-2018 at 21:56.
CoBus is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: Brazil 🇧🇷
Old 12-07-2018 , 12:05   Re: Error Con ShowSyncHudMsg,get_pcvar_float, OrpheuCreateFunction
Reply With Quote #2

1 g_Hud is not valid sync obj as the message warns. Check whether you forget to CreateHudSyncObj and/or if you assigned -1 to that variable.

2 You do not provided full message, but probably g_CVAR_Delay is not a valid cvar pointer and/or the callback makeZombieTask doesn't exists.

3 You probably do not installed orpheu and it's signatures the right way, but anyway I can't afirm with certainly
because I'm not expert with orpheu.

Besides, people will not be able to fix these errors themselves without full source code.
__________________
Working with $$$ paid plugins. Contact below (ONLY FOR NEGOTIATIONS)
  • Skype: crazy.770
  • Steam: crazy770
  • Discord: CrazY.#5317
Feel free to check my work at https://conceptstrike.blogspot.com

Check my Aliens vs. Predator: currently offline

Last edited by CrazY.; 12-07-2018 at 12:08.
CrazY. 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 00:58.


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