Hey, thanks for the mod. I checked the comments and just wanted to ask if the issue is only in multiplayer or if it happens in singleplayer too. I know you're working on the update, really appreciate it, and I paused my playthrough waiting for it. Any idea when it'll be ready?
Yeah for me it was caused by a modded location and removing this mod and add it back still makes it tried to warp me to that location in the morning, I had changed the config too and it didn't help. I'm in singleplayer and sadly had to remove the mod to continue my game. Other than that I'd no issues with it at all in vanilla locations
Sorry for the late reply, Christmas preparations are keeping me busier than expected.
Can you follow the instructions in here and send a link to the full log after a crash/freezing? I will need both one guest and the host SMAPI logs, so I can track down what is breaking to try push a fix.
I also encountered the same problem. When my friend and I were connected, he didn’t need to sleep and he wouldn’t faint. When I got to 6 o’clock, a prompt for 1/2 waiting for my friend to go to sleep would pop up, but he wouldn’t prompt me, and then I couldn’t close it myself. , it will only be restored if the friend quits the game on his own. If he goes to sleep, the screen will be black and then the game will be saved (but the mouse will start to circle). If you are lucky, you can jump to save. Because I sometimes am not online or at home, I open the main game so that my friends can access my server by themselves, so I really need this mod so that my friends can play smoothly even when I am not at home. I hope it will be repaired soon. Thank you to the author and I hope you enjoy the game. Wonderful Christmas~~ Weird Google Translate
Seems like it is a problem with the original StayUp code that I implemented. Since the original solution doesn't work, I am working on a new workaround.
[Night Owl Plus] This mod failed in the GameLoop.Saving event. Technical details:InvalidOperationException: Can't use Helper.Data.WriteSaveData when connected to a remote host. (Save files are stored on the main player's computer.) at StardewModdingAPI.Framework.ModHelpers.DataHelper.WriteSaveData[TModel](String key, TModel model) in /home/pathoschild/git/SMAPI/src/SMAPI/Framework/ModHelpers/DataHelper.cs:line 99 at NightOwlPlus.ModEntry.OnSaving(Object sender, SavingEventArgs e) in C:\Users\user\source\repos\NightOwlPlus\ModEntry.cs:line 548 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in /home/pathoschild/git/SMAPI/src/SMAPI/Framework/Events/ManagedEvent.cs:line 101
The above is an error log. The Night Owl Plus module is trying to write save data when connecting to a remote host, but actually the save file should be stored on the main player's computer.
@xGalaxy1 Are you sure you have the latest version installed? The last versions shouldn't try to save data if not running on master.
I did extensive testing through the Year's Eve and this error seemed solved already in every case in the last ones.
If you are using the latest version I will need more info about the game state (what were you doing and how connection was made) to try to find what is causing it.
I am running the latest version of the game and SMAPI and getting the same error. I was getting this error in the original Night Owl mod as well. I am playing in multiplayer mode (not hosting) but both of us are frozen without being able to press esc or e and can't exit unless owe close the game. We can somehow still click in the inventory bar though.
[Night Owl Plus] This mod failed in the GameLoop.Saving event. Technical details: InvalidOperationException: Can't use Helper.Data.WriteSaveData when connected to a remote host. (Save files are stored on the main player's computer.) at StardewModdingAPI.Framework.ModHelpers.DataHelper.WriteSaveData[TModel](String key, TModel model) in SMAPI\Framework\ModHelpers\DataHelper.cs:line 99 at NightOwlPlus.ModEntry.OnSaving(Object sender, SavingEventArgs e) in C:\Users\user\source\repos\NightOwlPlus\ModEntry.cs:line 548 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
@luthopul It is probably an issue with the new SMAPI 4.2. If you can, try to run the game with SMAPI 4.1.8 and see if it keeps happening. I have no way to test multiplayer currently.
I will be releasing an updated version to SMAPI 4.2+ asap.
Hey, do you have CJB cheats installed? If you teleport to anywhere at 6am it will allow you to resume play as normal without having to restart your game. It's not perfect, but it's a workaround until the mod gets updated!
Hey there, great mod, i really enjoyed being in charge of my bedtime seeing as though i'm 24 not 4 so loved the mod for that!! All of that being said, i'm having an issue with the warping back to where i was before it saved, it just makes me unable to move from the bed and doesn't teleport me back, I've also disabled the "take care of night music and light" and yet everytime the clock hits 2AM it's full on day outside and it really breaks the immersion. Hope this can be looked at, thank you <3
Is there a way to not be exhausted the next day after staying up? I have unselected the exhaustion in the config menu, but I am still exhausted the next day.
What the exhaustion option in the cofig menu does is to turn on or off the feature to add the Exhaust condition on day turning at 6AM. If you are already exhausted before 6AM the mod doesn't change anything. Staying awaken doesn't count as sleeping in any case.
If you want something to take out exhaustion, or prevent it, without sleeping or taking medicine you will be better installing another exhaustion mod.
The mod makes the inside of all PIFs and modded buildings act as night time at all times. Could this be easily fixed? It kind of messes with a lot of vibes inside. :P
I am sorry, but have no idea what PIFs are. I will take a look about the modded buildings, but I am pretty sure I didn't touch any building function with this mod (I even tried at first to make it night inside vanilla buildings from 1:50AM to 6AM but failed, and maybe something could be sliped when I cleaned the code).
I am uploading a fix right now that may correct this issue on my end. If it doesn't correct on yours, let me know which mods you are using so I can check if I can do something about it on my side.
Preferably follow the instructions and send a parsed log through https://smapi.io/log
51 comments
H
EDIT: I just pushed a new version. Let me know if it solves the problem and/or other unexpected behaviors arise.
Can you follow the instructions in here and send a link to the full log after a crash/freezing? I will need both one guest and the host SMAPI logs, so I can track down what is breaking to try push a fix.
Thanks in advance for the feedbacks.
奇怪的Google翻译
I also encountered the same problem. When my friend and I were connected, he didn’t need to sleep and he wouldn’t faint. When I got to 6 o’clock, a prompt for 1/2 waiting for my friend to go to sleep would pop up, but he wouldn’t prompt me, and then I couldn’t close it myself. , it will only be restored if the friend quits the game on his own. If he goes to sleep, the screen will be black and then the game will be saved (but the mouse will start to circle). If you are lucky, you can jump to save. Because I sometimes am not online or at home, I open the main game so that my friends can access my server by themselves, so I really need this mod so that my friends can play smoothly even when I am not at home. I hope it will be repaired soon. Thank you to the author and I hope you enjoy the game. Wonderful Christmas~~
Weird Google Translate
Thanks for all the feedbacks. I will update ASAP.
Let me know either way.
Happy New Year to everyone.
The above is an error log. The Night Owl Plus module is trying to write save data when connecting to a remote host, but actually the save file should be stored on the main player's computer.
I did extensive testing through the Year's Eve and this error seemed solved already in every case in the last ones.
If you are using the latest version I will need more info about the game state (what were you doing and how connection was made) to try to find what is causing it.
Thanks in advance for the feedback though.
[Night Owl Plus] This mod failed in the GameLoop.Saving event. Technical details:
InvalidOperationException: Can't use Helper.Data.WriteSaveData when connected to a remote host. (Save files are stored on the main player's computer.)
at StardewModdingAPI.Framework.ModHelpers.DataHelper.WriteSaveData[TModel](String key, TModel model) in SMAPI\Framework\ModHelpers\DataHelper.cs:line 99
at NightOwlPlus.ModEntry.OnSaving(Object sender, SavingEventArgs e) in C:\Users\user\source\repos\NightOwlPlus\ModEntry.cs:line 548
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
I will be releasing an updated version to SMAPI 4.2+ asap.
I will take a look once I have time and release an update to SMAPI 4.2+ asap.
Thanks for the feedback.
What the exhaustion option in the cofig menu does is to turn on or off the feature to add the Exhaust condition on day turning at 6AM. If you are already exhausted before 6AM the mod doesn't change anything. Staying awaken doesn't count as sleeping in any case.
If you want something to take out exhaustion, or prevent it, without sleeping or taking medicine you will be better installing another exhaustion mod.
Woops, nevermindPreferably follow the instructions and send a parsed log through https://smapi.io/log
I removed the wrong versioned one and it is fixed on the new upload.