View Single Post
Author Message
PoisonRAR
Junior Member
Join Date: Oct 2017
Old 10-26-2017 , 07:05   Problem with enable/disable at map change
Reply With Quote #1

I have a problem. By default in csdm.cfg CSDM is disabled
enabled = 0

I just want to use CSDM on specific maps.
So I have created maps.cfg for each maps so CSDM enabled itself when loading these maps.

Commands in maps cfg:
csdm_enable

Problem is that this saves the csdm.cfg file to that CSDM enabled. So CSDM is active when chaning to another map that should not have CSDM enabled.

So I added csdm disable to my server.cfg and then added mapchangecfgfile server.cfg to the map config.

That will reset everything but when going back to a map that should have CSDM enabled it will result in a loop since csdm enables itself again and then reload the map. And when reloading the map it will use the mapchangecfgfile server.cfg setting resulting in a loop since it enabled and disabled CSDM over and over again.

How can I prevent this?
PoisonRAR is offline