gemrb / gemrb

GemRB is a portable open-source implementation of Bioware’s Infinity Engine.
https://gemrb.org
GNU General Public License v2.0
976 stars 182 forks source link

IWD2: Chult portal timer elapsed before killing the guardian #2184

Open MarcelHB opened 4 days ago

MarcelHB commented 4 days ago

Bug description

I was suddenly greeted by the message that the game has ended for me while the dragon was only half-way down.

From how it's supposed to go: guardian dies -> countdown to reach portal. And if you fail, then you are stuck. But apparently the countdown starts at some earler point before death, or something messed up during the fight.

Screenshots

iwd2_chult_end

GemRB version (check as many as you know apply)

lynxlynxlynx commented 3 days ago

What's messed up is that you changed areas. It shouldn't matter though, since TimerPortalClose and the vars are all global. 60splfx.baf is the only thing starting the chain (Chult_PortalClosing -> 1), only once the dragon is dead.

I never had such problems with the dragon though and it doesn't really make sense. Can you reproduce at all?

MarcelHB commented 3 days ago

I have a savegame after beginning the fight for which this is reproducible.

By "messed up" what's the original problem then? Regarding changing the area.

lynxlynxlynx commented 3 days ago

Stand your ground and fight. :) I don't see any code for disabling the entrance, so it was probably possible in the original as well.

In the save Chult_PortalClosing is already 1, right? It's useless then.

MarcelHB commented 3 days ago

Ok, I'll try to find the time with some earlier savegame and try again.