Zaključano

Problem oko OnDialogResponse( y_hooks / a_samp )

pre 6 godina
1,176
pregleda
6
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
StateBrigaAsddsa
Street Runner
pre 6 godina
Problem(error/warning): Debug errori
Deo skripte:
//Gde god stavim hook OnDialogResponse(...) ili u main.pwn stavim public OnDialogResponse, baca debug errore kad startam server...

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
[14:19:41] Run time error 4: "Array index out of bounds"
[14:19:41] AMX backtrace:
[14:19:41] #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] #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] #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] #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] #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] #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] #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] #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] #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] #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] #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] #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] #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] #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] #14 0000161c in public YSI_g_sDisabledPlayers@Dist (a[]=@00000000 "", s=0) <@Z:> 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)://
02
Wheel Man
pre 6 godina
y_hooks.inc

🙄
StateBrigaAsddsa
Street Runner
pre 6 godina
02 wrote on September 8, 2019, 2:22 pm:
y_hooks.inc

🙄

Sta sa tim? Do juce mi je sve radilo fino u svakom modulu, #include i dole normalno hook OnDialogResponse(...), danas stavim u novom modulu to, ili u main.pwn i dobijem te debug errore
ᗪ乇Ҝ丂卂
Underboss
pre 6 godina
dodji chat
Ivan_Ino
Kingpin
pre 6 godina
Johnnnnnnny c(: wrote on September 8, 2019, 2:29 pm:
Sta sa tim? Do juce mi je sve radilo fino u svakom modulu, #include i dole normalno hook OnDialogResponse(...), danas stavim u novom modulu to, ili u main.pwn i dobijem te debug errore


#include u svakom modulu gdje koristis hook
StateBrigaAsddsa
Street Runner
pre 6 godina
Fixao mi je @Fiddleshock, hvala 🙂, hvala i tebi @Ino42O !

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava