Staxel
Sundial: Custom Day Length
52 条留言
Fenya 2024 年 5 月 16 日 上午 9:52 
i tried way too much to do anything i saw in here but nothing i trued worked
Fenya 2024 年 5 月 16 日 上午 3:57 
staxel.translation.translateexeption: mods.sundial.hooks.sundialhook.disconnect
what dis?
sorry me stupid but i installed this mod earlier today and it worked and made my days longer and now i get this error code
Mr.BlackJack 2024 年 4 月 11 日 上午 2:12 
nah i dont need the achievements, thanks for the fast help :3
wowi  [作者] 2024 年 4 月 10 日 下午 2:49 
If you're alright with disabling Steam achievements for that world, you may use the EnableCheats command before using the SetDayLength command. If you'd rather go through the game with achievements enabled, then you could try the workaround provided by Knot Yu: create a world, enable cheats, set the day length, then copy the config.json file from that temporary world into your current one.
Another solution would be to edit your world's rights.config file to include the "owner" and "tutorial" permissions.
If you need help with either of those two solutions, do let me know! :staxelCow:
Mr.BlackJack 2024 年 4 月 10 日 下午 1:23 
it is a bit late to ask, but where can i find a tutorial how to use it. im trying a / comment but he says i dont have the authorization to do that. Im the host, i dont know what do do
KruhlSentru 2023 年 8 月 2 日 下午 11:43 
YES! THIS! I thought this kind of game was supposed to be relaxing, but it's one of the most stressful games I've ever played. There's never enough time to do anything, and everyone has all these timed chores for you. It's been driving me CRAZY. This might actually make things calm down a notch or two. Now I just need to get the cow to stop fence hopping.
wowi  [作者] 2023 年 4 月 3 日 上午 9:10 
Oh my, that's certainly one way of doing it! Glad it worked, haha.
I'll keep on trying to find a simpler, easier way to go about this. Perhaps an in-game command?
Knot Yu 2023 年 4 月 2 日 下午 10:49 
Thanks for prompt response. I found a way to use EnableCheats and still get achievements. I created a new world, enabled cheats, changed the time, and then copied the config.json from the new world to my current. Tested to see if an achievement would pop and it did.
wowi  [作者] 2023 年 4 月 2 日 下午 2:48 
One possible solution would be to edit your world's rights.config file to include the "owner" and "tutorial" permissions.
Your file will likely look something akin to this:

{
"byUid": {
"steam_USER_ID_GOES_HERE": {
"rights": [
"tutorial",
"owner"
],
"username": "USERNAMES_GOES_HERE"
}
}
}
Knot Yu 2023 年 4 月 2 日 上午 11:53 
Encountering the sufficient permissions problem in single player world. Was a solution other than Enable Cheats discovered?
syl  [作者] 2023 年 3 月 18 日 上午 9:41 
Glad we could help you troubleshoot! :awoo:
Spook Time© 2023 年 3 月 18 日 上午 9:29 
Ohhh, that makes sense! That fixed the issue, thanks so much!
syl  [作者] 2023 年 3 月 18 日 上午 8:50 
Make sure you're checking the world folder for sundial, as opposed to the mods folder.
Reason for this is because sundial works on a per world basis, in case you want to have different settings for each world.
Spook Time© 2023 年 3 月 17 日 下午 10:58 
I followed the instructions as far as I could, but sundial doesn't seem to be generating a config file. The sundial folder only contains ""Preview.jpg" and "Sundial-en-GB.lang"
wowi  [作者] 2023 年 3 月 17 日 下午 3:31 
I believe I see two issues here: one, the translation file has not been properly loaded; and two, Sundial failed to communicate with Moonbow. Both are easily fixable, though!
For the first issue, I recommend running the Staxel Content Builder. The steps for doing so are in the troubleshooting section of the description.
As for the second, it's likely that the Staxel client froze and missed its window of opportunity to respond to the mod check request. Details on how the process works, as well as instructions on how to fix this issue, are listed in the pinned thread, Modifying the Mod Detection Process .
If you encounter any more issues, or would like help fixing the above, do let me know. :staxelCow:
Spook Time© 2023 年 3 月 17 日 下午 12:30 
It worked fine the first time I played a world, now I get an error message that says "staxel.translation.translateexception: mods.sundial.hooks.sundialhook.disconnect" and it won't let me load the world. I can still play that world without the mod, thankfully, it's not corrupted.
NaptimePlays 2023 年 2 月 5 日 下午 3:19 
It keeps saying connection closed. It will go to the loading screen and then error out back to the main menu ):
wowi  [作者] 2023 年 1 月 29 日 下午 8:15 
Oh dear, sounds like an issue. What exactly happens when playing in multiplayer? Do you receive an error message? Are you unable to join the server? Does nothing happen at all?
NaptimePlays 2023 年 1 月 29 日 下午 3:19 
works well in single player, but even with both parties having it installed it WILL NOT WORK with multiplayer.

