Just thought i'd make a note that there's some oddness when using this mod in conjunction with Somnia when setting the timescale to 'real'.
When you've got it set to the real setting, Somnia still accelerates the tick rate when in bed, but doesn't accelerate time. This makes sense since it's synced to the system clock and both rather cool and yet is a bug at the same time.
I can see some people liking this functionality though, so it might be neat to have it disable Somnia when this setting is in use by default, but have the current 'buggy' functionality be enableable via a config option, for those that might find it useful for whatever reason.
Secondarily, i've noticed that regardless of what the time scale is set to, Somnia passes the time at the same rate and at the same 'accelerated speed'(the number it show in the top left). This seems counter intuitive and makes me feel like Somnia isn't actually simulating the world at the correct time scale set by timescaler, but rather at the default time scale and then resuming the time scale timescaler uses when you get out of bed. This seems reinforced by the fact that no matter what time i set the timescale to, even something absurdly long, it passes time at the same rate.
This is probably the easier way of doing it, if this is indeed what is happening, but i'd really enjoy seeing the ability to have a long time scale and use somnia to pass the time at an accelerated, but still slow rate, e.g. 15x the timescale rate, rather than 15x the normal rate. I don't know which mode would have to do the work to make this happen, probably some work on both, but it'd be cool if you could get together with kingrunes and figure it out!
The Meaning of Life, the Universe, and Everything.
Join Date:
9/14/2013
Posts:
44
Minecraft:
w00tguy123
Member Details
Somnia not progressing the day cycle while using the 'real' time scale was intended. The purpose of using 'real' is to sync mc time with the real world (that's also why you can't sleep using that mode). You can change this by setting the time scale to 0.0139, so that you still have 24-hour days but Somnia can speed up the cycle.
As you've seen, Somnia overrides TimeScaler when not using 'real' mode. I wasn't sure what people wanted when I made this mod compatible with Somnia. I think it would make more sense to have Somnia speed up the day cycle relative to what the time scale value is, like you suggested. I'll try to get that working next time I work on this.
As for the 'real' timescale, i'm aware of how you intended it to be. That's why i said it wasn't really a bug. I was just pointing out that it does still seem to accelerate the tick rate even when set to 'real'. As an example of this, fire up a server at night with the real timescale and hop into a bed in the middle of the dark while you've got somnia installed while you're in creative. You'll quickly hear many mobs spawning and wandering all around you, far more than the natural spawn rate.
Like i said, i don't feel it was intended, since time isn't actually being accelerated, nor do i think it's a terribly large issue, because who is going to want to install Somnia on a world locked to a real timescale unless they want exactly that effect, but i thought it would be something you might want to be aware of. Heck, maybe it can become an unintended feature. 'Accelerated living growth via naps.'
The Meaning of Life, the Universe, and Everything.
Join Date:
9/14/2013
Posts:
44
Minecraft:
w00tguy123
Member Details
I'll probably update the mod to 1.7.2 first since that's what Forge is doing. Getting to 1.7.4 from there should be a small task (1.6.2 to 1.6.4 took me about 10 minutes). I'm still waiting for Forge to be ready with deobfuscated code before I do any of this.
As for donations, I appreciate the offer but I did this for fun and plan to update this mod as long as it's needed, for free. I use Adfly for my download links to see how many people download my mod (330 so far). Just by clicking on one you're donating about $0.0022.
MCPC+ Technic Launcher running 1.6.4.. I get the following :
7:35:24 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 11
17:35:24 [SEVERE] at timescaler.ServerTickHandler.tickStart(ServerTickHandler.java:125)
17:35:24 [SEVERE] at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:28)
17:35:24 [SEVERE] at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:122)
17:35:24 [SEVERE] at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:287)
17:35:24 [SEVERE] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:765)
17:35:24 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659)
17:35:24 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
17:35:24 [SEVERE] Encountered an unexpected exception ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException: 11
at timescaler.ServerTickHandler.tickStart(ServerTickHandler.java:125)
at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:28)
at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:122)
at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:287)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:765)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
It saves the crash report and keeps loading... THEN t I get the dreaded :
17:35:45 [WARNING] The server is going slow. Last server tick was 21121ms ago
and it all comes tumbling down.......
Anyone know what could be causing the autoofboundsexception 11?????
Anyone know what could be causing the autoofboundsexception 11?????
I found the bug in my code. This happens when the number of worlds changes after the server is created (or maybe some time during initialization). I will fix this as soon as possible.
The Meaning of Life, the Universe, and Everything.
Join Date:
9/14/2013
Posts:
44
Minecraft:
w00tguy123
Member Details
Oh! It turns out Forge has had all the deobfuscated code I need for over a month now. I had to rewrite a bunch of code, but everything went fairly smoothly once I figured out all the differences.
This mod crashes using the latest version of forge, so I suggest sticking with the recommended version for now (10.12.0.1024). I use a new method for the client prediction of the sun/moon so there may be bugs with that.
Oh! It turns out Forge has had all the deobfuscated code I need for over a month now. I had to rewrite a bunch of code, but everything went fairly smoothly once I figured out all the differences.
This mod crashes using the latest version of forge, so I suggest sticking with the recommended version for now (10.12.0.1024). I use a new method for the client prediction of the sun/moon so there may be bugs with that.
Excellent! Thank you for making this mod! The first thing I wanted in MC was for days to be at least twice as long
Edit: suggested having different day/night durations, then learned how to read instructions :| Farbtastic. I can now do more than tend the farm during a single day
Oh! It turns out Forge has had all the deobfuscated code I need for over a month now. I had to rewrite a bunch of code, but everything went fairly smoothly once I figured out all the differences.
This mod crashes using the latest version of forge, so I suggest sticking with the recommended version for now (10.12.0.1024). I use a new method for the client prediction of the sun/moon so there may be bugs with that.
I think adding version number(s) to the thread title would help this achieve more popularity.
Also, thanks for supporting 1.7.2. I hate that so many mods fail to update. I have to assume laziness on the dev's sides. Back in beta you'd see the majority of mods updated by a week or two after a Minecraft update (though I assume the whole MCP thing has something to do with it, a 1.7.2 version of Forge has been out for a while).
Still using this, can't play MC without it anymore I do have a question about the hunger rate though, since my days are longer I end up going through a solid dozen chickens a day just running around gathering resources to get things started. (This is actually very difficult on Survival mode, you are close to dying of hunger a LOT during the first week or so.)
Does anyone have any knowledge of how the hunger rate could be adjusted downwards so you use a normal amount of food a day? A mod or tweak of any kind?
I have been looking everywhere for a mod to do this. Somehow I managed to completely miss this one though *FacePalm*
I've asked on loads of forums including this one, posted on Yahoo Questions, Reddit.... e.t.c. No one could help except for old out of date mods, or telling me to use MCP and decompiling the MC.jar, then adding, deleting, editing code which I could not get to work at all.
Then finally, by chance I stumble upon this beautiful, glorious mod.
Really hope you keep updating this mod for future versions, especially with 1.8 releasing soon.
"Wake up, eat breakfast, chop a tree, and it's getting dark" - no longer! Thank you for making Minecraft bearable and more immersive!
This easily earns my Best Mod award. Really it should be a built-in setting as in Fallout, Skyrim, etc.
No doubt a lot of people are wanting this mod to continue. If you don't want to maintain it, I hope you consider releasing source because others would try.
This mod may not add any tangible items to Minecraft, but it is still by far the most important one I have. With the addition of mods to any setup, one needs alot more time for exploring, even vanilla's new biomes beg for longer days. This is easily my favorite and most important mod. It completely changes the entire dynamic. I have seperate setups for different modpacks. One is extremely hardcore with "Real" time, synced to my locale, the other is 60 minute days with alot of other mods. I just cant say enough good things here. I can't play without this ever again. Add the sleeping bags mod so that sleeping wont reset your spawn, or Somnia, and the game is completely new...
12:12:15 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@12dcc96b].
12:12:15 PM CONSOLE: have been dropped.
12:12:15 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:15 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@31ecec42].
12:12:15 PM CONSOLE: have been dropped.
12:12:15 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:15 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@5b0aa27e].
12:12:15 PM CONSOLE: have been dropped.
12:12:15 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:16 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@10686c55].
12:12:16 PM CONSOLE: have been dropped.
12:12:16 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:16 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@b8a4987].
12:12:16 PM CONSOLE: have been dropped.
12:12:16 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:16 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@4f2fa2bc].
12:12:16 PM CONSOLE: have been dropped.
12:12:16 PM CONSOLE: 00 00 00 00 00 00 ........
When you've got it set to the real setting, Somnia still accelerates the tick rate when in bed, but doesn't accelerate time. This makes sense since it's synced to the system clock and both rather cool and yet is a bug at the same time.
I can see some people liking this functionality though, so it might be neat to have it disable Somnia when this setting is in use by default, but have the current 'buggy' functionality be enableable via a config option, for those that might find it useful for whatever reason.
Secondarily, i've noticed that regardless of what the time scale is set to, Somnia passes the time at the same rate and at the same 'accelerated speed'(the number it show in the top left). This seems counter intuitive and makes me feel like Somnia isn't actually simulating the world at the correct time scale set by timescaler, but rather at the default time scale and then resuming the time scale timescaler uses when you get out of bed. This seems reinforced by the fact that no matter what time i set the timescale to, even something absurdly long, it passes time at the same rate.
This is probably the easier way of doing it, if this is indeed what is happening, but i'd really enjoy seeing the ability to have a long time scale and use somnia to pass the time at an accelerated, but still slow rate, e.g. 15x the timescale rate, rather than 15x the normal rate. I don't know which mode would have to do the work to make this happen, probably some work on both, but it'd be cool if you could get together with kingrunes and figure it out!
As you've seen, Somnia overrides TimeScaler when not using 'real' mode. I wasn't sure what people wanted when I made this mod compatible with Somnia. I think it would make more sense to have Somnia speed up the day cycle relative to what the time scale value is, like you suggested. I'll try to get that working next time I work on this.
As for the 'real' timescale, i'm aware of how you intended it to be. That's why i said it wasn't really a bug. I was just pointing out that it does still seem to accelerate the tick rate even when set to 'real'. As an example of this, fire up a server at night with the real timescale and hop into a bed in the middle of the dark while you've got somnia installed while you're in creative. You'll quickly hear many mobs spawning and wandering all around you, far more than the natural spawn rate.
Like i said, i don't feel it was intended, since time isn't actually being accelerated, nor do i think it's a terribly large issue, because who is going to want to install Somnia on a world locked to a real timescale unless they want exactly that effect, but i thought it would be something you might want to be aware of. Heck, maybe it can become an unintended feature. 'Accelerated living growth via naps.'
As for donations, I appreciate the offer but I did this for fun and plan to update this mod as long as it's needed, for free. I use Adfly for my download links to see how many people download my mod (330 so far). Just by clicking on one you're donating about $0.0022.
7:35:24 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 11
17:35:24 [SEVERE] at timescaler.ServerTickHandler.tickStart(ServerTickHandler.java:125)
17:35:24 [SEVERE] at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:28)
17:35:24 [SEVERE] at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:122)
17:35:24 [SEVERE] at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:287)
17:35:24 [SEVERE] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:765)
17:35:24 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659)
17:35:24 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
17:35:24 [SEVERE] Encountered an unexpected exception ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException: 11
at timescaler.ServerTickHandler.tickStart(ServerTickHandler.java:125)
at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:28)
at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:122)
at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:287)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:765)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
It saves the crash report and keeps loading... THEN t I get the dreaded :
17:35:45 [WARNING] The server is going slow. Last server tick was 21121ms ago
and it all comes tumbling down.......
Anyone know what could be causing the autoofboundsexception 11?????
VenusCraft Horizons FTB server IP: VenusCraft.ca
MC Thread
I found the bug in my code. This happens when the number of worlds changes after the server is created (or maybe some time during initialization). I will fix this as soon as possible.
Edit: Fixed. Please try v1.33
Yes, go right ahead.
This mod crashes using the latest version of forge, so I suggest sticking with the recommended version for now (10.12.0.1024). I use a new method for the client prediction of the sun/moon so there may be bugs with that.
Download TimeScaler for 1.7.2
Excellent! Thank you for making this mod! The first thing I wanted in MC was for days to be at least twice as long
Edit: suggested having different day/night durations, then learned how to read instructions :| Farbtastic. I can now do more than tend the farm during a single day
Also, thanks for supporting 1.7.2. I hate that so many mods fail to update. I have to assume laziness on the dev's sides. Back in beta you'd see the majority of mods updated by a week or two after a Minecraft update (though I assume the whole MCP thing has something to do with it, a 1.7.2 version of Forge has been out for a while).
Does anyone have any knowledge of how the hunger rate could be adjusted downwards so you use a normal amount of food a day? A mod or tweak of any kind?
Thanks for any help!
HZ
I have been looking everywhere for a mod to do this. Somehow I managed to completely miss this one though *FacePalm*
I've asked on loads of forums including this one, posted on Yahoo Questions, Reddit.... e.t.c. No one could help except for old out of date mods, or telling me to use MCP and decompiling the MC.jar, then adding, deleting, editing code which I could not get to work at all.
Then finally, by chance I stumble upon this beautiful, glorious mod.
Really hope you keep updating this mod for future versions, especially with 1.8 releasing soon.
Thank you w00tguy123, sincerely thank you.
This easily earns my Best Mod award. Really it should be a built-in setting as in Fallout, Skyrim, etc.
No doubt a lot of people are wanting this mod to continue. If you don't want to maintain it, I hope you consider releasing source because others would try.
Since default is about 20 minutes (/ts 1), and you want 60, try /ts .333
12:12:15 PM CONSOLE: have been dropped.
12:12:15 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:15 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@31ecec42].
12:12:15 PM CONSOLE: have been dropped.
12:12:15 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:15 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@5b0aa27e].
12:12:15 PM CONSOLE: have been dropped.
12:12:15 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:16 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@10686c55].
12:12:16 PM CONSOLE: have been dropped.
12:12:16 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:16 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@b8a4987].
12:12:16 PM CONSOLE: have been dropped.
12:12:16 PM CONSOLE: 00 00 00 00 00 00 ........
12:12:16 PM CONSOLE: thread/ERROR] [FML]: Messages for channel timescaler for side SERVER were not processed by the embedded channel [timescaler.PacketTimeScales@4f2fa2bc].
12:12:16 PM CONSOLE: have been dropped.
12:12:16 PM CONSOLE: 00 00 00 00 00 00 ........
Which version of Forge are you using? I last tested this with 10.12.0.1024 but it looks like that one isn't recommended anymore.