PARTNERI:
-UPOZORENJE-

Samo registrovani članovi mogu da vide/koriste forum u celini.
Prijavite se ili registrujte nalog na Balkan SA-MP forumu.


Autor Tema: [Rešeno] Problem oko OnDialogResponse( y_hooks / a_samp )  (Pročitano 139 puta)

0 članova i 1 gost pregledaju ovu temu.

Problem oko OnDialogResponse( y_hooks / a_samp )
« poslato: Septembar 08, 2019, 14:36:25 posle podne »
Problem(error/warning): Debug errori
Deo skripte:
Pawno Code: [Izaberi]
//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] [debug] Run time error 4: "Array index out of bounds"
[14:19:41] [debug] AMX backtrace:
[14:19:41] [debug] #0 00012d34 in CodeScanRunFastPrescan (&[email protected] -638368, &[email protected] -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][email protected], 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 [email protected] (a[][email protected] "", 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 Bašovski »
 

Van mreže 02

Odg: Problem oko OnDialogResponse( y_hooks / a_samp )
« Odgovor #1 poslato: Septembar 08, 2019, 16:22:03 posle podne »
y_hooks.inc

::)
 

Odg: Problem oko OnDialogResponse( y_hooks / a_samp )
« Odgovor #2 poslato: Septembar 08, 2019, 16:29:46 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
 

Na mreži Fiddleshock

Odg: Problem oko OnDialogResponse( y_hooks / a_samp )
« Odgovor #3 poslato: Septembar 10, 2019, 14:44:40 posle podne »
dodji chat

Respects to: Pinch, Ino42O, Sule, Lanmi, Levu, Bunta, Vedran, i ostali develjoperi.

IF U HAVE AN IDEA, FELL FREE TO SAY, I WILL IMPLEMENT IT
\b(\w*find me if u have eyes xD\w*)\b
 

Na mreži Ino42O

Odg: Problem oko OnDialogResponse( y_hooks / a_samp )
« Odgovor #4 poslato: Septembar 10, 2019, 15:59:22 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
 

Odg: Problem oko OnDialogResponse( y_hooks / a_samp )
« Odgovor #5 poslato: Septembar 11, 2019, 15:10:57 posle podne »
Fixao mi je @Fiddleshock, hvala :), hvala i tebi @Ino42O !
 
Korisnici koji su se zahvalili: Fiddleshock