-
Notifications
You must be signed in to change notification settings - Fork 71
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
fixed [FragLand#216](FragLand#216) for javascript, PHP and Python #217
Conversation
✅ Build minestat 1.0.0.414 completed (commit 93a055b9c5 by @) |
✅ Build minestat 1.0.0.420 completed (commit 6e89565753 by @ldilley) |
✅ Build minestat 1.0.0.421 completed (commit a41609e707 by @ldilley) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greetings, @molanp.
In reference to issue #216, only data returned from SLP 1.7 JSON queries is potentially impacted, correct? If this is the case, then the JavaScript changes in this PR are unnecessary considering that the JavaScript implementation only supports SLP 1.4/1.5. Furthermore, the included PHP modifications would not correct the issue for SLP 1.7. The changes would need to be made to the following lines (613 and 614) in minestat.php
:
$this->current_players = (int)@$json_data['players']['online'];
$this->max_players = (int)@$json_data['players']['max'];
Tagging @mindsolve to see if he has any input for the proposed Python changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the ping, ldilley :)
I just have one small comment for the python edition.
Thank you, @molanp for the contribution!
Modify 613 and 614 in PHP. Handle player_max values correctly.
Done. |
✅ Build minestat 1.0.0.432 completed (commit 985a48c475 by @) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In regards to the Python parts: Approved, thanks for the addition!
✅ Build minestat 1.0.0.433 completed (commit 1aa28a7a78 by @ldilley) |
✅ Build minestat 1.0.0.434 completed (commit 0459d90c6d by @ldilley) |
✅ Build minestat 1.0.0.435 completed (commit c7dcf66848 by @ldilley) |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The JavaScript and PHP changes now look good as well. Thank you for the fixes, @molanp!
fixed FragLand#216 for javascript, PHP and Python