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 Teleport in circle and Line of sight improvement #634

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

elobo91
Copy link
Contributor

@elobo91 elobo91 commented Jan 20, 2025

  • Fix line of sight issues . Can run tal rasha tombs and stony tombs now =)
  • Will reposition if no damage to target for 3 seconds
  • Bot wont teleport in circle anymore with lower end cpu ( it wouldnt detect it reached destination so it would teleport once more , get further from destination making a loop/circle)
  • Moved Overshoot logic to utils package func (pf *PathFinder) BeyondPosition

Adding RefreshGameData in step move.go loop fix this at minimal cost considering teleport takes 500ms to 1000ms. so extra refresh every 500 to 1000ms

Fix line of sight issues for solid walls but doesnt for closed door.  Solution will come in a second pr
@sorc653
Copy link

sorc653 commented Jan 21, 2025

Great work, love this fix!

@artosimonyan artosimonyan merged commit b3d095c into hectorgimenez:main Jan 25, 2025
1 check passed
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.

3 participants