Project Zomboid

Project Zomboid

Building Menu [B41.78]
Jaydee 27 Apr, 2024 @ 1:44am
Why does every generator I build catch fire?
I built a base from the ground up over several months, got this mod to assist in finishing the project and noticed generators can be spawned. I thought 'Well, I'm having trouble finding them so putting down one should help...'

I fill it up, fix it up and turn it on; walk away for two minutes and return to my entire base burning to the ground. Months of looting and memories, progress and stats entirely gone.

I have never had this issue with generators, I found another one; tested the same process on a building and it runs fine. I spawn a new one in and one minute later it explodes. Please tell me this is just a bug; cause if this is a sick joke. Well done I suppose; I uninstalled my favorite game over this instance.
Last edited by Jaydee; 27 Apr, 2024 @ 1:55am
< >
Showing 1-9 of 9 comments
El1oN  [developer] 28 Apr, 2024 @ 9:16pm 
That sounds incredibly frustrating! I'm really sorry to hear about your base and all the effort that went up in smoke—literally. It sounds like you've put a lot of time and passion into building your base, only to have it destroyed unexpectedly. That must be heartbreaking.

From what you've described, the issue with the generators exploding seems to be linked to their condition when spawned. The the mod, generators are being created with a very low condition value of 10. This low condition likely causes them to malfunction and explode shortly after being turned on. Normally, generators in good condition shouldn't just catch fire and explode like that, so it's not a joke or anything intentional against you.

To fix this issue and prevent future heartaches, I'll adjust the code so that the condition of a newly spawned generator depends on the player's Electrical and Metalworking skills, which might make more sense for your gameplay. This way, the better skilled your character is, the better condition the generator will have when built.
Jaydee 28 Apr, 2024 @ 11:37pm 
@El1oN

Thank you for being chill and responding quickly, I didn't mean to phrase it as intentional; I was just immensely upset as me and my group of buddies all worked on this metal castle of sorts for months. The place was big enough to be its own map mod template.

As for the condition of the generator, I did notice it was very low condition and at the time; I had very high Electrical, Metalworking and Maintenance skills so I thought that wouldn't be a underlying issue. When I noticed the low condition I did fix it up to 100% and I also made sure to not fill up the gas entirely (As sometimes a full gen could cause issues as well depending on placement and general condition). Even then, the damn thing still poofed. My guess is; the generators that are spawned are not registering the electrical fixes as they should. I even went as far as just using this mod by itself to test it (Yeah I reinstalled PZ cause after my rage filled episode I grew up and installed it again lmao). I still received the same results, every built gen would combust after a couple minutes of being on even after being filled and fixed. Yet any gen I found in the world would work fine even on low condition.

Again thank you for understanding and suggesting a quick fix of sorts, that should hopefully resolve the issue! And I apologize for my behavior, I reacted the way an artist would seeing their work burn in front of them lol. Just know the faulty gen situation is NOT your fault my friend!
El1oN  [developer] 30 Apr, 2024 @ 12:05pm 
No worries about the intense reaction—it's completely understandable! As a builder myself, I truly understand the dedication that goes into creating something special in the game, so I can only imagine how daunting it must have been to see your metal castle burn down (how is that possible lol).

I appreciate your thorough testing and feedback. I have also performed some tests based on what you described and interestingly, I have not encountered the same problem with generators exploding up so quickly after being 100% repaired. It might be something specific to the environment or other mod interactions, even if you only tested it with this mod active. I really don't know.

It's possible there's a hidden bug that didn't surface in my tests, so I'll keep investigating to ensure everything is working as it should.

I'm working on fixing this issue so you and your friends can enjoy without any more unexpected fireworks!
Last edited by El1oN; 1 May, 2024 @ 5:25am
froggx 15 May, 2024 @ 10:30am 
This... is extremely good to know. Maybe one survivor's smoldering badass castle debris is gonna be another survivor's lifesaving electrical safety advice.
Zenpei 4 Jun, 2024 @ 12:25am 
After binge watching Pr1vateLime's super cuts where he's building a really fancy and large house and another where he goes from caveman to medieval nobility. I was inspired to boot up this game again after a very long break.

So reading about one survivors very hard earned homestead they've toiled at for many in-game months only to see it all just... Literally go up in flames... I don't even dare to try to understand that level of hopelessness, despair and complete and utter shattering of a will to go on. Because I thought it felt bad when I managed to find a base, fortify it, start organizing my inventory and I even managed to prepare a bug-out bag and a spare vehicle for the helicopter event. Only for me to die horribly somewhere else due to my own incompetence or greed.

I truly hope Jaydee will come back and show us the true way of a survivor. That once that initial survival phase is over, you're out there truly thriving!

As for the mods developer. I really hope you can find the code that is causing this issue. Because it really is sad that one gets to the point where you can build a generator and fix it up only to have it explode! Despite everything would seemingly state it shouldn't!

