#6458 closed defect (fixed)
SCI: LB2 - Pterodactical door can be opened while wired shut
Reported by: | SF/boneosaurusrex | Owned by: | m-kiewitz |
---|---|---|---|
Priority: | normal | Component: | Engine: SCI |
Version: | Keywords: | original script | |
Cc: | Game: | Laura Bow 2: The Dagger of Amon-Ra |
Description
There is a bug in Laura Bow 2 with the door in the pterodactyl room in both the floppy and CD versions. The door can be locked and open at the same time, causing the door to appear open while the sprite of the locked door handles floats in the air. In Sierra SCI this can corrupt the state to the point that the game later crashes, but I haven't seen that in ScummVM.
During the Act 5 chase scene in the pterodactyl room you're supposed to close the door and then lock the door by tying wire around the door handles. If you then try to open the door, the door is reported to be locked and it appears that nothing happens. If you then leave the room and come back the door is open but the wired door handles remain floating in the air, as the door is still considered locked though open. At this point, in Sierra SCI if you go west to the armory, close and board the door there, and then go north the game will often crash on the room transition.
Other ways to observe this:
- With the door closed and wired, try to open the door. ("This door is locked")
- Save the game.
- Load the saved game.
- The door is now open with floating wires.
Or:
- With the door closed and wired, go north to the t-rex room.
- Return to the pterodactyl room.
- Try to open the wired door, it will open with floating wires.
I've attached a ScummVM savegame of the CD version immediately after entering the pterodactyl from the mastodon room, before attempting anything with the door. I've also attached a Sierra SCI savegame, but that one is from the floppy version. Sorry for the inconsistency there, it just happened to be the one I had savegames for.
Steps I've found to reliably crash Sierra SCI on this, in case you're curious:
- Close and lock the doors with wire.
- Go north to the t-rex room.
- Return to the pterodactyl room.
- Try to open the wired doors, they will open with floating wires.
- Go east to the mastodon room.
- Go west to the pterodactyl room.
- Go west to the armory.
- Close and board the doors.
- Go north to the hallway room, and the game will crash on transition.
ScummVM 1.7.0 nightly Laura Bow 2 1.0 Floppy English & 1.1 CD English
Ticket imported from: bugs/6458.
Attachments (5)
Change History (10)
by , 11 years ago
Attachment: | sierra_sci_crash.png added |
---|
comment:1 by , 11 years ago
Component: | → Engine: SCI |
---|---|
Game: | → Laura Bow 2: The Dagger of Amon-Ra |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
The issue should now be fully fixed (commit e70923464ee757bc2d33040559383a49cddb6a83)
Effectively 2 script bugs were responsible. 1) the game switched between an internal open + closed state even when the door was wired/locked 2) the game didn't save the wired/locked state properly, that's why it was possible to open it again after leaving and reentering the room
Old saves made after wiring the door will still have issues. Please try to wire the door and verify, that the issue is solved. I can't check that by myself, because I don't have such a saved game. The saved game attached to this bug was made after wiring the door.
You may also enter "vv g 97 1" inside the SCI debugger to "fix" those older saves.
by , 10 years ago
Attachment: | wire_crash.png added |
---|
comment:4 by , 10 years ago
It's now crashing when wiring the door; screenshot attached. This crash is also now occurring when obtaining the wires.
In the attached save game the door handle had not been wired, that is the initial state of the room. There is no way to remove the wires from the door once they're on so it's a one-time shot. You're not allowed to try until Act V and I had saved immediately after entering the room without touching anything. I have an earlier save game from the end of Act IV, and I'm getting the same crash when I start from there.
I get the same results if I use the suggested debug command "vv g 97 1".
Tested using mingw-w32-master-5eaddc58 on WinXP & Win7 using CD and floppy versions.
comment:5 by , 10 years ago
I only see a screenshot and no saved game.
Wait, I already figured it out. The 2nd patch of mine doesn't have a terminator. I just added that. Will commit it in a second.
comment:7 by , 10 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:8 by , 10 years ago
Keywords: | original script added |
---|
partly fixed by 6d2f0bbcd4cce22a8bd58bfaf94cd235a484f19b It's not possible anymore to internally open the door in case it's locked
I need to also patch in code, so that the locked state is kept. Which is currently being lost when reentering the room