Lord British's Broken SI Code

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
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Lord British's Broken SI Code

Post by Knight Captain »

I don't know if it has been reported before, but in SI Lord British's code has the doubleclick and started_talking event codes backwards. This means his bark to the Avatar is never shown.

As corrected:
else if (event == DOUBLECLICK)
{
// Never seen in-game until now
UI_item_say(item, "@Ah, there thou art, Avatar!@");
UI_set_schedule_type(item, TALK);
}
In a way, having this backwards makes sense as a homage to The Black Gate, where started_talking events do not exist.

I've fully converted the code to Usecode C and will include it in my mod.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Lord British's Broken SI Code

Post by Dominus »

Great! Do you already dream in usecode? ;)
--
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!
agentorangeguy
Posts: 565
Joined: Thu May 14, 2020 1:34 pm

Re: Lord British's Broken SI Code

Post by agentorangeguy »

That's really neat finding all this stuff from SI and re-implementing 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: Lord British's Broken SI Code

Post by Knight Captain »

I get so little sleep now I think I code while in a Dream Realm.
Dale
Posts: 176
Joined: Thu May 14, 2020 1:34 pm

Re: Lord British's Broken SI Code

Post by Dale »

KC makes my heart glad.
Locked