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 anti-idle triggering when teleporting #705

Closed
wants to merge 1 commit into from

Conversation

elobo91
Copy link
Contributor

@elobo91 elobo91 commented Feb 27, 2025

Since we continue(skip) when walkduration/playercastduration isnt over , the idle timer is not getting reset and frequently meet 3 second condition. It creates weird behaviour when teleporting/in town.

Checking for ctx.Data.PlayerUnit.Position == previousPosition is more reliable then player.mode since it can change from one to the next while still in same position.

this is for branch hectorgimenez:moving-stuff

Since we continue(skip) when walkduration/playercastduration isnt over then the idle timer is not getting reset and frequentily meet 3 second condition.  It creates weird behaviour when teleporting/in town.

Checking for  ctx.Data.PlayerUnit.Position == previousPosition   is more reliable then player.mode since it can change from one to the next while still in same position.
@hectorgimenez hectorgimenez deleted the branch hectorgimenez:moving-stuff February 27, 2025 08:50
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