Skip to content

fix: game mode ids - #1

Merged
NaySurGithub merged 2 commits into
Falcon-MC:mainfrom
zekreyta:patch-1
Sep 29, 2026
Merged

NaySurGithub merged 2 commits into
Falcon-MC:mainfrom
zekreyta:patch-1

Conversation

@zekreyta

Copy link
Copy Markdown
Contributor

If the game mode id in the pong isn't 1, the client ignores the server and it won't let you join. This PR fixes the issue by always returning 1.

@xRookieFight

Copy link
Copy Markdown
Contributor

LGTM, also note that the field you have mentioned should not be "gamemodeId", according to the client, that field should be "serverAvailability" and 1 is Available, 0 is Busy

@NaySurGithub

NaySurGithub commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Looks good, thanks.

Please:

  • keep returning 1 (Available)
  • rename announcementGameModeId / mGameModeId to serverAvailability

@zekreyta

Copy link
Copy Markdown
Contributor Author

The Server itself probably needs to adapt to these changes too, i didnt check that

@NaySurGithub
NaySurGithub merged commit 7fc4682 into Falcon-MC:main Sep 29, 2026
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