Project Zomboid

Project Zomboid

Pocket Kittens
 This topic has been pinned, so it's probably important
Orc  [developer] 3 Nov, 2022 @ 12:32pm
Bug Reports
Bug Reports
If you've encountered any issues with this mod, please report your bugs in this thread.

Include the following where applicable
  • The error you encountered and the behavior you expected
  • Any relevant log file entries
  • A listing of mods you are using at the same time
  • What operating system are you using? (Windows, Linux, MacOS)
  • Steps to reproduce the error(s)
< >
Showing 1-15 of 19 comments
Yule 10 Nov, 2022 @ 10:03am 
STACK TRACE
-----------------------------------------

function: PocketKitten_IsKittenEquipped -- file: PocketKitten_PocketLogic.lua line # 40 | MOD: Pocket Kittens

function: PocketKitten_OnLogin -- file: PocketKitten_PocketLogic.lua line # 79 | MOD: Pocket Kittens

ERROR: General , 1668103106789> 21,040,129> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: getInventory of non-table: null at KahluaThread.tableget line:1689.

ERROR: General , 1668103106790> 21,040,130> DebugLogStream.printException> Stack trace:

java.lang.RuntimeException: attempted index: getInventory of non-table: null

at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)

at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)

at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)

at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)

at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)

at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)

at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)

at zombie.Lua.Event.trigger(Event.java:64)

at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:65)

at zombie.network.GameServer.main(GameServer.java:717)

LOG : General , 1668103106791> 21,040,131> -----------------------------------------

STACK TRACE

-----------------------------------------

function: PocketKitten_IsKittenEquipped -- file: PocketKitten_PocketLogic.lua line # 40 | MOD: Pocket Kittens

function: PocketKitten_OnLogin -- file: PocketKitten_PocketLogic.lua line # 79 | MOD: Pocket Kittens
Yule 10 Nov, 2022 @ 10:04am 
stack trace upon server boot, only started after new stable branch was released today
Orc  [developer] 10 Nov, 2022 @ 11:36am 
Thanks again for the head's up Yule. I was able to isolate the issue and resolve it. Turns out nothing bad was really happening it was just the server saying "Hey, i'm a server, there is no player inventory".

None the less I've updated the logic in 1.1.1.4178 and should no longer cause log issues.
RandomDude 18 Nov, 2022 @ 5:53am 
Hello. Having a weird game play anomaly on the servers I host for friends. Nobody else, just myself, have a very increased stress gain while wearing a pocket kitten. I also am the only player on these servers with the Hemophobic trait. For any reason, does having the pocket kitten on my person count towards the Hemophobia stress gain from blood? I know this sounds weird, but it's the only connection I can make.

If you'd like a list of mods I can provide, although I don't run any mods that impact any of these variables, such as stress, etc.

Awesome mod by the way! Very cool concept, everyone is loving it. Thanks.
Orc  [developer] 19 Nov, 2022 @ 7:38am 
Wow that's crazy..... No the kittens do nothing like that. You can see 100% of the logic code here[github.com]. The only thing having a kitten equipped does is down on line 100, 101 and 102. Basically it gets your boredom, unhappy and stress then reduces it.

Check your sandbox variables and see what PocketKitten.ReduceStress is set to. It takes that value and divides it by 100. (Since stress is calculated as 0.000 to 1.000)
Orc  [developer] 19 Nov, 2022 @ 7:43am 
Originally posted by RandomDude:
If you'd like a list of mods I can provide, although I don't run any mods that impact any of these variables, such as stress, etc.

Ya if you can share your mod list I should have some free time this week to see what's going on. That's insanely bizzare unless the math is going haywire
RandomDude 2 Dec, 2022 @ 4:56am 
Man, completely forgot I posted this, got totally sidetracked with my map mod project. I've set stress reduction sandbox to 20 to help alleviate the issue for me personally, but other players find it too OP set that high obviously. I'll get you a mod list here soon.
RandomDude 2 Dec, 2022 @ 5:34am 
Man, it's a big spammy list, 97 total. Would you rather me drop you a message, email, or something else? Just so I don't spam the crap out of this discussion.
Orc  [developer] 3 Dec, 2022 @ 5:33am 
Originally posted by RandomDude:
Man, it's a big spammy list, 97 total. Would you rather me drop you a message, email, or something else? Just so I don't spam the crap out of this discussion.

