Project Zomboid

Project Zomboid

Improvised Glass
 Acest topic a fost fixat, deci probabil este important
Orc  [dezvoltator] 20 mai 2022 la 6:21
Bug Reports
Post your bug reports here. Please include the following
  • General explanation of the error and the expected behavior
  • Any other mods you may be using
  • Windows, Linux or MacOS
  • Steps to reproduce the error
  • If possible, relevant error log(s)
< >
Se afișează 1-15 din 15 comentarii
<edit>Pretty much skip this post and go to the second one with fixes listed.</edit>

Posting here because it was the first mod I found with an actual bug report thread.

I just happened to look through my logs and found some warnings and errors. I'll start with the one I have pinpointed, though this applies to the flooring mod...

WARN : General , 1653782547485> ItemPickerJava.ExtractContainersFromLua> ignoring invalid ItemPicker item type "ImprovisedFlooring.IFMagazineEasteEgg"

This was just typos in SBIF_MagazineDistributions.lua

The following I've not looked at in depth because I'm tired...

ERROR: General , 1653782543735> LuaManager.getFunctionObject> no such function "ImprovisedGlass_XPMakeWindowWood" ERROR: General , 1653782543740> RecipeManager.LoadedAfterLua> no such function LuaGiveXP = "ImprovisedGlass_XPMakeWindowWood" in recipe "Make Wooden Window" ERROR: General , 1653782543746> LuaManager.getFunctionObject> no such function "ImprovisedGlass_XPMakeWindowWood" ERROR: General , 1653782543751> RecipeManager.LoadedAfterLua> no such function LuaGiveXP = "ImprovisedGlass_XPMakeWindowWood" in recipe "Make White Tiled Window" ERROR: General , 1653782543756> LuaManager.getFunctionObject> no such function "ImprovisedGlass_XPMakeWindowWood" ERROR: General , 1653782543761> RecipeManager.LoadedAfterLua> no such function LuaGiveXP = "ImprovisedGlass_XPMakeWindowWood" in recipe "Make Tiled Window" ERROR: General , 1653782543766> LuaManager.getFunctionObject> no such function "ImprovisedGlass_XPMakeWindowWood" ERROR: General , 1653782543771> RecipeManager.LoadedAfterLua> no such function LuaGiveXP = "ImprovisedGlass_XPMakeWindowWood" in recipe "Make White Window" ERROR: General , 1653782543776> LuaManager.getFunctionObject> no such function "ImprovisedGlass_XPMakeWindowMetal" ERROR: General , 1653782543781> RecipeManager.LoadedAfterLua> no such function LuaGiveXP = "ImprovisedGlass_XPMakeWindowMetal" in recipe "Make Chrome Window" ERROR: General , 1653782543787> LuaManager.getFunctionObject> no such function "ImprovisedGlass_XPMakeWindowWood" ERROR: General , 1653782543792> RecipeManager.LoadedAfterLua> no such function LuaGiveXP = "ImprovisedGlass_XPMakeWindowWood" in recipe "Make Slider Window"

There's a bunch of these relating to other mods also but I need sleep.
Editat ultima dată de Manwith Noname; 29 mai 2022 la 14:55
Ok, fresh eyes can see some other typos that eluded me last night. A brief summary of things I have found thus far. Code blocks contain the corrected line that clears the error from the log.

Improvised Glass

...\ImprovisedGlass\media\lua\server\IGRecipeCode.lua

Line 36 function Recipe.OnGiveXP.ImprovisedGlass_XPMakeWindshieldCar(recipe, ingredients, result, player)

Letter "d" missing in "XPMakeWindshieldCar"

...\ImprovisedGlass\media\scripts\IG_recipes_vehicles.txt

Line 23 OnGiveXP: Recipe.OnGiveXP.ImprovisedGlass_XPMakeWindshieldCar,

Underscore missing.

Still not spotting the issue with the previously posted list but it took a few passes to spot these also.

...\ImprovisedGlass\media\scripts\IG_recipes_windows.txt

OnGiveXP: Recipe.OnGiveXP.ImprovisedGlass_XPMakeWindowWood,

All recipes missing "Recipe.OnGiveXP.".

...\ImprovisedGlass\media\scripts\IG_recipes_windows_disassemble.txt

SkillRequired:Woodwork=2,

