PDA

View Full Version : mm_autobalance Broken


xgeek
29th August 2005, 00:25
mm_autobalance is broken or it is not working as I thought it would.

All 3 options are set to 0 in modmanager.con

I assumed that after lonewolfs got switched out it would then start to move squad members out as and when required but it does not.

We had a full server with EVERY player in a squad. We then had a group of players leave half way through the round (they were on the same side). This meant we had 16 on one side 10 on the other. I waited a while for it to balance out but it did not. I checked to make sure that the loaded side had a few players die but they did not get switched.

I was in a squad on the loaded side and when I died it did not switch me. I then left my squad and killed myself with a nad. I then got switched.

Any ideas?
I thought it used this as the priority of who to switch
lonewolfs > squad members > squad leaders > commanders

And yes I do have autobalance on in serversettings .con as well as using mm_autobalance


# Allow Commander if 0 then we never autobalance the commander
mm_autobalance.allowCommander 0

# Allow Squad Leader if 0 then we only autobalance squad leaders
# if they are the only member of that squad
mm_autobalance.allowSquadLeader 0

# Allow Squad Member if 0 then we only autobalance squad members
# if there are no none squad members / commander on the team
mm_autobalance.allowSquadMember 0

K
29th August 2005, 09:48
Thats how its works.

xgeek
29th August 2005, 10:28
What does that mean? Did you even read my post?

So you are saying only lonewolfs ever get switched. If there are no lonewolfs then no one gets switched and auto balance won't then use squad members to balance out.

Or are you saying it should work like this?:
lonewolfs > squad members > squad leaders > commanders
If so I can tell you it does not.

Now before you say it does. Please test it.

You have told us all that the swear word filter warnings work and they don't (well 3 warnings then nothing, no kick or anymore warnings). Don't assume all your customers are idiots and don't know what they are talking about.

K
29th August 2005, 11:00
lonewolfs > squad members > squad leaders

I wouldnt say it did that unless I'd tested it now would I. Which version are you using? Are you sure basic squad members had died?

Im not assuming people dont know what they are seeing but when others have tested it and it worked fine there is obviously something out of the ordinary happening and hence we will need to investigate. However at this time we are right in the middle of LAN here so its not going to get much attention until its finished.

All the code is there for people to look at, its clearly commented so should be easy to follow for anyone with basic knowledge. So if someone can see an issue and report it that would great.

xgeek
29th August 2005, 11:39
Do you have a link to the latest code base?
I have looked here and can't find any code:
http://bf2.fun-o-matic.org/index.php/ModManager

The only modmanager code I can find is in the MM download over at BF2CC, but this is not the same as the current version you are using on our multiplay servers.

I have tested this 3 times and I am100% sure it will not switch any squad members when there are no lonewolfs.

As I said in my first post I had to leave my squad and then on my next death I did get switched. Any deaths while a squad member did not switch me.

We try and get everyone in a squad. Maybe others have not seen this issue as they may have a stock of lonewolfs to pull from.


*** Edit **(
I reboot my ranked server every morning. I guess this pulls in your latest and greatest build if you have made any code changes?

K
29th August 2005, 15:20
Yep restart picks up any updates which have been made. But that hasnt been changed in a long time.

v1.6 - 08/08/2005:
Fix for player joining during pre / post game not being balanced
correctly.