Project Zomboid

Project Zomboid

More Traits
4,595 則留言
SickCrom 6 月 9 日 上午 4:26 
Amputee triat doesn't actually make me an amputee and the Alcholic trait doesn't spawn whiskey
Irisviel 6 月 8 日 下午 9:23 
fun trait idea could be making the insects (termites, caterpillers, etc) no longer give you unhappiness (or greatly reduce it), and probably make it cost like 2 points.
[PTFC] CaLvIn 6 月 8 日 下午 8:04 
Noticed when I have either of the XP Drops. The old school runescape drops mods on. I do burpies for any amount of time the error ticker keeps going up then the game freezes and I have to force close. Without the OSRS Experience Bar mod/s this doesn't happen

function: expDrop -file: ISExpBar.lua line # 711 | MOD: OSRS Experience Bar
function: onAddExp - file: RUNE-EXP.lua line # 25 | MOD: OSRS Experience Bar
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@7187e381
Function: AddXP - file: MoreTraits.lua line # 83 | MOD: More Traits
function: GymGoer - file: MoreTraits.lua line # 3025 | MOD: More Traits
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@7187e381
personalpurgatorium 6 月 6 日 下午 9:48 
any time i hit a zombie with melee theres an abrupt 2 second freeze before the hit registers. very distracting, and from the rest of the comments i think this mod definitely needs to be fixed
MarcosPVJ 6 月 5 日 上午 10:11 
Thx Amenophis!!
Amenophis 6 月 5 日 上午 5:28 
I've made a temporary fix : https://sp.zhabite.com/sharedfiles/filedetails/?id=3493375568

