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

Pathfinding: Increase timeout when activating Surf #618

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

hanzi
Copy link
Collaborator

@hanzi hanzi commented Jan 13, 2025

Description

I've given the pathfinding algorithm 270 extra frames for waypoints that require activating Surf before triggering a pathing timeout for not having moved tiles for a while.

I don't remember how I chose that particular number, but it caused some issues for me on Emerald where the timeout got triggered before the bot was done starting to surf.

I've increased that limit to 300 frames and now it works. Oh well.

Checklist

  • Black Linter has been ran, using --line-length 120 argument
  • Wiki has been updated (if relevant)

I've given the pathfinding algorithm 270 extra frames for waypoints that require activating Surf before triggering a pathing timeout for not having moved tiles for a while.

I don't remember how I chose that particular number, but it caused some issues for me on Emerald where the timeout got triggered before the bot was done starting to surf.

I've increased that limit to 300 frames and now it works. Oh well.
@pekempy pekempy merged commit 7dc9be7 into 40Cakes:main Jan 13, 2025
1 check passed
@hanzi hanzi deleted the higher-surf-timeout branch January 13, 2025 15:53
40Cakes pushed a commit that referenced this pull request Jan 22, 2025
I've given the pathfinding algorithm 270 extra frames for waypoints that require activating Surf before triggering a pathing timeout for not having moved tiles for a while.

I don't remember how I chose that particular number, but it caused some issues for me on Emerald where the timeout got triggered before the bot was done starting to surf.

I've increased that limit to 300 frames and now it works. Oh well.
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