Error Con ShowSyncHudMsg,get_pcvar_float, OrpheuCreateFunction
#1
estuve intentando hacer funcionar el zp v5 y me salen estos errores repetitivos en consola :'(
Código PHP:
L 12/06/2018 15:47:59: [ORPHEUInvalid function structure "PM_Move"
L 12/06/2018 15:47:59: [AMXXRun time error 10 (plugin "zp_tcs5.amxx") (native "OrpheuCreateFunction") - debug not enabled!
L 12/06/2018 15:48:05Invalid CVAR pointer
L 12
/06/2018 15:48:05: [AMXXRun time error 10 (plugin "zp_tcs5.amxx") (native "get_pcvar_float") - debug not enabled!
L 12/06/2018 15:48:07HudSyncObject -1 is invalid
L 12
/06/2018 15:48:07: [AMXXRun time error 10 (plugin "zp_tcs5.amxx") (native "ShowSyncHudMsg") - debug not enabled


Archivos adjuntos
.sma   Descargar AMXX / zp_tcs5.sma (Tamaño: 1 MB / Descargas: 6)
Responder
#2
Agrega debug como para que te tire mas data

Saludos,
cLAANS:-
Mi unico plugin.
Tutorial de niveles.

Ayudo, pero no de la manera que quieren, si quieren aprender les servirá lo mio, para pedir el codigo en bandeja tienen la sección 'Pedidos'

(09/11/2017, 09:30 PM)SoundBlaster escribió: Espera y llamo a los power rangers para que me digan la linea de error
Responder
#3
(06/12/2018, 04:34 PM)cLAANS escribió: Agrega debug como para que te tire mas data

Saludos,
cLAANS:-

Código PHP:
//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]);

--------------
Código PHP:
//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);
    } 
-------------
Código PHP:
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 )

Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)