Commit graph

2970 commits

Author SHA1 Message Date
dam
8bb1dc4e30
Nuke docs. Manual local testing just passes 2026-07-18 18:54:01 +03:00
dam
5422d0ba2d
Fixed melee combat pathing for overlapping actors
Treat overlapping occupied tiles as out of melee reach so combat movement must find a real adjacent attack tile. Improve intent resolution to preserve queued steps that already enter attack range and account for same-tick projected movement, preventing reciprocal melee movement loops.

Update dumb NPC overlap movement to consider all valid attack tiles instead of stalling on blocked preferred directions. Add regression coverage for player/NPC overlap cases, blocked-side fallback, and mutual melee movement.
2026-07-18 18:54:01 +03:00
dam
7751971c15
Fixed combat pathing around blocked attack tiles
Filtered combat chase destinations so melee avoids interaction-blocked border tiles, and ranged/magic approach tiles require projectile line of sight before being selected.

This fixes looping when attacking through the opened Lumbridge house door and when autocasting against Lumbridge river ducks from projectile-blocked spell range.
2026-07-18 18:54:00 +03:00
dam
b7d0aa86f7
Fixed combat movement toward hard unreachable NPCs
Players now attempt to path into combat range before rejecting attacks against stationary NPCs on unwalkable tiles, such as Lumbridge river ducks. Ranged and magic attacks can move to valid attack-range land tiles, while melee still fails with "I can't reach that!" only after pathing as close as possible.

Added regression coverage for Lumbridge river duck ranged and melee attacks, and adjusted unreachable-target combat movement tests to expect pathing before failure.
2026-07-18 18:54:00 +03:00
dam
9f8faa3547
Fixed dumb NPC melee safespot pathing
Default melee NPCs now use constrained target-facing combat tiles instead of scanning every border tile, preserving safespots around obstacles.

Diagonal chases may use the two corner-adjacent sides so NPCs can step into range when a direct-ish tile is open, without routing around blocked corners.

Added combat movement regressions for static safespots, one-tile obstacle chases, and diagonal corner cases.
2026-07-18 18:54:00 +03:00
dam
64b6d858a0
Forced run fix 2026-07-18 18:53:59 +03:00
dam
4d50efbddc
Fix combat movement reachability and stale target cleanup
Reject partial pathfinder results for combat approach tiles so unreachable targets stop combat and show "I can't reach that!" instead of endlessly queueing chase movement.

Also clear stale combat state on teleport/cross-map targets, keep combat movement queues to immediate steps, and prevent NPC retaliation from forcing run movement.
2026-07-18 18:53:59 +03:00
dam
0d2f472d96
Silence! 2026-07-18 18:53:59 +03:00
dam
cdf43d01f8
Performance tests 2026-07-18 18:53:58 +03:00
dam
aa5f25fed4
Fixed melee chase timing for running PvP targets
Add a late combat movement pressure pass after world pulses so melee attackers can react to target run paths queued by live walk packets in the same tick. This prevents the attacker from lagging one tile too far behind when a PvP target starts running away.

Also add regressions for melee pressure against running targets, including the live WorldspaceWalk path with run enabled and dragon scimitars, and update the combat movement rewrite notes.
2026-07-18 18:53:58 +03:00
dam
4f0d44db38
Enabled tests in CombatMovementTests.kt 2026-07-18 18:53:58 +03:00
dam
eed4fd4888
Added combat movement intent resolution
Replaced CombatPulse's private MovementPulse pathing with an engine-side CombatMovementIntents queue resolved before normal walking queues. Exposed candidate attack tiles from CombatMovementPlanner so intents can select and reserve deterministic melee approach paths.

