Project Zomboid

Project Zomboid

Random Zombies - Day and Night
349 Comments
Fincik09 8 Mar @ 3:42pm 
Does this work with the day one mod? I'm very new to this so not sure if I messed up. I tried to sleep at around 5am and I got woken up by the nuke going off. Then my character is sped up for a few moments and the world seems to be frozen in time from then on. Other chunks won't load, fire animations glitch out. I was wondering if it was me or if the mods just weren't compatible?
YENKO 15 Feb @ 6:19pm 
i love the fog option to make all zeds sprinters. i have 100% fog and night sprinters and 5% day sprinters. is a bummer you cannot enable fog and rain together
Kyrox 8 Feb @ 12:38am 
@Crius In B42 they added sprinter %s to the sandbox, and also an activity setting for zombies, but there's one problem. If you run the activity setting, and set sprinters to only sprint at night, all you get during the day is unresponsive zombies that barely give chase. You have to sacrifice all of your day zombies to get decent night zombies out of the new dev options.

There's never been more of a better time to continue updating this mod. It's sorely needed and the devs implementation falls short from having the real customization we're all fond of with great mods like this. Please reconsider compatibility with B42. As we sit right now, it's not very good.
davidfaul0204 13 Jan @ 10:41pm 
I'm having trouble getting this mod to work on a dedicated server. It doesn't seem to want to properly load into the SandboxVars.lua file. It works on solo worlds, and when I host it off my own PC, but doesn't seem to want to work for a dedicated server. I am at a loss.
Crius  [author] 13 Jan @ 1:44pm 
As per description: Please report bugs following the instructions provided
https://github.com/theCrius/project-zomboid-random-zombies-full
crayven_ady 5 Jan @ 4:35am 
41.76 completely not working. I did all settings to get night sprinters and they do nothing. Some randomly sprint but during the day and night. Settings are 100% triple checked.
Crius  [author] 24 Dec, 2024 @ 8:27pm 
Build 42 Update
Alright so, build 42 is out in an unstable release. I did a couple run in these past days and had chats with other mod devs from the official discord. It seems that b42 is still quite unfinished and lots of things are disabled due to "needing some more work" or very much changed. Zombies are one of those things that have changed, see the "new stealth mechanics" for example. Which means it doesn't make much sense to me to spend time messing with this at this time.

On top of that, the game devs already implemented some more randomisation in the zombie lore options, which I experimented a bit in the couple runs I did. In short, I am not so sure this mod need to keep existing going forward.

Eventually this can be a good moment to write it back from scratch but right now it's more of a "sits and wait". Things are too much *unstable*.
Arduu 3 Oct, 2024 @ 9:34am 
can i run this with random zombies to? or i need to choose one your or normal random zombies
Malz 1 Oct, 2024 @ 8:14am 
@Crius if I want to add compatibility for the Bandits mod for my friends and I (Unless I have permission to make a public one, or you want to make one?) Which .lua's do I add local isBandit = zombie:getVariableBoolean("Bandit") to?
aquelarrefox 28 Sep, 2024 @ 6:19am 
Is posible as an option to get the special condition when temp go lower than a value in settings for example 2°c, so you don't get sprinters in deep winter, I would love see play that way
DuckGoosebear PrairieDogLover 25 Sep, 2024 @ 9:05pm 
@❤Tao❤ how can I do this?
IronLungs 11 Sep, 2024 @ 3:03am 
could you add compatibility for the Bandits mod?

local isBandit = zombie:getVariableBoolean("Bandit")
❤Tao❤ 23 Aug, 2024 @ 6:34am 
Is there any chance for you to add options for hearing, sight and memory of the zombies? If yes that would be great update
Betoke Fumez 16 Aug, 2024 @ 2:00pm 
are this mod compatible with CDDA Zombies?
aquelarrefox 27 Jul, 2024 @ 5:51pm 
Yes I will try a test with out the animation mod but I first wanted to ask if mybe the problem was from the change in the class of the zombi. Cose I hadn't this issue with normal random zombies neither definitive zombies (with speed control on). I really like how this mod works.
Crius  [author] 27 Jul, 2024 @ 4:30pm 
I am sorry @aquelarrefox, but I am not sure if I understand what is happening.
However, this mod doesn't change animations if that's what's happening. it changes how the zombies attributes for things like movement speed are set up.

By default, all zombies are all fast shambler if I recall, this mod simply introduce some randomization so that some are instead set at different movement preset (crawling, slow shambler, fast shambler, sprinters). It uses only the default animations because it doesn't really interact with the animations directly.

