Opened 3 years ago

Closed 3 years ago

#13243 closed defect (fixed)

XEEN: Auto Note not updating in Darkstone Tower Level 4

Reported by: darkstar Owned by: dreammaster
Priority: normal Component: Engine: MM: Xeen
Version: Keywords:
Cc: Game: Might and Magic: World of Xeen

Description (last modified by darkstar)

In darkstone tower level 4 are 4 statues that you can click on to read. They are supposed to add a note to the Auto Notes that you have to read to receive a message from NWC.

There is one statue however (the last one, number 16) which doesn't register on the Auto Notes. Savegame attached

Attachments (1)

worldofxeen.028 (219.9 KB ) - added by darkstar 3 years ago.

Download all attachments as: .zip

Change History (3)

by darkstar, 3 years ago

Attachment: worldofxeen.028 added

comment:1 by darkstar, 3 years ago

Description: modified (diff)

comment:2 by dreammaster, 3 years ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

This is mostly fixed. The original script used index 128, which was technically out of bounds of the bitset in the party structure and savegame format. Previously it looks like I introduced a script patch to change the flag set for the statue to 127, but didn't realise it was hooked to the auto note display. I've since corrected that by increasing the size of the flags array by 1.

So the upshoot now is that the auto-note for the statue is displayed, but it's not synchronised to savegames. I'm a bit too hesitant to do that, since the party structure loading as-is is used for loading new game data, and I'd have to introduce a bunch of hacks to work around saving/loading it for new savegames.

Note: See TracTickets for help on using tickets.