Openapoc: Game crashing when selecting squad

Created on 21 Dec 2019  路  10Comments  路  Source: OpenApoc/OpenApoc

In real time battle selecting squad crashes the game.
Also, it was a second battle, in the first battle there was no errors.
log.txt

!BUG! HIGH PRIORITY

Most helpful comment

As I've mentioned in #823 -- the fix is not retroactive.

All 10 comments

Ty @taehyoung1301 save before bug i think will be useful here also

i wasn't able to upload it with .save so i zipped it.
save_Good battle.zip

ofc that is right way, ty

So this crashes in "BattleView::createMotionInfo(BattleScanner &scanner)", it seems like we've somehow ended up with an invalid BattleScanner object here, with a NULL "scanner.holder.id"

Issue found and resolved by JonnyH and emptyVoid
Thanks both of you

As I've mentioned in #823 -- the fix is not retroactive.

save_newnew.zip
ok yes ur right so i load this game then just start time and wait till all enemies die out and all 4 agents out to cityscape and then start new mission in new building (CoS) and yes there no bug.

but intresting thing that after im finish that bug mission at cityscape whole CoS building go demolish to the ground.. how is this possible? is OA now end all raids this way?

save_new4.zip
here save right after bugged mission

There's a setting Successful raid collapses building in More options which is enabled by default:
https://github.com/OpenApoc/OpenApoc/blob/53c13b59cb6d9d898ce42e223126ae0cc85b4429/framework/options.cpp#L373-L374

Dont notice that before ... thats radical way to prevent player raidspam building....

Was this page helpful?
0 / 5 - 0 ratings