My suggestion is to try to disable this mod and see if it still happens. Considering that it's a rare occurrence, you might have to give it some time to be sure.
Alternatively, create a new save with ONLY this mod active and try to play for a while to see if it happens.
aquelarrefox 25 Jul, 2024 @ 6:33pm 
I'm not sure if a bug in having come from this mod. I use a lot, but I have a few very rare sprinters witch seems glitches. In fact are joggers, but I'm not sure witch of those is the side of the problem. When die start to fly like possessed. Is this seen with this mod alone? It's very low rate like 1 in 200/300
Crius  [author] 24 Jul, 2024 @ 2:48pm 
For servers, remember that they don't get updated automatically, usually you need to restart the server for it to pull the updates.
Crius  [author] 24 Jul, 2024 @ 2:47pm 
Alright, a new update has been just pushed. Hopefully it solves the issue with crashes at 6AM and memory related problems. I started back from the latest stable pushed on Nov 2023 and noticed that some changes had been pushed alongside the recent updates to settings management that were not ready for release. Hopefully this update fix the issues you all were having. I tested it by letting 48h in game hours pass through in-game and didn't get any crash or error in the logs.

If you have still crashes, please go here: https://github.com/theCrius/project-zomboid-random-zombies-full/issues and create a new issue adding your debug logs and sandbox_vars configuration, so I can try to replicate your config and understand what is going on a bit faster.

As I mentioned in the previous message, I'm a bit busy until next Tuesday. Thanks for your patience.
Crius  [author] 24 Jul, 2024 @ 12:38pm 
I am in the middle of an important work to be completed next tuesday guys. Bear with me, I'll look into it as soon as I am done next week. Disable the mod in the meanwhile if you have problems, you don't need to restart your world/save or anything else. Simply disabling it will just revert the zombies back to the "vanilla" behaviour for project zomboid (unless you have other mods that alter their behaviour).
2634398139 22 Jul, 2024 @ 5:42am 
Every morning at 6:00 a.m., the game crashes when the run dead turn into walk dead
2634398139 22 Jul, 2024 @ 5:31am 
Do I uninstall and reinstall the game and only open this one mod, or will it crash at 6am the next day, maybe I'm Windows 7?
Tempritscher 22 Jul, 2024 @ 3:53am 
Greetings
I have a New issue with an out of memory error Code.

, 1721515389093> 1.988.260.118> command entered via server console (System.in) : "MPStatistics.lambda$Init$6> [MPStatistics] java.management.memory.threshold.exceeded".
Did someone face this Kind of issue before?
My Server is freezing after some Hours. Than there no communucation possible with the pzsm and rcon for saving and restarting the Server.

issue appears after clock kits 10pm and night time comes.
2634398139 21 Jul, 2024 @ 6:26am 
My single player games always crash at 6am the next morning
gorebeda 21 Jul, 2024 @ 4:01am 
my singleplayer game crashed when waking up in the car until i've removed this mod from the save
Crius  [author] 20 Jul, 2024 @ 6:44am 
Anyway, after reviewing the source code again, this mod should have nearly zero impact on your RAM. The only thing kept in memory are the configuration (a sequence of numbers basically, what you set in the sandbox options) and the configuration of a single zombie when it gets updated by the mod. Single zombie config that get reused for each zombie anyway.

I can't seem to see any way this mod could cause your system to reach it's RAM limit. However, if you provide logs and configurations I'll still give it a look. The only report I got (linked below) have nothing suggesting it's this mod the cause of RAM overload.
Crius  [author] 19 Jul, 2024 @ 4:16pm 
@Grumpy and @hate. I tried setting up a server with default settings for both the world and the mod. With just this mod enabled. 16GB of RAM available and letting it run for a couple of hours. Nothing strange happening with the RAM. I also went and made some mess, spawned some hordes, moved them around. Still nothing weird with the RAM. If you want me to help, I need you to provide me the SandboxVars.lua file (as per instructions in the mod description) and a recent log in which I can see errors, so I can at least try to replicate your configuration. The link is in the message just before this one.
Crius  [author] 19 Jul, 2024 @ 1:46pm 
Guys, I need info from you to understand why this is happening.
https://github.com/theCrius/project-zomboid-random-zombies-full/issues/15
Grumpy 14 Jul, 2024 @ 3:14pm 
Had to remove this mod from our server, again.
As Hate said, it was using up all the memory.
lua 13 Jul, 2024 @ 5:50pm 
When the night comes, the mod uses all the host memory and continues spitting logs.
Burryaga 13 Jul, 2024 @ 1:15am 
Logs weren't me, sir Z; I didn't add any print statements to the mod. But glad it got resolved!

For what it's worth, in addition to being a better place to report your issues, you can find out who wrote what code on GitHub in the future. You can read commits and see the code I actually contributed.
Crius  [author] 13 Jul, 2024 @ 12:16am 
@Z the log spam have been fixed as well after a couple hours thanks to a report on the github repo. Please use github to report issues as it notify me directly via mail and it's easier to have a discussion.
Z 11 Jul, 2024 @ 2:48am 
@Burryaga we getting spammed with

