File information

Last updated

Original upload

Created by

KampfBallerina

Uploaded by

Junge06

Virus scan

Safe to use

Tags for this mod

29 comments

  1. Junge06
    Junge06
    • member
    • 1 kudos
    Locked
    Sticky
    PLEASE READ IF YOU HAVE ISSUES WITH THE MOD

    In the previous versions (V1.0.1 and lower), the structure of the UserData Folder was messed up in the .zip!
    Make sure your UserData looks like this: https://i.imgur.com/0zjDroP.png
    Or just download the V1.0.2, there the .zip is now structured as it needs to be!
  2. voggatron
    voggatron
    • member
    • 0 kudos
    anyone got a fix for nothing showing up in sleepdose app?
    1. Junge06
      Junge06
      • member
      • 1 kudos
      Please provide me the Error Message in MelonLoader. Without that it's hard to say what the error is.
      You can also test the mod without other mods and see if it is a compatibility issue. If so, please try to find out which mod is not compatible.

      It is known already, that the app is not compatible with most Translation Mods.
    2. HQModz
      HQModz
      • member
      • 0 kudos
      Move all associated UserData files to it's own folder under UserData/MoreRealisticSleeping. Folder structure should look like this: https://i.imgur.com/0zjDroP.png
    3. Junge06
      Junge06
      • member
      • 1 kudos
      Yes. Please download V1.0.2 - I fixed the structure for the ZIP
  3. HQModz
    HQModz
    • member
    • 0 kudos
    Great mod! Having a few issues that hopefully can be fixed.

    -There are 2 MoreRealisticSleeping.json files appearing in the UserData folder, causing configs to reset. Screenshot: https://i.imgur.com/mdvZ0YU.png
    (edit: Seems to be fixed after deleting UserData/MoreRealisticSleeping.json)

    -Nothing showing up in the SleepDose app. Screenshot: https://i.imgur.com/A5B1dev.png
    (edit: Fixed after moving all associated userdata files to UserData/MoreRealisticSleeping - Folder structure should look like this: https://i.imgur.com/0zjDroP.png)

    MelonLoader errors once loading into the game save:
    [00:40:47.614] [MoreRealisticSleeping] Custom image failed to load
    [00:40:47.620] [MoreRealisticSleeping] Added SleepDose to Homescreen.
    [00:40:49.401] [MoreRealisticSleeping] Unhandled exception in coroutine. It will not continue executing.
    Il2CppInterop.Runtime.Il2CppException: System.ArgumentException: The Object you want to instantiate is null.
    --- BEGIN IL2CPP STACK TRACE ---
    System.ArgumentException: The Object you want to instantiate is null.
      at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Transform parent, System.Boolean instantiateInWorldSpace) [0x00000] in <00000000000000000000000000000000>:0
      at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Transform parent) [0x00000] in <00000000000000000000000000000000>:0
    --- END IL2CPP STACK TRACE ---
       at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
       at UnityEngine.Object.Instantiate[T](T original, Transform parent)
       at MoreRealisticSleeping.PhoneApp.SleepingApp.AddEntryFromTemplate(String newObjectName, String newTitle, String newSubtitle, GameObject template, Color newBackgroundColor, String imagePath, Transform parentTransform, Boolean isFirstEntry)
       at MoreRealisticSleeping.MRSCore.CreateAppEntries()
       at MoreRealisticSleeping.MRSCore.WaitForSleepingAppAndCreateEntry()+MoveNext()
       at MelonLoader.Support.MonoEnumeratorWrapper.MoveNext() in D:\a\MelonLoader\MelonLoader\Dependencies\SupportModules\Il2Cpp\MonoEnumeratorWrapper.cs:line 51

    Thank you!
    1. Junge06
      Junge06
      • member
      • 1 kudos
      Hey!
      Thanks for reporting this.
      Did you manually put the .json in the UserData Folder? Usually there should only be the "MoreRealisticSleeping" Folder in the UserData Folder. The folder itself should look like this. Please try to delete the .json file in the main UserData Folder and try again, if the issue is already resolved.

      If not, please provide the Error Message, that you receive in MelonLoader.

      And there is an option to disable the Phone App: Use_Legit_Version
      If you set it to true, the config will be loaded and applied, but no app will be created at all.
    2. HQModz
      HQModz
      • member
      • 0 kudos
      I was able to resolve both issues by moving all associated UserData files to UserData/MoreRealisticSleeping.

      The folder structure of the .zip has the data files placed directly in UserData and not in it's own folder, which causes the SleepDose app and config to break. All userdata files should be in UserData/MoreRealisticSleeping.
    3. Junge06
      Junge06
      • member
      • 1 kudos
      Thanks for clarifying. I will have a look into the zip. Have you installed it with Vortex or manually?

      Edit: The zip is structured correct -> there is only a mod and a userdata folder with the correct structure in the newest zip
    4. HQModz
      HQModz
      • member
      • 0 kudos
      Got the same results both manually and with Vortex.
    5. Junge06
      Junge06
      • member
      • 1 kudos
      That's weird. Can't replicate this sadly. I checked the zip - it's structured as it needs to be. Can't tell why it's uncompressing for you like that tbh. I just hope that it will be resolved with the next zip upload
    6. HQModz
      HQModz
      • member
      • 0 kudos
      I believe the zip is missing the MoreRealisticSleeping folder within userdata. On first launch, the mod creates the missing folder and config file since it doesn't detect the one in userdata, but the rest of the files are still left in UserData which causes the phone app to break.

      Here is what the zip structure looks like. Shouldn't there be a MoreRealisticSleeping folder inside userdata witch contains these files?

       
    7. Junge06
      Junge06
      • member
      • 1 kudos
      Oh sh** you're right! Thanks for letting me know. Going to reupload in a sec!
  4. justNog
    justNog
    • member
    • 0 kudos
    I have been testing out the new feature to autoskip the end of day summary, and the delay before forced sleep.
    It seems like they both work fine on the first night, but fail on the 2nd night...  however I have been testing with time skips.
    I am testing now without time skips.  Will let you know results in about 48 mins. ^_^

    1st edit:  ok, it seems like this works just fine if you dont manually advance time with the settime console command.  So the above just seems to be an artifact of skipping ahead for testing purposes. 
    I will let this run for a while today. 

    2nd edit: after letting run for multiple cycles, even while running in the background, everything seems to be progressing nicely.

    Later today I should have some other subjects to test this with and will be able to check how it works in an actual multiplayer environment.

    I will post any further issues as their own comments.
    1. Junge06
      Junge06
      • member
      • 1 kudos
      This is most likely because of the cooldown. Once a user (server) slept, the cooldown (which you can adjust in the settings) starts. This stops the mods from permanently triggering the sleep. Once this cooldown is over (see in MelonLoader console). You can trigger a new sleep. This cooldown will also be set, if you go to bed normally without being forced to sleep.
    2. justNog
      justNog
      • member
      • 0 kudos
      This seems to be correct.  Shortening the cooldown to a few seconds resolved the issue, even when manually changing the time.
  5. Duk3Juk3m
    Duk3Juk3m
    • member
    • 0 kudos
    [00:18:08.840] [MoreRealisticSleeping] Unhandled exception in coroutine. It will not continue executing.Il2CppInterop.Runtime.Il2CppException: System.ArgumentException: The Object you want to instantiate is null.--- BEGIN IL2CPP STACK TRACE ---System.ArgumentException: The Object you want to instantiate is null.  at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Transform parent, System.Boolean instantiateInWorldSpace) [0x00000] in <00000000000000000000000000000000>:0  at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Transform parent) [0x00000] in <00000000000000000000000000000000>:0--- END IL2CPP STACK TRACE ---   at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36   at UnityEngine.Object.Instantiate[T](T original, Transform parent)   at MoreRealisticSleeping.PhoneApp.SleepingApp.AddEntryFromTemplate(String newObjectName, String newTitle, String newSubtitle, GameObject template, Color newBackgroundColor, String imagePath, Transform parentTransform, Boolean isFirstEntry)   at MoreRealisticSleeping.MRSCore.CreateAppEntries()   at MoreRealisticSleeping.MRSCore.WaitForSleepingAppAndCreateEntry()+MoveNext()   at MelonLoader.Support.MonoEnumeratorWrapper.MoveNext() in D:\a\MelonLoader\MelonLoader\Dependencies\SupportModules\Il2Cpp\MonoEnumeratorWrapper.cs:line 51

    using only this mod and morerealisticlaundering. also melon throws "waiting for fonts" messages sometimes and when it does happen the phone app won't appear. when it doesn't say "waiting for fonts" the above error happens, the app appears but is completely blank when opened. happens on both a fresh save and my current
    1. Junge06
      Junge06
      • member
      • 1 kudos
      I will try to have a look. Sometimes a restart of the game is enough. This happens sometimes after going back to menu and into the game again.
  6. justNog
    justNog
    • member
    • 0 kudos
    This is fantastic!  I have been waiting for this mod.  How does it work with multiplayer?  If the host is running it, does it force everyone else to sleep?

    edit:  nm I found the appropriate settings.  They were not showing up because of a conflict with another mod.
    1. Junge06
      Junge06
      • member
      • 1 kudos
      Please see the Multiplayer Heading in the Description.

      If everyone got the same settings with the mod installed, everyone will be forced to sleep. However everyone has to wait for the host to finish sleeping.

      Yes. You might wanna use the Legit Mode to resolve some conflicts.

      Which Mod was conflicting? Maybe I can have a look.
    2. justNog
      justNog
      • member
      • 0 kudos
      The conflicting mod was Mod Manager & Phone App, which was breaking the in-game settings.
      Of course, you already gave a warning about this, I was just in a big hurry to test it and didn't bother to read carefully first.

      I will test out Legit Mode here in a minute.

      There is one thing I wonder about

      • Behavior:  
        All players are forced to sleep simultaneously during the designated sleep hours.  The game resumes once the host player has completed their sleep cycle.

      My intent for this mod is to use it to facilitate something like a dedicated server for friendly competitive play, so the host might be afk for a majority of the time.  could an option be included for the host to auto-skip the sleeping/xp screens, or will I just need to make a macro or something to do this?

      Also, will this mod play nice with mods that expand the size of the multiplayer lobby?
    3. justNog
      justNog
      • member
      • 0 kudos
      Just as another quick follow up.  Legit Mode does eliminate the conflict with the Mod Manager & Phone App mod.
    4. Junge06
      Junge06
      • member
      • 1 kudos
      I can try to have a look. I might be able to add a feature for skipping the sleep automatically somehow. Might be worth a future update.

      I will have a look into the Mod Manager & Phone mod
    5. justNog
      justNog
      • member
      • 0 kudos
      Auto skipping sleep would be amazing.  Right now I am editing a macro to move the mouse down a bit and click every few seconds.  Functional, but not a good solution.
    6. Junge06
      Junge06
      • member
      • 1 kudos
      Just figured it out.
      Next Update will Introduce Automatic Continuation when forced to sleep.
      Additionally next update will also introduce a configurable delay (starting at 4AM) before forcing to sleep.
    7. justNog
      justNog
      • member
      • 0 kudos
      You are my hero! ^_^
    8. Junge06
      Junge06
      • member
      • 1 kudos
      I will release the update tomorrow (already pretty late in my timezone). I need to find someone to test it in multiplayer tho.
      The Effects are more likely not synced in multiplayer yet (need to figure out how that actually works in IL2CPP). Meaning that effects are more or less clientside (the other client won't see it)
    9. justNog
      justNog
      • member
      • 0 kudos
      I will try to recruit a friend or two and test it out tomorrow morning, or late today, depending on when that ends up being in your time zone.  Thank you. ^_^
  7. Duk3Juk3m
    Duk3Juk3m
    • member
    • 0 kudos
    so i can wake up and s#*! myself now? lol nice
    1. Junge06
      Junge06
      • member
      • 1 kudos
      yes you can!