[v1.0.55] Exterior Building "inside" Crash

Post Reply
User avatar
Shidan
Moderator
Posts: 1234
Joined: Mon Oct 22, 2012 1:41 pm

Tue Nov 09, 2021 4:40 pm

Got a save attached below that was crashing for the user whenever they would load or import the game, unless import buildings was turned off. And unfortunately no dump is generated. While the save is dated to 1.0.51, I tested in both it and 1.0.55 with identical results.

After some time exploring and testing the files, I think I tracked down the source of the crash. It seems to come from the file "zone.28.33.zone", and the Emperor Statue (SID: 264-zone28.33-INGAME-S23) thinking that it is inside the Concrete Gate building (SID: 268-zone28.33-INGAME-S23). Despite the building having been placed outside.

If the data is altered to make the statue think it's not inside, or at least not inside the gate, it seems to load the save fine. Though the statue will still disappear on game load. There is a second statue that is working fine (SID: 262-zone28.33-INGAME-S23), which I used to identify the differing values between the two.

Those values being:
flags
is inside building
isInsideBuildingC
isInsideBuildingCS
isInsideBuildingI
isInsideBuildingS
isInsideBuildingTYPE
player furniture Y offset

And the bugged one lacking the following values:
townC
townCS
townI
townS
townTYPE

While I'm not clear on the importance of all of the above values, seems clear they're all associated to it being inside/outside of a building. And changing even just a couple to match the working statues makes the save load correctly.

Let me know if you need any more data or files, and I'll be happy to try and acquire them. :)
Attachments
sigmar_-_74.zip
(1.08 MiB) Downloaded 344 times

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests