Aller au contenu

Photo

Captured! + Maric's Blade/Cailan's Shield Set = Goodbye Party Inventory!


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
Nukenin

Nukenin
  • Members
  • 571 messages
I came across a weird issue when my Warden and Alistair were Captured! after rescuing Queen Anora.

Only thing is, I was finessing my way out of Drakon without fighting so I didn't realize until after I was back at Arl Eamon's estate.

My party inventory (dozens of potions, Morrigan's Ring, my Aeducan shield, etc) was gone.  Kaput.  Finis.  No more.

I reloaded a save and got Captured! again and paid attention when looting the chest with our gear.  My armor/weapons were equipped, as were Alistair's, but no party inventory.

I checked the code in the toolset.  Specifically den400ip_player_chest.nss.

Aside: in the process of investigating this script, I discovered a huge glitch that anyone who "plays on through" in their undies, goes all the way to the armor stand a few rooms away, dons guard disguises, and then comes back to loot the chest—you'll get your party inventory, sure, but kiss your real armor and weapons goodbye because a misguided attempt to try to restore your old equipped gear to party inventory goes terribly, terribly wrong.

I was going to fix this issue (by having the game remove disguises temporarily, restore the inventory as if you weren't disguised, then reapply the disguises) but when I discovered the other issue more or less unfixable, and only solved by a workaround, I decided to just not bother.

Okay, back to the main issue.  Placing the usual sorts of debugging output in the code, I found out that the game would restore my (equipped) inventory and Alistair's (equipped) inventory, and then—nothing.  den400ip_player_chest just dumps out at that point.

I shuffled things around, and discovered that it was Alistair's DEN_RestoreInventory(oAlistair) that seemed to be the culprit.  I was able to get party inventory, my PC's inventory, and Alistair's to restore by shuffling things around, but any code after that (e.g. setting of the DEN_CAPTURED_PC_GOT_EQUIPMENT_BACK plot flag) was not getting executed.  Something in DEN_RestoreInventory(oAlistair) was causing the entire den400ip_player_chest script to dump out.

I assumed it was something in Alistair's inventory.  My first test was to just strip him nekked and get captured like that.  Sure enough, looting the chest restored my inventory and all the party inventory (including the items I'd stripped from Alistair).

Something in his inventory was causing a problem.  Since he's wearing the full Cailan's set of armor, and Maric's Blade and Cailan's Shield (i.e. RtO bonanza), I stripped just the RtO items, got captured, looted the chest.  Voila!  Got everything back again!

Further refinement led me to the following conclusion.  If Maric's Blade and Cailan's Shield (together they comprise a set that boosts stamina regen and damage, so it's likely you'll be using them together) are in the active weapon set for either Alistair or your character when you are Captured!, then when you loot the item storage chest after escaping your cell in Fort Dragon you will not get your general party inventory back.

This is only a concern if you are escaping yourself.  If you have party members rescuing you, they will start with your party inventory intact.  (While the actual issue still occurs if you or Alistair have Maric's Blade+Cailan's Shield equipped as the active weapon set, it only precludes the setting of the DEN_CAPTURED_PC_GOT_EQUIPMENT_BACK plot flag which probably has negligible impact, since I think that's only checked at the completion of the quest for a last-minute chance to restore your gear.  Since you'll have your gear already, probably no big deal.)

I really wanted to roll out a player-originated fix for this (and for the looting-while-disguised issue), but the problem appears deeply tied to whatever code handles the Maric's Blade+Cailan's Shield item set, I wager.  The workaround is easy enough, and since we're already working around that, may as well work around the looting-while-disguised issue by just not looting the item storage chest while disguised.  :blush:

tl;dr workaround summary: Once you have Rescued the Queen, if you or Alistair have Maric's Blade and Cailan's Shield equipped together in your active weapon set, either switch to your alternate weapon set or equip a different weapon or shield before you trot off to Ser Cauthrien to get Captured!  (If you keep Maric's Blade+Cailan's Shield equipped to Alistair's or your active weapon set, you will kiss your party inventory goodbye upon looting the item storage chest.)  Once you are Captured!, loot the item storage chest before leaving the cell area—do not waltz off in your undies, snag a guard uniform disguise, then waltz back to the item storage chest to loot your possessions.  (If you loot the item storage chest while disguised, you will kiss your pre-Captured! equipped armor/weapons/accessories goodbye, and Alistair's as well if he has been Captured! with you.)

Hope this helps someone avoid losing their party inventory (or their pre-Captured! equipped armor/weapons/accessories). :mellow:

#2
Nukenin

Nukenin
  • Members
  • 571 messages
Further testing with Alistair retaining Maric's Blade + Cailan's Shield and stripping everything else had things work (party inventory was restored when the storage chest in the cell area was looted) so it's perhaps a deeper issue with RestoreFollowerInventory() and some item combinations.  (Giving the Maric's/Cailan's combo to my PC resulted in the lost party inventory as well, so I'd assumed I'd found the likely culprit.  Ah well!)

General advice is to save right after you free Anora but before you confront Ser Cauthrien.  If when looting the storage chest in the cell area you don't get your party inventory back (or equipped items, for that matter), reload the save you made and juggle Alistair's and your equipped items around.  Or strip yourself and Alistair completely if you don't mind the comedy in the confrontation with Cauthrien.

#3
barrelofmonkeyzz

barrelofmonkeyzz
  • Members
  • 34 messages
Interesting. I wonder if having too many set bonuses on a character active at once is causing the add item scripts to run out of time to finish restoring the party inventory. I wonder if this is the cause for the Awakenings Silverite Mines inventory loss on capture bug too.

#4
Nukenin

Nukenin
  • Members
  • 571 messages

barrelofmonkeyzz wrote...

Interesting. I wonder if having too many set bonuses on a character active at once is causing the add item scripts to run out of time to finish restoring the party inventory. I wonder if this is the cause for the Awakenings Silverite Mines inventory loss on capture bug too.

I would not be surprised if this is related to the Silverite Mines issue.  One of my attempts to "fix" it involved bypassing the Denerim/Landsmeet specific DEN_RestoreInventory() calls with direct calls to RestoreFollowerInventory() (and RestorePartyInventory() where applicable) with absolutely zero change in the resultant behavior.

An issue of timing is definitely a possibility.  Alas, RestoreFollowerInventory() and RestorePartyInventory() are core functions so any magical fix will likely have to come from Bioware.

The other issue involving trying to loot the storage chest while disguised is a more obvious (and perhaps more easily addressed) flub in the code.  I just lost my enthusiasm for fixing when I couldn't sort out the greater mystery. :happy:

And I was able to get (after shuffling things around) the party inventory and Alistair's and my equipped inventories to restore, but the chest function was still crapping out afterwards, before the final bit of code (setting the aforementioned plot flag etc.) would execute.  But it's very possible that this happenstance was tied to the specific inventory I was going into the quest with, and shuffling that around would have different results.

I'm just glad for the purpose of my current playthrough (yes, I've had the game since release and this is my first time approaching Landsmeet!) I was able to figure out the easy workaround (just had Alistair switch to his backup bow before skipping out to visit with Ser Cauthrien) that proved enough to get all my items back properly from the cell area storage chest.  :lol:  I dread revisiting this sort of issue in Awakening. :crying:

#5
yojimbo67

yojimbo67
  • Members
  • 1 messages
I or none of my characters are using any of Maric's equipment (sword or shield) and I am having the same issue. I've played through this part of the game twice previously and hadn't had any problems . . .



My main character was equipped with Duncan's dagger and I wondered if that might be causing the issue (related DLC items) and I removed before surrendering . . . but it was not the cause either . . . I



I can confirm that if you have party members come to the rescue that all equipped inventory items will return as originally equipped.