About plot bugs

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Jandof

About plot bugs

Post by Jandof »

Pardon me for bringing plot bug issues such as Cantra up again, but... I tried searching FAQ and this board and still couldn't find a good answer...

I remember reading from some FAQ there actually is a piece of conversation for Cantra in the game files, which she is apparently supposed to say when cured. Considering people here have been able to fix plot bugs already, it'd intuitively sound like a reasonably easy task to properly apply that conversation. Wouldn't imho even have to worry about legal issues, since the person fixing it doesn't really change or add any written material into the code. Btw, there doesn't seem to be a note about it in the usecode_bugs.txt. Is it intentional?

The reason why I'm asking is I decided to play SI over once again and would finally want to get a version where this one bug wouldn't disturb my need for perfection. :)

And, - pardon me as well for being such a newbie - but should someone manage to actually write such a fix, where can I find instructions to include it into my version of Exult/SI?

Thanks.

Jandof
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: About plot bugs

Post by artaxerxes »

As a matter of fact, I was able to cure Cantra with the cheat menu and not with patching the usecode. It definately would be better to change usecode (which I am doing anyways) but it would be first needed to isolate which part of the usecode is run wrt Cantra and how to modify it.

If I find a way to correct it, I'll make a patch which you'll have to put in your "patch" directory (assuming you use Exult 1.1) and that would override the wrong usecode function.

For legality reasons, I think I cannot distribute the usecode function on its own. I'll have to find a way to automatically extract it from your usecode file and use it to create the patch. Shouldn't be too hard though.

Artaxerxes
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: About plot bugs

Post by wjp »

You'll probably have to edit the 'bucket' usecode. (In fact, it should be rather simple, as it might be (IIRC) exactly the same code for Cantra as it is for Iolo/Shamino/Dupre)
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: About plot bugs

Post by wjp »

Hm, apparently you need to set global flag 71 and clear Cantra's flag 30.

This will make Cantra say:

"I feel tired, but I am all right! My mind was full of awful dreams. Thou hast saved me! I shall remember thee always!"
The conversation options after this are "Knight" and "bye", though, so the conversation doesn't seem to be finished.
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: About plot bugs

Post by wjp »

Additionally, the usecode function that's called by the bucket usecode function to 'heal' people from the bane-induced-insanity is 0x88a

It currently contains code for NPCs 1, 2, 3 and 149 (Dupre, Shamino, Iolo, Gwenno)
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: About plot bugs

Post by wjp »

While I'm writing this down anyway...

flag 71 is set in function 0x8FE, which seems to be a resurrection function.
The condition right in front of setting the flag is checking for -64. (64 is Cantra's NPC#)

I'll have to do some more investigating to see why it isn't set.
Jandof

Re: About plot bugs

Post by Jandof »

I am happy to see there has been progress. =) Unfortunately I do not have the skill to contribute to the work very much myself, but I hope a solution can be found.

Thanks again.

Jandof
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: About plot bugs

Post by wjp »

If we really want to 'fix' this Cantra issue, some new dialogue will have to be written. Or we could use the sentence already there, and only have a "bye" option after that.

Opinions?


We'll also have to take a good look at her mother's dialogue.
Jandof

Re: About plot bugs

Post by Jandof »

Imho the existing sentence and bye sounds good as it would be the easy option. Writing new content always causes some disagreement. Just seeing some reaction to the water would satisfy me.

Perhaps a more elegant solution can be discovered later, but atm a basic fix might be the best solution. Any idea how difficult this would be to accomplish?

Jandof
Locked