Closed Vadrome closed 3 years ago
Hi, Thanks for reporting this issue. The next update (v1.4.2) should fix this sleep problem. I should publish it this evening.
Hope this will work fine now. Could you please confirm that ? https://github.com/ArVdC/TimeManager/releases/tag/v1.4.2
Still the same Problem, anything I might be doing wrong / can do to avoid this ?
[23:07:51 INFO]: Running delayed init tasks
[23:07:51 INFO]: Done (5.078s)! For help, type "help"
[23:07:51 INFO]: Timings Reset
[23:07:51 INFO]: [TimeManager] The server's initial tick was get from the config.yml.
[23:07:51 INFO]: [TimeManager] The server's initial tick is #1719079 (23:52:33 UTC).
[23:07:51 INFO]: [TimeManager] The server's current tick is #1593426 (22:07:51 UTC).
[23:07:51 INFO]: [TimeManager] The world mc16paper had its time resynchronized to the server time
[23:07:51 INFO]: [TimeManager] Resync: Calculation of [actualTime] for world mc16paper:
[23:07:51 INFO]: [TimeManager] [elapsedTime] = ([currentServerTick] - [initialTick]) % [ticksInOneDay] = (1593426 - 1719079) % 24000 = -5653 restrained to one day = 18347
[23:07:51 INFO]: [TimeManager] [adjustedElapsedTime] = [elapsedTime] * [speedModifier] = 18347 * 0.265 = 4861.955
[23:07:51 INFO]: [TimeManager] [actualTime] = [worldStartAt] + [adjustedElapsedTime] = 0 + 4861.955 = 4861.955 restrained to one day = tick #4861
[23:07:51 INFO]: [TimeManager] The gamerule doDaylightCycle is now set to false for the world mc16paper.
[23:07:51 INFO]: [TimeManager] Given tick "0" was converted to "06:00:00".
[23:07:51 INFO]: [TimeManager] Given tick "4861" was converted to "10:51:39".
[23:07:51 INFO]: [TimeManager] The world mc16paper is running since 80 whole day(s) (0001-03-22).
[23:07:51 INFO]: [TimeManager] The world mc16paper starts at 06:00:00 (+0 ticks).
[23:07:51 INFO]: [TimeManager] The world mc16paper's current time is 10:51:39 (#4861).
[23:07:51 INFO]: [TimeManager] The world mc16paper's current speed is 0.265.
[23:07:51 INFO]: [TimeManager] The world mc16paper will now use the asynchronous decrease speed scheduler.
[23:07:51 INFO]: [TimeManager] All worlds have been syncronized to the server time. If you want to keep them synchronized, set their 'sync' option to true.
[23:07:56 INFO]: [TimeManager] Last version on bukkit/curse is 1.4.1 and you are running the 1.4.2
[23:07:56 INFO]: [TimeManager] No update was found, you are running the latest version.
[23:07:58 INFO]: UUID of player Vadrome is 54e45318-763d-4936-ac09-5cdc964e7d76
[23:07:59 INFO]: Vadrome joined the game
[23:07:59 INFO]: Vadrome[/92.104.104.77:55216] logged in with entity id 253 at ([mc16paper]-1104.9121767486943, 89.0, 45.990983363149105)
[23:08:07 INFO]: Vadrome issued server command: /now
[23:08:07 INFO]: [TimeManager] Given tick "4941" was converted to "10:56:27".
[23:08:12 INFO]: Vadrome issued server command: /tm set time night
[23:08:12 INFO]: [TimeManager] The world mc16paper will now use the asynchronous decrease speed scheduler.
[23:08:12 INFO]: [TimeManager] The gamerule doDaylightCycle is now set to false for the world mc16paper.
[23:08:12 INFO]: [TimeManager] Given tick "13000" was converted to "19:00:00".
[23:08:12 INFO]: [TimeManager] The current time of the world mc16paper is now set to tick #13000 (19:00:00).
[23:08:14 INFO]: [TimeManager] Player Vadrome is sleeping now (1/100 ticks).
[23:08:19 INFO]: [TimeManager] Sleep time is almost reached (99/100 ticks).
[23:08:19 INFO]: [TimeManager] Achieved ! (100/100 ticks) Now waiting for the morning.
[23:08:19 INFO]: [TimeManager] The gamerule doDaylightCycle is now set to false for the world mc16paper.
[23:08:44 INFO]: [TimeManager] Too late... morning might never come.
[23:08:49 INFO]: Vadrome issued server command: /now
[23:08:49 INFO]: [TimeManager] Given tick "13184" was converted to "19:11:02".
Maybe I have an idea. I'll check this tomorrow. Until then could you try with another value of refreshRate ?
I did a bit of testing with /tm set speed
Any speed value greater or equal to 1 works. Anything below 1 doesn't
I actualised the file, I think it's fixed. https://github.com/ArVdC/TimeManager/releases/tag/v1.4.2
It works now, thx
Sleeping doesn't set the time accordingly.
It's the only plugin installed. config.txt