Skip to content

Add Hans walking behaviour - #1243

Draft
V0lcanic wants to merge 8 commits into
GregHib:mainfrom
V0lcanic:hans-walking-behaviour
Draft

Add Hans walking behaviour#1243
V0lcanic wants to merge 8 commits into
GregHib:mainfrom
V0lcanic:hans-walking-behaviour

Conversation

@V0lcanic

Copy link
Copy Markdown
Contributor

Would this be an authentic or passable implementation of Hans walking behaviour? I used osrs live server and YouTube for references: https://www.youtube.com/watch?v=p3Ph0jVi9R4, https://www.youtube.com/watch?v=T4db140QaXk, https://www.youtube.com/watch?v=5dICd5L2SOc.

Changed:
lumbridge.npc-spawns.toml
-Updated the spawn to the location that Hans stands on for 10 ticks after completing every lap around the courtyard.

lumbridge.patrols.toml
-The tiles that Hans will walk to in a loop.

Hans.kt
-Added the movement behaviour.

Copilot and others added 6 commits August 29, 2026 22:46
@Ebp90

Ebp90 commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

https://x.com/JagexAsh/status/1604391070888038401?s=20

@V0lcanic

V0lcanic commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Copilot added 2 commits September 1, 2026 09:39
Changed:
lumbridge.patrols.toml
Converted from the new inline points array back to the older per-point patrol format.
 Changes:
 • Added defaultmode = "patrol"
 • Replaced the points = [...] block with patrol0 through patrol13
 • Each entry now uses the legacy encoded tile string like 0_50_50_19_22,10
 Effect: same Hans patrol path, just stored in the legacy format that PatrolDefinitions now accepts.

 PatrolDefinitions.kt
 updated to support older patrol config formats.
 What changed:
 •It now accepts defaultmode entries and ignores them.
 •It now accepts legacy patrol* keys and converts those strings with parseLegacyPatrolPoint(...).
 •A new helper parses legacy values like level_regionX_regionY_localX_localY[,delay] into Tile to delay.
 Net effect: the loader can read both the newer points format and older patrol definitions without throwing on legacy keys.
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