Skip to content

Titan Ruins, modes, hub and combat since #45 (rebased on master) - #48

Draft
mjrjj10 wants to merge 4 commits into
MXM-Engineers:masterfrom
mjrjj10:pr/next
Draft

mjrjj10 wants to merge 4 commits into
MXM-Engineers:masterfrom
mjrjj10:pr/next

Conversation

@mjrjj10

@mjrjj10 mjrjj10 commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #45: everything we built and tested since pr/core, rebased on master after e9da202. Opened as a draft for review.

Integration with e9da202

The branch starts from current master. Every source file changed on both sides was merged three ways (base = the merged pr/core), keeping your refactors and fixes and moving our additions into them:

  • Kept: the client documents at the gamedata/ root with mandatory loading, HubServerPublicIP / HubServerPort for the return to city, IsMapLoadable, SkillDamage(depth), the split of RemoteHit (RemoteHitRecord / RemoteHitDamage / RemoteHitStatuses), ApplyStatusControl, OnPlayerKilled (kills only between enemy teams), the four-function summon split, the capacity asserts, casterClass on remotes, REMOTE_MAX_AGE, Party::isQueued, the sent-to-game list structure, the single-pass MatchParties.
  • Not taken, with the reason:
    • MAX_CLIENT_SNAP_DIST: the server body follows the client on drift; a cap leaves a permanent desync after a client move the server did not mirror.
    • Sent-to-game expiry 600 s after the send: games last up to 20+ min, so the entry would expire before the result screen and the return to game. The 600 s now start at the game end (MarkSortieEnded).
    • Party size > 3 refused by the matchmaker: 5v5 parties are refused. The limit is now two teams.
    • ASSERT(!activeStatuses.full()) at runtime: a full list now drops the status instead of stopping a live game.

What it adds

  • Titan Ruins 5v5: minion waves and lanes, towers (target priorities, aggro rules, curses), Titans, jungle camps and robots, Akman, the Tanian King, the core and its states, Titan pieces and avatar skills, level events, bushes and fog of war, ground items.
  • Other modes: 3v3 arena (deathmatch, portals), PvE stages with coop, defence, training and tutorial maps.
  • Hub: parties and invitations, friends, guilds, mail, arsenal (weapon and skill unlocks and upgrades), achievements, titles, missions, game summaries and records, rewards, return to an ongoing game, reconnect handling, match confirm cancel.
  • Combat: skill damage with skill power (from SKILL_PROPERTY, or measured where the data has none), distance falloff, elements, repeat-hit reduction, crits; statuses (CC, shields, dispels, stacks, stealth, defiance); summons and relays; weapon combos, charge and overheat; dodges and tags.
  • Bots: lane, jungle, siege and retreat logic, navigation with jump links, skill use, evasion of announced monster attacks, trait spending and gear profiles.
  • Data: all documents the server reads (gamedata/), including the stage levels and our measured tables (Measured*.xml, MonsterAi.xml).
  • Ported masters: Shuttle (class 41) and Gatling (class 43) are included, so this PR supersedes Ported masters GX-09 and Gatling (data, stacked on the core PR) #46.

Values not found in the data

Rules measured on official captures are named MEASURED_*; assumptions are named HYP_* so they can be found and replaced. Main HYP_ values: game start without a missing player after 10 s, empty game kept 120 s, unconfirmed match cancelled after 20 s, bot engage and evade distances.

Testing

  • Automated labs: about 700 lab games against bots, mostly Titan Ruins (up to 20 min, two real EU clients in the same party, one driven by a pilot), each checked by a review that compares packets, movement, damage, statuses, monster behaviour and visuals with captures of official games. Arena 3v3 and PvE coop were re-checked with two clients.
  • Bench: every skill and weapon of the 42 masters against a dummy.
  • Human play: games played by hand on our server, including solo Titan Ruins games on this branch.
  • Builds with 0 errors on Windows (MSVC). Linux: TODO before ready for review.

Not in this PR

Our test bench (showcase, mirror, pilot telemetry and lab automation) stays out, as for #45.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WQH5MCVrzDhfeNKqrYBhCf

mjrjj10 and others added 4 commits November 21, 2026 21:24
…onflicts resolved, builds on Windows)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WQH5MCVrzDhfeNKqrYBhCf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WQH5MCVrzDhfeNKqrYBhCf
…emetry, auto queue)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WQH5MCVrzDhfeNKqrYBhCf
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

1 participant