|
|
发表于 2026-11-7 12:18:35
|
显示全部楼层
根因
jars/asihn.jar 里有两个类:
① 通知入口 asihn_MegaConstruction.notifyTitled(...)(字节码 5–36)
代码块
new asihn_MessageDetailIntel(title, body, iconKey, Misc.getHighlightColor())
Global.getSector().getIntelManager().addIntel(intel, /*important=*/true, null)
每发生一件事就 new 一条、以「重要」标记塞进情报管理器,既不去重也不限条数。
② 通知实体 asihn_MessageDetailIntel 重写了清除判定,但写死为假
代码块
public boolean shouldRemoveIntel();
0: iconst_0 // false
1: ireturn
原版只有当 shouldRemoveIntel() 返回 true 时才会把情报从列表里移除。这里恒为 false,所以每一条都永久钉在情报页。
反馈作者(推荐):asihn_MessageDetailIntel.shouldRemoveIntel() 改成带超时(如 return getTimestamp() < System.currentTimeMillis() - 7L*86400000),并把 addIntel(intel, true, null) 的重要标记关掉,或对同标题同内容做合并。
附带发现的另一个异常
日志里 TerraformInitialDetector 反复报 “条件一致性修复:Jurt / Vucub-Came / Vanth / 废弃居住站 补上【asihn_dangerous_husbandry】”,同一句话共出现 324 次(4 个殖民地 × 81 轮)——说明「危险畜牧业」这个市场条件每过一阵就被判定为丢失又重新补上。这条走的是 reconcileBuildingConditions,不发情报,但同样值得一起反馈给作者(条件被反复判丢说明条件与产业的对应关系有状态 bug)。
新档挂机了一早上,向大肥鱼许愿后读日志读出来这些,看看能不能调整吧 |
|