Author Topic: BG1 UB problem with bringing corpse to Arkion  (Read 2119 times)

jacklhoward

  • Guest
BG1 UB problem with bringing corpse to Arkion
« on: May 17, 2022, 02:29:41 AM »
I was unable to have Arkion accept two corpses for his quest. Also the journal wouldn't update and the quest was not marked as completed after talking to him.

A friend called Graion Dilach from discord pointed out the possible cause for this bug, he says:

"~BG1UB/SETUP-BG1UB.TP2~ #0 #11 // Scar and the Sashenstar's Daughter: v16.4˙

This one is the problem, it introduces an almost duplicate dlg entry of the single-corpse accepting response weighted above the multi-accepter response"

Also does the scar and the sashenstar's daughter component conflict with vanilla bgee v.2.660? I noticed the mod moved the noblewomans ring to the sac and renamed it. Would that cause conflicts if the quest wants the original ring in the game?

Offline Graion Dilach

  • Planewalker
  • *****
  • Posts: 4
Re: BG1 UB problem with bringing corpse to Arkion
« Reply #1 on: May 24, 2022, 11:16:08 AM »
I was unable to have Arkion accept two corpses for his quest. Also the journal wouldn't update and the quest was not marked as completed after talking to him.

Filed a fix for this in https://github.com/Pocket-Plane-Group/bg1ub/pull/2. I also noticed during testing that BGT also adds a journal entry to this quest which remains unsolved if one uses this option and the multi-body option might also get blocked there now (oBG1 has the multi-body response garbled if I see that one right with a bugged trigger index and the response doesn't take the bodies even, but I am not that familiar with oBG1 coding to know what to suggest there).

Also does the scar and the sashenstar's daughter component conflict with vanilla bgee v.2.660? I noticed the mod moved the noblewomans ring to the sac and renamed it. Would that cause conflicts if the quest wants the original ring in the game?

I'll check this one.

Offline Graion Dilach

  • Planewalker
  • *****
  • Posts: 4
Re: BG1 UB problem with bringing corpse to Arkion
« Reply #2 on: May 30, 2022, 01:57:49 PM »
I think I'll be taking a more drastic approach here. I haven't looked at Tutu yet (and will install it for this) but I think the triggers and actions of Arkion's dialogue should be patched instead of adding new entries to the dialog to cover the female bodies. The fact that the tree differs between all three games I looked at so far (oBG/BGT/BGEE) already. I'll try to come up with something during the weekend for this one.

Offline Salk

  • Planewalker
  • *****
  • Posts: 873
Re: BG1 UB problem with bringing corpse to Arkion
« Reply #3 on: July 06, 2022, 09:34:56 AM »
I'm not able to test at the moment but I think what we need to completely rewrite ubscar_classic.d swapping this:

Code: [Select]
REPLACE_STATE_TRIGGER %tutu_var%ARKION 6 ~Global("HelpArkion","GLOBAL",1)~


APPEND %tutu_var%ARKION
IF WEIGHT #0 ~Global("HelpArkion","GLOBAL",0)
PartyHasItem("%tutu_scriptbg%MISC79")~ THEN BEGIN EitherBody
  SAY @0
  IF ~PartyHasItem("%tutu_scriptbg%MISC79")~ THEN DO ~SetGlobal("HelpArkion","GLOBAL",1) TakePartyItem("%tutu_scriptbg%MISC79") GivePartyGold(250) AddexperienceParty(1800)~ EXIT
END

IF WEIGHT #0 ~Global("HelpArkion","GLOBAL",0)
PartyHasItem("UBFEBODY")~ THEN BEGIN NobleBody
  SAY @16
  IF ~~ THEN EXIT
END
END

with this:

Code: [Select]
/* ARKION
  - all eligible corpses are taken from the Players by Arkion */
REPLACE_STATE_TRIGGER %tutu_var%ARKION 3 ~Global("HelpArkion","GLOBAL",0) OR(2) NumItemsParty("MISC79",1) NumItemsParty("MISC80",1)~
REPLACE_STATE_TRIGGER %tutu_var%ARKION 4 ~Global("HelpArkion","GLOBAL",0) OR(2) NumItemsPartyGT("MISC79",0) NumItemsPartyGT("MISC80",0) OR(2) NumItemsPartyGT("MISC79",1) NumItemsPartyGT("MISC80",0) OR(2) NumItemsPartyGT("MISC80",1) NumItemsPartyGT("MISC79",0)~
REPLACE_STATE_TRIGGER %tutu_var%ARKION 6 ~Global("HelpArkion","GLOBAL",1)~
REPLACE_TRANS_ACTION %tutu_var%ARKION BEGIN 3 END BEGIN END ~TakePartyItem("MISC80")~ ~TakePartyItem("MISC79") TakePartyItem("MISC80")~
REPLACE_TRANS_ACTION %tutu_var%ARKION BEGIN 4 END BEGIN END ~TakePartyItemAll("MISC80")~ ~TakePartyItemAll("MISC79") TakePartyItemAll("MISC80")~

APPEND %tutu_var%ARKION
IF WEIGHT #0 ~Global("HelpArkion","GLOBAL",0)
PartyHasItem("UBFEBODY")~ THEN BEGIN NobleBody
  SAY @16
  IF ~~ THEN EXIT
END
END
« Last Edit: June 24, 2023, 05:06:02 AM by Salk »

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: