Well I've been trying to test the beta-2 version of AdminMod 2.50.61 on Action Half-Life DC2 and it appears to give me a Stack Overload kick when using say "timeleft", but in some worst case scenarios they tend to crash the server. The other HL1 mods like DMC, Sven v5 seem to work fine but maybe not on 3rd Party HL1 mods. I haven't got a clue from what this Linux GDB says but could you maybe point out to some clues please?
Code:
Program received signal SIGSEGV, Segmentation fault.
0xf36f63be in ENT (pev=0x0)
at ../../../../hlsdk-2.3-p4/multiplayer/dlls/util.h:104
104 inline edict_t *ENT(const entvars_t *pev) { return pev->pContainingEntity; }
(gdb) bt
#0 0xf36f63be in ENT (pev=0x0)
at ../../../../hlsdk-2.3-p4/multiplayer/dlls/util.h:104
#1 0xf36f65b6 in CBaseEntity::edict (this=0x9060f18)
at ../../../../hlsdk-2.3-p4/multiplayer/dlls/cbase.h:327
#2 0xf36f5532 in UTIL_ClientPrintAll (msg_dest=3,
msg_name=0xf3735440 <UTIL_VarArgs(char*, ...)::acString> "Time remaining on map: 39 minutes\n", param1=0x0, param2=0x0, param3=0x0, param4=0x0)
at util.cpp:1065
#3 0xf36fd9ae in say (amx=0x8f3f4f0, params=0x8f857f0)
at admin_commands.cpp:1746
#4 0xf3dccd25 in amx_Callback ()
from /home/desktop/steamcmd/hlds/action/addons/adminmod/dlls/amx_admin.so
#5 0xf3dceab9 in amx_Exec ()
from /home/desktop/steamcmd/hlds/action/addons/adminmod/dlls/amx_admin.so
#6 0xf37162a7 in CPlugin::HandleCommand (this=0x8f3f338, pEntity=0xf46b1ae4,
sCmd=0xf3df0d30 "say", sData=0xffffc74d "\"timeleft\"") at CPlugin.cpp:282
#7 0xf370eb50 in HandleCommand (pEntity=0xf46b1ae4, sCmd=0xf3df0d30 "say",
sData=0xffffc74d "\"timeleft\"") at users.cpp:3187
#8 0xf3717c7a in AM_ClientCommand (pEntity=0xf46b1ae4) at admin_mod.cpp:387
#9 0xf36f2a55 in ClientCommand (pEntity=0xf46b1ae4) at dll.cpp:388
#10 0xf3d8594a in api_caller_void_args_p(void const*, void const*) ()
from /home/desktop/steamcmd/hlds/./action/addons/metamod/metamod.so
#11 0xf3d8478f in main_hook_function_void(unsigned int, enum_api_t, unsigned int---Type <return> to continue, or q <return> to quit---
, void const*) ()
from /home/desktop/steamcmd/hlds/./action/addons/metamod/metamod.so
#12 0xf3d8861e in mm_ClientCommand(edict_s*) ()
from /home/desktop/steamcmd/hlds/./action/addons/metamod/metamod.so
#13 0xf78003f5 in SV_ExecuteClientMessage (cl=0xf45ddf08)
at ../engine/sv_user.c:2221
#14 0xf77f2723 in SV_ReadPackets () at ../engine/sv_main.c:4871
#15 0xf77f299e in SV_Frame () at ../engine/sv_main.c:9231
#16 0xf77bae92 in _Host_Frame (time=0.00942564476) at ../engine/host.c:1404
#17 0xf77bb252 in Host_Frame (time=0.00942564476, iState=1,
stateInfo=0xffffcf4c) at ../engine/host.c:1522
#18 0xf77df8dc in CEngine::Frame (this=0xf78766a0 <g_Engine>)
at ../engine/sys_engine.cpp:245
#19 0xf77dcc43 in RunFrame (this=<optimised out>)
at ../engine/sys_dll2.cpp:1235
#20 CDedicatedServerAPI::RunFrame (
this=0xf7871d00 <__g_CDedicatedServerAPI_singleton>)
at ../engine/sys_dll2.cpp:1226
#21 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:766
#22 0x08049472 in main (argc=20, argv=0xffffd184)
at ../dedicated/sys_ded.cpp:1146
And those are the Metamod Addons and Versions used:-
Code:
Currently running plugins:
[ 1] Adminmod, v2.50.61_beta2 (MM), Jun 13 2017, by Alfred Reynolds <alfred@valvesoftware.com>, see http://www.adminmod.org
[ 2] AMX Mod X, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 3] Spawn & Chat Protection Plugin, v2.02, 24/11/2015, by Jussi Kivilinna <jussi.kivilinna@mbnet.fi>, see http://koti.mbnet
[ 4] Engine, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org
[ 5] FakeMeta, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org
5 plugins
] meta version
Metamod v1.21p37 2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:16 EE
Plus AdminMod is recompiled with HLSDK 2.3p4 and Metamod v1.21-p37 SDK. I did some recompiling to the amx_admin binary and Small Compiler as well but didn't apply some huge modifications except the adjustments for GCC 4.8 and VS2017.
https://github.com/APGRoboCop/halflifeadmin/issues/1
https://github.com/APGRoboCop/halflifeadmin