ScummVM Version : 1.8.0 git5172-g7820bd5 (Dec 7 2015 04:25:06)
Problem : The game crashes at the end of the train scene when you click the whistle on the dog to activate the time-bomb - Lua error occurred. Code 2.
I attach a series of saves of the game on the train but unfortunately due to bug #6977 I cannot get them to re-load. The last save sword25.016 is when the whistle has to be clicked on the dog. The last save I can load is the first one attached to bug #6977
Language : English
Windows 7 Ultimate 64-bit
It would be nice to fix it before the release of 1.8.0. Raising priority.
Now that bug #6977 has been fixed, I have a savegame at the problem point that will reload. To demonstrate the problem, click the whistle on the dog.
We seem to hide the actual script error message, but it appears to be this:
Last edit: Willem Jan Palenstijn 2016-02-02
...and this appears to be the same bug in the original: http://forum.baphometsfluch25.de/viewtopic.php?f=52&t=2718
My current guess is that this is what's happening.
The background animations in this room (uba), such as DoLamp, update regularly until CurrentRoom changes, at which point they exit.
The room changing code first unloads/deregisters bitmaps/animations, and only then calls OnLeave. The explosion movie is started in the OnLeave script of the uba room.
While the movie is running, the background animations update because CurrentRoom is still valid, and dereference invalid handles.
I noticed you mentioned you did finish the game. Does that mean that this bug can be avoided, or only happens sometimes for you?
It was a freak occurrence (say, 1 in a 100) that I got past that scene and I doubt that I could do it again.
I tried combinations of all of the following many times :
Eventually I got lucky - once!
Last edit: albadross 2016-02-15
This was fixed by commit 12fadf7 which restored original engine Lua error processor.