|
现在战场规模较大时就一定会出现以下报错
[Thread-3] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException
java.lang.NullPointerException
at com.fs.starfarer.combat.ai.FighterAI.pickManeuver(Unknown Source)
at com.fs.starfarer.combat.ai.FighterAI.cancelCurrentManeuver(Unknown Source)
at com.fs.starfarer.combat.tasks.CombatTaskManager.o00000(Unknown Source)
at com.fs.starfarer.combat.tasks.CombatTaskManager.cancelDirectOrdersForMember(Unknown Source)
at com.fs.starfarer.combat.tasks.CombatTaskManager.giveDirectOrder(Unknown Source)
at com.fs.starfarer.combat.tasks.CombatTaskManager.giveDirectOrder(Unknown Source)
at com.fs.starfarer.combat.tasks.CombatTaskManager.orderFullRetreat(Unknown Source)
at com.fs.starfarer.combat.ai.admiral.BaseBattleStrategy.?O0000(Unknown Source)
at com.fs.starfarer.combat.ai.admiral.BaseBattleStrategy.Object(Unknown Source)
at com.fs.starfarer.combat.ai.admiral.B.?00000(Unknown Source)
at com.fs.starfarer.combat.ai.admiral.AdmiralAI.advance(Unknown Source)
at com.fs.starfarer.combat.CombatFleetManager.advance(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
该bug固定在敌人全面撤退时触发,导致我完全无法正常游玩游戏后期的内容。因此我想通过改配置文件让敌人不能撤退来规避这个问题。
然而虽然有不少处理bug的经验,但我仍然没有在settings.json里找到对应的代码。希望能有大佬帮忙。
|
|