From e0239c38189c3469fcfd6848c7e0f4244f61b2b8 Mon Sep 17 00:00:00 2001 From: Stuart Hepworth Date: Wed, 23 Sep 2026 09:34:37 -0600 Subject: [PATCH 1/5] Add MapIsChickens to ResourceData --- Shared/PlasmaShared/IContentService/ResourceData.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Shared/PlasmaShared/IContentService/ResourceData.cs b/Shared/PlasmaShared/IContentService/ResourceData.cs index 79a59d8c3e..0218d06be1 100644 --- a/Shared/PlasmaShared/IContentService/ResourceData.cs +++ b/Shared/PlasmaShared/IContentService/ResourceData.cs @@ -12,6 +12,7 @@ public class ResourceData: ApiResponse public bool? MapIs1v1; public bool? MapIsTeams; public bool? MapIsFfa; + public bool? MapIsChickens; public bool? MapIsSpecial; public bool? MapIsSupported; public float? FeaturedOrder; From 23848a5f66a904b03e8129dacd7d66d5488df0f9 Mon Sep 17 00:00:00 2001 From: Stuart Hepworth Date: Wed, 23 Sep 2026 09:36:05 -0600 Subject: [PATCH 2/5] Add MapIsChickens to ResourceData --- Zero-K.info/AppCode/PlasmaServer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Zero-K.info/AppCode/PlasmaServer.cs b/Zero-K.info/AppCode/PlasmaServer.cs index 2ae73addad..4c573153a7 100644 --- a/Zero-K.info/AppCode/PlasmaServer.cs +++ b/Zero-K.info/AppCode/PlasmaServer.cs @@ -29,6 +29,7 @@ public static ResourceData ToResourceData(Resource r) MapIs1v1 = r.MapIs1v1, MapIsTeams = r.MapIsTeams, MapIsFfa = r.MapIsFfa, + MapIsChickens = r.MapIsChickens, MapIsSpecial = r.MapIsSpecial, MapSupportLevel = r.MapSupportLevel }; From c83c9684b5dca90cb1edd40d94e54d7fcb632538 Mon Sep 17 00:00:00 2001 From: Stuart Hepworth Date: Wed, 23 Sep 2026 09:37:53 -0600 Subject: [PATCH 3/5] Exclude chickens maps from LadderCalculator --- Zero-K.info/AppCode/LadderCalculator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zero-K.info/AppCode/LadderCalculator.cs b/Zero-K.info/AppCode/LadderCalculator.cs index 7ae7463221..4f42ea8d72 100644 --- a/Zero-K.info/AppCode/LadderCalculator.cs +++ b/Zero-K.info/AppCode/LadderCalculator.cs @@ -45,7 +45,7 @@ private static List CalculateAwards(ZkDataContext db) db.SpringBattles.Where( x => (x.StartTime >= monthStart) && (x.HasBots == false) && - (x.ResourceByMapResourceID.MapSupportLevel >= MapSupportLevel.Supported) && (x.ResourceByMapResourceID.MapIsSpecial == false)) + (x.ResourceByMapResourceID.MapSupportLevel >= MapSupportLevel.Supported) && (x.ResourceByMapResourceID.MapIsSpecial == false) && (x.ResourceByMapResourceID.MapIsChickens == false)) .SelectMany(x => x.AccountBattleAwards) .GroupBy(x => x.AwardKey); @@ -143,4 +143,4 @@ public class AwardModel } } -} \ No newline at end of file +} From 6e921e36a00fd5bd3ccfd0fe1376a7a09fa05751 Mon Sep 17 00:00:00 2001 From: Stuart Hepworth Date: Wed, 23 Sep 2026 09:39:24 -0600 Subject: [PATCH 4/5] Chicken maps have applicable rating = 0 --- ZkData/Ef/WHR/RatingSystems.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ZkData/Ef/WHR/RatingSystems.cs b/ZkData/Ef/WHR/RatingSystems.cs index 2820b52fe2..d186a9fa68 100644 --- a/ZkData/Ef/WHR/RatingSystems.cs +++ b/ZkData/Ef/WHR/RatingSystems.cs @@ -97,6 +97,7 @@ public static void FillApplicableRatings(SpringBattle battle, SpringBattleContex if (battle.IsMission) return; if (battle.SpringBattlePlayers?.Where(x => !x.IsSpectator).Select(x => x.AllyNumber).Distinct().Count() < 2) return; if (battle.ResourceByMapResourceID?.MapIsSpecial == true) return; + if (battle.ResourceByMapResourceID?.MapIsChickens == true) return; //only count balanced custom matches for elo if (battle.Mode == AutohostMode.None && battle.SpringBattlePlayers?.Where(x => !x.IsSpectator).GroupBy(x => x.AllyNumber).Select(x => x.Count()).Distinct().Count() > 1) return; From d861dfd554d8dd7692b6cb43243128929769fe08 Mon Sep 17 00:00:00 2001 From: Stuart Hepworth Date: Fri, 25 Sep 2026 22:51:39 -0600 Subject: [PATCH 5/5] Revert exclusion of chicken games from award calcs --- Zero-K.info/AppCode/LadderCalculator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zero-K.info/AppCode/LadderCalculator.cs b/Zero-K.info/AppCode/LadderCalculator.cs index 4f42ea8d72..e89d5fcb83 100644 --- a/Zero-K.info/AppCode/LadderCalculator.cs +++ b/Zero-K.info/AppCode/LadderCalculator.cs @@ -45,7 +45,7 @@ private static List CalculateAwards(ZkDataContext db) db.SpringBattles.Where( x => (x.StartTime >= monthStart) && (x.HasBots == false) && - (x.ResourceByMapResourceID.MapSupportLevel >= MapSupportLevel.Supported) && (x.ResourceByMapResourceID.MapIsSpecial == false) && (x.ResourceByMapResourceID.MapIsChickens == false)) + (x.ResourceByMapResourceID.MapSupportLevel >= MapSupportLevel.Supported) && (x.ResourceByMapResourceID.MapIsSpecial == false)) .SelectMany(x => x.AccountBattleAwards) .GroupBy(x => x.AwardKey);