BugreportGame crashes during transition between phases of the final mission.
Code: Select all
...\Into the Breach\error.txt:
./mods/MoreBosses/scripts/missions/bosses/digger.lua:340: attempt to index a nil value
ConditionsUse
MoreBosses and
BossRush mods.
Complete the first phase of the final mission. Have at least one live
Digger Boss on the tile which is about to fall. Wait till the end of the board collapse animation.
CauseAt the some point of the collapse animation expression
Board:GetPawn(bossId) becomes nil even for a vaild
bossId. But function
onMissionUpdate still attempts to evaluate
Board:GetPawn(bossId):GetSpace().
SolutionDumb one. Check
Board:GetPawn(bossId) for the nil value and do not evaluate further. Like this (worked for me):
Code: Select all
if not pawn or (Board:GetPawn(bossId) and pawn:GetSpace() ~= Board:GetPawn(bossId):GetSpace() + DIR_VECTORS[dir]) then
Wise one. Dig deeper and check for the proper mission state before trying to do anything in the body of
onMissionUpdate.
Mods used (active)
Mod Loader 2.3.0,
MoreBosses 1.3.3,
BossRush 1.0.0,
CEP 0.17 (customly commented out to the Volatile Vek extension only),
Pilot Ice Queen 1.0.0.
Test dataProfile with the game saved directly at the beginning of the collapse animation. With one Digger Boss ready to literally go down.
Download link:
http://rgho.st/6yL5q7FmM --- Update ---
Almost forgot an important detail: ITB revision is GOG v1.0.22 (4-23-2018).