Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-introduce the session locking mechanism #633

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

rdw-software
Copy link
Member

As is evident from the various looting-related bug reports, "fast loot" addons still break Rarity's NPC detection method - even with the latest changes. I suspect this is due to how AceEvent handles the aggregated LOOT_READY triggers: By the time we're notified the fast loot addon has already taken all the loot, so Rarity can't see anything (and thus won't add any attempts).

This should be largely identical to the previous implementation, the only change being that the delay is now configurable (through code only, for now). If spam-opening containers becomes a significant concern, the delay could be exposed to the config UI to allow users to adjust it so that attempts are no longer failing to be detected.

Obviously, this is sub-optimal as ideally we'd be able to handle both scenarios gracefully. But one being seemingly more prevalent than the other, I'd rather not break "fast loot" addons and deal with the relatively fewer bug reports concerning container items not being counted. Perhaps a better solution exists that solves both problems at once, but I really don't have the time to do more than what's absolutely necessary here.


Follow-up to #629 and #620

As is evident from the various looting-related bug reports, "fast loot" addons still break Rarity's NPC detection method - even with the latest changes. I suspect this is due to how AceEvent handles the aggregated LOOT_READY triggers: By the time we're notified the fast loot addon has already taken all the loot, so Rarity can't see anything (and thus won't add any attempts).

This should be largely identical to the previous implementation, the only change being that the delay is now configurable (through code only, for now). If spam-opening containers becomes a significant concern, the delay could be exposed to the config UI to allow users to adjust it so that attempts are no longer failing to be detected.

Obviously, this is sub-optimal as ideally we'd be able to handle both scenarios gracefully. But one being seemingly more prevalent than the other, I'd rather not break "fast loot" addons and deal with the relatively fewer bug reports concerning container items not being counted. Perhaps a better solution exists that solves both problems at once, but I really don't have the time to do more than what's absolutely necessary here.
@rdw-software rdw-software merged commit c2c6f78 into master Aug 31, 2023
7 checks passed
@rdw-software rdw-software deleted the session-lock-rollback branch August 31, 2023 21:16
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