DmitriyMay2019
Нуль
- Регистрация
- 17 Июл 2019
- Сообщения
- 1
- Лучшие ответы
- 0
- Репутация
- 0
SERVER LOGS:
Одна из ошибок:
PHP:
[07:34:38] [debug] Run time error 4: "Array index out of bounds"
[07:34:38] [debug] Attempted to read/write array element at negative index -1
[07:34:38] [debug] AMX backtrace:
[07:34:38] [debug] #0 001fcf88 in public OnPlayerEnterDynamicArea (playerid=0, areaid=541) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:27650
[07:34:54] [debug] Run time error 4: "Array index out of bounds"
[07:34:54] [debug] Attempted to read/write array element at negative index -1
[07:34:54] [debug] AMX backtrace:
[07:34:54] [debug] #0 0020e42c in public OnPlayerLeaveDynamicArea (playerid=0, areaid=541) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:28406
[07:35:01] [debug] Run time error 4: "Array index out of bounds"
[07:35:01] [debug] Attempted to read/write array element at negative index -1
[07:35:01] [debug] AMX backtrace:
[07:35:01] [debug] #0 001fcf88 in public OnPlayerEnterDynamicArea (playerid=0, areaid=541) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:27650
[07:35:05] [debug] Run time error 4: "Array index out of bounds"
[07:35:05] [debug] Attempted to read/write array element at negative index -1
[07:35:05] [debug] AMX backtrace:
[07:35:05] [debug] #0 0020e42c in public OnPlayerLeaveDynamicArea (playerid=0, areaid=541) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:28406
[07:35:11] [debug] Run time error 4: "Array index out of bounds"
[07:35:11] [debug] Attempted to read/write array element at negative index -1
[07:35:11] [debug] AMX backtrace:
[07:35:11] [debug] #0 001fcf88 in public OnPlayerEnterDynamicArea (playerid=0, areaid=540) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:27650
[07:35:17] [debug] Run time error 4: "Array index out of bounds"
[07:35:17] [debug] Attempted to read/write array element at negative index -1
[07:35:17] [debug] AMX backtrace:
[07:35:17] [debug] #0 001fcf88 in public OnPlayerEnterDynamicArea (playerid=0, areaid=548) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:27650
[07:35:25] [debug] Run time error 4: "Array index out of bounds"
[07:35:25] [debug] Attempted to read/write array element at negative index -1
[07:35:25] [debug] AMX backtrace:
[07:35:25] [debug] #0 0020e42c in public OnPlayerLeaveDynamicArea (playerid=0, areaid=540) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:28406
[07:35:28] [debug] Run time error 4: "Array index out of bounds"
[07:35:28] [debug] Attempted to read/write array element at negative index -1
[07:35:28] [debug] AMX backtrace:
[07:35:28] [debug] #0 0020e42c in public OnPlayerLeaveDynamicArea (playerid=0, areaid=548) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:28406
[07:38:39] [debug] Run time error 4: "Array index out of bounds"
[07:38:39] [debug] Attempted to read/write array element at negative index -1
[07:38:39] [debug] AMX backtrace:
[07:38:39] [debug] #0 001fcf88 in public OnPlayerEnterDynamicArea (playerid=0, areaid=542) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:27650
[07:38:45] [debug] Run time error 4: "Array index out of bounds"
[07:38:45] [debug] Attempted to read/write array element at negative index -1
[07:38:45] [debug] AMX backtrace:
[07:38:45] [debug] #0 0020e42c in public OnPlayerLeaveDynamicArea (playerid=0, areaid=542) at C:\Users\Dmitry\Desktop\для сервера\DIAMOND\gamemodes\aurora.pwn:28406
[07:41:19] sscanf warning: Format specifier does not match parameter count.
[07:41:21] sscanf warning: Format specifier does not match parameter count.
[07:55:56] [part] Dmitriy_May has left the server (0:0)
[08:00:02] [connection] 46.******:54188 requests connection cookie.
[08:00:04] [join] Dmitriy_May has joined the server (0:46.******)
PHP:
else if(areaid == ShootingArea[playerid]) { //тир зона
new mapshooting, maxbox;
switch(GetPVarInt(playerid,"shootingpl")) {
case 67: mapshooting = 0, maxbox = 4;
case 78: mapshooting = 11, maxbox = 8; // lva
}
RemovePlayerAttachedObject(playerid, 7);//строка 28406 (по ней тоже выходит ошибка)===
SendOk(playerid, "Вы слишком далеко отошли от места, Ваша тренировка окончена");
for(new i = 0; i < 2; i++) DestroyDynamicObject(BottleObject[playerid][i]);
Последнее редактирование модератором: