Skip to content

fix(eventdismiss): dismiss lamp award dialogue; rename to Random Event Handler#474

Open
runsonmypc wants to merge 1 commit into
chsami:developmentfrom
runsonmypc:fix/random-handler
Open

fix(eventdismiss): dismiss lamp award dialogue; rename to Random Event Handler#474
runsonmypc wants to merge 1 commit into
chsami:developmentfrom
runsonmypc:fix/random-handler

Conversation

@runsonmypc

Copy link
Copy Markdown
Contributor

Summary

  • Fix LampUtility.useLamp() leaving the post-confirm "Click here to continue" XP-award dialogue open. The lamp was never consumed, so the UseLampEvent blocking event re-queued indefinitely and the BlockingEventManager script-pause gate never released — freezing every other running plugin. The continue dialogue is now dismissed (bounded waits) before checking consumption, so the event clears and scripts resume cleanly.
  • Rename the plugin display name (@PluginDescriptor) and overlay title to Random Event Handler. The @ConfigGroup("EventDismiss") storage key is intentionally unchanged to preserve existing user settings.
  • Bump version 2.1.02.1.1.

Test plan

  • ./gradlew build -PpluginList=EventDismissPlugin — compiles, produces EventDismissPlugin-2.1.1.jar.
  • Live: trigger a Genie/stray lamp, confirm the skill, and verify the award dialogue is dismissed, the lamp is consumed, and other plugins resume.

…ases

After confirming a skill on a lamp, the XP-award "Click here to continue" dialogue was left open, so the lamp was never consumed. UseLampEvent then kept re-queuing and the BlockingEventManager pause gate never released, freezing other plugins. Dismiss the continue dialogue (bounded waits) before checking consumption so the event clears and scripts resume cleanly.

Also rename the plugin display name and overlay title to "Random Event Handler" (config group key left unchanged to preserve user settings) and bump version to 2.1.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant