Jump to content
Sign in to follow this  
ImportBot

TrueBalancer [v0.7.6] (28 Oct 2010)

Recommended Posts

Originally Posted by Panther*:

 

This is the Plugin vor MoH and BFBC2.

To get the BF3 Plugin go to:

http://www.phogue.net/forumvb/showth...5813#post25813*

 

 

Version:

0.7.6.0

 

Plugin Description:

This plugin is used to autobalance Teams in BC2 (Rush, Conquest, SquadRush) and in all Gamemodes in MoH.

It will switch the last player who joined the team.

 

 

Things you have to know:

Because Procon/BC2/MoH doesn't have a variable which contains the join time of the players, the join time is being recorded, when the Plugin starts. This means, that when TrueBalancer is turned on, all players allready on the server get the same JoinTime. This can lead to that, that the first Balances could be random, because these players -joined- at the same time.

How many Warnings? --- Minimum Value = 1

Allow Player Diffrence of --- Minimum Value = 1 --- Because if the diffrence is 1 the teams are still balanced.

Time between Warnings in sec --- Minimum Value = 5

Enable Whitelist --- Yes/No

Whitelist Name --- Name of VIP-Players

 

Explaining the Settings:

E.g.:

How many Warnings = 2

Time between Warnings in sec = 20

This means, that the Autobalance will kick in in 20*2 = 40 seconds.

Known Issues:

- Using any other plugin which changes a player to the other team's side will give this player a new JoiningTeamTime. TrueBalancer can't filter out at the moment, if a player changed side by himself or has been forced to change by another Plugin.

 

Changelog

 

0.7.5-->0.7.6

Fixe a bug in SquadRush, where the player was not put into a squad.

0.7.1-->0.7.5

SquadRush supportet now too. Option available to turn of ingame warnings (Only message shown ingame is the balance message for the moved player.). If a gametype is not supported, it will be shown only at the beginning of a round.

0.7.0-->0.7.1

Changed the way my plugin handles the timer to make it more PRoCon like. Should fix some problems, where the timer didn't react.

0.6.6-->0.7.0.0

Changed the Plugin to the new API and made the Plugin available for MoH. A huuuuuge "THANK YOU" to Phouge who helped me through the whole day! The Plugin is also available through Package Manager via Procon!

0.6.5-->0.6.6

If the balancer gets triggered at the end of a round and the teams are unbalanced (no matther when) next round, the autobalancer will balance teams without warnings in the new round.

This is fixed with this update.

0.6-->0.6.5

Made some changes in the code to avoid some debuginfo braking the code.

0.5.5-->0.6

(Hopefully) Fixed: After the server crashes, TrueBalancer was acting strange.

NEW: Added Whitelist.

0.5-->0.5.5

Fixed: TrueBalancer started near the end of a round causing some strange behaviour while maploading.

0.4-->0.5

Fixed: Player getting twice the playersID.

Fixed: Possible roundstart bug, where the TeamIDs got mixed up. (Causing a Warning Message at round start without a reason and if the Warning Interval is set very small also balancing without reason.)

0.3-->0.4

If a player gets teambalanced, he/she is locked for the AutoBalancer and will not be balanced again. The player will be unlocked for the AutoBalancer again by changing teams manually or by rejoining the server.

0.2 --> 0.3

FIX to avoid TeamID missmatch on roundstart.

0.1 --> 0.2

Making the script more safe against dataloss.

0.1 (NEW RELEASE)

 

 

ToDo/Wishlist:

- Waiting for some Community wishes!

 

PLEASE GIVE ME BACK SOME FEEDBACK!

 

 

 

DOWNLOAD TRUEBALANCER 0.7.6.0


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

Did some small fixes. If you get an error while comlining download the new Zip - File. Should be fixed now.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by EBassie*:

 

Panther, testing it now.

Will report back!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

hi,

 

new Version 0.3 is out.

 

It fixes possible TeamID missmatch on the beginning of a round which issued possible Warnings even if the teams are even.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by EBassie*:

 

Updated & testing.

Found no issues so far... but server is full the whole time... :smile:


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

i tested it yesterday the wole day and last night. Autobalancer kicked in more often and everything worked out fine.

 

But today same problem. Server full all the time :ohmy:.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Jaythegreat1*:

 

I'll try to test it tonight.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

Version 0.4 will be out shortly.

--> Locking balanced players to net get balanced again. Unlocking if they change team manually or rejoin the server.

 

 

Edit: Version 0.4 release!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Jaythegreat1*:

 

Is there any plans for a Whitelist for players and/or Tags to prevent being switched?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

good idea, i will put this on the ToDo list for future updates.

 

But first i would like to get some more FeedBack if the core-programm is working as it should.

For now, it looks like it is.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by EBassie*:

 

Balancers seems to be working great! :smile:

Is it possible to swap players on death? I got some complaints this afternoon. :smile:


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

not at the moment. but it will be in a future update.

 

what do you mean -> who dies first will be balanced or last teamjoiner on death?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by EBassie*:

 

Jup if the chosen player dies, he will we swapped... instead of instant swap.

:smile:

 

Other option would be: balance on death (not checking last player joined)

 

I really like this feature:

If a player gets teambalanced, he/she is locked for the AutoBalancer and will not be balanced again.

 

