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

Prevent repeated move packets #3944

Merged
merged 3 commits into from
Jan 13, 2025
Merged

Prevent repeated move packets #3944

merged 3 commits into from
Jan 13, 2025

Conversation

Henrybk
Copy link
Contributor

@Henrybk Henrybk commented Jan 11, 2025

Currently Task Route sends multiple packets of character move to the same cell in a repeated manner, some servers really don't like that like idRO.

This change prevents the Task from sending a new move packet if it's destination is the same as the current character movement.

Also when this happens and you are in a meeting route to a targer, give back control to AI::Attack.

@Henrybk
Copy link
Contributor Author

Henrybk commented Jan 13, 2025

A distance check in maproute was causing some issues, updated and it, cleaned the hook call and added a similar one to talknpc

@Henrybk Henrybk merged commit 7989d39 into master Jan 13, 2025
7 checks passed
@Henrybk Henrybk deleted the Preventrepeatedmovepackets branch January 13, 2025 02:06
@ya4ept ya4ept added the bug label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants