Skip to content

Fix parsing of house portal teleports#389

Open
mpickering wants to merge 2 commits intoSkretzo:masterfrom
mpickering:wip/fix-house-portals
Open

Fix parsing of house portal teleports#389
mpickering wants to merge 2 commits intoSkretzo:masterfrom
mpickering:wip/fix-house-portals

Conversation

@mpickering
Copy link
Copy Markdown

@mpickering mpickering commented Mar 22, 2026

This fix removes the level requirements from teleports which are already guarded by using the correct varbits for house location.

Fixes #387

This makes it much easier to identify why a particular transport is
failing to parse. For example, rather than:

> Invalid item or quantity: 10CONSTRUCTION

we now see

> 2026-03-22 09:10:20 GMT [Test worker] ERROR shortestpath.transport.Transport - Invalid item or quantity: 35CONSTRUCTION fieldMap={Origin=1422 2963 0, Destination=1923 5709 0, menuOption menuTarget objectID=Home Portal 55353, VarPlayers=, Quests=, Display info=Home Portal, Items=35 Construction, Duration=4, Varbits=2187=9}

Which indicates clearly that the issue is with home portals.
* The varbits for house location are sufficient to check where the house
  teleport will go.
* The possession of the construction cape is necessary to use the
  construction cape, which is a consequence of 99 construction.

Fixes Skretzo#387
@FIrgolitsch
Copy link
Copy Markdown
Collaborator

Good point. That seems a bit double.

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.

Errors when parsing house teleports

2 participants