Skip to content

[core] Chocobo Racing packets and binding#10534

Merged
Xaver-DaRed merged 1 commit into
LandSandBoat:basefrom
sruon:choco_racing_pkt
Jul 8, 2026
Merged

[core] Chocobo Racing packets and binding#10534
Xaver-DaRed merged 1 commit into
LandSandBoat:basefrom
sruon:choco_racing_pkt

Conversation

@sruon

@sruon sruon commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

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?

  • Introduces a single binding streaming the entire race to a player.
    • You build the whole race upfront and the client receives it before the event even starts.
  • Adds proper definitions to each involved packet + constructors
local sendRaceData = function(player, race)
    player:sendChocoboRace({
        counter    = race.counter,
        weather    = race.weather,
        chocobos = race.chocobos,    -- The racing chocobos
        sections    = race.sections,      -- The actual race, in 32 sections
        places       = race.places,         -- Final results
    })
end

Holding back the lua changes for now since I still need to validate all event parameters and document the mechanics

Steps to test these changes

https://www.youtube.com/watch?v=2AJ6KXhDmfM

This is entirely generated with random chocobos, using actual race mechanics (items, stats, stamina etc)

Started documenting a little bit
https://sruonlsb.notion.site/Chocobo-Racing-RE-mechanics-39737684701380ff8175dda37b4c5c6c?source=copy_link

@Xaver-DaRed

Copy link
Copy Markdown
Contributor

Mandatory approval is mandatory. Great job man.

@sruon sruon force-pushed the choco_racing_pkt branch from b821fa1 to 1494a99 Compare July 8, 2026 01:30
@Xaver-DaRed Xaver-DaRed merged commit bf22459 into LandSandBoat:base Jul 8, 2026
12 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.

2 participants