Sure, orcicorn@gmail.com is a safe address to use
RandomDude 4 Dec, 2022 @ 10:06am 
Alright just shot you an email over, thanks!
Orc  [developer] 4 Dec, 2022 @ 4:02pm 
@RandomDude Thanks! Been out of town all day, hence the late reply. Soon as I can get some free time this week I'll see if i can recreate the issue and isolate what's going on
RandomDude 24 Dec, 2022 @ 4:51am 
Did anything pop out of that mod list? I've recently fired another server up, and this time I personally didn't take Hemophobic but another friend did and is experiencing the same issue with stress shooting up fast now that he found his first kitten. It's not a huge deal, since it can be smoked away, but strange that we seem to be the only people having this issue. lol

No sweat man, enjoy the holidays!
Orc  [developer] 27 Dec, 2022 @ 8:22am 
@RandomDude ok, after countless mod downloads and installations and testing I can say with absolute certainty there isn't a bug or mod conflict. What's going on is that the stress created by being covered in blood exceeds the default "5" stress taht pocket kittens removes.

In my testing you gain roughly 9-10 stress an hour if covered in blood w/Hemo, hungry, etc. So you're gaining 9-10 an hour but kitties are only removing 5, so you're constantly going up and never able to go down until I wash myself and satiate my hunger.

Settting kitties to reduction to 10 and restarting seems to counteract the overall gain or at the absolute very least minimizes the stress gain to less than 1 an hour.

Unless you're able to direct me to something more erraneous I don't see any real bug here. Neglecting your moodles shouldn't be completely negated by having a kitten. HOWEVER if you do want to be able to live like htat, you can just set the Kitten stress reduction to 10-12 and should work the way you want it to.

Is there anything I'm missing here or unable to replicate?
RandomDude 17 Jan, 2023 @ 10:26am 
Hey! Sorry, got wrapped up in things over the last few weeks between an illness, a new roof on the house, etc. etc.

To verify I am not crazy, I just hashed this out on a private server I host solely for figuring out mod issues/conflicts, for testing my own mods, etc. and I was still able to replicate the rapid stress gain immediately.

BUT, here's my mistake; I read through my previous posts and I see I forgot to mention that the rapid increase in stress gain never occurs until your character hits level 2 stress and above. Prior to that, gains are to be expected. But once my test characters become tier 2 and up stressed, it rockets to max within moments.

I'm not sure if that points to anything, or why myself and the other players seem to be the only ones reporting this, but if that info helps then great. If not, then great also, we still use the mod and everyone just avoids the hemo trait. Which is an annoying trait anyway honestly, lol
RandomDude 17 Jan, 2023 @ 12:00pm 
So, because I'm nuts, I couldn't let this go and wanted to take a different test approach. My prior test was fairly organic; I made a character, ventured out and played for a bit, got bloody, thirsty, hungry, all the usual fresh start experiences. Then the only cheat/debug I used was to give myself a pocket kitten, so I could skip all that work. Just like on my live servers, after stress got 50% or so, it would rapidly rocket up to a full 1.0. Didn't matter if I was indoors, outdoors, cold, hot, you get the point.

This time around I created a new character, then just squatted in a trailer and used cheats/debugs to instead artificially create the whole scenario and, of course, it works just fine. I cannot replicate the issue at all this way. Ugh.

I'm just going to drive myself mad, and pester you in the process, so I'll end it here. All I can do, if I were to bother with it anymore, is record it happening in OBS or something and drop the .mp4 somewhere so you can see at least, but it wouldn't shed any light on anything technically.

I would rather just call it a day! haha

Take care man, and thanks again for the mod and for entertaining our unique and silly issue.
< >
Showing 1-15 of 19 comments
Per page: 1530 50