Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: inform clients what game-script a server is running #9441

merged 1 commit into from Jul 14, 2021


Copy link

@TrueBrain TrueBrain commented Jul 14, 2021

Note: this is only deployed on staging; please use OTTD_COORDINATOR_CS="" for testing. After approval and before merging this will be deployed to production.

Motivation / Problem

#9234 introduces the ability to send/receive game-script info in the server listing. This sounds like a very useful addition.

Closes #9234.


This PR takes #9234, and makes it compatible with master. I also approaches some things slightly different from a coding perspective.


Checklist for review

Some things are not automated, and forgotten often. This list is a reminder for the reviewers.

  • The bug fix is important enough to be backported? (label: 'backport requested')
  • This PR affects the save game format? (label 'savegame upgrade')
  • This PR affects the GS/AI API? (label 'needs review: Script API')
    • ai_changelog.hpp, gs_changelog.hpp need updating.
    • The compatibility wrappers (compat_*.nut) need updating.
  • This PR affects the NewGRF API? (label 'needs review: NewGRF')

src/lang/english.txt Outdated Show resolved Hide resolved
@TrueBrain TrueBrain marked this pull request as ready for review Jul 14, 2021
Copy link

@rubidium42 rubidium42 left a comment

For testing with the game coordinator use OTTD_COORDINATOR_CS=""; there were a few typos in name of the environment variable name.

@TrueBrain TrueBrain merged commit c921f6d into OpenTTD:master Jul 14, 2021
15 checks passed
@TrueBrain TrueBrain deleted the game-server-info branch Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants