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

Allow multiple games per server #39

Open
roncli opened this issue Feb 18, 2020 · 2 comments
Open

Allow multiple games per server #39

roncli opened this issue Feb 18, 2020 · 2 comments
Labels
enhancement New feature or request olmod This issue requires support from olmod

Comments

@roncli
Copy link
Member

roncli commented Feb 18, 2020

This will require support from olmod to send the server stats to include a game ID so that the tracker can tell the games apart.

@roncli roncli added the enhancement New feature or request label Feb 18, 2020
@tobiasksu
Copy link
Contributor

Add port = Server.GetListenPort() to TrackerPostStats() calls

@roncli roncli added the olmod This issue requires support from olmod label Dec 18, 2021
@roncli
Copy link
Member Author

roncli commented Aug 24, 2022

@tobiasksu Does this look right to you?

        public static void TrackerPostStats(JObject body)
        {
            body.Add("port", Server.GetListenPort());
            TrackerPost("/api/stats", body);
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request olmod This issue requires support from olmod
Projects
None yet
Development

No branches or pull requests

2 participants