PDA

View Full Version : Disabling/changing settings in MM scripts


magic_taco
26th November 2005, 21:18
First off, along with so many others, thank you for a great set of scripts. I appreciate the extra functionality ModManager brings to adminning a BF2 server.

I'll do my best to make this short:

I am using the BF2CC daemon with MM modules enabled and running on a ranked BF2 server.

Is it possible to REM out one of the modules in modmanager.con (or change certain parameters), either through in-game RCON or through BF2CC, WITHOUT having to manually open the modmanager.con file (which my GSP has to do for me?).

Today I spent some time in-game using some of the commands I found in the Wiki... I was able to get the list of modules and shut one down (so it said it was loaded but not running). I then saved the config and restarted the server through BF2CC, but the changes didn't stick, the module was loaded and running after the restart. I am wondering if perhaps I DID make the changes but because the server was running they were overwritten, and since I am using the daemon there is no way around this, the changes MUST be made to the file itself?

I hope this has been clear and that it is a quick answer for someone... I have looked around but haven't found an answer, so any help would be appreciated.

Thanks!

K
26th November 2005, 22:23
It depends how your GSP's system works. It may be resetting modmanger.con on restart.

What settings modules are you trying to disable?

magic_taco
27th November 2005, 06:00
Originally posted by Killing
What settings modules are you trying to disable?

Well, it looks like the mm_clanmatch module is enabled and mm_clanmatch.roundSwitch set to 1, which (as you know) means teams get switched at the end of the round. Unchecking "Switch Teams at End of Round" in BF2CC made no difference, and checking it meant that it sort of countered the effect... so at the end of every round, players were getting switched twice, which meant they stayed on their teams but the squads were broken up as a result.

I had the GSP set mm_clanmatch.roundSwitch to 0 in the modmanager.con file, then I restarted the server. It didn't take. The second try I shut down the server, he remmed out mm_clanmatch, I restarted and all was well.

But say I wanted to change the admin login message in the modmanager.con. Is that something I should be able to do without asking the GSP to do it for me? I tried any number of commands from the Wiki but it appears it didn't recognize any of them. And even if I'd been able to make the changes I don't think they would have stuck because the server was running at the time. It seems to me the only way to make these changes would be through the BF2CC/daemon while the server is shutdown.

Thanks for responding!

K
27th November 2005, 20:29
That option is currently broken ( will be fixed in the next release ) so your correct unloading the module is the way to go.

magic_taco
27th November 2005, 21:09
Originally posted by Killing
That option is currently broken ( will be fixed in the next release ) so your correct unloading the module is the way to go. Good to know, thank you. If you get a sec, could you answer the second part, just whether or not it's possible? Is there an explanation somewhere that I may have missed?