Just load th fix BEFORE More Traits, i'ts important ! :spiffo:
F1tgal911 6 月 4 日 上午 7:18 
Love the mod but I wish some able guy would find the time to repost a repaired version of this awesome mod.
Father Bohuta 6 月 4 日 上午 7:16 
`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
Mariposa 6 月 3 日 下午 11:04 
Deprived trait removes everything from spongies character customization menu...
DarkSlayerEX 6 月 3 日 上午 11:48 
@Abel1470, I posted a fix for the forage definition issue a page back. You can fix it manually until the change is uploaded officially.
Abel1470 6 月 3 日 上午 6:27 
`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
Abel1470 6 月 3 日 上午 6:27 
`Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@8317a081
function: EveryOneMinute -- file: MoreTraits.lua line # 4367 | MOD: More Traits
java.lang.RuntimeException: No implementation found
Walter White 6 月 3 日 上午 6:16 
i get over 600 error message when i try to excercise
Emeraldite 6 月 3 日 上午 2:22 
for some inexplicable reason this mod is suddenly causing me to get a black screen upon reloading LUA which causes me to be unable to do anything and forces me to exit the game, which i didn't have to do before.
battlemad 5 月 31 日 下午 1:38 
I'm also seeing the race condition for this locking up the game process anytime it needs to reload lua, inluding on loading a save game. If it is actually a limited item in the trait list. block it out and upload that as a temp fix, since this takes a lot of guess and check to figure out for a common user. If not send out a "Fix" that disables the mod and sends warning message alerting of the disable. users right now are likely fully blocked from playing existing saves until it is fixed unless they isolate and disable this mod manually.
gormotha 5 月 31 日 上午 12:36 
gormotha 8 minutes ago 
error summary from console:
________________________________________

function: AddXP -- file: MoreTraits.lua line #83 | MOD: More Traits
function: GymGoer -- file: MoreTraits.lua line #3205 | MOD: More Traits
...
Exception thrown
java.lang.RuntimeException: Stack overflow at Coroutine.ensureStacksize
________________________________________

This is an infinite recursion loop caused by AddXP calling itself through GymGoer, which calls AddXP again repeatedly. Eventually, the Lua interpreter hits the stack size limit and crashes.

The problem is likely a Lua callback like OnGainXP or a similar event that's recursively calling itself.

possible debug:

Check for a condition inside the GymGoer XP handler to prevent recursion, such as:

if not self.gymXpLoop then
self.gymXpLoop = true
character:getXp():AddXP(Perks.Strength, 1)
self.gymXpLoop = false
end
Artemis 5 月 30 日 上午 9:06 
fair :steamthumbsup: it's an unstable for a reason
Nazgul96 5 月 29 日 下午 3:06 
Word on the discord is, the fix needs to come from devs side. It is probably not gonna get fixed by the modders
Artemis 5 月 29 日 下午 12:36 
idk if you remember 3 years ago when the AddXP function changed and you had to fix it, but i suspect the same thing happened again or similar on the latest 42 patch. getting errors on AddXP when exercising. only exercising tho, not other instances of passive XP

Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@63bd781
function: AddXP -- file: MoreTraits.lua line # 83 | MOD: More Traits
function: GymGoer -- file: MoreTraits.lua line # 3205 | MOD: More Traits
mypinoyvan 5 月 28 日 下午 2:04 
Had to remove the mod. Kept freezing the game after every lua reset. Shame
Bluewave101 5 月 27 日 下午 4:28 
;p mod it not 42
DarkSlayerEX 5 月 27 日 下午 3:12 
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 5 月 27 日 下午 1:16 
Sad to see one of the very best mods for PZ is becoming abandoned.
Ztoxicman 5 月 27 日 上午 11:19 
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]⭐ 5 月 27 日 上午 8:44 
FIX THE MOD PLEASE
Bellum 5 月 27 日 上午 7:19 
Got the same issue
Callframe at: table.insert
function: ToadTraitsforageDefinitions.lua -- file: ToadTraitsforageDefinitions.lua line # 132 | MOD: More Traits
yidianyidianwa 5 月 27 日 上午 6:27 
Callframe at: table.insert
function: ToadTraitsforageDefinitions.lua -- file: ToadTraitsforageDefinitions.lua line # 132 | MOD: More Traits
backspace 5 月 26 日 下午 1:35 
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 5 月 26 日 上午 8:08 
i'm having the bug without the more descriptions for traits mod as well
fondestgreetings 5 月 26 日 上午 6:53 
Is there a temp fix?
backspace 5 月 25 日 下午 7:15 
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 5 月 25 日 下午 4:23 
@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 5 月 25 日 上午 4:48 
Is it fixed guys?
grungydan 5 月 24 日 上午 9:05 
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 5 月 24 日 上午 8:43 
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 5 月 24 日 上午 8:35 
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 5 月 24 日 上午 6:32 
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 5 月 23 日 下午 1:47 
🔴🔴🔴
Thanks @Metal Mario
The duplicate error is due to the “More description for traits” mod. JUST DISABLE IT AND PLAY NORMALLY.
🔴🔴🔴
454730335 5 月 23 日 下午 1:46 
加载此模组进入游戏错误,无法进入
Davion_Valavaern 5 月 23 日 下午 12:24 
@Mr._Perfect_Cell Doing this has at least allowed me to successfully load my save.
Alpha Gamer 5 月 23 日 下午 12:15 
oh snap. awesome so glad i got rid of that bug. thanks man
Metal Mario 5 月 23 日 上午 9:20 
@Alpha Gamer that's the "More description for traits" mod
Alpha Gamer 5 月 23 日 上午 9:04 
any fix for the duplicate bug that starts when selecting your traits? It really slows the computer down
combatshock 5 月 23 日 上午 6:25 
Well this sucks. Had nearly a year long survivor save seemingly bricked no matter what I do now.
Mr. Perfect Cell 5 月 23 日 上午 5:41 
@Davion_Valavaern I realized that and tried it too but the crashes ad problems continue.
obbz 5 月 23 日 上午 2:44 
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 5 月 23 日 上午 2:35 
@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 5 月 22 日 下午 10:33 
gargle my nuts @Sir_Spirit1050
Sneaky Bananas 5 月 22 日 下午 4:45 
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 5 月 22 日 下午 12:52 
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.