Razi Protocol 3.0


A giant Space Age modpack bridge that connects many planet, science, enemy, and endgame mods into one coherent progression route across multiple star systems. Please view the mod page for the full overview and explanations.

Mod packs
4 days ago
2.0 - 2.1
5.28K
Factorio: Space Age Icon Space Age Mod
Planets Logistics Combat Enemies Environment Logistic network Circuit network Manufacturing

b [FIXED] 模组加载失败

15 days ago

模组加载失败:PlanetsLib/lib/planet.lua:284: PlanetsLib:update() - space-location not found: pulsar
stack traceback:
[C]: in function 'error'
PlanetsLib/lib/planet.lua:284: in function 'verify_update_fields'
PlanetsLib/lib/planet.lua:223: in function 'update'
PlanetsLib/api.lua:95: in function 'update'
razi-protocol/prototypes/system/bellicos.lua:29: in function 'data'
razi-protocol/data.lua:2: in main chunk

存档本身没有坏,PlanetsLib 也没有问题。 真正的原因是你近两天更新的两个模组版本不兼容:

razi-protocol 2.2.0 的 prototypes/system/bellicos.lua 仍在用 PlanetsLib 更新一个叫 pulsar 的空间地点;
bellicos-and-aegis 0.4.5 从 0.4.4 起做了重构:不再依赖 PlanetsLib,并把 pulsar 改名为 bellicos-pulsar(旧代码整段注释掉了)。
PlanetsLib 的 update() 只修改已经存在的原型,找不到就按设计报错(lib/planet.lua:284 的 if not data.raw[config.type][config.name] then error(...)),于是崩在 bellicos.lua:29。

证据链
崩溃点:razi-protocol/prototypes/system/bellicos.lua 第 29 行附近写的是
lua

PlanetsLib:update({
{ type = "space-location", name = "pulsar", orbit = { parent = {type="space-location", name="solar-system-edge"}, ... } },
...
})
bellicos 0.4.5 里已经没有 pulsar:prototypes/planet/starsystem.lua 只定义 bellicos-pulsar,下面整段 PlanetsLib:extend / PlanetsLib:update 的旧代码被注释,并标注 “Old PlanetsLib dependent code”。
bellicos 更新日志 0.4.4 写得很明确:
Removed dependency and reliance on PlanetsLib. All pulsar-based locations revolve around the “bellicos-pulsar” star location's origin.

对比你的两份日志(同一 Factorio 2.1.24):
factorio-previous.log(11-06 20:37):bellicos-and-aegis 0.4.3 + razi-protocol 2.1.13,正常进游戏;
factorio-current.log(11-07 10:18):bellicos-and-aegis 0.4.5 + razi-protocol 2.2.0,在 data 阶段崩溃。
为什么会被升上来:razi-protocol 的 info.json 只写 bellicos-and-aegis >= 0.4.0,没有版本上限;而 bellicos 0.4.4/0.4.5 是 11-06 深夜(本地 23:55 / 01:31)才发布的,你 22:11 下载的 razi 2.2.0 还没适配它。
官方还没修:razi 的 GitHub main 分支现在仍是上面这段 pulsar 代码,2.2.0 也还是门户上的最新版。

方案 C:手动改 razi(不推荐)
这不是把 "pulsar" 改成 "bellicos-pulsar" 就能解决的:0.4.4 起 Bellicos 改成用 bellicos-pulsar 的 distance/orientation + origin 整体定位,而 razi 这段是按“挂在 solar-system-edge 轨道上 240 格”写的,需要重新换算极坐标并调整两个星门,改错会把星系/星门放到错误位置。

日志里还有一条错误
同一份日志里还有:

代码块

Error ModManager.cpp:1786: Unknown collision layer "item"
Source: default (utility-constants).
它出现在 razi 报错之后,上次成功日志里没有。可能只是加载中断后的次生错误,也可能是今天同批更新的另一个模组引起的(maraxsis 1.41.1 的 prototypes/tiles.lua 在 tile collision mask 里用了 item 层,是个可疑点)。先把 bellicos 回退;如果这条还在,再回退 maraxsis 等今天更新的模组排查。

15 days ago

The recent Bellicos update broke compatability. It's been fixed with the latest update.

12 days ago

The recent Bellicos update broke compatability. It's been fixed with the latest update.

氨分解(配方)
[星球]坩埚星 Krastorio 2 Spaced Out MoreTooltips
[依赖]严苛模块,Razi Protocol
原料:
100×氨气
25s制造时间
产品:
|750× 氢气(500 °℃)
250x 氮气
制造于:
电解厂
卖掌
高级化工厂
电磁工厂
电化工厂
生产力:√允许
调试
recipe-name:planet-crucible-hydrogen-from-ammonia
recipe-order: d[other-chemistry]-bz[hydrogen]-b
recipe-group: intermediate-products
recipe-subgroup: fluid-recipes
recipe-ID:4575
recipe-category: kr-electrolysis

I saw that the last dependency is Razi—the ammonia requirement for this recipe should be 1,000.

12 days ago
(updated 12 days ago)

emmm,I replied to the wrong person on this one—haha, please see the one above.

11 days ago

3.0 is just too huge. With DDR5 32GB RAM, a 4060 Ti, and an R5 7500, I waited more than ten minutes for it to load... Even playing GTNH doesn’t take this long...

New response