Jump to content

Friendly Random Drops Tweak in IWDEE bug


Recommended Posts

I ran into a minor bug when using this component. When trading with Flynn, I chose to swap the Potion of Strength Transference. This brought me back to the menu where I could select Potion of Strength Transference to swap a second time. Closing the dialogue after that gave me 2x Rings of Strength.

Edited by testlum
Link to comment
On 10/29/2023 at 11:55 PM, testlum said:

I ran into a minor bug when using this component. When trading with Flynn, I chose to swap the Potion of Strength Transference. This brought me back to the menu where I could select Potion of Strength Transference to swap a second time. Closing the dialogue after that gave me 2x Rings of Strength.

A thought ... dialogue actions often aren't executed instantly. So it says "give away the potion, get the ring", dumps you back to the menu, but the action hasn't actually happened yet so you still have that item, and the trade is still valid. Select it again, get another instance of "give away the potion, get the ring". First instance resolves, you have the ring. Second instance resolves, there's no potion to give away anymore but you still get a second instance of the ring.

To avoid this, there's a flag you can set (bit 9) on the response with the action attached to force it to execute immediately. But ... that flag is EE-only, so non-EE IWD doesn't get that neat solution.

Link to comment

The Harrold/Flynn dialogue issue was a bad substitution, which is fixed. For dialogues, it had the normal conventional safeguards: intermediate states, a global to prevent repetition, &c. I've added the immediate flag for IWDEE. The only thing that could really be done for oIWD is to force an exit out of the dialogue after one swap and forcing re-initiation, which is very user-unfriendly.

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