SA-MP Forums Archive
Script on Server Crashing - 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: Script on Server Crashing (/showthread.php?tid=431142)



Script on Server Crashing - RageModeRoleplay - 16.04.2013

Hello.
I am new to scripting, and I have recieved this error when trying to log onto my server.
My error is as follows:
[00:01:25] [debug] Run time error 4: "Array index out of bounds"
[00:01:25] [debug] Accessing element at index 72 past array upper bound 71
[00:01:25] [debug] AMX backtrace:
[00:01:25] [debug] #0 0040105c in ?? () from U-RP.amx
[00:01:25] [debug] #1 003cb510 in public Itter_OnGameModeInit () from U-RP.amx
[00:01:25] [debug] #2 native CallLocalFunction () [080dc980] from samp03svr
[00:01:25] [debug] #3 00003940 in public Streamer_OnGameModeInit () from U-RP.amx
[00:01:25] [debug] #4 native CallLocalFunction () [080dc980] from samp03svr
[00:01:25] [debug] #5 00002490 in public OnGameModeInit () from U-RP.amx

If someone could add me on Skype and talk me through this error, I would be extremely grateful.
Thanks.

Skype name: xxkiingcreeperxx


Re: Script on Server Crashing - Pawnie - 16.04.2013

Do you get any errors when trying to compile the script? If so show us.


Re: Script on Server Crashing - RageModeRoleplay - 17.04.2013

Nope. No compile errors.


Re: Script on Server Crashing - RageModeRoleplay - 17.04.2013

Quote:
Originally Posted by Pawnie
Посмотреть сообщение
Do you get any errors when trying to compile the script? If so show us.
Nope. No errors. Just warnings.


Re: Script on Server Crashing - Xoomer - 17.04.2013

post here warnings
and code where these line get warnings


Re: Script on Server Crashing - RageModeRoleplay - 17.04.2013

Quote:
Originally Posted by Xoomer
Посмотреть сообщение
post here warnings
and code where these line get warnings
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(232) : warning 201: redefinition of constant/macro (symbol "MAX_ROADBLOCKS")
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(29036) : warning 206: redundant test: constant expression is non-zero
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(97352) : warning 203: symbol is never used: "params"
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(97390) : warning 203: symbol is never used: "params"
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(97411) : warning 203: symbol is never used: "params"
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(98459) : warning 203: symbol is never used: "params"
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(103953) : warning 217: loose indentation
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(10409 : warning 217: loose indentation
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(28182) : warning 204: symbol is assigned a value that is never used: "InfoBoardTimer"
C:\Users\Public\Documents\SAMP Scripts\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(56414) : warning 204: symbol is assigned a value that is never used: "iSweeper"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


10 Warnings.


You will need to speak to me step by step, i'm a noob at coding