News:

Welcome! If you're new here, please register to have full access

Main Menu

OPEN SOURCING THE PIGSPN & BALANCER

Started by zeus, February 06, 2021, 19:45

nyrde

Hello! One source of problems in the balancer could be that some people play it also with less players. When you have 20+ players you get shit more points than when you play with 8. So the appr is affected by the player number. Is it possible to do so that that player number affects the appr (only appr not game ppr) that in balancer the 16 players equals factor 1, 8 players is then 2, 32 players 0.5? so the formula is appr=ppr x 16/num_of_players...

nyrde

Maybe we should call it something else than appr... weighted appr = wappr :D

nyrde

#17
Hmm... now that i think about it... it might not work very well... no it shouldnt be the number of players that it should be compared to... it should be the score. So wappr = average_total_score (16)/average_total_score_(number_of_players) x ppr...

Piglet

It currently doesn't use any stats from games where there are fewer than 6 players.

It's really difficult to get it "right". If you think about it's actually better that it doesn't result in exactly even teams. Every match would be more of a stale-mate. 

As I said, all the code is there in the package. If you want to extract it and come up with good changes to the balancing code please do. I'll use anything that will make the game better.

UCC BatchExport 3SPNv3225PIG class uc ..\3SPNv3225PIG\Classes

nyrde

Yeah... it was just a thought... I totally agree. And you know i don't think there is any way to make it perfect. And sometimes it's fun to dominate the other team. And the balancer as it is currently is working quite well... I think most matches end 7-10, 8-10 or 9-10... total domination is quite rare i think.

hagis

if the pprs are within 1 whole ppr it's close enough generally,. unless one team is sucking or whatever and it gets to 0-6 or more which is v rare

the balancer is definitely not perfect and it could be different but at match start it does a decent job (it's the multiple joins and leaves in the middle of a match can sometimes mess things up)