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 bugged actor moved packet again #3675

Merged
merged 3 commits into from
Oct 7, 2022
Merged

Fix bugged actor moved packet again #3675

merged 3 commits into from
Oct 7, 2022

Conversation

Henrybk
Copy link
Contributor

@Henrybk Henrybk commented Oct 7, 2022

Second check for HerculesWS/Hercules#3154
Sometimes the pos_to coordinate might not be 0 0 but can be very far.

Like:
Monster Moved: Spore (1) - (297, 302) -> (32, 91)

I believe seeting the max move distance for mobs to the same clientSight + clientSight_removeBeyond used for removing actors should be safe.

Also removed a +2 I left in clientSight check by mistake.

@Henrybk Henrybk merged commit 509babb into master Oct 7, 2022
@Henrybk Henrybk deleted the fixactormoved branch October 7, 2022 19:08
@ya4ept ya4ept mentioned this pull request Jan 30, 2023
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