Commit graph

7 commits

Author SHA1 Message Date
NepDisk
57993914c7 warning clean up 2025-12-21 21:41:13 -05:00
yamamama
9324812dd0 Clang-format k_cluster 2025-12-14 00:10:37 -05:00
yamamama
288add05ba Refactor clustering (again)
* For tinypop (6P or less), the cluster system activates as long as there are more than 3 players.
  * Tinypop clusters ignore the player in last and factor everyone in the lobby.
  * At around 5 to 6 players, clusters ignore the frontrunner.
  * In between 6 and 18 players, a "double cluster" system is in use that averages the distance of two cluster players and selects a cluster player from that.
  * The distance from the cluster necessary for Alt. Invin. to appear has been reduced to 6400 (this is a buff!)

Hoping this makes clustering way more reliable and fair
2025-12-14 00:02:55 -05:00
yamamama
75bdd14cef Refactor cluster filtering
Double-clustering still needs to be done
2025-12-14 00:02:55 -05:00
Anonimus
b9630f4e44 Make clustering actually cluster
Placebo moment
2025-10-27 19:59:17 -04:00
Anonimus
7c31ca0483 More changes to Alt Invincibility
Bottlenecker has been heavily buffed (8-tic deficit to invince timer at full strength)
The cluster now specifically only tracks losing players, and in the case that no new cluster point is found, instead reads from the last cluster player
Invincibility "hogs the item box" like Grow does, and (currently) can't be cancelled to prevent chaining
Maximum time limit has been buffed to 35 seconds
2025-06-29 01:30:17 -04:00
Anonimus
6788db93b4 Add clustering
Using a DBSCAN-based algorithm, this gathers "player clusters" to determine the most packed area in the race.
2025-06-29 01:30:02 -04:00