Jump to content

Imprisonment item duplication


Recommended Posts

Anomen had Flail of Ages and a few containers in his inventory when he got imprisoned by Azamantes, and those things got transfered to mainchar. When Anomen was released through Freedom, he still had those items, effectively duplicating them. Mainchar was forced to drop some items on the ground because of lack of inventory space, in case it's relevant. 

Edited by gatperdut
Link to comment
44 minutes ago, DavidW said:

That's weird (the duplication, not the double Imprisonment). No idea how that could happen. It might be a core engine issue.

The flail heads might be critical items until the quest is done. Which would drop/move them to the player characters inventory.

Link to comment
1 hour ago, DavidW said:

All I do in the imprisonment phase is force-join them into the party again.

Not sure that's what happened. For an Imprisonment on mainchar the portrait stayed (after a brief flicker) but when cast on Anomen the portrait was gone until I cast Freedom. Then he had his normal "let's form a group again" dialogue upon talking to him. 

Link to comment
2 hours ago, boof said:

Quest items get duplicated when someone gets imprisoned twice during time stop. You can duplicate entire bags of holding if I remember correctly.

Which is less interesting than it sounds; while the bag item is duplicated, the contents aren't - they still point to the same .STO, so the bags are just portals to each other.

When a character leaves the party, any critical items they were carrying (which includes the Flail of Ages and all containers) are removed from their inventory and sent to player 1. Apparently, trying to process this twice in the same tick for the same character leads to the items being sent twice, because the game hasn't updated that they're not in the inventory anymore.

Why does a double Imprisonment in a Time Stop trigger this? Imprisonment has a projectile, so it doesn't land during the Time Stop. But it's touch-range, so there's basically no travel time; that mage walks right up to you before casting, and then casts their next spell without any further movement. So both spells land at exactly the same time, and the bug happens.

What can be done to avoid this? Tweaking mage AI so it doesn't cast Imprisonment twice on the same target during a Time Stop - after all, it's not only what triggers the bug, it's also obviously dumb.

Link to comment
15 hours ago, jmerry said:

Which is less interesting than it sounds; while the bag item is duplicated, the contents aren't - they still point to the same .STO, so the bags are just portals to each other.

Interesting, I never really explored the bug further after confirming it, so I didn't know that.

 

15 hours ago, jmerry said:

Tweaking mage AI so it doesn't cast Imprisonment twice on the same target during a Time Stop - after all, it's not only what triggers the bug, it's also obviously dum

Maybe try and do something similar to summons and death spell during time stop. I like my summons, but feel dirty when I see a lich cast 3 death spells during his time stops on my one mordenkainen sword.

Link to comment

You can change the specific.ids of the caster temporarily during time stop (i.e. DW_TIME_STOP) since that has no consequence (caster doesn't die nor interact with allies during a time stop) and then cast a helper MYSPELL.spl onto a creature with opcode 100 (protection from IDS entry) just after the Imprisonment is cast i.e.

Spell(Target,WIZARD_IMPRISONMENT)
ReallyForceSpellRES("MYSPELL",Target)

to prevent the target from being targeted while the caster is inside a time stop.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...