View Full Version : another modmanager.con
Osirisra
1st September 2007, 11:17
Anyone have any ideas on ingame commands for the following?
I want to be able to turn autobalance on and off through rcon, e.g !ab on !ab off, also i want the !help command. Does anyone know what's needed to set these two up?
Also I've added a friend to the Admin List - however he can't actually do anything
This is what I have - mm_iga.addAdmin "<playername>:all" in modmanager.con
Does anything else need to be added? I never have to log into Rcon ingame, would it make a difference if my friend did?
Any help would be appreciated - simplified would be even better
SAF.Ryan
3rd September 2007, 13:16
Firstly for the non-working commands, you must find the playerID of the player, you can't actually use the <playername> bit. To find it, just tell them to go in-game and type "playerid" in the console.
Alternatively (and a better method I think) is to go to a stats tracking website like bf2s.com or bf2tracker.com and find it under that players stat section.
Then add them and the commands will work. What happens is, the player initiates the command, the server sees that the player is an 'admin' and is allowed to use the command (due to the mm_iga.addadmin line), the command is executed, then the player is logged out. So its still a login/logout procedure, but just automated basically...
I'll get back to you with some ideas for the other functions you require (to add to the modmanager.con file), gimme a couple hours mate :D:
SAF.Ryan
3rd September 2007, 13:30
Ok maybe not a couple of hours :p
Ok, well the !help command is part of the daemon setup. You will have most likely used it before with another server setup. The admin would type it in-game and it would list the various commands available at the top-left of the screen.
This isn't possible here anyway, and even if it was, all it shows you is a few simple commands that you can learn beforehand, and it also is visible to all other players in the server, and makes you look like an incompetant admin. Thats the way I see it.
I wouldn't worry about this one at all mate.
Now then the autobalance. By default, I do believe that during the actual game, if there is at least a 2-player difference in the teams then any player who is not a commander/squad-leader/squad-member will be switched.
The only time everyone is eligible to be switched is at the end of the round.
Thats just me having a quick skim through the script.
For the auto-balance, in most cases it would be wise to just leave it to sort itself out. If things do get crazy however, just use the BF2CC client through Rcon, to control the state of the autobalance. In my experience its not good to try it through a keybinding for the in-game commands. A simple toggle on/off from a client like BF2CC is best ;) If you were to try it through scripts you would need to have an 'on' command and an 'off' command for it to be successful.
:)
Osirisra
3rd September 2007, 14:57
Thanks for the info! Was beginning to think <playername> wasn't the way to go but wasn't sure how to get the playerid.
As for the autobalance, I'm being lazy, would rather do it in-game than flick back through to BF2142CC lol. The only reason being....I prefer playing on the same team as friends os just a quick team switch basically, then set autobalance back on. Been having a look at 'on' and 'off' commands, just not got them working yet haha!
SAF.Ryan
3rd September 2007, 18:35
Keep going man, you seem to know what your looking at etc.. its just a case of playing with stuff and seeing what works and what doesn't. Good luck anyway mate ;)
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.