Project Zomboid

Project Zomboid

aSleep Offline
84 kommentarer
Jambie Lionheart 2. dec. 2024 kl. 4:37 
Hi, I'm very interested in this mod for a server I wanna run. Can min- max sleep hours be set?
Does using this mod mean you have to sleep in order to log out?
If answer to above is no, does change in stat values still occur if not sleeping while offline? For instance, will hunger and thirst and cravings for ciggies still increase if offline while not sleeping?
AuD  [ophavsmand] 13. nov. 2024 kl. 12:32 
10 hours IG is the minimum (sandbox option = 1)
Jane Helldiver 12. nov. 2024 kl. 23:46 
Can I set it to 0.5 to change it to 5 hours of sleep, or is 10 hours the minimum?

Sorry I don't quite understand the sandbox options or how to fine tune them
AuD  [ophavsmand] 13. aug. 2024 kl. 0:24 
there are many Blankets mods,I'll see, but it seems to me that each bed has a blanket (systematic)?
AuD  [ophavsmand] 11. aug. 2024 kl. 23:41 
put your mod plz
Gebirgsjäger 6. aug. 2024 kl. 17:55 
Could support for the bedding mod that adds blankets to beds be added? I dont think its recognizing the 'bedding' Im lying on unless 70% is typical for lying on a bed logging out. The blankets mod also seems to have broke my force sleep mod too so I suspect its classname related or something.

Apologies if I'm mistaken.
AuD  [ophavsmand] 18. mar. 2024 kl. 2:42 
I'm going to analyze it, and see what I can do shortly...
Sesshomaru 16. mar. 2024 kl. 17:35 
That would be great, I like the original idea of the mod but in my case I want it to play with my friends, its very annoying to enter the game full of fatigue and have to wait until bedtime
AuD  [ophavsmand] 14. mar. 2024 kl. 13:48 
I need to add it, I will indicate it in road map, for next update
Sesshomaru 14. mar. 2024 kl. 11:47 
Is there an option to only affect the level of sleep?
R4YN4R 26. dec. 2023 kl. 12:33 
If I add this to my coop server and my friend disconnects while sleeping, can he die?? I mean if a zombie comes at him or the house gets on fire:Aste_Roy:
AuD  [ophavsmand] 16. dec. 2023 kl. 2:11 
perfect, for next update!
AuD  [ophavsmand] 28. okt. 2023 kl. 0:58 
** UPDATE: remove the ruhm in hardcore mode, it's not well balanced, I'm going to improve this penalty when the character sleeps outside, and it's damp and cold. later..
AuD  [ophavsmand] 2. okt. 2023 kl. 2:18 
** UPDATE: repairs a potential error when you die
Mang 21. sep. 2023 kl. 15:06 
Ur welcome ;)
AuD  [ophavsmand] 21. sep. 2023 kl. 5:30 
good pillow s mod : https://steamcommunity.com/sharedfiles/filedetails/?id=3037990730&searchtext=

@Mang ty for your comments ;)
Mang 21. sep. 2023 kl. 4:10 
Aud I love your mods and ur awesome
AuD  [ophavsmand] 20. sep. 2023 kl. 22:57 
** UPDATE : little error possible line # 492 is solved
AuD  [ophavsmand] 19. sep. 2023 kl. 0:12 
** UPDATE : balancing concerning avatars near our character, and avatars in the same car as our character.
AuD  [ophavsmand] 18. sep. 2023 kl. 1:38 
** INFO

in hardcore mode, if you go into nature with friends, with your little average tourist car, I strongly advise you to take the necessary : tent, pillows, sheet/sleeping bag, because if you have to disconnect in nature, it would be better to sleep in your tent with your pillow, because if you pile with your friends into your car, it will hurt your back!!
AuD  [ophavsmand] 18. sep. 2023 kl. 1:32 
** UPDATE :

- Now space in a vehicle is important for good sleep, based on the inventory of seats and trunk.

- If you have the avatar mod on your server, the avatars around you will be taken into account in the comfort of your sleep, if you are in a vehicle, the avatars of players in this vehicle will also be important for your sleep.
(it will be necessary to refresh the list of players present via the "take an character" menu of your vehicle in order to see the sleep information.)

- The more inventory the vehicle has, the more your sleep will be guaranteed.

- Sleeping bags from other mods will be taken into account like the sheet.

- The message when you reconnected to was seen again. (reduced to your sleep duration and quality.)
AuD  [ophavsmand] 14. sep. 2023 kl. 5:26 
In a future update, the more capacity the vehicle has and the more passenger seats there are, the better the comfort will be considered.
AuD  [ophavsmand] 14. sep. 2023 kl. 5:24 
** UPDATE :

- script start correcly now - is solved
- improved straw detect
AuD  [ophavsmand] 12. sep. 2023 kl. 13:36 
**************
INFO:

maybe some beds or other sleep support will not be considered regarding modded tiles, it will be considered as a poor chair, I will try to make it as compatible as possible for the next update, without having to list all the tile names, we'll see.

**************
Jane Helldiver 12. sep. 2023 kl. 2:22 
No errors pop up for this mod. It just does not seem to be functioning. I posted in discussion my first test in solo play to see if anything appears when logging in or out next to a bed
AuD  [ophavsmand] 12. sep. 2023 kl. 2:17 
You also told me that this created conflicts with others mods, what about all these problems?
Jane Helldiver 12. sep. 2023 kl. 1:25 
I don't know what the issue may be.