LOG :[RZF] ===================
LOG :[RZF] speed 2 3
LOG :[RZF] cognition 2 -1
LOG :[RZF] memory 2 800
LOG :[RZF] sight 2 1
LOG :[RZF] hearing 2 2
LOG :[RZF] ===================
LOG :[RZF] ===================
LOG :[RZF] speed 2 2
LOG :[RZF] cognition 2 -1
LOG :[RZF] memory 2 800
LOG :[RZF] sight 2 1
LOG :[RZF] hearing 2 2
LOG :[RZF] ===================
over and over
Kat 11 Jul, 2024 @ 2:41am 
Thanks for the fix!
Kat 11 Jul, 2024 @ 1:54am 
After the workshop item update just now am constantly getting this error:
`function: updateSpeed -- file: rzf_zombiesManager.lua line # 56 | MOD: Random Zombies - Day and Night
function: updateZombie -- file: rzf_zombiesManager.lua line # 149 | MOD: Random Zombies - Day and Night
function: updateAllZombies -- file: rzf_zombiesManager.lua line # 259 | MOD: Random Zombies - Day and Night
function: updateAllZombiesWithParams -- file: rzf_zombiesManager.lua line # 267 | MOD: Random Zombies - Day and Night
`
aquelarrefox 9 Jul, 2024 @ 2:44pm 
i was testing with "Sprinters & strong zombies based on occupation - A harder zombie mod edited
" and definitive zombies only for cognitive changes and the 3 works as intended as far i undesrstand.

if in anyt moment you make a change something i would like its a new trigger for "rain or snow"
Crius  [author] 9 Jul, 2024 @ 12:02pm 
@Arielelnoob yes, the latest in the mod order will take precedence.
@It'sPaperBagMan double check your config or other mods that might modify how zombies behave

Generally speaking, the game have had no updates in a long time so the same apply for this mod. If over 100k people are using it and you have an issue alone, there is a 99.9% chance the issue is on your configuration.

I don't plan to implement any change until the new major update for PZ drops.
It'sPaperBagMan 4 Jul, 2024 @ 7:53pm 
Hello i added this in hope of having a night sprinters run and it doesnt seem to be working i made sprinters at night set to 100
aquelarrefox 29 Jun, 2024 @ 8:05pm 
The way it reroll when change from day to night. It could make crawlers back to walk? It this is prevented in code?
aquelarrefox 29 Jun, 2024 @ 7:40pm 
I use normal random zombies or defensive zombies, but this looks very interesting. Is posible add a zombie hp multiplier to scale hp aside the type?
AriGatoVT 16 Jun, 2024 @ 4:11pm 
Does this mod conflicts with random zombies by belette?
Crius  [author] 12 Jun, 2024 @ 1:25pm 
Someone just reported a “bug”.
Please make the effort of at least reading the error log. In this case, it was sufficient to resolve the issue reported.

https://github.com/theCrius/project-zomboid-random-zombies-full/issues/12

> [RZF] Crawler, Shambler, FastShambler and Sprinter for the Night Settings do not add up to 100

I know it's hard to read, nothing I can do about that, it's how Java report errors.
Crius  [author] 8 Jun, 2024 @ 4:44am 
@cami can you give me a log so I can check for errors?
Cami 30 May, 2024 @ 1:42am 
It works fine, a day passes and then it just stops updating the zombies
KillStorm999 17 May, 2024 @ 11:11am 
Why is the Special only for one weather condition? I don't need to make options for different combos, I just want Special to activate whenever there is any weather, be it snow, rain or fog.
Crius  [author] 30 Apr, 2024 @ 12:56pm 
Hey @Raptor, this is a common request but unfortunately the main code for the distribution is too convoluted for my experience with Perl (the language for the mods) so I only did some cleanup from the original credited mod (Random Zombies). It doesn't help that the documentation for the APIs of the game is a bit... shallow (maybe not the right word) and the only point of discussion is the discord server which makes hard to have an accumulated knowledge point as it would be a forum instead for example. Irony is, the devs have a forum for the game but nobody uses it, people just ask the same things over and over on discord and hope that someone is online to answer them. It's pretty tiring.
Raptor 23 Apr, 2024 @ 1:49pm 
Hello! great mod, I used random zombies and Night Sprinters but this is much better, but would it be possible to add the ability to modify the zombie's hearing, memory and sight both day and night?

I would like zombies to have good eyesight and good memory during the day, and at night to have short memory, poor eyesight and better hearing.
Womb Raider 31 Mar, 2024 @ 10:51am 
An observation from me is that the mod doesn't seem to override whatever time of activity has been set in the Zombie Lore sandbox settings. I've set it to daytime, mod works fine and I get fast shamblers and some sprinters. But night activity are all walkers.

Probably a good idea to announce a PSA to set it to both.
Kalibrowy 29 Mar, 2024 @ 3:22pm 
So i've just spent couple hours getting this mod to work. At first i wanted to say that it doesn't. But i kept trying. And to all of you who might encounter trouble - read the descriptions in boxes. It's simple as that. All numbers must add to 100 but Smarts are beyond it. Worked for me.
Bing Chilling 29 Mar, 2024 @ 10:38am 
It seems that theres some issues with the mod on the zombie day and night options. I made that the zombies are 90% tough, 5% fragile and 5% average, but the zombies are still very easy to kill, like with one or two hits, even with bare hands, they are not getting hard to kill like i have put in the configuration. I have tried everyting like choosing the percentage but they still are easy.
I have disabled the mod and tried the vanilla option of tough and it works, so theres something woring with the mod, is there any fix?