Opened 9 years ago

Closed 9 years ago

#5025 closed defect (fixed)

LB2CD: Disappearing Journal Entries

Reported by: SF/philohippus Owned by: bluegr
Priority: normal Component: Engine: SCI
Keywords: Cc:
Game: Laura Bow 2: The Dagger of Amon-Ra

Description

Came across a situation where 2 journal entries went missing. Unfortunately I was unable to reproduce the problem replaying from a previous save with intact journal entries. Console entries read:

WARNING: cmdDummy invoked!
WARNING: AvoidPath: start position at unreachable location!
WARNING: Read for a parameter goes out-of-bounds, onto the stack and gets uninitialized temp!
WARNING: cmdDummy invoked!

Attached savegame exhibits the corrupt journal where the following entries are missing
PLACES > The Tribune -- NYDRNT
PLACES > Police Station

With these entries missing it becomes impossible to travel to these places as you cannot point them out from the journal to the taxi driver.

I hope the savegame internals can somehow help discern how it happened.

Ticket imported from: #3036263. Ticket imported from: bugs/5025.

Attachments (1)

laurabow2.001 (48.0 KB ) - added by SF/philohippus 9 years ago.
savegame to reproduce problem

Download all attachments as: .zip

Change History (11)

by SF/philohippus, 9 years ago

Attachment: laurabow2.001 added

savegame to reproduce problem

comment:1 by SF/philohippus, 9 years ago

ok I managed to make a savegame where you can reproduce this bug and make a notebook entry disappear. It is attached below. To reproduce the problem:

- Consult your notebook (go to inventory, change to hand icon, click on notebook)
- Note that in the PLACES tab there is an entry for "The Tribune -- NYDRNT"
- Leave notebook
- Ask desk policeman about Ziggy
- Again consult your notebook. "The Tribune" entry is missing.

comment:2 by SF/philohippus, 9 years ago

Priority: normalhigh

comment:3 by SF/philohippus, 9 years ago

Also just noted that the bug is cumulative: asking the vanishing question over and over again will consume all your notebook's PLACES entries until only the last one remains.

Also should note that when I first noticed missing entries in the notebook, and filed this bug, I hadn't yet gotten to the point in the game where I could ask the desk policeman about Ziggy, so it is to be expected that there are other combinations of questions/characters that lead to vanishing entries in the notebook's Places tab.

comment:4 by bluegr, 9 years ago

Priority: highnormal

comment:5 by bluegr, 9 years ago

Please do not play with priorities

comment:6 by SF/philohippus, 9 years ago

heh sorry :)

comment:7 by bluegr, 9 years ago

Possibly related bug: #3036274. dropCluesCode:doit is called from script 21 when asking the policeman about Ziggy, and we work around that by returning a 0 for an uninitialized temp (perhaps 0 removes the first entry in the journal?)

comment:8 by SF/philohippus, 9 years ago

Yep it seems that you're exactly right, I confirm that both situations that caused crashes in bugs 3036274 & 3035068 now cause missing journal entries.
This 3036263 bug entry can probably be closed and 3036274 & 3035068 reopened.

comment:9 by bluegr, 9 years ago

Fixed in the latest SVN version (rev #51504)

comment:10 by bluegr, 9 years ago

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