before this update "I could sleep here" would appear above our heads when we would exit.

now nothing is showing up, and sleep is not being counted at all.
AuD  [ophavsmand] 12. sep. 2023 kl. 1:00 
in any case, if you don't get an informative message before disconnecting, by pressing the escape key, it's because the mod is not working, for some reason.
Jane Helldiver 12. sep. 2023 kl. 0:57 
I also use Udderly safe login, which pops up saying how long you are safe from zombies when logging in and off a server.

But yes, no one on my server is getting credit for sleep or seeing any messages since this update.

My own character was asleep on her bed, and we skipped about 15 game hours and she woke up still fully tired as if no time passed.

Troubleshooting now and will update you if I find anything
AuD  [ophavsmand] 12. sep. 2023 kl. 0:51 
it's very strange
AuD  [ophavsmand] 12. sep. 2023 kl. 0:51 
everywhere you should have the information message
Jane Helldiver 12. sep. 2023 kl. 0:46 
We aren't getting any messages popping up when logging off or logging in
AuD  [ophavsmand] 12. sep. 2023 kl. 0:14 
i have test with Comfy Sleeping mod: no problem work fine
AuD  [ophavsmand] 12. sep. 2023 kl. 0:13 
When you press the Escape key, like before, you have a speech that corresponds to your location, you have various information like in the arrival images.
Jane Helldiver 12. sep. 2023 kl. 0:09 
I can't seem to get any of our characters to sleep. Even at setting 1 nothing pops up.

When we log off the server, do we need to select 'sleep' first?

Logging out next to a bed or on top of a bed, is not providing any sleep even after 10 game hours.
Jane Helldiver 11. sep. 2023 kl. 3:50 
The main mod I use for sleeping is Comfy Sleeping:

https://steamcommunity.com/sharedfiles/filedetails/?id=2998737588

looks like this mod is overriding the functions of that one. No errors, but it does not appear you can use both together, as this one seems to take precidence.
Jane Helldiver 11. sep. 2023 kl. 3:45 
Happy to help. I've been troubleshooting it on my server since the update.
AuD  [ophavsmand] 11. sep. 2023 kl. 3:44 
don't say everything and anything, just disable item sharing on the avatar mod, and tell me what's going on, I just updated, we'll get there ^^
AuD  [ophavsmand] 11. sep. 2023 kl. 3:42 
or console error, i work with this
AuD  [ophavsmand] 11. sep. 2023 kl. 3:40 
Regarding the asleep offline mod , I don't use sleep mechanics, I develop my own functions for this mod, and it shouldn't be incompatible, it doesn't interfere with any vanilla function, just concerning the stats stated, but can you give me a mod or vanilla function is failled with this mod?
Jane Helldiver 11. sep. 2023 kl. 3:40 
I know. both mods are breaking.

the sleeping function with this mod is breaking any other mods that look at sleeping conditions.

Both Avatar Offline and Sleep Offline are now broken
AuD  [ophavsmand] 11. sep. 2023 kl. 3:36 
if you speak of the avatar mod, just desactivate the sharing item option, and if you want to talk about avatar mod, you can talk about it on the right mod, we are on asleep offline mod here ;).
Jane Helldiver 11. sep. 2023 kl. 3:30 
Just completed some more testing. This is what I found with The Only Cure:

1- It looks like the inventory of a character is reset / re-scanned for changes. So any character with an amputated arm will see the amputated item moved into their inventory. This makes the character model "regrow" the arm or hand.

2- The auto-clean function may affect other "clothing" items from other mods as well, since some mods use clothing for make-up, tattoo's and other features.

3- Items from mods that allow re-naming also seem broken. Everything returns to the vanilla game name when logging back in. So naming a crowbar "My Crowbar" reverts back.

I assume it is the auto-clean function you added, as it appears that inventory is reset upon log in. which kicks out errors.

So yes, it's not compatible with many mods. I gotta delete it off my personal server to maintain stability and functions of many mods.

Sorry my friend. Love the mod, but it's interferring too much with others.
AuD  [ophavsmand] 11. sep. 2023 kl. 3:10 
need unsubscribe, re subsribe plz
AuD  [ophavsmand] 11. sep. 2023 kl. 3:07 
However, I'm surprised, it shouldn't create so much of a problem...
Jane Helldiver 11. sep. 2023 kl. 3:04 
Major Update Caused Major Bugs:

1- The sleeping requirement clashes with all other mods related to sleeping. Any other mod related to sleeping is completely broken by this mod.

2- The ability to give/remove items from an Avatar is really, really incompatible with many mods. Every time I log in, items are registered as "given" to me.


3- It breaks the mod The Only Cure. Since character models and inventory are reset every log in, amputated limbs regrow, and the limb is permanently stuck in the characters inventory screen.

Multiple errors upon launch that were not there before.

Sorry, but the mod is no longer compatible with the vast majority of other PZ mods and is going to break a LOT of servers.

Please roll if back to the previous version.
AuD  [ophavsmand] 11. sep. 2023 kl. 1:26 
*****************************************
Major update:

Solo is compatible
Hardcore mode is available
The sandbox is available
The code is completely reworked : now, you will need a good location for a good sleep, a chair will not be such a good support for sleeping!

*****************************************