Добро пожаловать на Pro Pawn - Портал о PAWN-скриптинге.
Показано с 1 по 5 из 5
  1. #1
    Аватар для Moore
    Пользователь

    Статус
    Оффлайн
    Регистрация
    21.04.2014
    Сообщений
    14
    Репутация:
    0 ±

    Сервер падает

    Вообщем залил мод, подключил к БД, включаю, работает секунд 20, а потом падает, что делать ?
    PHP код:
    ----------
    Loaded log file"server_log.txt".
    ----------

    SA-MP Dedicated Server
    ----------------------
    v0.3z-R2, (C)2005-2014 SA-MP Team

    [08:15:36filterscripts ""  (string)
    [
    08:15:36
    [
    08:15:36Server Plugins
    [08:15:36] --------------
    [
    08:15:36]  Loading pluginstreamer.so
    [08:15:36

    *** 
    Streamer Plugin v2.6.1 by Incognito loaded ***

    [
    08:15:36]   Loaded.
    [
    08:15:36]  Loading pluginsscanf.so
    [08:15:36

    [
    08:15:36]  ===============================

    [
    08:15:36]       sscanf plugin loaded.     

    [
    08:15:36]    (c2009 Alex "Y_Less" Cole

    [08:15:36]    0.3d-R2 500 Players "dnee"

    [08:15:36]  ===============================

    [
    08:15:36]   Loaded.
    [
    08:15:36]  Loading pluginmysql.so
    [08:15:36plugin.mysqlVersion R8 (revision 14successfully loaded.
    [
    08:15:36]   Loaded.
    [
    08:15:36]  Loading plugincrashdetect.so
    [08:15:36]   CrashDetect v4.13.1 is OK.
    [
    08:15:36]   Loaded.
    [
    08:15:36]  Loaded 4 plugins.

    [
    08:15:36
    [
    08:15:36Filterscripts
    [08:15:36] ---------------
    [
    08:15:36]   Loaded 0 filterscripts.

    [
    08:15:36
    Подключено к базе данныхУспешно
    [08:15:36] [Загрузка Gang Zone]: Было загружено 91 потрачено 0 (ms)
    [
    08:15:36] [debugRun time error 4"Array index out of bounds"
    [08:15:36] [debug]  Accessing element at index 500 past array upper bound 499
    [08:15:36] [debugAMX backtrace:
    [
    08:15:36] [debug#0 00007e78 in public UpdateTime () from ave.amx
    [08:15:36] [debug#1 00016194 in public OnGameModeInit () from ave.amx
    [08:15:36
      *------------------------------------------------*
    [
    08:15:36Desposition Gang War
    [08:15:36]   *------------------------------------------------*

    [
    08:15:36Number of vehicle models14
    [08:15:37] [debugRun time error 4"Array index out of bounds"
    [08:15:37] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:37] [debugAMX backtrace:
    [
    08:15:37] [debug#0 00007af4 in public SetPlayerUnjail () from ave.amx
    [08:15:38] [debugRun time error 4"Array index out of bounds"
    [08:15:38] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:38] [debugAMX backtrace:
    [
    08:15:38] [debug#0 00007af4 in public SetPlayerUnjail () from ave.amx
    [08:15:39] [debugRun time error 4"Array index out of bounds"
    [08:15:39] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:39] [debugAMX backtrace:
    [
    08:15:39] [debug#0 00005e04 in public GzCheck () from ave.amx
    [08:15:39] [debugRun time error 4"Array index out of bounds"
    [08:15:39] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:39] [debugAMX backtrace:
    [
    08:15:39] [debug#0 00007af4 in public SetPlayerUnjail () from ave.amx
    [08:15:40] [debugRun time error 4"Array index out of bounds"
    [08:15:40] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:40] [debugAMX backtrace:
    [
    08:15:40] [debug#0 00007af4 in public SetPlayerUnjail () from ave.amx
    [08:15:41] [debugRun time error 4"Array index out of bounds"
    [08:15:41] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:41] [debugAMX backtrace:
    [
    08:15:41] [debug#0 00007af4 in public SetPlayerUnjail () from ave.amx
    [08:15:42] [debugRun time error 4"Array index out of bounds"
    [08:15:42] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:42] [debugAMX backtrace:
    [
    08:15:42] [debug#0 00005e04 in public GzCheck () from ave.amx
    [08:15:42] [debugRun time error 4"Array index out of bounds"
    [08:15:42] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:42] [debugAMX backtrace:
    [
    08:15:42] [debug#0 00007af4 in public SetPlayerUnjail () from ave.amx
    [08:15:44] [debugRun time error 4"Array index out of bounds"
    [08:15:44] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:44] [debugAMX backtrace:
    [
    08:15:44] [debug#0 00007af4 in public SetPlayerUnjail () from ave.amx
    [08:15:45] [debugRun time error 4"Array index out of bounds"
    [08:15:45] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:45] [debugAMX backtrace:
    [
    08:15:45] [debug#0 00007af4 in public SetPlayerUnjail () from ave.amx
    [08:15:45] [debugRun time error 4"Array index out of bounds"
    [08:15:45] [debug]  Accessing element at index 91 past array upper bound 90
    [08:15:45] [debugAMX backtrace:
    [
    08:15:45] [debug#0 00005e04 in public GzCheck () from ave.amx
    [08:15:46] --- Server Shutting Down.
    [
    08:15:46

    *** 
    Streamer Plugin v2.6.1 by Incognito unloaded ***

    [
    08:15:46

    [
    08:15:46]  ===============================

    [
    08:15:46]      sscanf plugin unloaded.    

    [
    08:15:46]  ===============================

    [
    08:15:46] [debugServer crashed due to an unknown error
    [08:15:46] [debugNative backtrace:
    [
    08:15:46] [debug#0 0039609b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [08:15:46] [debug#1 003912d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
    [08:15:46] [debug#2 00391ebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
    [08:15:46] [debug#3 00392366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
    [08:15:46] [debug#4 00395cec in ?? () from plugins/crashdetect.so
    [08:15:46] [debug#5 00555410 in ?? ()
    [08:15:46] [debug#6 005cd745 in _ZN13CMySQLHandlerD2Ev () from plugins/mysql.so
    [08:15:46] [debug#7 005d3c90 in Unload () from plugins/mysql.so
    [08:15:46] [debug#8 080cf61b in ?? () from ./samp03svr
    [08:15:46] [debug#9 080a8692 in ?? () from ./samp03svr
    [08:15:46] [debug#10 001f3ce6 in __libc_start_main () from /lib/libc.so.6
    [08:15:46] [debug#11 0804b4a1 in ?? () from ./samp03svr 

  2. #2
    Аватар для DeimoS
    Модератор?

    Статус
    Оффлайн
    Регистрация
    27.01.2014
    Адрес
    Восточный Мордор
    Сообщений
    5,588
    Репутация:
    1984 ±
    Выход за пределы массива в функции SetPlayerUnjail. Скомпилируйте мод с режимом отладки -d3 и после крашдетект укажет на точную строку. Ну или саму функцию скиньте
    Связаться со мной в VK можно через личные сообщения этой группы
    Заказы не принимаю

    Широко известно, что идеи стоят 0.8333 цента каждая (исходя из рыночной цены 10 центов за дюжину).
    Великих идей полно, на них нет спроса.
    Воплощение идеи в законченную игру требует долгой работы,
    таланта, терпения и креативности, не говоря уж о затратах денег, времени и ресурсов.
    Предложить идею просто, воплотить – вот в чём проблема

    Steve Pavlina

  3. Пользователь сказал cпасибо:
    Moore (19.05.2014)
  4. #3
    Аватар для Moore
    Пользователь

    Статус
    Оффлайн
    Регистрация
    21.04.2014
    Сообщений
    14
    Репутация:
    0 ±
    Цитата Сообщение от DeimoS Посмотреть сообщение
    Выход за пределы массива в функции SetPlayerUnjail. Скомпилируйте мод с режимом отладки -d3 и после крашдетект укажет на точную строку. Ну или саму функцию скиньте
    Дайте скайп, скину мод, а то я не понял что это
    Скомпилируйте мод с режимом отладки -d3

  5. #4
    Аватар для Osetin
    •Администратор•

    Статус
    Оффлайн
    Регистрация
    26.03.2013
    Адрес
    ♔Osetia, Vladikavkaz♔
    Сообщений
    3,432
    Репутация:
    1093 ±
    Цитата Сообщение от Moore Посмотреть сообщение
    Дайте скайп, скину мод, а то я не понял что это
    За вас это никто не будет делать,скиньте функцию тогда

  6. Пользователь сказал cпасибо:
    Moore (19.05.2014)
  7. #5
    Аватар для Moore
    Пользователь

    Статус
    Оффлайн
    Регистрация
    21.04.2014
    Сообщений
    14
    Репутация:
    0 ±
    Цитата Сообщение от Osetin Посмотреть сообщение
    За вас это никто не будет делать,скиньте функцию тогда
    DeimoS помогает решить проблему, уже 1 ошибку убрал, огромное спасибо ему...

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

    Вот ошибки в моде:
    PHP код:
    ----------
    Loaded log file"server_log.txt".
    ----------

    SA-MP Dedicated Server
    ----------------------
    v0.3z-R2, (C)2005-2014 SA-MP Team

    [13:10:13filterscripts ""  (string)
    [
    13:10:13
    [
    13:10:13Server Plugins
    [13:10:13] --------------
    [
    13:10:13]  Loading pluginstreamer.so
    [13:10:13

    *** 
    Streamer Plugin v2.6.1 by Incognito loaded ***

    [
    13:10:13]   Loaded.
    [
    13:10:13]  Loading pluginsscanf.so
    [13:10:13

    [
    13:10:13]  ===============================

    [
    13:10:13]       sscanf plugin loaded.     

    [
    13:10:13]    (coffee2009 Alex "Y_Less" Cole

    [13:10:13]    0.3d-R2 500 Players "dnee"

    [13:10:13]  ===============================

    [
    13:10:13]   Loaded.
    [
    13:10:13]  Loading pluginmysql.so
    [13:10:13plugin.mysqlVersion R8 (revision 14successfully loaded.
    [
    13:10:13]   Loaded.
    [
    13:10:13]  Loading plugincrashdetect.so
    [13:10:13]   CrashDetect v4.13.1 is OK.
    [
    13:10:13]   Loaded.
    [
    13:10:13]  Loaded 4 plugins.

    [
    13:10:13
    [
    13:10:13Filterscripts
    [13:10:13] ---------------
    [
    13:10:13]   Loaded 0 filterscripts.

    [
    13:10:13
    Подключено к базе данныхУспешно
    [13:10:13] [Загрузка Gang Zone]: Было загружено 91 потрачено 1 (ms)
    [
    13:10:13] [debugRun time error 4"Array index out of bounds"
    [13:10:13] [debug]  Accessing element at index 500 past array upper bound 499
    [13:10:13] [debugAMX backtrace:
    [
    13:10:13] [debug#0 0000a498 in public UpdateTime () at E:\pawno\ave.pwn:683
    [13:10:13] [debug#1 0001c88c in public OnGameModeInit () at E:\pawno\ave.pwn:1543
    [13:10:13
      *------------------------------------------------*
    [
    13:10:13Desposition Gang War
    [13:10:13]   *------------------------------------------------*

    [
    13:10:13Number of vehicle models14
    [13:10:16] [debugRun time error 4"Array index out of bounds"
    [13:10:16] [debug]  Accessing element at index 91 past array upper bound 90
    [13:10:16] [debugAMX backtrace:
    [
    13:10:16] [debug#0 00007878 in public GzCheck () at E:\pawno\ave.pwn:522
    [13:10:19] [debugRun time error 4"Array index out of bounds"
    [13:10:19] [debug]  Accessing element at index 91 past array upper bound 90
    [13:10:19] [debugAMX backtrace:
    [
    13:10:19] [debug#0 00007878 in public GzCheck () at E:\pawno\ave.pwn:522
    [13:10:22] [debugRun time error 4"Array index out of bounds"
    [13:10:22] [debug]  Accessing element at index 91 past array upper bound 90
    [13:10:22] [debugAMX backtrace:
    [
    13:10:22] [debug#0 00007878 in public GzCheck () at E:\pawno\ave.pwn:522
    [13:10:23] --- Server Shutting Down.
    [
    13:10:23

    *** 
    Streamer Plugin v2.6.1 by Incognito unloaded ***

    [
    13:10:23

    [
    13:10:23]  ===============================

    [
    13:10:23]      sscanf plugin unloaded.    

    [
    13:10:23]  ===============================

    [
    13:10:23] [debugServer crashed due to an unknown error
    [13:10:23] [debugNative backtrace:
    [
    13:10:23] [debug#0 003f009b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
    [13:10:23] [debug#1 003eb2d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
    [13:10:23] [debug#2 003ebebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
    [13:10:23] [debug#3 003ec366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
    [13:10:23] [debug#4 003efcec in ?? () from plugins/crashdetect.so
    [13:10:23] [debug#5 00fb7410 in ?? ()
    [13:10:23] [debug#6 0082cae0 in mysql_free_result () from plugins/mysql.so
    [13:10:23] [debug#7 00822597 in _ZN13CMySQLHandler10FreeResultEv () from plugins/mysql.so
    [13:10:23] [debug#8 008230d5 in _ZN13CMySQLHandlerD2Ev () from plugins/mysql.so
    [13:10:23] [debug#9 00829c90 in Unload () from plugins/mysql.so
    [13:10:23] [debug#10 080cf61b in ?? () from ./samp03svr
    [13:10:23] [debug#11 080a8692 in ?? () from ./samp03svr
    [13:10:23] [debug#12 001c8ce6 in __libc_start_main () from /lib/libc.so.6
    [13:10:23] [debug#13 0804b4a1 in ?? () from ./samp03svr 

 

 

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •