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

fix: game client hanging when equipping different equipment set #945

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

johnnylam88
Copy link
Contributor

This fixes an issue with the game client hanging when changing
specializations and a new equipment set is auto-equipped.

PLAYER_EQUIPMENT_CHANGED is a bursty event, so the event handlers
for it must handle events quickly.  Ignore PLAYER_EQUIPMENT_CHANGED
if the slot changed isn't a weapon slot since we only listen for
this event to update the weapon damage stats.

This fixes an issue with the game client hanging when changing
specializations and an new equipment set is auto-equipped.
Event handlers always take the event string as the first argument.
This fixes an issue where the unit stats were not updated until the
next time the player changed talents or zoned into the world.
@Sidoine Sidoine merged commit ed1aecb into Sidoine:master Jul 28, 2021
@johnnylam88 johnnylam88 deleted the fix/paperdoll-events branch July 28, 2021 20:47
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.

2 participants