Enabled the first pending combat movement scenario using an open wilderness fixture, added intent resolver coverage, and updated the combat movement rewrite living document.
2026-07-18 18:53:58 +03:00
dam
71e8812124
Extract combat reach helpers and document movement rewrite progress
Move shared combat reach checks out of swing handlers and update melee, range, and magic handlers to delegate to the new reach boundary. Add focused combat tests for large-target melee reach and planner behavior, and update the living combat movement rewrite notes with completed progress and next steps.
2026-07-18 18:53:57 +03:00
dam
a816e3378e
Docs, tests 2026-07-18 18:52:58 +03:00
Tooze
5a37f2f8da Fixed mithril grappling tip smithing UI binding 2026-07-18 23:15:40 +10:00
oftheshire
592138d904 Rewrote ring of stone and easter ring, which also fixes a teleblock bug 2026-07-18 23:14:53 +10:00
dam
37b30d7561 Corrected implementation of dragon halberd special attack 2026-07-18 23:10:01 +10:00
Tooze
efc324883b Implemented berserker necklace effect 2026-07-18 23:06:23 +10:00
Pwn
be744e73b3 Implemented mounted cockatrice head dialogue 2026-07-06 23:16:49 +10:00
dam
ba372ef31f Corrected zamorak brew/mix behaviour 2026-07-06 23:16:25 +10:00
Tooze
6cccaa79de Improved combat level brackets for hostile random events 2026-07-06 23:15:21 +10:00
Tooze
9a4566cb0e Corrected kidnap location for Quiz Master 2026-07-06 23:10:26 +10:00
Oven Bread
5822b8df99 Modernised some location/pathing architecture 2026-07-06 23:08:28 +10:00
downthecrop
afeffc1b98 Added support for websocket connections (disabled by default) 2026-07-03 21:10:44 +10:00
Ceikry
76523c0130 Item respawn time logic now handles unset min/max times 2026-07-03 21:08:00 +10:00
iampwn
5d82897215 Made the Stronghold of Player Safety crevice shortcut persist between logins 2026-07-03 21:00:50 +10:00
Tooze
9a872f763d Fixed bug causing null or corrupt players/bots 2026-07-03 20:46:21 +10:00
Edie
fd0976e5d5 The summoning orb no longer disappears from the minimap on logout/login 2026-07-03 20:31:12 +10:00
GregF
392b13697b Implemented HP carryover after NPC transform
Fixed goblin cave miners not taking damage on the first hit
2026-07-03 19:30:48 +10:00
Sam Marder
1d383f0ff3 Rewrote world map interface handling (search still not implemented) 2026-07-03 19:23:43 +10:00
Bishop
09d9d1ec55 Rewrote boss kill counter
Removed inauthentic slayer tasks and boss pets
2026-07-03 19:08:16 +10:00
Edie
97f78b9058 Fixed another soft lock in Dwarf Cannon quest 2026-07-03 19:02:55 +10:00
Tooze
5e6c5bdee1 NPCs no longer favor the north east corner when walking 2026-07-03 18:59:43 +10:00
Edie
e84798c82c Changed the initial spawn location for new accounts 2026-07-03 18:39:26 +10:00
Pwn
166ecbacbf Brutal green dragons now drop hard clue scrolls instead of easy 2026-07-03 18:36:22 +10:00
Sam Marder
db960154e6 Can now smelt jewellery at the clay forge on Netiznot 2026-07-03 18:35:57 +10:00
Pwn
0d1dda90d8 Made Leaf-bladed spear alchemisable 2026-07-03 18:35:07 +10:00
Pwn
559bdb5a68 Abyssal walkers now drop two abyssal charms 2026-07-03 18:24:50 +10:00
Pwn
7b55acaddc Added purple dye ground spawn near the Khazard battlefield 2026-07-03 18:24:12 +10:00
Skal Fate
18d5fb62cd Small Bot Improvements and Fixes
Fixed bot head item randomisation
Fixed thief NPC bot stuck in bronze outfit
Added outfits for poor/average/rich classes of bots
Changed sex ratio of bots to 1:3 F:M from 1:5 (open to adjustment with era-authentic sources)
2026-07-03 18:16:39 +10:00
Pwn
0fdbf323d6 Fixed typos in Tribal Totem crate label dialogue 2026-06-21 23:03:34 +10:00
Sam Marder
5670ac5e9d Fixed some text display bugs on some interfaces 2026-06-21 22:57:31 +10:00
Pwn
fd8f672728 Borrokar now drops bones 2026-06-21 22:56:40 +10:00
oftheshire
16187ad211 Hunter audit and implementation for geckos, raccoons, monkeys, and squirrels 2026-06-21 22:52:46 +10:00
Pwn
200dfc64f9 King Black Dragon breath effects now trigger on impact instead of attack launch 2026-06-21 22:51:29 +10:00
Pwn
0443230b85 Black unicorn foals now drop bones 2026-06-21 22:32:59 +10:00
Pwn
aa8c26f50c Fixed Edgar's cave exit teleporting to Saba's cave 2026-06-21 22:26:28 +10:00
Pwn
a5d98df06d Fixed sex placeholder in Mysterious Ghost dialogue 2026-06-21 22:18:03 +10:00
Sam Marder
eb5af4a5a8 Rewrote glider interface 2026-06-21 22:12:42 +10:00
Pwn
9bfeea1d18 Ring of dueling and games necklace teleports now use the dedicated jewellery teleport animation 2026-06-21 22:06:52 +10:00