syncing in-world time from nts?

Post Reply
User avatar
digitalmouse
Member
Posts: 25
Joined: Sat Sep 20, 2014 18:26
GitHub: digitalmouse
IRC: digitalmouse
In-game: digitalmouse
Location: Kvistgård, Denmark
Contact:

syncing in-world time from nts?

by digitalmouse » Post

Greetings, Programs! :)

Maybe it is because it is 05:30 in the morning, but I am not having success finding out if my question has been answered already. Please feel free to correct me, and link to an appropriate post or wiki entry.

Since I am having so much fun adding mods and tweaking things to my little Raspberry Pi server, has anyone tried syncing server in-world time with an internet time-clock (network time server)?

Thanks in advance!

(edit: removed "setting time_speed on startup" question... found setting in answer in minetest.conf)
Last edited by digitalmouse on Sun Oct 26, 2014 04:38, edited 2 times in total.
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000

User avatar
digitalmouse
Member
Posts: 25
Joined: Sat Sep 20, 2014 18:26
GitHub: digitalmouse
IRC: digitalmouse
In-game: digitalmouse
Location: Kvistgård, Denmark
Contact:

Re: setting time_speed and time from ntc?

by digitalmouse » Post

ok...after a better use of keywords, found 'time_speed' setting in minetest.conf file - problem solved!

so all that remains is auto setting of in-world time to sync with network time servers.
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000

User avatar
Calinou
Member
Posts: 3168
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: syncing in-world time from nts?

by Calinou » Post

Someone made a mod that synchronizes game time with computer clock on start long time ago, but I no longer have it around. I'm not sure if it was khonkhortisan who made it.

User avatar
Krock
Developer
Posts: 4683
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: syncing in-world time from nts?

by Krock » Post

It's a bad idea to sync the minetest time with the internet clock. Many people live on diffrent timezones and some of them will always have night and some always day, which is .. crap.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
digitalmouse
Member
Posts: 25
Joined: Sat Sep 20, 2014 18:26
GitHub: digitalmouse
IRC: digitalmouse
In-game: digitalmouse
Location: Kvistgård, Denmark
Contact:

Re: syncing in-world time from nts?

by digitalmouse » Post

Krock wrote:It's a bad idea to sync the minetest time with the internet clock. Many people live on diffrent timezones and some of them will always have night and some always day, which is .. crap.
I wasn't asking for opinions, but thanks anyway. I'm interested in options, or existing projects/mods, before I venture into doing it myself.

Since I choose to currently run my server at real-time speed, I am interested in syncing it with local time (Denmark UTC+1), because that is what I want to experiment with. If other people want to join, let's say... from the Americas, then it will probably still appeal to them since many people often play at night locally (weekends and such) so it will still likely be morning on my server anyway (since Denmark is 6-10 hours ahead depending on the America timezones).

Plus, from my experience in other Minetest servers, people generally have no problem working in the dark - it's what torches/lamps are for. And those who are mining or building underground don't care what time it is up top anyway. :P
Minetest experimental server running on 900Mhz Raspberry Pi: pi.god.jp:30000

Post Reply