Mindustry

Mindustry

View Stats:
Not able to play Mindustry offline
Hey there, I'm currently not able to play Mindustry offline, as it crashes everytime I do so.
After searching for logs, I found a "last log" file. It said this.
[Mindustry] Version: 146
Total time to load: 3876ms
Fetching community servers at https://raw.githubusercontent.com/Anuken/Mindustry/master/servers_v7.json
[W] Not initializing NTP, most likely because there is no internet.
[E] java.net.UnknownHostException: raw.githubusercontent.com

Why does Mindustry need NTP and what even is NTP?
How do I play offline?
< >
Showing 1-6 of 6 comments
lonesh33p Oct 4, 2024 @ 7:15pm 
NTP usually stands for Network Time Protocol. Not good if Mindustry now crashes without that. Inconvenient for me to verify; I've been re-running the v5 'Beta' campaign lately. Maybe someone else can confirm.

Edit: FWIW (nothing), V5 warned me that it could not sync with the cloud, and that I might trash my game state due to sync-schizophrenia, then started up just fine.
Last edited by lonesh33p; Oct 4, 2024 @ 7:23pm
Darth Porgus Oct 4, 2024 @ 8:00pm 
Originally posted by lonesh33p:
NTP usually stands for Network Time Protocol. Not good if Mindustry now crashes without that. Inconvenient for me to verify; I've been re-running the v5 'Beta' campaign lately. Maybe someone else can confirm.

Edit: FWIW (nothing), V5 warned me that it could not sync with the cloud, and that I might trash my game state due to sync-schizophrenia, then started up just fine.
Hmm, weird. I also have Foo's Client, a popular QoL client for Mindustry, but I don't think it would cause the issue.
lonesh33p Oct 12, 2024 @ 7:41pm 
Finally finished my v5 campaign replay and switched back to beta=none. The current version of Mindustry behaved very well for me with no network. A dialog popped up saying it couldn't connect to the cloud. Once I clicked OK, it started just fine.

I used Foo's anti-grief client quite a bit in the past, but never tried to run it from Steam. I also would have agreed it was unlikely to be the culprit. But not impossible.

Wild speculation is easy since I have no knowledge to stifle my creativity. I suppose it could be a distro thing. I'm running Fedora 40 / gnome / wayland. Maybe it somehow fakes the NTP functionality in the absence of a network.

I didn't spot any obvious candidates in the list of services listed by systemctl. I might sniff around a bit more but I'm already a little over my head - just as likely i'll give up without reporting back.
lonesh33p Oct 12, 2024 @ 8:20pm 
chronyd.service somehow didn't qualify as an obvious candidate for yours truly. On my system, the service seems to run with networking disabled, or with ethernet unplugged. One of the lines from systemctl status chronyd:
Oct 12 21:49:49 fedora chronyd[1087]: Frequency -22.592 +/- 0.521 ppm read from /var/lib/chrony/drift
So, it kinda sorta looks as if chronyd might continue to function as an NTP [service] on my system even with no network. I don't have the technical chops to dive deeper.

After all of that, I finally notice your NTP line is tagged as [W], presumably warning. The next line is tagged [E], presumably error. This makes me wonder more about mods, or the Foo client.
lonesh33p Oct 12, 2024 @ 8:32pm 
Duh. Should have mentioned that I'm running Linux, not windows. So my experience may not match closely with most users. (pretty obvious from my last couple of posts...)
Darth Porgus Oct 13, 2024 @ 9:39am 
Originally posted by lonesh33p:
chronyd.service somehow didn't qualify as an obvious candidate for yours truly. On my system, the service seems to run with networking disabled, or with ethernet unplugged. One of the lines from systemctl status chronyd:
Oct 12 21:49:49 fedora chronyd[1087]: Frequency -22.592 +/- 0.521 ppm read from /var/lib/chrony/drift
So, it kinda sorta looks as if chronyd might continue to function as an NTP [service] on my system even with no network. I don't have the technical chops to dive deeper.

After all of that, I finally notice your NTP line is tagged as [W], presumably warning. The next line is tagged [E], presumably error. This makes me wonder more about mods, or the Foo client.
I'll try if unplugging my ethernet cable and turning of the internet allows me to play it offline.
< >
Showing 1-6 of 6 comments
Per page: 1530 50