From 062dcb83c7688314fe85db26b395df08a423b000 Mon Sep 17 00:00:00 2001 From: rasper Date: Fri, 27 Jun 2025 16:01:19 +0100 Subject: [PATCH 1/2] Add missing Fleet Beacon tech requirement --- sc2/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sc2/constants.py b/sc2/constants.py index cc89d36c..e23d4c13 100644 --- a/sc2/constants.py +++ b/sc2/constants.py @@ -408,6 +408,7 @@ def return_NOTAUNIT() -> UnitTypeId: UnitTypeId.ROBOTICSBAY: UnitTypeId.ROBOTICSFACILITY, UnitTypeId.COLOSSUS: UnitTypeId.ROBOTICSBAY, UnitTypeId.DISRUPTOR: UnitTypeId.ROBOTICSBAY, + UnitTypeId.FLEETBEACON: UnitTypeId.STARGATE, }, ) ZERG_TECH_REQUIREMENT: dict[UnitTypeId, UnitTypeId] = defaultdict( From 32f8496b98e10bca08aa6a6ed98e461ddc581e88 Mon Sep 17 00:00:00 2001 From: burnysc2 Date: Fri, 27 Jun 2025 17:22:15 +0200 Subject: [PATCH 2/2] Add retry to curl command --- dockerfiles/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfiles/Dockerfile b/dockerfiles/Dockerfile index 71610fdf..d8aa325e 100644 --- a/dockerfiles/Dockerfile +++ b/dockerfiles/Dockerfile @@ -70,7 +70,7 @@ RUN curl -L https://sc2ai.net/wiki/184/plugin/attachments/download/9/ -o 1.zip \ && rm *.zip # Get official blizzard maps -RUN curl http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2019Season3.zip -o Ladder2019Season3.zip \ +RUN curl --retry 3 --retry-delay 5 -C - http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2019Season3.zip -o Ladder2019Season3.zip \ && unzip -q -P iagreetotheeula -o 'Ladder2019Season3.zip' \ && mv Ladder2019Season3/* . \ && rm Ladder2019Season3.zip \ @@ -82,7 +82,7 @@ RUN curl -L https://github.com/shostyn/sc2patch/raw/4987d4915b47c801adbc05e297ab && rm 506.zip # Get flat and empty maps -RUN curl http://blzdistsc2-a.akamaihd.net/MapPacks/Melee.zip -o Melee.zip \ +RUN curl --retry 3 --retry-delay 5 -C - http://blzdistsc2-a.akamaihd.net/MapPacks/Melee.zip -o Melee.zip \ && unzip -q -P iagreetotheeula -o 'Melee.zip' \ && mv Melee/* . \ && rm Melee.zip \