Ok, sow I made some tests and will try to explain all.
The problem with Map objectives and round time was almost solved.
This is what I try:
csdm.cfg by default enabled = 1.
Server have 2 configurations to run
normal or in
CSDM mode.
On
normal mode Server.cfg looks something like this:
Code:
..
..
// Plugins activation
exec plugins_PUB.cfg
mapchangecfgfile mapchange_PUB.cfg
restart
It’s executing plugins_PUB.cfg which looks:
Code:
amx_pausecfg enable telemenu
amx_pausecfg enable mapchooser
amx_pausecfg enable amxx_atac
amx_pausecfg enable amxx_atac_cfg
csdm_disable
amx_pausecfg pause csdm_equip
amx_pausecfg pause csdm_spawn_preset
amx_pausecfg pause csdm_misc
amx_pausecfg pause csdm_protection
amx_pausecfg pause csdm_main
amx_pausecfg save
Other is
CSDM mode and it’s Server_CSDM.cfg:
Code:
..
..
// Plugins activation
exec plugins_CSDM.cfg
mapchangecfgfile mapchange_DM.cfg
plugins_CSDM.cfg :
Code:
amx_pausecfg pause telemenu
amx_pausecfg pause mapchooser
amx_pausecfg pause amxx_atac
amx_pausecfg pause amxx_atac_cfg
amx_pausecfg enable csdm_main
amx_pausecfg enable csdm_equip
amx_pausecfg enable csdm_spawn_preset
amx_pausecfg enable csdm_misc
amx_pausecfg enable csdm_protection
amx_pausecfg save
csdm_enable
Mapchange files nothing have interesting.
And how everything works.
1. Server starts in
Normal mode and it restarts ones (that is for, from CSDM mode go to Normal mode with completely disabled plugins)
So that it’s not the big problem.
2. You execute CSDM mode. Some of the plugins I pause and enables CSDM plugins.
Map objectives are removed because by default csdm enabled = 1. and everything works fine.
3. Now I switching back to
Normal mode and this is what happening.
plugins_PUB.cfg first disable CSDM. Then disabling all csdm plugins and the last position is disabling
csdm_main plugins to completely disable all CSDM.
Server.cfg executes a restart and all CSDM plugins are disabled and map objectives are ON, roundtime fine.
1st.problem – after restart you still get advert:
This server runs CSDM 2.1.1 …..
It’s probably because csdm module is active. But it’s not so annoying.
I don’t know is it possible to unload modules? It probably will fix other problem.
2nd.problem – all map objectives are ON and round time is fine, but players still getting respawns! Why? Is it because of module?
All csdm plugins are really disabled.
I tried restarting map or changing it and nothing, still players respawning.
What can you suggest?
I thought but not tried to test yet, the HARD method.
By config execute .bat file to force rename the csdm_amxx.dll to any name, to make it missing from modules. But don’t think this is the right method and will not call the crashes of server.
Any ideas?