When Lucilla arrives at 3am in her bedroom and you doubleclick on her the love scene bugs out. The music changes and right when one of the companions would state that he better catch some air, the usecode stops working and Lucille remains frozen forever in the wait state.
I couldn't reproduce with an existing savegame but maybe it needs to be started from a new game (will try that later).
Note: the savegame was started before the palette fix so it has a broken one.
This only happens with this savegame both in master and the 1.6 release. A new game works fine (attached).
comparing the debug output of bugged vs. working:
working:
It's been so long since I was debugging usecode, that I've forgotten
what 'npc_id' is. Looking a little, it's an SI-only field that gets set
and tested only by usecode, not by anything else, and it gets saved and
restored in savegames. So it looks like it's wrong in the savegame, but
we don't know how it got that way. Might be impossible unless we can
duplicate it in a fresh game.
On 4/20/20 1:43 PM, Dominik Reichardt wrote:
Related
Bugs:
#2052I was taking a look as well. For reference.
In one of the paths through the usecode (specifically, with event == 0xD), Lucilla's NPC ID gets set to whatever is the quality of one of the path eggs in the usecode container.
This path egg is used in a few other places as well. It may be that something else was going on at the same time that set the path egg's quality to a bad value for Lucilla's cutscene, and this ends up breaking both the Lucilla cutscene and that other thing... but only the Lucilla cutscene was visible.
I believe that the path egg in question is the one with frame 22. Lucilla's ID is 0x10; setting it to 0 in the cheat menu fixes the issue.
A few places where this same path egg is used:
Of those, the most promising for corrupting the cutscene is likely Frigidazzi; but certainty will require looking into the other usecode functions and see what those functions do.
Another place where usecode seems to stop working is http://exult.sourceforge.net/forum/read.php?f=1&i=1790751&t=1790751
The buttons in the order shrine to open doors seem to stop working for that user
Last edit: Dominik Reichardt 2020-04-24