Skip to content

[core,sql] Zoneline origination points; spawn slotting#9493

Merged
WinterSolstice8 merged 1 commit into
LandSandBoat:basefrom
sruon:maprect
Feb 19, 2026
Merged

[core,sql] Zoneline origination points; spawn slotting#9493
WinterSolstice8 merged 1 commit into
LandSandBoat:basefrom
sruon:maprect

Conversation

@sruon
Copy link
Copy Markdown
Contributor

@sruon sruon commented Feb 19, 2026

Add the origin points for each zoneline as extracted from the DATs using xiregiondump Adds target zonelines spawnbox scale and rotation to calculate spawn slots as retail does.

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

  • Rework the SQL to store the center point of the origin zoneline box and the size of the destination box
    • Each line documents the exact pairs
    • Leafallia special case is documented
    • A handful of zonelines got semi-significant updates in Adoulin
  • Adds a distance check on the relevant packet
  • Adds the logic to cycle zoneline slots as observed on retail
    • 8 spawn slots calculated from largest scale in the DATs
    • Cycled rather than randomized
    • Note: Mog House exits are still handled by lua
  • Reworks the moghouse zoning detection to match on actual zmr* names rather than relying on a zoneline going to zone 0.

Credits @atom0s for xiregiondump

Steps to test these changes

Add the origin points for each zoneline as extracted from the DATs using xiregiondump
Adds target zonelines spawnbox scale and rotation to calculate spawn slots as retail does.

Co-Authored-By: atom0s <atom0s@users.noreply.github.com>
@WinterSolstice8 WinterSolstice8 merged commit 4891ac3 into LandSandBoat:base Feb 19, 2026
18 of 19 checks passed
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.

3 participants