The point factor is the maximum amount of points that a player can win or lose in a table by the quantity of players on this table.
8 seats => 30
7 seats => 26.25
6 seats => 22.50
5 seats => 18.75
4 seats => 15
Table weight points are based on the average on table players ranks positions in the reverse order.
In a scenario with 20 players on the leaderboard with more than 0 points, we have the following table:
Player 1 - 1st
Player 2 - 5th
Player 3 - 7th
Player 4 - <without rank because this player has 0 points>
Reversing the rank positions we will have:
Player 1 - 20
Player 2 - 16
Player 3 - 14
Player 4 - 0
So we apply the formula:
<sum of players rank positions in reverse order> / <number of seats>
((20 + 16 + 14 + 0) / 4) = 12.50
12.50 is the table weight of a maximum of 20.
It is a formula to extract the max amount of points that a table should give based on the "table weight" and "point factor".
The formula is:
((<point factor> * <table weight>) / <number of players with more than 0 point in the season>)
Given the scenario of the previous example, we know the point factor is 15 because of a 4 seat table, the global player's quantity with more than 0 points is 20 and the table weight is 12.50, so:
((15 * 12.50) / 20) = 9.38
The maximum amount of points that this table can give or remove is 9.38.
When a table finishes, players will gain or lose points based in the position and the table maximum amount of points following this formula:
To a 4 seats table:
1st place = gain <max point ro reach>
2nd place = gain <max point ro reach> / 2
3rd place = lose <max point ro reach> / 2
4th place = lose <max point ro reach>
To 6 seats table:
1st place = gain <max point ro reach>
2nd place = gain <max point ro reach> / 2
3rd place = gain <max point ro reach> / 3
4th place = lose <max point ro reach> / 3
5th place = lose <max point ro reach> / 2
6th place = lose <max point ro reach>
and so on.
Given the scenario of the previous example, we know that point factor is 15 because the 4 seat table, the season players quantity with more than 0 points is 20, the table weight is 12.50 and the maximum amount of points to reach is 9.38, so:
1st place = gain 9.38 points
2nd place = gain 4.69 points
3rd place = lose 4.69 points
4th place = lose 9.38 points
Just like to drop you a line to tell you your program is the best. Im a big fan.