Chaosforge Forum

  • April 20, 2018, 00:44
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: [0.9.9.7 Windows 7 64bit] game crashes after def. Spider Mastermind indirectly  (Read 532 times)

sauer2

  • Private
  • *
  • Offline Offline
  • Posts: 2
  • Lost Soul
    • View Profile

This was the first time I was about to finish the game. It became clear I didn't have enough health packs left, so I deployed the thermonuclear bomb I conveniently found.
After dying the game told me I had won, but then it crashed with the attached error message.

Afterwards, the save file was corrupted.
Logged

yaflhdztioxo

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 298
  • Lost Sole
    • View Profile

Reproduced.  It appears to happen if you die immediately after placing the nuke, or potentially it has to do with the AI's current state.  The bug is clearly in the AI referencing the monster's self property even though the monster no longer exists.

This COULD be solved in the AI with judicious checking of the self.__ptr property but methinks the engine should be keen on NOT continuing the mastermind's AI after it has died.  I'll poke around the engine code later (it's not my specialty but kk is busy).
Logged

sauer2

  • Private
  • *
  • Offline Offline
  • Posts: 2
  • Lost Soul
    • View Profile

Quote
I'll poke around the engine code later
Thank you, much appretiated.
« Last Edit: December 12, 2016, 00:57 by sauer2 »
Logged
Pages: [1]