Improve pathfinding: water avoidance, door/wall handling, multi-segment routing#28
Merged
MaxBittker merged 8 commits intomainfrom Feb 11, 2026
Merged
Improve pathfinding: water avoidance, door/wall handling, multi-segment routing#28MaxBittker merged 8 commits intomainfrom
MaxBittker merged 8 commits intomainfrom
Conversation
…sistency and streamline toolchain setup for contributors.
…nt routing - Add populatedZones cache to reject empty ocean zones in snapToWalkable(), preventing the pathfinder from routing through water - Add FLOOR_DECORATION to collision export FLAG_BITS so all blocked tiles are properly captured - Export wall collision flags and door/gate positions separately, allowing the pathfinder to route through doorways while respecting permanent walls - Add one-way door handling (Draynor Manor front door) and escape routing - Add multi-segment routing for cross-continent paths (500+ tiles) - Re-export collision data with all improvements (853k tiles, 1006 doors) - Add 30-test pathfinding validation suite covering walls, doors, water avoidance, and cross-continent routes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Revert PapaBlooD's mining.md changes and remove the interactPlayer feature (sendInteractPlayer, OPPLAYER packets, trade support) to keep this PR focused on pathfinding improvements only. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove rs-sdk submodule (PapaBlooD's fork reference) - Revert bun.lock configVersion formatting change - Revert server/engine/bun.lock reformatting (no dep changes) - Revert server/gateway/bun.lock (unrelated dep removal) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
From @PapaBlooD's pathfinding-improvements branch, rebased onto main.
populatedZonescache to reject empty ocean zones insnapToWalkable(), preventing the pathfinder from routing through waterFLOOR_DECORATIONto collision exportFLAG_BITSso all blocked tiles are properly capturedTest plan
bun scripts/test-pathfinding-local.tsto validate pathfinding test suite🤖 Generated with Claude Code