PDA

Просмотр полной версии : [Вопрос] Как узнать строку ошибки?



Steven_Davidson
14.06.2014, 19:16
забыл что делать, что бы писало на каких строках в моде эти ошибки

[18:08:32] [debug] Run time error 4: "Array index out of bounds"
[18:08:32] [debug] Accessing element at index 1 past array upper bound 0
[18:08:32] [debug] AMX backtrace:
[18:08:32] [debug] #0 0003ed60 in ?? () from spell.amx
[18:08:32] [debug] #1 00008120 in public Itter_OnGameModeInit () from spell.amx
[18:08:32] [debug] #2 native CallLocalFunction () [080dc700] from samp03svr
[18:08:32] [debug] #3 00006f7c in public SSCANF_OnGameModeInit () from spell.amx
[18:08:32] [debug] #4 native CallLocalFunction () [080dc700] from samp03svr
[18:08:32] [debug] #5 00001000 in public Streamer_OnGameModeInit () from spell.amx
[18:08:32] [debug] #6 native CallLocalFunction () [080dc700] from samp03svr
[18:08:32] [debug] #7 0000074c in public OnGameModeInit () from spell.amx

bredvix
14.06.2014, 19:27
забыл что делать, что бы писало на каких строках в моде эти ошибки

[18:08:32] [debug] Run time error 4: "Array index out of bounds"
[18:08:32] [debug] Accessing element at index 1 past array upper bound 0
[18:08:32] [debug] AMX backtrace:
[18:08:32] [debug] #0 0003ed60 in ?? () from spell.amx
[18:08:32] [debug] #1 00008120 in public Itter_OnGameModeInit () from spell.amx
[18:08:32] [debug] #2 native CallLocalFunction () [080dc700] from samp03svr
[18:08:32] [debug] #3 00006f7c in public SSCANF_OnGameModeInit () from spell.amx
[18:08:32] [debug] #4 native CallLocalFunction () [080dc700] from samp03svr
[18:08:32] [debug] #5 00001000 in public Streamer_OnGameModeInit () from spell.amx
[18:08:32] [debug] #6 native CallLocalFunction () [080dc700] from samp03svr
[18:08:32] [debug] #7 0000074c in public OnGameModeInit () from spell.amx
Подключи Сrashdetect (http://pro-pawn.ru/showthread.php?2991-Crashdetect)

Steven_Davidson
14.06.2014, 19:32
нет, я не то имел ввиду, я хотел спросить как узнать на какие строчки в моде ругается crashdetected

- - - Добавлено - - -

файл в папке pawno создаешь и туда что то вписываешь %d вроде вот хотел бы уточнить, что там создать нужно и вписать туда?

L0ndl3m
14.06.2014, 19:43
Создаёте файл pawn с расширением .cfg в папке pawno и прописываете туда: -d3, заново компилируете мод и всё.

Steven_Davidson
14.06.2014, 19:46
спасибо