Still gonna use this mod and as a precaution I think I'll take my time to study ways to prevent fire incidents. Not to mention which materials are "flammable". I really don't want a repeat of an old Rimworld run I had.... Why the f*** does Rimworld treat STEEL as a flammable material is something I will never understand.... I understand the physics behind heated metals. But steel does not just "burn to ash"! It gets softer at first then melts...
froggx 4 Jun, 2024 @ 4:53am 
aight so i gotta ask for real... why didn't dude just roll back the server? i mean... server makes a backup every time it starts, gotta restart to update mods, dude clearly has mods so there are definitely gonna be backups... we're talking 10 minutes tops and good to go.
Jaydee 11 Jun, 2024 @ 7:52pm 
Originally posted by froggx:
aight so i gotta ask for real... why didn't dude just roll back the server? i mean... server makes a backup every time it starts, gotta restart to update mods, dude clearly has mods so there are definitely gonna be backups... we're talking 10 minutes tops and good to go.

Oddly enough there wasn't any backups, my buddy either didn't know how to access them or somehow had it disabled cause that was my first goto "Well... base is gone, maybe we should..." option. His response was 'There isn't any...' so yeah. Big oof.
Jaydee 11 Jun, 2024 @ 7:55pm 
Originally posted by Zenpei:
After binge watching Pr1vateLime's super cuts where he's building a really fancy and large house and another where he goes from caveman to medieval nobility. I was inspired to boot up this game again after a very long break.

So reading about one survivors very hard earned homestead they've toiled at for many in-game months only to see it all just... Literally go up in flames... I don't even dare to try to understand that level of hopelessness, despair and complete and utter shattering of a will to go on. Because I thought it felt bad when I managed to find a base, fortify it, start organizing my inventory and I even managed to prepare a bug-out bag and a spare vehicle for the helicopter event. Only for me to die horribly somewhere else due to my own incompetence or greed.

I truly hope Jaydee will come back and show us the true way of a survivor. That once that initial survival phase is over, you're out there truly thriving!

As for the mods developer. I really hope you can find the code that is causing this issue. Because it really is sad that one gets to the point where you can build a generator and fix it up only to have it explode! Despite everything would seemingly state it shouldn't!

Still gonna use this mod and as a precaution I think I'll take my time to study ways to prevent fire incidents. Not to mention which materials are "flammable". I really don't want a repeat of an old Rimworld run I had.... Why the f*** does Rimworld treat STEEL as a flammable material is something I will never understand.... I understand the physics behind heated metals. But steel does not just "burn to ash"! It gets softer at first then melts...

Thanks for the kind words friend! I did in fact return, PZ can't get rid of me that easily (Rimworld on the other hand can, and has many times Lmao). We rebuilt the castle and stuck the generators in a metal / concrete room to prevent the fire incident entirely. We use a power poles mod that links to the generators and distributes power all across the base, so that is resolved.
froggx 12 Jun, 2024 @ 3:08am 
Originally posted by Jaydee:
Originally posted by froggx:
aight so i gotta ask for real... why didn't dude just roll back the server? i mean... server makes a backup every time it starts, gotta restart to update mods, dude clearly has mods so there are definitely gonna be backups... we're talking 10 minutes tops and good to go.

Oddly enough there wasn't any backups, my buddy either didn't know how to access them or somehow had it disabled cause that was my first goto "Well... base is gone, maybe we should..." option. His response was 'There isn't any...' so yeah. Big oof.


after reading that, i did a little research and discovered something incredible... backups include the base server config, databases for player characters and vehicles driven, and the map metadata (stuff like "has this cell been loaded"). the actual map cell data, which includes things like spawned items and player-built super ♥♥♥♥♥♥♥ badass castles, is NOT backed up in the startup/periodic backups...

i'm guessing the reason they don't back up the map is because each cell is saved as a separate small file created the first time someone visits it, there's a ♥♥♥♥ ton of cells so late game that means a ♥♥♥♥ ton of small files that take up more than a small amount of space together, making a zomboid backup makes new copies of every single file, disks HATE dealing with ♥♥♥♥ tons of small files (it wastes times cause reads and writes are poorly handled, wastes space cause of file systems have a hard minimal file size (default is 4KB on windows), and it fragments magnetic hard disks). basically, this save game ♥♥♥♥♥♥♥♥ hack job prolly for temp dev use subsystem is only slightly more hostile than inviting us to a picnic in the middle of a raging dumpster fire.

if you want a snapshot of your current world, including the map cell data, for the purpose of rolling back to in case something other than a generator catches fire, then you'll need to manually copy either of the following folders:
"/../Zomboid/Saves/Multiplayer/[ServerName]" from the server (only dedicated servers) OR
"\..\[UserName]\Zomboid\Saves\Multiplayer\[ServerIPaddress_portnumber]" from any client with an account on the server.


good to hear you came back and cooked up a new and improved super ♥♥♥♥♥♥♥ badass castle; now with asbestos-lined integrated generator room/zombie crematorium.

also, if you have the chance i'd appreciate if you could link the power pole mod you mentioned.
< >
Showing 1-9 of 9 comments
Per page: 1530 50