Skip to content

Releases

AutoBuild v1.3.8

Choose a tag to compare

@Parallelopiped Parallelopiped released this 26 Nov 21:00

For Mindustry v8 (build 160.7+), Serpulo. Replace the old jar with mindustry-autobuildDesktop.jar below.

Changed (thanks to @deathbook, #7)

  • Max efficiency: lines to outputs and water away from the region now cost what their blocks cost to build, so they use more plain conveyors and conduits and fewer bridges (less copper and lead). If that would leave a line unconnected, the old route is used when it connects more.
  • Faster exit selection for ports away from the region, and a lighter bridge-lattice search (same layouts).

适用于 Mindustry v8(build 160.7 及以上),Serpulo 星球。请用下方的 mindustry-autobuildDesktop.jar 替换旧版本。

改进(感谢 @deathbook,#7)

  • 最大效率模式:区域外的输出线和水线按方块的建造材料计价,多用普通传送带和导管、少用桥,更省铜和铅。如果因此有线接不通,就改用原来的路线,取接通更多的方案。
  • 区域外端口的出口选择更快;格栅搜索更省内存和计算(布局不变)。

AutoBuild v1.3.7

Choose a tag to compare

@Parallelopiped Parallelopiped released this 09 Nov 18:53

Bug-fix release for Mindustry v8 (build 160.7+), Serpulo. Replace the old jar with mindustry-autobuildDesktop.jar below.

Fixed

  • Crash when a water input away from the region had no reachable edge spot after the output sides were excluded (ArrayIndexOutOfBoundsException in RemotePorts). Thanks to @Iroby-Neko for the report and fix (#4).
  • Boulders were treated as obstacles; the game builds over them, so AutoBuild now plans over them too. Static walls are still obstacles.
  • Ports away from the region: an edge spot whose own tile can't be built on (a wall right on the edge) is no longer chosen. Before, the water router could land on such a tile and no drill got water.

Improved (#4)

  • Planning lifecycle: a cancelled or replaced search can't overwrite a newer one, and the replay and the kept plans are bounded in memory.
  • Faster routing, and a work budget for the lattice search on complex ore fields.
  • All regression tests run in CI (./gradlew check).

适用于 Mindustry v8(build 160.7 及以上),Serpulo 星球。请用下方的 mindustry-autobuildDesktop.jar 替换旧版本。

修复

  • 崩溃:区域外的水源在排除输出边后找不到可达的边缘出口时,游戏会崩溃(RemotePorts 中的数组越界)。感谢 @Iroby-Neko 报告并修复(#4)。
  • 碎石:原来被当作障碍。游戏可以直接在碎石上建造,现在规划也会利用这些格子;静态墙仍是障碍。
  • 区域外端口:不再把边缘出口选在本身无法建造的格子上(比如边缘正好是墙)。以前水路由器可能落在这种格子上,导致所有矿机都接不到水。

改进(#4)

  • 规划任务管理:被取消或替换的搜索不会再覆盖新的结果;回放和保留的方案都限制了内存占用。
  • 寻路更快;复杂矿区的格栅搜索有计算量上限。
  • 全部回归测试都在 CI 中运行(./gradlew check)。

AutoBuild v1.3.6

Choose a tag to compare

@Parallelopiped Parallelopiped released this 25 Oct 20:13

First public release of AutoBuild for Mindustry v8 (build 160.7+), Serpulo.

Install: download mindustry-autobuildDesktop.jar below and put it into Mindustry's mods folder (Windows: %AppData%/Mindustry/mods), or use Mods → Import. In game press F7 (or the AutoBuild button) and drag a region.

What it does

  • Drill fields (main feature):
    • mixed drill tiers, belts and bridges, water boost and power;
    • outputs on the border, inside, on your buildings or anywhere on the map, with several lines into big storage;
    • max-output and material-efficiency modes;
    • never builds over existing structures.
  • Defenses (experimental): walls, turrets with ammo / coolant lanes, menders, force projectors and power, laid out along the enemy route without moving it.
  • Gray replay of the search, blueprint preview, "Another plan".
  • English / 简体中文, following the game's language setting.

See the README (简体中文) for the features and algorithms, and the CHANGELOG for the history.


首个公开版本:适用于 Mindustry v8(build 160.7 及以上),Serpulo 星球。

安装:下载下方的 mindustry-autobuildDesktop.jar,放进 Mindustry 的 mods 文件夹(Windows:%AppData%/Mindustry/mods),或在游戏里使用 模组 → 导入。进入游戏后按 F7(或点 自动建造),拖动框选区域即可。

功能

  • 采矿场(主要功能):
    • 大小矿机混用,传送带和桥,水增压和电力;
    • 输出口可以在边界、区域内、已有建筑上或地图任意位置,大型存储可多线接入;
    • 最大产出 / 最大效率两种模式;
    • 不会建在已有设施上。
  • 防御工事(测试功能):墙、炮台及弹药 / 冷却液补给道、修理器、力墙、电力,沿敌人路线布置且不改变路线。
  • 灰色回放搜索过程、蓝图预览、“换个方案”。
  • 中文 / English,跟随游戏的语言设置。

License: CC BY-NC-SA 4.0 (non-commercial).