Project Zomboid

Project Zomboid

More Traits
4,576 Comments
mypinoyvan 21 hours ago 
Had to remove the mod. Kept freezing the game after every lua reset. Shame
Bluewave101 May 27 @ 4:28pm 
;p mod it not 42
DarkSlayerEX May 27 @ 3:12pm 
it looks like base PZ redid the foraging definitions a little bit.

in the lua/shared/Foraging/ToadTraitsforageDefinitions file, I replaced

table.insert(forageSkills, skillDef);

with

table.insert(forageSystem.forageSkillDefinitions, skillDef);

and the error disappeared. I'm not quite sure if that fixes everything related to that error, but it's at least progress
F1tgal911 May 27 @ 1:16pm 
Sad to see one of the very best mods for PZ is becoming abandoned.
Ztoxicman May 27 @ 11:19am 
Question I believe this is causing alot of problems because of the line 132 error. Can I delete this safely? I do have traits from it but I don't mind losing them.
⭐[PIXEL]⭐[DOG]⭐ May 27 @ 8:44am 
FIX THE MOD PLEASE
Bellum May 27 @ 7:19am 
Got the same issue
Callframe at: table.insert
function: ToadTraitsforageDefinitions.lua -- file: ToadTraitsforageDefinitions.lua line # 132 | MOD: More Traits
yidianyidianwa May 27 @ 6:27am 
Callframe at: table.insert
function: ToadTraitsforageDefinitions.lua -- file: ToadTraitsforageDefinitions.lua line # 132 | MOD: More Traits
backspace May 26 @ 1:35pm 
actually i believe i just got the error again with the config option off
@fondestgreetings i'm going to try removing lines 1997-1999 in the lua file, you can try the same
the file is in this mod's directory 42/media/lua/client
Solarchicks May 26 @ 8:08am 
i'm having the bug without the more descriptions for traits mod as well
fondestgreetings May 26 @ 6:53am 
Is there a temp fix?
backspace May 25 @ 7:15pm 
when the config is set to announce when prowess guns saves ammo, the game will freeze and send you back to the menu when it happens
this is the error:
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@92952d81
function: progun -- file: MoreTraits.lua line # 1998 | MOD: More Traits
java.lang.RuntimeException: No implementation found
WrongTypeOfHero May 25 @ 4:23pm 
@grungydan The dupe traits bug is with Detailed Descriptions for Traits, or whatever the mod is called. The creator is gonna work on it when they can, but they said to just disable it for the time being.
Ein_Insolventer May 25 @ 4:48am 
Is it fixed guys?
grungydan May 24 @ 9:05am 
Oops, spoke too soon. I do have an error loading into the game. Loading times are still good though, and More Traits is working, so good enough for me!

attempted index: name of non-table: true
function: importDef -- file: forageSystem.lua line # 1647 | Vanilla
function: addSkillDef -- file: forageSystem.lua line # 1812 | Vanilla
function: populateSkillDefs -- file: forageSystem.lua line # 1838 | Vanilla
function: init -- file: forageSystem.lua line # 726 | Vanilla
java.lang.RuntimeException: attempted index: name of non-table: true
cheetopuffy May 24 @ 8:43am 
i'm experiencing a bug. currently playing the newest version of B42. whenever i try to load up a save with this mod, i get an error and it will not load in. ive tried this with other mods and this one is what does it. i don't have more trait descriptions enabled so it isnt that. is anyone else experiencing this?
grungydan May 24 @ 8:35am 
With default installs of both this mod and "more traits," the symptoms were

- drastically increased load times
- duplicate trait bug.

Disabling "more traits" fixes the duplicate traits display bug, but loading times were still terrible.

I updated ToadTraitsforageDefinitions.lua with Sneaky Banana's changes. The loading time is now fixed, and I have no warnings related to More Traits.
kelenas_sarkeen May 24 @ 6:32am 
When using this mod together with Dynamic/Evolving Traits, would it be feasible to tweak those traits that require a certain number of kills, to make that number dependant on the population settings? Ie, lower population settings meaning less kills required, higher population settings meaning more kills required?
Ismael May 23 @ 1:47pm 
🔴🔴🔴
Thanks @Metal Mario
The duplicate error is due to the “More description for traits” mod. JUST DISABLE IT AND PLAY NORMALLY.
🔴🔴🔴
454730335 May 23 @ 1:46pm 
加载此模组进入游戏错误,无法进入
Davion_Valavaern May 23 @ 12:24pm 
@Mr._Perfect_Cell Doing this has at least allowed me to successfully load my save.
Alpha Gamer May 23 @ 12:15pm 
oh snap. awesome so glad i got rid of that bug. thanks man
Metal Mario May 23 @ 9:20am 
@Alpha Gamer that's the "More description for traits" mod
Alpha Gamer May 23 @ 9:04am 
any fix for the duplicate bug that starts when selecting your traits? It really slows the computer down
combatshock May 23 @ 6:25am 
Well this sucks. Had nearly a year long survivor save seemingly bricked no matter what I do now.
Mr. Perfect Cell May 23 @ 5:41am 
@Davion_Valavaern I realized that and tried it too but the crashes ad problems continue.
obbz May 23 @ 2:44am 
Love this mod. But it breaks the game on latest version.
Tried disabling everything but this mod, issue remains, game crashes on start up.
Davion_Valavaern May 23 @ 2:35am 
@Sneaky_Bananas "Steam\steamapps\workshop\contents\108600\1299328280\More Traits\42\media\lua\shared\Foraging\" is the actual file location... not sure why yours is in the Zomboid folder. Also, there is no "\media\lua\client\foraging" folder.