If this is ever fixed, it's going to change the game for multiplayer games.
syl  [作者] 2022 年 12 月 3 日 上午 11:14 
this mod changed my life
Bibi 2022 年 11 月 1 日 下午 1:11 
It worked very well here, I'm finally having some relaxed fun with staxel, thanks!!
wowi  [作者] 2022 年 11 月 1 日 上午 7:41 
Unfortunately, CE does not currently have mod support, so Sundial is unable to work on it.
If, however, mod support were to be added, whether officially or via a community project, then there's a chance I'd port Sundial over to it. Here's to hoping it'll be possible, someday!
Bibi 2022 年 10 月 31 日 下午 9:55 
Does it work on CE?
wowi  [作者] 2022 年 8 月 19 日 下午 12:43 
Sundial 0.2 is now live!
Check out the pinned post for more details.

Well, that was a biiit quicker than expected, so I'm hoping it's not too buggy. Do give it a try and tell me if it's any good.
wowi  [作者] 2022 年 8 月 18 日 下午 9:46 
Gotcha. In that case, I'll stick to the first plan and get a simple update out before anything else. The Moonbow update (0.4.1) will likely be out in less than a day, as it should be simple enough to implement. The actual handling of the new config file additions for Sundial (0.2) might take a day or two. At least, I would hope so. We'll see how this goes!
HeadlessJason 2022 年 8 月 18 日 下午 3:09 
I mean, I would love an update sooner if it would fix this, but I dont want to pressure you for for an update or anything. If you can, that's great, if not, I understand. I'm a patient man.
wowi  [作者] 2022 年 8 月 18 日 上午 11:01 
Gosh, that sounds tedious, but I'm glad it at least worked.
How quickly would you like an update? I'm currently debating whether to push out a simple update to Moonbow that would allow for custom timeout length for the mod detection process (0.4.1), or keep it for a larger update that should hopefully allow for custom UI elements (0.5). No ETA on the latter, though; I'm still trying to figure out how I'd like to structure everything to be easy to understand and mod.
HeadlessJason 2022 年 8 月 18 日 上午 12:41 
Okay, I deleted the config and reinstalled sundial. It worked, and I can load up the world, then reset the day length to 45 and continue playing. Once the game is closed though, it will give the error again if I try to open the world, so I'll have to delete the config every play session. Thats okay withe me for now, but I am excited to hear an update might come so soon! I look forward to it. lmk if you need anything else.
wowi  [作者] 2022 年 8 月 17 日 上午 8:16 
What I think I'm going to do, then, is allow for more control over the mod detection process in the Sundial config file. You could increase the time for detection (so even a freeze won't mess things up), or just disable it entirely, and run the server on an "integrity system", I guess. I'll have to think about it. Either way, expect an update to Moonbow (0.5) and Sundial (0.2) soon.

