help - crashdetect
#1

Help with crash

Код:
[18:16:29] [debug] Run time error 4: "Array index out of bounds"
 [18:16:29] [debug] Accessing element at index 2 past array upper bound 1
 [18:16:29] [debug] AMX backtrace:
 [18:16:29] [debug] #0 000550b8 in ?? () from GF.amx
 [18:16:29] [debug] #1 0004243c in public OnGameModeInit () from GF.amx
 [18:16:29] 
 [18:16:29] 
 [18:16:29] : LS-LV
 [18:16:29] _____________________
 [18:16:29] By: A Team
 [18:16:29] 
 [18:16:29] Number of vehicle models: 39
 [18:17:24] Incoming connection: ip:1203
 [18:17:24] [join] Taykiro has joined the server (0:ip)
 [18:17:30] Taykiro has logged in.
 [18:18:46] [debug] Server crashed while executing GF.amx
 [18:18:46] [debug] AMX backtrace:
 [18:18:46] [debug] #0 native fwrite () [00405710] from samp-server.exe
 [18:18:46] [debug] #1 00112124 in ?? () from GF.amx
 [18:18:46] [debug] #2 00074f28 in public OnPlayerCommandText () from GF.amx
 [18:18:46] [debug] System backtrace:
 [18:18:47] [debug] #0 0040534e in ?? () from D:\Godfather\samp-server.exe
Reply
#2

Show me what you have in the callback OnGameModeInit()
Reply
#3

who make callback for ongamemodeint use this https://sampwiki.blast.hk/wiki/OnGameModeInit and i don't understand
Reply
#4

Quote:
Originally Posted by Taykiro
Посмотреть сообщение
who make callback for ongamemodeint use this https://sampwiki.blast.hk/wiki/OnGameModeInit and i don't understand
he asking to show us your codes under OnGameModeInit
Reply
#5

Yeah..
Reply
#6

http://pastebin.com/xpKbad7H
Reply
#7

Create pawn.cfg in "server path/pawno/"
Add
Код:
-d3
in the file, save and close.

Now re-compile your gamemode and let it run again; when it crashes - parse the new information to this thread.
Reply
#8

Quote:
Originally Posted by Revo
Посмотреть сообщение
Create pawn.cfg in "server path/pawno/"
Add
Код:
-d3
in the file, save and close.

Now re-compile your gamemode and let it run again; when it crashes - parse the new information to this thread.
no difference
Reply
#9

seems to be something wrong in public OnPlayerCommandText show us the code on it


EDIT: and public OnGameModeInit ()
Reply
#10

is for ongamemodeinit http://pastebin.com/xpKbad7H
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)