PugMenus

Сообщения
106
Реакции
17
Помог
2 раз(а)
Ошибка
Server crash after change map

L 05/17/2020 - 02:19:09: Start of error session.
L 05/17/2020 - 02:19:09: Info (map "ak-47_map") (file "addons/amxmodx/logs/error_20200517.log")
L 05/17/2020 - 02:19:09: Invalid menu id -1(2)
L 05/17/2020 - 02:19:09: [AMXX] Displaying debug trace (plugin "PugMenus.amxx", version "1.2")
L 05/17/2020 - 02:19:09: [AMXX] Run time error 10: native error (native "menu_display")
L 05/17/2020 - 02:19:09: [AMXX] [0] PugMenus.inc::PUG_DisplayMenuClient (line 64)
ОС
Linux
Amx Mod X
AMX Mod X 1.10.0.5392
Билд
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 15:17:55 Jul 24 2019 (8308)
ReGamedll
ReGameDLL version: 5.16.0.462-dev
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] Reunion RUN - reunion_mm_i386.so v0.1.0.135 ini Start Never
[ 2] AMX Mod X RUN - amxmodx_mm_i386.so v1.10.0.5392 ini Start ANY
[ 3] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 4] ReAPI RUN - reapi_amxx_i386.so v5.12.0.194-dev pl2 ANY Never
[ 5] CStrike RUN - cstrike_amxx_i386.so v1.10.0.5392 pl2 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx_i386.so v1.10.0.5392 pl2 ANY ANY
[ 7] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.10.0.5392 pl2 ANY ANY
[ 8] CSX RUN - csx_amxx_i386.so v1.10.0.5392 pl2 ANY ANY
8 plugins, 8 running
Список плагинов
Currently loaded plugins:
name version author file status
[ 1] PugFlood (Anti Flo 1.10.0.539 AMXX Dev Team CortexFlood.amx running
[ 2] PugAdmin (Admin) 3.1.0 SmileY CortexAdmin.amx running
[ 3] PugCore 3.1.0 SmileY CortexCore.amxx running
[ 4] PugConfigs (Configs) 3.1.0 SmileY CortexConfig.am running
[ 5] PugReady (Ready Sy 3.1.0 SmileY CortexReady.amx running
[ 6] PugMenus (Menus) 3.1.0 SmileY CortexMenus.amx debug
[ 7] PugWarmup (Warmup) 3.1.0 SmileY CortexWarmup.am running
[ 8] PugStats (Stats) 3.1.0 SmileY CortexStats.amx running
[ 9] PugVote (Vote Sys 3.1.0 SmileY CortexVote.amxx running
9 plugins, 9 running
Автор плагина
^SmileY
Версия плагина
3.1.0
Исходный код
#if defined _PugCore_included
#endinput
#endif
#define _PugCore_included

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>

#if AMXX_VERSION_NUM < 200
#assert AMX Mod X v1.10 or later library required!
#endif

#pragma reqlib "PugCore"
#if !defined AMXMODX_NOAUTOLOAD
#pragma loadlib "PugCore"
#endif

#define PUG_MOD_PLUGIN "CS Pug Mod"
#define PUG_MOD_VERSION "3.1.0"
#define PUG_MOD_AUTHOR "SmileY"
#define PUG_MOD_HEADER "^4[PUG]^1"

enum _:PUG_MOD_STATES
{
STATE_DEAD,
STATE_WARMUP,
STATE_START,
STATE_FIRST_HALF,
STATE_HALFTIME,
STATE_SECOND_HALF,
STATE_OVERTIME,
STATE_END
};

stock const PUG_MOD_STATES_STR[PUG_MOD_STATES][] =
{
"Dead",
"Warmup",
"Starting",
"First Half",
"Half Time",
"Second Half",
"Overtime",
"Finished"
};

/**
* Call next Pug Mod State
*
* @note This is useful for call Pug Mod states automatically.
*
* @noreturn
*/
native PUG_RunState();

/**
* Called just after the Pug Mod change the state
*
* @note This is useful to do what you want :D
*
* @param iState The new state that was called
*
* @noreturn
*/
forward PUG_Event(iState);

/**
* Get Pug Mod State
*
* @note This return current state of pug mod
*
* @return Return the state enum
*/
native PUG_GetState();

/**
* Get a team score
*
* @param iTeam The Team index to get score
*
* @note Will return -1 if a invalid team is passed
*
* @return Return score on success, -1 on fail
*/
native PUG_GetScore(iTeam);

/**
* Get current round count
*
* @note Will return 0 if match is not started
*
* @return Return rounds played
*/
native PUG_GetRound();
Server crashes after change map

Logs:
L 05/17/2020 - 02:19:09: Start of error session.
L 05/17/2020 - 02:19:09: Info (map "ak-47_map") (file "addons/amxmodx/logs/error_20200517.log")
L 05/17/2020 - 02:19:09: Invalid menu id -1(2)
L 05/17/2020 - 02:19:09: [AMXX] Displaying debug trace (plugin "PugMenus.amxx", version "3.1.0")
L 05/17/2020 - 02:19:09: [AMXX] Run time error 10: native error (native "menu_display")
L 05/17/2020 - 02:19:09: [AMXX] [0] PugMenus.inc::PUG_DisplayMenuClient (line 64)
 

Download all Attachments

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

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу