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.
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).





Retour en haut