Skill name should be Woodwork instead of Carpentry ofor all recipes except the metal window.

Adding detail for other mods so it's all in one place.

Improvised Cabinetry

...\ImprovisedCabinetry\media\lua\server\ICRecipeCode.lua

Line 2 function Recipe.OnGiveXP.ImprovisedCabinetry_XPWoodCabinet(recipe, ingredients, result, player)

Missing "t" in XPWoodCabinet

...\ImprovisedCabinetry\media\scripts\IC_recipes_parts.txt

Line 11 SkillRequired: Woodwork=2,

Skill name should be Woodwork instead of Carpentry.

Improvised Flooring

...\ImprovisedFlooring\media\lua\server\Items\SBIF_MagazineDistributions.lua

table.insert(ProceduralDistributions.list["DaycareCounter"].items, "ImprovisedFlooring.IFMagazineEasterEgg");

Missing "r" in lines 270, 272, 274 and 276 in "IFMagazineEasterEgg"

...\ImprovisedFlooring\media\scripts\SBIF_Recipes_Garden.txt

SkillRequired:Woodwork=1;Farming=1,

As previous, skill name should be Woodwork. Lines 29, 42 and 55.

Improvised Paint

ERROR: General , 1653846975039> LuaManager.getFunctionObject> no such function "Recipe.OnGiveXP.Give10FarmingXP" ERROR: General , 1653846975055> RecipeManager.LoadedAfterLua> no such function LuaGiveXP = "Recipe.OnGiveXP.Give10FarmingXP" in recipe "Improvised Plaster"

Initial search suggest this function doesn't exist. At least my find in files search of the base and mod lua files didn't pull up anything.
Editat ultima dată de Manwith Noname; 1 iun. 2022 la 8:57
Orc  [dezvoltator] 29 mai 2022 la 17:02 
Wow.... you're the real MVP! When I get some time this week I'll go through and squash all these bugs.

Thank you so very much for sharing them, honestly surprised some of these weren't caught earlier
No worries. I don't like just saying "X is broken" so I always at least look for things I can potentially solve or at the very least conclude with reasonable accuracy what the problem is.

Postat inițial de Orc:
...honestly surprised some of these weren't caught earlier

Haha, I'm not. The number of times I had to read the log file and cross reference the code in the various files before spotting what was actually wrong was...well, sometimes embarrassing. Primarily the missing Recipe.OnGiveXP. ones. Multiple times of "name checks out" before I finally realised what I was not seeing.

The old adage "I may be slow but I get there" certainly applied.
Orc  [dezvoltator] 1 iun. 2022 la 6:47 
Once again Manwith NoName thank you for your time and effort here.
I've taken some time over lunch to knock out and publish all these fixes.

Really appreciate the effort you put into this. Made it so much easier to find, fix and verify. The carpentry thing is pretty embarrassing. lol
Again, not a problem. It only made sense to document the things I found accurately to make fixing them at source as simple as it could be. No point expecting you to dig through error codes when I've already done it.
Not really a bug report, but the recipe book "Precision vehicle windows and crafting" should be "Precision Vehicle Windows and Crafting" to bring it in line with all the other titled books.
Orc  [dezvoltator] 8 aug. 2022 la 8:07 
@Balisarda I just checked and you're absolutely right. I'm not entirely sure why it isn't camel-case like everything else. Next time I push an update I'll slip that in
when you have glass in minor containers, for example chest bags, it requires only wood glue to fix windows, glass won't be used.
Orc  [dezvoltator] 19 aug. 2022 la 13:40 
@747074170 oh! When I get back to town I’ll be sure to look into that. I’m indisposed for a few days but making note of this . Thank you
Kyrox 17 sept. 2022 la 16:30 
Handyman Corner's Kitchen Kilns. Magazine is invisible when reading.
Orc  [dezvoltator] 19 sept. 2022 la 6:01 
Postat inițial de Kyrox:
Handyman Corner's Kitchen Kilns. Magazine is invisible when reading.

Absolutely not intended. I've added it to the fix list
When you use the virus vaccine mod, all broken windows/jars gives "Shattered glass", and its then impossible to get "Broken glass", is there a way to use both in recipe or add a compatibility patch inside ? thank you
eerie country visual bug, the window should be closed but its not visually
same with the opened ones
< >
Se afișează 1-15 din 15 comentarii
Per pagină: 1530 50