Пользователь
- Сообщения
- 9
- Реакции
- 1
- Ошибка
-
L 11/20/2021 - 07:57:15: [regg_warmup.amxx] Debug mode is enable!
/entrypoint.sh: line 25: 16 Segmentation fault (core dumped) ./hlds_run -pidfile hlds_27018 -game cstrike -secure +port 27018 +sv_lan 0 +maxplayers 32 +map de_dust2 +sys_ticrate 1200 -pingboost 2 -norestart
- ОС
- Linux
- Amx Mod X
-
amxx version
AMX Mod X 1.10.0.5454 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Oct 24 2021 17:24:34
Built from: https://github.com/alliedmodders/amxmodx/commit/5dcda02
Build ID: 5454:5dcda02
Core mode: JIT+ASM32
- Билд
-
version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.11.0.767-dev
Build date: 03:13:55 Oct 25 2021 (2753)
Build from: https://github.com/dreamstalker/rehlds/commit/471158b
- ReGamedll
-
game version
ReGameDLL version: 5.21.0.540-dev
Build date: 17:33:16 Oct 25 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/b9cccc6
- Версия Metamod
-
meta version
Metamod-r v1.3.0.86, API (5:13)
Metamod-r build: 16:14:43 Nov 15 2017
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/5b7fe14
- Список метамодулей
-
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386. v0.1.0.1 ini Start Never
[ 3] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 4] AMX Mod X RUN - amxmodx_mm_i386. v1.10.0. ini Start ANY
[ 5] WHBlocker RUN - whblocker_mm_i38 v1.5.697 ini Chlvl ANY
[ 6] Rechecker RUN - rechecker_mm_i38 v2.7 ini Chlvl ANY
[ 7] ReSRDetector RUN - resrdetector_mm_ v0.1.0 ini Chlvl ANY
[ 8] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[ 9] CStrike RUN - cstrike_amxx_i38 v1.10.0. pl4 ANY ANY
[10] Ham Sandwich RUN - hamsandwich_amxx v1.10.0. pl4 ANY ANY
[11] CSX RUN - csx_amxx_i386.so v1.10.0. pl4 ANY ANY
[12] ReAPI RUN - reapi_amxx_i386. v5.21.0. pl4 ANY Never
[13] Fun RUN - fun_amxx_i386.so v1.10.0. pl4 ANY ANY
[14] ReAimDetector RUN - reaimdetector_am v0.2.2 pl4 ANY Never
[15] FakeMeta RUN - fakemeta_amxx_i3 v1.10.0. pl4 ANY ANY
[16] hackdetector RUN - hackdetector_amx v0.15.32 pl4 ANY ANY
[17] SxGeo RUN - sxgeo_amxx_i386. v2.3 pl4 ANY Never
[18] Engine RUN - engine_amxx_i386 v1.10.0. pl4 ANY ANY
18 plugins, 18 running
- Список плагинов
-
[ 1] 0 Admin Base 1.10.0.545 AMXX Dev Team admin.amxx running
[ 2] 1 Admin Commands 1.10.0.545 AMXX Dev Team admincmd.am running
[ 3] 2 Admin Help 1.10.0.545 AMXX Dev Team adminhelp.a running
[ 4] 3 Slots Reservation 1.10.0.545 AMXX Dev Team adminslots. running
[ 5] 4 Multi-Lingual System 1.10.0.545 AMXX Dev Team multilingua running
[ 6] 5 Menus Front-End 1.10.0.545 AMXX Dev Team menufront.a running
[ 7] 6 Commands Menu 1.10.0.545 AMXX Dev Team cmdmenu.amx running
[ 8] 7 Players Menu 1.10.0.545 AMXX Dev Team plmenu.amxx running
[ 9] 8 Maps Menu 1.10.0.545 AMXX Dev Team mapsmenu.am running
[ 10] 9 Plugin Menu 1.10.0.545 AMXX Dev Team pluginmenu. running
[ 11] 10 Admin Chat 1.10.0.545 AMXX Dev Team adminchat.a running
[ 12] 11 Anti Flood 1.10.0.545 AMXX Dev Team antiflood.a running
[ 13] 12 Scrolling Message 1.10.0.545 AMXX Dev Team scrollmsg.a running
[ 14] 13 Info. Messages 1.10.0.545 AMXX Dev Team imessage.am running
[ 15] 14 Admin Votes 1.10.0.545 AMXX Dev Team adminvote.a running
[ 16] 15 TimeLeft 1.10.0.545 AMXX Dev Team timeleft.am running
[ 17] 16 Pause Plugins 1.10.0.545 AMXX Dev Team pausecfg.am running
[ 18] 17 Stats Configuration 1.10.0.545 AMXX Dev Team statscfg.am running
[ 19] 18 Restrict Weapons 1.10.0.545 AMXX Dev Team restmenu.am running
[ 20] 19 StatsX 1.10.0.545 AMXX Dev Team statsx.amxx running
[ 22] 21 reunion testing 1 reu_test.am running
[ 23] 22 UpdateHint 1.3 Lev updatehint. running
[ 24] 23 ReAimDetector API 0.2.2 ReHLDS Team reaimdetect running
[ 25] 24 HackDetector 0.15.lite Lev @ AGHL.RU De hackdetecto running
[ 26] 25 [SxGeo] Connect Info 1.0 s1lent sxgeo_conne debug
[ 27] 26 Advanced Client Checke 0.3.6 Mistrick cmdchecker. running
[ 28] 27 Bypass Guard 1.0.1 mx?! bypass_guar running
[ 29] 28 Forbidden Names 0.0.3 Vaqtincha Forbidden_N running
[ 30] 29 Simple Demo Recorder 2.0 OciXCrom crx_demorec running
[ 41] 40 [ReAPI] AdminFreeLook 1.0 ReHLDS Team adminfreelo running
- Автор плагина
- @JumpeR
- Версия плагина
- 0.3.31-Alpha [ReGG]
- Исходный код
-
#include <amxmodx>
#include <reapi>
#include <regg>
const Float:MaxHudHoldTime = 256.0;
enum _:game_cvars_s {
Float:GCRoundTime,
GCRoundInfinite[32],
Float:GCForceRespawn,
GCTimelimit,
GCFraglimit,
GCWeaponsAllowMapPlaced,
};
new GameCvars[game_cvars_s];
enum _:hook_s {
HookChain:HookHasRestrictItem,
HookChain:HookPlayerSpawn,
HookChain:HookPlayerKilled,
};
new HookChain:Hooks[hook_s];
enum color_s {
red,
green,
blue,
};
new const HudColor[color_s] = { 120, 80, 0 };
enum coord_s {
Float:x,
Float:y,
};
new const Float:HudPos[coord_s] = { -1.0, 0.85 };
enum status_s {
StatusNone,
StatusStarted,
StatusFinished,
};
new status_s:Status = StatusNone;
enum state_s {
StateEnable,
StateDisable,
};
new ReGG_Mode:Mode = ReGG_ModeNone;
new WarmupTime;
new SyncHud;
new bool:DebugMode;
public plugin_init() {
register_plugin("[ReGG] WarmUp", REGG_VERSION_STR, "Jumper & d3m37r4");
registerHooks();
toggleHooks(StateDisable);
bind_pcvar_num(create_cvar(
"regg_warmup_time", "60",
.has_min = true, .min_val = 0.0
), WarmupTime);
SyncHud = CreateHudSyncObj();
DebugMode = bool:(plugin_flags() & AMX_FLAG_DEBUG);
DebugMode && log_amx("Debug mode is enable!");
}
public plugin_pause() {
if(Status != StatusStarted) {
return;
}
restoreGameCvars();
toggleHooks(StateDisable);
Status = StatusNone;
}
public ReGG_StartPre(const ReGG_Mode:mode) {
if(Status == StatusFinished) {
return PLUGIN_CONTINUE;
}
if(Status == StatusStarted) {
return PLUGIN_HANDLED;
}
Mode = mode;
startWarmUp();
return PLUGIN_HANDLED;
}
public CBasePlayer_HasRestrictItem_Pre(const id, const ItemID:item, const ItemRestType:type) {
if(item == ITEM_KNIFE) {
return HC_CONTINUE;
}
SetHookChainReturn(ATYPE_BOOL, true);
return HC_SUPERCEDE;
}
public CBasePlayer_Spawn_Post(const id) {
if(!is_user_alive(id)) {
return HC_CONTINUE;
}
set_member(id, m_iHideHUD, get_member(id, m_iHideHUD) | HIDEHUD_MONEY);
set_hudmessage(HudColor[red], HudColor[green], HudColor[blue], HudPos[x], HudPos[y], .holdtime = MaxHudHoldTime);
ShowSyncHudMsg(id, SyncHud, "%L", LANG_PLAYER, "REGG_WARMUP_HUD");
return HC_CONTINUE;
}
public CBasePlayer_Killed_Post(const id) {
if(!is_user_authorized(id)) {
return HC_CONTINUE;
}
ClearSyncHud(id, SyncHud);
return HC_CONTINUE;
}
public startWarmUp() {
if(Status == StatusStarted) {
return;
}
Status = StatusStarted;
changeGameCvars();
toggleHooks(StateEnable);
set_member_game(m_bCompleteReset, false);
rg_restart_round();
set_task(float(WarmupTime), "stopWarmUp");
client_print(0, print_center, "%L", LANG_PLAYER, "REGG_WARMUP_START");
DebugMode && log_amx("Warmup mode is started!");
}
public stopWarmUp() {
if(Status == StatusFinished) {
return;
}
Status = StatusFinished;
restoreGameCvars();
toggleHooks(StateDisable);
for(new player = 1; player <= MaxClients; player++) {
if(!is_user_alive(player)) {
continue;
}
set_member(player, m_iHideHUD, get_member(player, m_iHideHUD) & ~HIDEHUD_MONEY);
ClearSyncHud(player, SyncHud);
}
ReGG_Start(Mode);
client_print(0, print_center, "%L", LANG_PLAYER, "REGG_WARMUP_END");
DebugMode && log_amx("Warmup mode is finished!");
}
registerHooks() {
Hooks[HookHasRestrictItem] = RegisterHookChain(RG_CBasePlayer_HasRestrictItem, "CBasePlayer_HasRestrictItem_Pre", false);
Hooks[HookPlayerSpawn] = RegisterHookChain(RG_CBasePlayer_Spawn, "CBasePlayer_Spawn_Post", true);
Hooks[HookPlayerKilled] = RegisterHookChain(RG_CBasePlayer_Killed, "CBasePlayer_Killed_Post", true);
}
toggleHooks(state_s:_state) {
for(new i; i < hook_s; i++) {
if(!Hooks[i]) {
continue;
}
_state == StateEnable ? EnableHookChain(Hooks[i]) : DisableHookChain(Hooks[i]);
}
}
changeGameCvars() {
new pcvar;
pcvar = get_cvar_pointer("mp_roundtime");
GameCvars[GCRoundTime] = get_pcvar_float(pcvar);
set_pcvar_float(pcvar, float(WarmupTime) / 60.0);
pcvar = get_cvar_pointer("mp_round_infinite");
get_pcvar_string(pcvar, GameCvars[GCRoundInfinite], charsmax(GameCvars[GCRoundInfinite]));
set_pcvar_string(pcvar, "bcdefg");
pcvar = get_cvar_pointer("mp_forcerespawn");
GameCvars[GCForceRespawn] = get_pcvar_float(pcvar);
set_pcvar_float(pcvar, 1.0);
pcvar = get_cvar_pointer("mp_timelimit");
GameCvars[GCTimelimit] = get_pcvar_num(pcvar);
set_pcvar_num(pcvar, 0);
pcvar = get_cvar_pointer("mp_fraglimit");
GameCvars[GCFraglimit] = get_pcvar_num(pcvar);
set_pcvar_num(pcvar, 0);
pcvar = get_cvar_pointer("mp_weapons_allow_map_placed");
GameCvars[GCWeaponsAllowMapPlaced] = get_pcvar_num(pcvar);
set_pcvar_num(pcvar, 0);
}
restoreGameCvars() {
new pcvar;
pcvar = get_cvar_pointer("mp_roundtime");
set_pcvar_float(pcvar, GameCvars[GCRoundTime]);
pcvar = get_cvar_pointer("mp_round_infinite");
set_pcvar_string(pcvar, GameCvars[GCRoundInfinite]);
pcvar = get_cvar_pointer("mp_forcerespawn");
set_pcvar_float(pcvar, GameCvars[GCForceRespawn]);
pcvar = get_cvar_pointer("mp_timelimit");
set_pcvar_num(pcvar, GameCvars[GCTimelimit]);
pcvar = get_cvar_pointer("mp_fraglimit");
set_pcvar_num(pcvar, GameCvars[GCFraglimit]);
pcvar = get_cvar_pointer("mp_weapons_allow_map_placed");
set_pcvar_num(pcvar, GameCvars[GCWeaponsAllowMapPlaced]);
}
Hello guys.
Today i was installed ReGunGame mod by JumpeR.
https://dev-cs.ru/resources/1105/ Here is the plugin, every plugin is compiled local with last version of amxx, without any problem.
When i install the plugins on my server and after the restart the server, server it's crashing and i can't start it ....
here is the code from console
In every plugin has enabled debug mode... idk why it's crashing, but i want to test this mod :)
If someone can help me, i will be very happy.
Regards.
Today i was installed ReGunGame mod by JumpeR.
https://dev-cs.ru/resources/1105/ Here is the plugin, every plugin is compiled local with last version of amxx, without any problem.
When i install the plugins on my server and after the restart the server, server it's crashing and i can't start it ....
here is the code from console
HTML:
L 11/20/2021 - 07:57:15: [regg_warmup.amxx] Debug mode is enable!
/entrypoint.sh: line 25: 16 Segmentation fault (core dumped) ./hlds_run -pidfile hlds_27018 -game cstrike -secure +port 27018 +sv_lan 0 +maxplayers 32 +map de_dust2 +sys_ticrate 1200 -pingboost 2 -norestart
If someone can help me, i will be very happy.
Regards.
В этой теме было размещено решение! Перейти к решению.