beyond-all-reason / BYAR-Chobby

Currently used legacy lobby for BAR, for the new lobby development see https://github.com/beyond-all-reason/bar-lobby
59 stars 72 forks source link

Show up to 256 Teams and AllyTeams #466

Closed FIr3baL closed 1 year ago

FIr3baL commented 1 year ago

Though spring/recoil can handle 256 teams for ages, spring protocol was suffering the possibility to communicate teamIDs and AllyTeamIDs greater than 16. Therefore we reused unused bits.

This is backward compatible, because current bar infrastructure always has those bits set to 0. Though Teiserver is ready to read them. A spads plugin provided by Yaribz successfully tested with this PR: LP_LargeTeamNb.pm http://planetspads.free.fr/spads/tmp/LP_LargeTeamNb.pm