Edrin, Siranush, and the Comb of Beauty

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
agentorangeguy
Posts: 565
Joined: Thu May 14, 2020 1:34 pm

Edrin, Siranush, and the Comb of Beauty

Post by agentorangeguy »

I remember this bug(?) in the original game, where when you'd get the dream crystal or whatever and Edrin appears to Siranush, you see the comb of beauty in the middle of them. Pretty sure it happens this way in Exult as well. Always wondered why that was, whether it was some sort of mistake or whether it was some sort of foreshadowing (you need it when you go back to Gorlab and fix Lady Yelinda).

Knight Captain have you found anything out about that? Would be interesting to finally figure that out haha
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Edrin, Siranush, and the Comb of Beauty

Post by Dominus »

Hmm, never noticed that (or I've forgotten ;)). Anyone have a savegame for that?
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Edrin, Siranush, and the Comb of Beauty

Post by Knight Captain »

I've seen it as well, it is recreate-able. The problem seems to be use the use of this little-used function:
var giveItem 0x996

The variables seem to be:
giver (Avatar, Iolo, or Party)
receiver
count
shape
quality
frame
create_if_not_existing? Reset frame?

This function is used in Siranush, Kylista, Spektor, and Gwenno, and another spot or three, like the Blink Ring. But in all of those other cases, the count is 1 not ANY:
giveItem(AVATAR, SIRANUSH, QUANTITY_ANY, SHAPE_ARTIFACT, QUALITY_ANY, FRAME_DREAM_CRYSTAL, true);

To test from a new game:

Set Flag 230
Set MET on Edrin, NPC 16
Set MET on Siranush, NPC 182
Hack-steal the Dream Crystal, and talk to Siranush

I'm not clear on why the item appears at her feet when she doesn't appear to be carrying anything. Using DEBUG_MODE and a quick code edit, I can make the same line cause the same problem, this time putting the Comb of Beauty at Shamino's feet.

So this is an original Usecode problem, I think, rather than a problem with Exult's handling.
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Edrin, Siranush, and the Comb of Beauty

Post by Knight Captain »

Even with the last variable set to false, it doesn't work as expected.
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Edrin, Siranush, and the Comb of Beauty

Post by Knight Captain »

Correcting the code to use 1 instead of QUANTITY_ANY makes it work as expected.
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Edrin, Siranush, and the Comb of Beauty

Post by Knight Captain »

We should have a bug tracker for these issues.
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Edrin, Siranush, and the Comb of Beauty

Post by Knight Captain »

Also, an automation in the House of the Dead, 3AUTO, NPC 229, is the placeholder for the Avatar's gear while he's in the Dream Realm.

I wonder why Sabrina wasn't placed on her bed from the start of the game?
Incriptus

Re: Edrin, Siranush, and the Comb of Beauty

Post by Incriptus »

I remember reloading over-and-over again so I could be quick enough to snatch up the Comb. I also remember being able to keep it ... but I can't seem to replicate that part.
agentorangeguy
Posts: 565
Joined: Thu May 14, 2020 1:34 pm

Re: Edrin, Siranush, and the Comb of Beauty

Post by agentorangeguy »

It was one of those little things that always made this game so mysterious. Hahah thats awesome on being able to snatch it up, I never tried it.
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Edrin, Siranush, and the Comb of Beauty

Post by Knight Captain »

Use of 0 instead of QUALITY_ANY was the reason the magic wine press spill would not appear.
extern var createNewShape 0x9AB (var shape, var frame, var quality, var is_temporary, var position);
Of course, both of these are Usecode functions in a rushed-out-the-door game, so it makes sense.
Locked