"if not forageSkills.MoreTraitsAdded" does not appear anywhere in ToadTraitsforageDefinitions.lua

The final section is:
for skillName, skillDef in pairs(MoreTraitsSkills) do
table.insert(forageSkills, skillDef);
end

So I presume you mean we should replace that with:

if forageSystem and forageSystem.forageSkillDefinitions and not forageSystem.forageSkillDefinitions.MoreTraitsAdded then
for skillName, skillDef in pairs(MoreTraitsSkills) do
forageSystem.forageSkillDefinitions[skillName] = skillDef;
end
forageSystem.forageSkillDefinitions.MoreTraitsAdded = true;
end
DJ WEEABOO May 22 @ 10:33pm 
gargle my nuts @Sir_Spirit1050
Sneaky Bananas May 22 @ 4:45pm 
TEMP FIX: More Traits PZ 42.8.1 Error

PZ changed foraging API, breaking the mod. Quick fix:

1. Go to: `C:\Users\[YourName]\Zomboid\Workshop\content\108600\1299328280\`
2. Find `ToadTraitsforageDefinitions.lua` files (in `media\lua\shared\Foraging\` and `media\lua\client\Foraging\`)
3. Replace the last section starting with `if not forageSkills.MoreTraitsAdded` with:

```
if forageSystem and forageSystem.forageSkillDefinitions and not forageSystem.forageSkillDefinitions.MoreTraitsAdded then
for skillName, skillDef in pairs(MoreTraitsSkills) do
forageSystem.forageSkillDefinitions[skillName] = skillDef;
end
forageSystem.forageSkillDefinitions.MoreTraitsAdded = true;
end
```

4. Save both files
Sir_Spirit1050 May 22 @ 12:52pm 
I disabled more trait descriptions and it works, @DJWEEABOO had a different result and decided to be bitchy about it. If you're getting crashes and duplicating traits in the menu, try disabling more trait descriptions if you have it, it MAY OR MAY NOT fix it. If it doesn't fix try disabling any other mods interacting with traits.
Wallet113 May 22 @ 8:54am 
The duplicate thing, thought I was the only one.
Reaper May 22 @ 8:10am 
i can confirm The More descriptions causing dublicate issue when i disabled it issue fixes :)
Meowcathardwas May 22 @ 4:13am 
we gotta wait till they fix it
Meowcathardwas May 22 @ 3:37am 
I tested yalls sayings. its true it duplicates but its not the more traits mod doing it. i believe its the trait description mod
syrdi May 22 @ 2:13am 
Loading duplicate traits in B42 now. Games in endless loading when loading a saved profile too.
Hailfire May 21 @ 6:11pm 
Severe error on may 20th update for unstable

STACK TRACE
-----------------------------------------
Callframe at: table.insert
function: ToadTraitsforageDefinitions.lua -- file: ToadTraitsforageDefinitions.lua line # 132 | MOD: More Traits

May 21, 2025 5:49:24 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException
May 21, 2025 5:49:24 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: java.lang.RuntimeException:
May 21, 2025 5:49:24 PM zombie.Lua.LuaManager RunLuaInternal
SEVERE: at table.insert
at ToadTraitsforageDefinitions.lua:132
gUtt May 21 @ 5:33pm 
Broken in Newest unstable update
johnicorn May 21 @ 3:04pm 
@whyyounosqueaky king, that was what made my game crash upon loading Profession presets. It was loading duplicates upon duplicates all at the same time.
Stygian Ikazuchi May 21 @ 1:55pm 
@DJ WEEABOO while this mod may be causing other issues, More Descriptions For Traits IS the mod causing duplicated traits. Either on its own or as an interaction with this mod.
DJ WEEABOO May 21 @ 12:32pm 
@Ayrus me when im confidently incorrect

`Callframe at: table.insert
function: ToadTraitsforageDefinitions.lua -- file: ToadTraitsforageDefinitions.lua line # 132 | MOD: More Traits
java.lang.NullPointerException: Cannot invoke "se.krka.kahlua.vm.KahluaTable.len()" because "<local2>" is null

anyone else saying its the more trait descriptions mod causing the issue is wrong and spreading misinformation. please don't comment if you don't know whats actually causing the issue.
RICO RICO RICO May 21 @ 10:17am 
i don't have more descriptions and it's still crashing
Ayrus May 21 @ 7:00am 
The More descriptions for traits mod is CAUSING the issue, NOT THIS MOD. Disable that and it should fix the duplicated traits
LeMeatElGameng May 21 @ 3:50am 
Mod not working in B42.8
Quest May 21 @ 2:19am 
woops, yeah this mod should be fine, trait descriptions is causing issues
Guara Ookami May 20 @ 11:11pm 
Does anyone know if indefatigable resets each week or two weeks in game? i am not sure where i can find the description for the trait?
matiasby69 May 20 @ 10:36pm 
the recently update broke something
WhyYouNoSqueaky May 20 @ 4:39pm 
i realized its the descriptive trait mod thats duplicating it, not this
Quest May 20 @ 4:06pm 
not sure exactly what causes it, but this mod currently will duplicate traits until your game crashes
WhyYouNoSqueaky May 20 @ 2:50pm 
i removed this mod and the traits r still duplicating and crashing my game anytime i try to use my loadout