Opened 10 months ago

Closed 9 months ago

#16075 closed defect (fixed)

M4: RIDDLE: Hard crash when looking at copper tank viewer in the Odditorium

Reported by: afreickmann Owned by: Strangerke
Priority: normal Component: Engine: M4
Version: Keywords:
Cc: Game: Riddle of Master Lu

Description

What happens:
If you look at the copper tank viewer in the Odditorium at the start of the game, ScummVM crashes and enters the debugger.

Error output:
fl (01dc): op_ADD IDX_CELS_INDEX, 65536
fl (01e4): op_COMPARE IDX_CELS_INDEX, REG 36
fl (01ec): op_BRANCH 65536, -720896
fl (01c8): op_SETCEL IDX_CELS_HASH, IDX_CELS_INDEX

ERROR: CreateSprite: Sprite index out of range - max index: 5, requested index: 6!
Additional notes:
If you look at the same object near the end of the game, it does not crash.
However, the inventory stays visible during the interaction, which shouldn't happen.

Expected behavior:
Ripley should be able to look at the copper tank viewer without crashing the game, and the inventory should be hidden during cutscenes or look interactions.

Attachments (2)

riddle.073 (17.9 KB ) - added by afreickmann 10 months ago.
riddle.002 (17.2 KB ) - added by afreickmann 10 months ago.

Download all attachments as: .zip

Change History (5)

by afreickmann, 10 months ago

Attachment: riddle.073 added

by afreickmann, 10 months ago

Attachment: riddle.002 added

comment:1 by Strangerke <arnaud.boutonne@…>, 9 months ago

In 0178b529:

M4: RIDDLE: Fix for bug #16075 in room 303: Crash after looking at the copper tank viewer before visiting room 301

comment:2 by Strangerke, 9 months ago

I fixed the crash. The second part of the ticket related to the inventory is problematic: I don't manage to reproduce it, it's hidden before and after visiting Room301 (posh NY)

comment:3 by Strangerke, 9 months ago

Owner: set to Strangerke
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.