Maris Posted January 17, 2020 Share Posted January 17, 2020 When you go to main menu from the game without a mod (in save file) but the mod is enabled in main "Mods" menu, there may be a crash. Steps to reproduce: 1) Start new game session. 2) Go to main menu / save the game. 3) Close Project Zomboid (quit application). 4) Subscribe "Dreams" mod. Wait for download. 5) Launch Project Zomboid. 6) Go to "Mods" menu and enable this mod. 7) Continue the game (or load last save). Remember that the mod is disabled in this save file. 8] Go to main menu. ------> error. Link to comment Share on other sites More sharing options...
Pandorea Posted January 17, 2020 Share Posted January 17, 2020 Does this happen with this particular mod or all of them? Link to comment Share on other sites More sharing options...
Maris Posted January 17, 2020 Author Share Posted January 17, 2020 (edited) I'm not sure HOW it works. It seems that in this case the mod system changes order of loading files. So, probably, this bug affects not all mods. In Dreams mod, there are two files: dreams.lua and a_dreams_tags.lua. In the file "a_dreams_tags.lua" a constant DREAMS is created. In the file "dreams.lua" this constant is used. But in crash it says that variable DREAMS is not found. It's very strange. Seems like the mod system loaded only one file of the mod. Or the mod system changes order of loading. That's why I said "MAY BE a crash" in bug report. Edited January 17, 2020 by Maris Nebula 1 Link to comment Share on other sites More sharing options...
Nebula Posted February 10, 2020 Share Posted February 10, 2020 On 1/17/2020 at 10:19 PM, Maris said: I'm not sure HOW it works. It seems that in this case the mod system changes order of loading files. So, probably, this bug affects not all mods. In Dreams mod, there are two files: dreams.lua and a_dreams_tags.lua. In the file "a_dreams_tags.lua" a constant DREAMS is created. In the file "dreams.lua" this constant is used. But in crash it says that variable DREAMS is not found. It's very strange. Seems like the mod system loaded only one file of the mod. Or the mod system changes order of loading. That's why I said "MAY BE a crash" in bug report. You have a strange problem. Is the error still present? You are the only one who has a problem. Download the mod again. Such an error can occur when the number of dreams in a constant does not coincide with the actual number of dreams in the mod file. Link to comment Share on other sites More sharing options...
Maris Posted February 13, 2020 Author Share Posted February 13, 2020 (edited) Yes, it's present. I downloaded mod again. Tested with only one mod enabled (Dreams). And I did it exactly how I described in the first post. And it doesn't matter which localization is chosen. Build 41.29 -debug console.txt Edited February 13, 2020 by Maris Link to comment Share on other sites More sharing options...
Maris Posted February 22, 2020 Author Share Posted February 22, 2020 The mod is updated, so you can't use it to reproduce the bug. But the bug is still there in the game. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now