But what if there are not so many players, and balance is out of control?

Let's say 6-2: And all 6 players have been swapped earlier?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

Jup if the chosen player dies, he will we swapped... instead of instant swap.

:smile:

the problem is what if this last player is a camper not willing to die, what to do than? i would need a timeoutfunction. that if this player doesn't die in like 30sec i have to instant kill him anyways. would this be ok?

 

Other option would be: balance on death (not checking last player joined)

this will be implemented in a future update.

 

but i think this is the most unfair way. imagin being an attacker arming the mcom and you die. you armed the mcom and you get switched to the other side. Now imagin that this happens to you on the last mcom. that realy hurts! :ohmy:

 

Like this feature:

If a player gets teambalanced, he/she is locked for the AutoBalancer and will not be balanced again.

 

But what if there are not so many players, and balance is out of control?

Let's say 6-2: And all 6 players have been swapped earlier?

If this happens (and i think it will not happen that ofen) these 6 players will get balanced randomly. It is not a good solution, but it is better than not balancing at all :smile:.

 

This is how it is programmed at the moment.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by EBassie*:

 

the problem is what if this last player is a camper not willing to die, what to do than? i would need a timeoutfunction. that if this player doesn't die in like 30sec i have to instant kill him anyways. would this be ok?

I think that is a good solution! Most of us serverowners don't like campers anyways! :smile:

 

A simple balance on death maybe unfair sometimes. You're right about that. :smile:

 

Keep up the good work dude!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Jaythegreat1*:

 

The only reason I wouldn't like AB on Death is when teams get really lop-sided (due to a rage-quit team) and no one from the other team dies to switch. I think a force-switch after X seconds/minutes would be better for a balance. Yet it may jip you in rush sometimes.. but if you have it target last joined player to the team, you should techincally only get switch maybe once or twice.. really dependant on how busy your server is.

 

Our Rush server is usually full so AB is normally not a need. Our conquest server is the one in real need of AB.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

the autobalance targets the player, which joined last the team, not the server. if this player gets switched once, this player will not be switched again, until the player changes teams byhimself. than this player is open for autobalance again.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Jaythegreat1*:

 

Working good so far. No complaints from regulars or members. One question though, if say the teams are 10 v 4, when the AB kicks in.. will it move multiple players at once till teams are balanced, or will it move only 1.. then go through warnings again?

 

BTW, I'm only testing this on our Conquest server atm.. once I see this is stable, I will start running it on the Rush server as well.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

hey,

i never tested it on a conquest server. did the autobalance kick in on your conquest? at least once? just let me know.

i do check the game types if the gametype=rush or gametype=conquest.

if i misstyped "conquest" the autobalancer wouldn't kick in. that could be the only problem. I'm running this script now for 3 days on my server. and it works so far.

please check your debug window: (you dont need to Enable DebugMode)

if you see something like this:

[10:41:17 12]

[13:35:03 58] TrueBalancer: Still no data or GameMode not supported.

apearing all the time, then i did something wrong. this can appear at the beginning of a round or when the plugin is turned on. but should stop after that.

 

To your question:

If the teams are 10vs4, TrueBalancer will move a player every 2seconds until the teams are balanced without secondary warnings. The only thing that you will see in the game will be AUTOBALANCING NOW for every player that TrueBalancer moves.

There won't be new warnings until the teams are evened out and then again uneven.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Jaythegreat1*:

 

Yeah it works for conquest. I even lop-sided the teams my moving myself over and it moved me back after a minute.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

oh ok, so you changed the times?

the standard settings are 2 warnings and 20seconds. the first warning comes instantly so it should need 40seconds to switch.

 

i changed the settings on my server to 3 warnings and 10seconds. works perfect until now.

keep your eyes open for a new version tonight or tomorrow.

 

testing on my server now to see if everything is working.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Jaythegreat1*:

 

Yea I did 2 warnings 30 seconds apart. So the chat isn't flooded with warnings, and to give the opportunity for someone to switch over to balance or.. people joining the server to balance itself out.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

bump for update


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by NummerEins*:

 

Will this Plugin kick or move the Player? Sometimes hier in this thread i can read "the player will be moved" and sometimes i can read "the player will be kicked"

 

The kick option is for us not an option.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

no no. One message just says that the Autoblancer will 'kick in' shortly. It rephrased this one in: 'Autoblancing will start shorlty'.

Download the newest version. and it should be fine.

 

No players will be kicked. There is no command in my program to do so.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by NummerEins*:

 

Thats fine!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by VAM*:

 

Do you planning a whitelist for future version?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Panther*:

 

yes i am.

it is on the wish-/ToDo- List on the first post.

 

It should be implement tomorrow or in two days.

check back then.

 

EDIT:

0.5.5 UPDATE IMPORTANT!

Fixed: TrueBalancer started at the end of a round causing some strange behaviour during mapload! Download the 0.5.5 to fix this problem.

The possibility that this case happens, is very rare, but it can happen!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by GrossKopf*:

 

Looks cool. Definately one that has been requested. I've added it to the control panel at PHS.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by EBassie*:

 

Testing 0.6 now.

Small bug found: pluginname is 0.5.5. Details say 0.6


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Our picks

    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 10 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 6 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.