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

Raw float in IGN time report. #63

Open
TemporalOroboros opened this issue Nov 25, 2020 · 2 comments
Open

Raw float in IGN time report. #63

TemporalOroboros opened this issue Nov 25, 2020 · 2 comments

Comments

@TemporalOroboros
Copy link

It's a minor gripe, but I'm pretty sure the server buttons on the site aren't intended to display "IGN 1.457457457457457..." as a raw number.

@antropod
Copy link

antropod commented May 4, 2022

caught it happening, this is what is in serverinfo.json
image

@antropod
Copy link

antropod commented May 4, 2022

Did some more investigation, this is what game server returns when answering "query" packet with query = ?status.
I wrote a python script to check, ran it on local server and this is what parsed response looks like

{..., 'shuttle_mode': ['igniting'], 'shuttle_timer': ['3']}
{..., 'shuttle_mode': ['igniting'], 'shuttle_timer': ['2']}
{..., 'shuttle_mode': ['igniting'], 'shuttle_timer': ['1']}
{..., 'shuttle_mode': ['igniting'], 'shuttle_timer': ['0']}
{..., 'shuttle_mode': ['igniting'], 'shuttle_timer': ['1e+030']}

Possible solutions? Cap this value to something like 1 hour and print --:-- if value is greater (this is how it is done in game client statpanel).

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

No branches or pull requests

2 participants