For now, though, one workaround should be to disable Sundial by deleting the config file (located in your world's save folder), and re-enable Sundial once in-game by using the SetDayLength command. Do give it a try and tell me if it works!
Again, thank you so much for the detailed bug report. It really does help a lot. :staxelCow:
wowi  [作者] 2022 年 8 月 17 日 上午 8:16 
Gosh, that issue is such a pain. That said, though, thank you! This is immensely helpful!

I'm assuming you were the host for the multiplayer world? Typically, I've only ever seen the issue occur for the host; guests seem to have no problem.
Though I'm not entirely sure what is causing the TranslationException, I do have one theory on why this disconnection issue is happening. Sometimes, the client and/or server freezes for a few seconds while the world is loading, and messes with mod detection. This, in turn, causes Sundial to not detect you have the mod installed, despite you very clearly having it.
You can't tell if the server has frozen (unless you have the server console open and are actively monitoring it), and the only indication that the client has frozen is a stutter or freeze in its loading screen animation, making this a frustrating issue to even notice.
HeadlessJason 2022 年 8 月 16 日 下午 11:53 
I am having the same issue as Avish. I'm including as much information as I can think to give below;

After installing, the mod worked fine for the first session in a multiplayer world. I set the day cycle to 45 minutes.
The next day when I tried loading the world, I got the message "Staxel.Translation.Translateexception: Mods.sundial.hooks.Sundialhook.disconnect." and the world would not open. I ran the content builder in the mod manager, and restarted the game. Nothing.
I uninstalled and deleted the mod entirely, restarted the game. The world works fine without the mod.
Reinstalled the mod fresh and restarted the game, but the world gave the same error message again and refused to load.
I am playing the game in English.
The only other mods I have on are some player species mods, color mods, and moonbow.
AstriaTheFox 2022 年 7 月 26 日 下午 1:06 
Ah ok, thanks, my brain completely forgot that command was in the description as that'd make sense it'd show it but still good to know without needing to go on and check. :3
Honestly the days feel way shorter than that tbh. I'd maybe just increase it 50% to 33 minutes, perhaps double the original to 44 if that's still feeling short.
wowi  [作者] 2022 年 7 月 26 日 上午 9:22 
Ah, right, that certainly would be good to know, to better adjust day length to your liking.
Staxel's default day length is 22 minutes , and as Sundial does not modify this value unless instructed to, you can verify this with the CheckDayLength command. :staxelCow:
AstriaTheFox 2022 年 7 月 26 日 上午 8:43 
You forgot to mention what the default day length is.
wowi  [作者] 2022 年 7 月 19 日 下午 12:54 
.. Guess who just discovered a bug with the mod.
Joining a world with Sundial enabled, whether singleplayer or multiplayer, will indeed synchronize the client's visual day length, but will fail to revert to the default value upon leaving. If you then join a world that does not have Sundial, the client will keep the previous world's day length, causing a mismatch between server and client. Restarting the game fixes the visual issue, but it will occur again upon joining a modded Sundial world.
wowi  [作者] 2022 年 7 月 16 日 下午 8:41 
Great! I'll add this to the listing description. Thank you!
Honestly, that wasn't your fault, either: if translations had been working, they would've informed you that you needed to provide a number of minutes, haha. Just one issue leading to another.
Plocana 2022 年 7 月 16 日 下午 7:53 
Ah. That did the trick. I didn't know I needed a number after the command. My bad, but thanks, eheh.
wowi  [作者] 2022 年 7 月 16 日 下午 4:47 
.. Sounds like a translation issue again. It's displaying the translation key, rather than the actual translated message.
Could you try running the Content Builder and see if that fixes the issue? From the Steam launch options menu, choose Mod Manager Tool , wait for it to load all the mods, then choose Run Content Builder from the Tools menu at the top.

When using the SetDayLength command, what are you typing? Is it solely "/SetDayLength" without any number? If so, provide a number afterwards, such as "/SetDayLength 10" (without the quotes, case-insensitive).
Plocana 2022 年 7 月 16 日 下午 2:55 
So I'm not sure what I'm doing wrong, but when I type "/setdaylength" I get the response "invalid Args"
And when I type "/checkdaylength" I get "response" as a reponse.
Any idea what I'm doing wrong?
Avish 2022 年 7 月 6 日 上午 10:23 
its working for now, ill keep in touch if anything goes weird again
Avish 2022 年 7 月 6 日 上午 10:14 
ill let you know
wowi  [作者] 2022 年 7 月 6 日 上午 9:53 
If playing on a singleplayer world, try the following:
1. Open Staxel's installation folder. You can do this by selecting "Browse local files" or similar from the additional options menu on the game page in your Steam library.
2. Open the LocalContent folder. This is where world saves are kept.
3. Open your world's save folder. It will have the same name you gave the world when first creating it.
4. Open the Mods folder, then open the Sundial folder. This is where Sundial keeps the custom day length.
5. Delete or rename the config.json file. This will force Sundial to be disabled for that world.

With that, you should be able to join your world again. Using the SetDayLength command will re-enable Sundial.
If the error happens again after using the command, could you try joining the Staxel Discord server [discord.gg] to be able to share the game logs?
wowi  [作者] 2022 年 7 月 6 日 上午 9:53 
That's really weird. It should only attempt to show that message if it detects that Sundial isn't installed. This means there's two issues here:
1. Staxel is failing to translate the message.
2. Sundial isn't being detected, despite being installed.

Are you playing on a singleplayer world? Is your game's language set to one other than English? I'm confused as to what's causing these two issues. Sundial should be detected, and Staxel should serve the correct translation.
Avish 2022 年 7 月 6 日 上午 8:39 
I got the full version of the error here. Staxel.Translation.Translateexception: Mods.sundial.hooks.Sundialhook.disconnect.
Avish 2022 年 7 月 6 日 上午 8:28 
it says exactly that, Translation Translationexception sundialmod.exe closed.
wowi  [作者] 2022 年 7 月 6 日 上午 8:04 
Oh, that's an interesting one. When exactly does it occur, and what does the error message say?

If it helps, translations are used when using the help , SetDayLength , and CheckDayLength commands. They are also used when synchronizing day length, which occurs when joining a world with Sundial enabled or after the SetDayLength command is used.
Once those two things are known, there's a good chance of tracking the issue down and getting it fixed.
Avish 2022 年 7 月 5 日 下午 7:06 
There is a Translation. Translation exception error. I works on the first use, but then prevents the game from loading again. I have to uninstall it for the game to work again. I enjoy the mod, but only if you can get it to work 100%. Giving you a heads up.
SunBun XIX 2022 年 6 月 28 日 下午 5:05 
Lol! Misclicking is the real mod you made along the way.
wowi  [作者] 2022 年 6 月 27 日 下午 11:13 
.. Speaking of inconveniences, I just had to misclick. Grand.
wowi  [作者] 2022 年 6 月 27 日 下午 11:08 
Oh nooo! Right, so.. my two new priorities are to:
1. Figure out a way to get the command to work without enabling cheats.
2. Create a separate mod to add a command to disable cheats so achievements are re-enabled.
I'll start working on the second one for you. Sorry for the inconvenience.