21.02.2019, 22:14
Hi, so I've implemented a new system in my server using textdraws for registration, I know it might be something I've missed, but one of the textdraws(which i don't know what is it exactly as the logs show its number while in the gamemode it has got a name) causes the following errors, and bans the player clicking it after clicking on it much, as you can see..
The lines in the logs aren't even related to the system, idk why are they mentioned there.. tell me if you need a specific line.
Code:
[23:19:49] [debug] Run time error 4: "Array index out of bounds" [23:19:49] [debug] Attempted to read/write array element at index 1110704128 in array of size 200 [23:19:49] [debug] AMX backtrace: [23:19:49] [debug] #0 0005d0f4 in ?? (... <2 arguments>) at ./includes/anti-aimbot.pwn:100 [23:19:49] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:19:49] [debug] #2 native CallLocalFunction () from samp03svr [23:19:49] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:19:49] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:19:51] [debug] Run time error 4: "Array index out of bounds" [23:19:51] [debug] Attempted to read/write array element at index 1110704128 in array of size 1000 [23:19:51] [debug] AMX backtrace: [23:19:51] [debug] #0 00053300 in ?? (... <2 arguments>) at D:\PAWN Scripting\Royal Life\pawno\include\PreviewModelDialog.inc:827 [23:19:51] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:19:51] [debug] #2 native CallLocalFunction () from samp03svr [23:19:51] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:19:51] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:19:52] [debug] Run time error 4: "Array index out of bounds" [23:19:52] [debug] Attempted to read/write array element at index 1110704128 in array of size 1000 [23:19:52] [debug] AMX backtrace: [23:19:52] [debug] #0 00053780 in ?? (... <2 arguments>) at D:\PAWN Scripting\Royal Life\pawno\include\PreviewModelDialog.inc:869 [23:19:52] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:19:52] [debug] #2 native CallLocalFunction () from samp03svr [23:19:52] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:19:52] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:19:52] [debug] Run time error 4: "Array index out of bounds" [23:19:52] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:19:52] [debug] AMX backtrace: [23:19:52] [debug] #0 0036e28c in ?? (... <2 arguments>) at asd.pwn:41416 [23:19:52] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:19:52] [debug] #2 native CallLocalFunction () from samp03svr [23:19:52] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:19:52] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:19:52] [debug] Run time error 4: "Array index out of bounds" [23:19:52] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:19:52] [debug] AMX backtrace: [23:19:52] [debug] #0 0036f948 in ?? (... <2 arguments>) at asd.pwn:41547 [23:19:52] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:19:52] [debug] #2 native CallLocalFunction () from samp03svr [23:19:52] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:19:52] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=42) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:42] [debug] Run time error 4: "Array index out of bounds" [23:20:42] [debug] Attempted to read/write array element at index 1110704128 in array of size 2000 [23:20:42] [debug] AMX backtrace: [23:20:42] [debug] #0 0038cdfc in ?? (... <2 arguments>) at asd.pwn:44112 [23:20:42] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:42] [debug] #2 native CallLocalFunction () from samp03svr [23:20:42] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:42] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:45] [debug] Run time error 4: "Array index out of bounds" [23:20:45] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:20:45] [debug] AMX backtrace: [23:20:45] [debug] #0 0038d4dc in ?? (... <2 arguments>) at asd.pwn:44155 [23:20:45] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:45] [debug] #2 native CallLocalFunction () from samp03svr [23:20:45] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:45] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:46] [debug] Run time error 4: "Array index out of bounds" [23:20:46] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:20:46] [debug] AMX backtrace: [23:20:46] [debug] #0 0036e074 in ?? (... <2 arguments>) at asd.pwn:41390 [23:20:46] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:46] [debug] #2 native CallLocalFunction () from samp03svr [23:20:46] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:46] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:47] [debug] Run time error 4: "Array index out of bounds" [23:20:47] [debug] Attempted to read/write array element at index 1110704128 in array of size 200 [23:20:47] [debug] AMX backtrace: [23:20:47] [debug] #0 00371858 in ?? (... <2 arguments>) at asd.pwn:41711 [23:20:47] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:47] [debug] #2 native CallLocalFunction () from samp03svr [23:20:47] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:47] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:48] [debug] Run time error 4: "Array index out of bounds" [23:20:48] [debug] Attempted to read/write array element at index 1110704128 in array of size 200 [23:20:48] [debug] AMX backtrace: [23:20:48] [debug] #0 000f56e4 in ?? (... <2 arguments>) at asd.pwn:17517 [23:20:48] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:48] [debug] #2 native CallLocalFunction () from samp03svr [23:20:48] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:48] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:49] [debug] Run time error 4: "Array index out of bounds" [23:20:49] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:20:49] [debug] AMX backtrace: [23:20:49] [debug] #0 003939b4 in ?? (... <2 arguments>) at asd.pwn:44735 [23:20:49] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:49] [debug] #2 native CallLocalFunction () from samp03svr [23:20:49] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:49] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:52] [debug] Run time error 4: "Array index out of bounds" [23:20:52] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:20:52] [debug] AMX backtrace: [23:20:52] [debug] #0 00372f18 in ?? (... <2 arguments>) at asd.pwn:41803 [23:20:52] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:52] [debug] #2 native CallLocalFunction () from samp03svr [23:20:52] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:52] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:53] [debug] Run time error 4: "Array index out of bounds" [23:20:53] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:20:53] [debug] AMX backtrace: [23:20:53] [debug] #0 0038c94c in ?? (... <2 arguments>) at asd.pwn:44090 [23:20:53] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:53] [debug] #2 native CallLocalFunction () from samp03svr [23:20:53] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:53] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:54] [debug] Run time error 4: "Array index out of bounds" [23:20:54] [debug] Attempted to read/write array element at index 1110704128 in array of size 2000 [23:20:54] [debug] AMX backtrace: [23:20:54] [debug] #0 0038c6a0 in ?? (... <2 arguments>) at asd.pwn:44077 [23:20:54] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:54] [debug] #2 native CallLocalFunction () from samp03svr [23:20:54] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:54] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:56] [debug] Run time error 4: "Array index out of bounds" [23:20:56] [debug] Attempted to read/write array element at index 1110704128 in array of size 2000 [23:20:56] [debug] AMX backtrace: [23:20:56] [debug] #0 0038c3b8 in ?? (... <2 arguments>) at asd.pwn:44063 [23:20:56] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:56] [debug] #2 native CallLocalFunction () from samp03svr [23:20:56] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:56] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:57] [debug] Run time error 4: "Array index out of bounds" [23:20:57] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:20:57] [debug] AMX backtrace: [23:20:57] [debug] #0 003922f0 in ?? (... <2 arguments>) at asd.pwn:44623 [23:20:57] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:57] [debug] #2 native CallLocalFunction () from samp03svr [23:20:57] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:57] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=14) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444 [23:20:59] AdmWarning: Maya Diab was banned for an unauthorized RCON login. [23:20:59] [debug] Run time error 4: "Array index out of bounds" [23:20:59] [debug] Attempted to read/write array element at index 1110704128 in array of size 201 [23:20:59] [debug] AMX backtrace: [23:20:59] [debug] #0 00385230 in ?? (... <2 arguments>) at asd.pwn:43475 [23:20:59] [debug] #1 00047bb0 in public MP_OPCPTD () at D:\PAWN Scripting\Royal Life\pawno\include\YSI\y_hooks/impl.inc:2890 [23:20:59] [debug] #2 native CallLocalFunction () from samp03svr [23:20:59] [debug] #3 000375b4 in public SM_OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=13) at D:\PAWN Scripting\Royal Life\pawno\include\mSelection.inc:491 [23:20:59] [debug] #4 00034be0 in public OnPlayerClickPlayerTextDraw (playerid=0, PlayerText:playertextid=13) at D:\PAWN Scripting\Royal Life\pawno\include\selection.inc:444