Raised This Month: $101 Target: $400
 25% 

Problem with enable/disable at map change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PoisonRAR
New Member
Join Date: Oct 2017
Old 10-26-2017 , 08: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
PoisonRAR
New Member
Join Date: Oct 2017
Old 10-26-2017 , 08:44   Re: Problem with enable/disable at map change
Reply With Quote #2

Ok. I solved it by using csdm_active 0|1 commands instead since those are not triggering a restart of the map
PoisonRAR is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:22.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode