Repository navigation
AutoBuild v1.3.7
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 (
ArrayIndexOutOfBoundsExceptioninRemotePorts). 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)。