Script on Server Crashing
#1

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
Reply
#2

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

Nope. No compile errors.
Reply
#4

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.
Reply
#5

post here warnings
and code where these line get warnings
Reply
#6

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)