SA-MP Forums Archive
YSI help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: YSI help. (/showthread.php?tid=656682)



YSI help. - sanight - 21.07.2018

hello guys. i need a help.

and so, when I run the server comes out an inscription:
Код:
*** YSI Error: No YSI classes found
this is not all, when I give out a weapon or get it through anything, this message comes out.
Код:
[11:02:37] [debug] Run time error 4: "Array index out of bounds"
[11:02:37] [debug]  Attempted to read/write array element at index 300 in array of size 51
[11:02:37] [debug] AMX backtrace:
[11:02:37] [debug] #0 0014eb58 in Callback_Call (result[E_CALLBACK_DATA:4]=@00000000, ... <4 arguments>) at C:\Users\Jimmy\Desktop\SARP\pawno\include\samodules\invertory\inv.pwn:87
[11:02:37] [debug] #1 00088d30 in ?? (... <5 arguments>) at C:\Users\Jimmy\Desktop\SARP\pawno\include\YSI\y_dialog.inc:332
[11:02:37] [debug] #2 0001a740 in public OnDialogResponse (playerid=0, dialogid=0, response=1, listitem=1, inputtext[]=@023bf1f8 "[2] ") at C:\Users\Jimmy\Desktop\SARP\pawno\include\YSI\y_hooks/impl.inc:2257
with the help - I will put + the reputation.


Re: YSI help. - sanight - 21.07.2018

Quote:
Originally Posted by ******
Посмотреть сообщение
The first is quite descriptive - you didn’t add any classes (via Class_Add and similar functions).

The second error is a buffer overflow in your code.
thx, what is it?
Код:
\pawno\include\YSI\internal\..\internal\y_natives.inc(65) : fatal error 100: cannot read from file: "y_globaltags"



Re: YSI help. - Dayrion - 21.07.2018

Quote:
Originally Posted by sanight
Посмотреть сообщение
thx, what is it?
Код:
\pawno\include\YSI\internal\..\internal\y_natives.inc(65) : fatal error 100: cannot read from file: "y_globaltags"
You are missing an YSI file. Redownload from the GitHub: https://github.com/pawn-lang/YSI-Includes