Problem oko OnDialogResponse( y_hooks / a_samp )

Započeo Johnnnnnnny c(:, Septembar 08, 2019, 14:36:25 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Debug errori
Deo skripte: [pawn]//Gde god stavim hook OnDialogResponse(...) ili u main.pwn stavim public OnDialogResponse, baca debug errore kad startam server...[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [14:19:41] [debug] Run time error 4: "Array index out of bounds"
[14:19:41] [debug] AMX backtrace:
[14:19:41] [debug] #0 00012d34 in CodeScanRunFastPrescan (&proc=@01187924 -638368, &nextaddr=@01187920 -746008, searchFuncAddr=198824) at C:\Users\Win10\Desktop\Gamemode\gamemodes\include\codescan.inc:843
[14:19:41] [debug] #1 00012fbc in bool:CodeScanRunFast (csState[CodeScanner:164]=@0118a1f4, searchFuncAddr=198824) at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\codescan.inc:866
[14:19:41] [debug] #2 00035134 in public Timers_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Coding\y_inline\y_inline_impl2.inc:863
[14:19:41] [debug] #3 00030250 in public Malloc_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Coding\y_timers\y_timers_impl.inc:167
[14:19:41] [debug] #4 0002f008 in public Yield_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Coding\y_timers\..\y_malloc\y_malloc_entry.inc:194
[14:19:41] [debug] #5 000240fc in public YHNPS_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Data\y_foreach\y_foreach_yield.inc:60
[14:19:41] [debug] #6 0002384c in public Hooks_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Data\y_foreach\..\..\YSI_Coding\y_hooks\y_hooks_nps.inc:432
[14:19:41] [debug] #7 00021a50 in public CGen_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Data\y_foreach\..\..\YSI_Coding\y_hooks\y_hooks_impl.inc:1213
[14:19:41] [debug] #8 0001cb18 in public VA_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Data\y_foreach\..\..\YSI_Coding\y_hooks\..\y_cgen\y_cgen.inc:194
[14:19:41] [debug] #9 00015824 in public ThirdParty_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Data\y_foreach\..\..\YSI_Coding\y_va\y_va_impl.inc:252
[14:19:41] [debug] #10 000155ec in public AMX_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Data\y_foreach\..\..\YSI_Coding\y_va\..\..\YSI_Core\y_core\y_thirdpartyinclude.inc:369
[14:19:41] [debug] #11 000028b8 in public Debug_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Core\y_core\y_amx_impl.inc:206
[14:19:41] [debug] #12 0000220c in public ScriptInit_OnCodeInit () at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Core\y_core\y_debug_impl.inc:659
[14:19:41] [debug] #13 00001300 in ScriptInit_CallOnCodeInit (bool:jit=false) at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Core\y_core\y_scriptinit_impl.inc:193
[14:19:41] [debug] #14 0000161c in public YSI_g_sDisabledPlayers@Dist (a[]=@00000000 "", s=0) <[member=28186]Z[/member]:> at C:\Users\Win10\Desktop\Gamemodes\gamemodes\include\YSI_Visual\y_commands\..\..\YSI_Core\y_core\y_scriptinit_impl.inc:339

Slika/video ingame problema(obavezno ako je ingame problem)://
Poslednja Izmena: Septembar 14, 2019, 13:15:28 POSLE PODNE od Bašovski

02

*


Citat: 02 poslato Septembar 08, 2019, 16:22:03 POSLE PODNE
y_hooks.inc

::)
Sta sa tim? Do juce mi je sve radilo fino u svakom modulu, #include <YSI_Coding\y_hooks> i dole normalno hook OnDialogResponse(...), danas stavim u novom modulu to, ili u main.pwn i dobijem te debug errore


Citat: Johnnnnnnny c(: poslato Septembar 08, 2019, 16:29:46 POSLE PODNE
Sta sa tim? Do juce mi je sve radilo fino u svakom modulu, #include <YSI_Coding\y_hooks> i dole normalno hook OnDialogResponse(...), danas stavim u novom modulu to, ili u main.pwn i dobijem te debug errore

#include <YSI\y_hooks> u svakom modulu gdje koristis hook
Software Developer