Project Zomboid

Project Zomboid

StatsAPI
60 Comments
FranGamer<3 20 Jun @ 7:32pm 
Creo que este mod, causa conflictos dentro del juego, porque se pierde el estado de PÁNICO
albion  [author] 27 May @ 5:51am 
the point i'm making is it's not going to 'break the game completely' suddenly when it hasn't for years and the game hasn't been updated
Beer Man™ 27 May @ 5:47am 
Well yea.. im on build 41.
albion  [author] 27 May @ 5:39am 
if it's causing problems it's an incompatibility with another mod you are using, this mod only supports b41 which hasn't been updated in over two and a half years
Unamelable 27 May @ 5:14am 
This mod breaks the game completely.
It required maintenance.
Beer Man™ 24 May @ 2:33am 
This mod is incompatible with the Bandits V2 NPC mod. It stops the character from becoming panicked.
Ⓦⓗⓘⓩⓚⓘⓓ 20 Apr @ 7:08pm 
how is this an API mod when it is hard coded to allow for only vanilla moodle traits it clearly doesnt support custom traits e.g. medical etc...
albion  [author] 18 Nov, 2024 @ 3:29pm 
0.4.15
-Fixed a bug where the hover area for moodle tooltips was too small.
-Potential fix for the invisible moodle bug.
-Minor internal restructuring.
Rusty #DopeRust 20 Oct, 2024 @ 6:27pm 
Hey @albion!

I just reported something on the github page, just wanted to let you know.

Thank you in advance from the bottom of my heart for all your work and time spent improving the community of PZ.

Cheers.
quinn 12 Jun, 2024 @ 2:37pm 
ok! I'll try that instead, thank you!
albion  [author] 12 Jun, 2024 @ 9:26am 
unfortunately this api doesn't actually reimplement the heat mechanics yet, the code you're seeing is just for displaying the correct moodle level (to make them moddable we hide the real moodles and render fake ones that look the same) but the actual calculations of heat and the moodle's effects aren't covered yet

for your case, i think from looking briefly that it may be possible to just check the character's temperature every tick and clamp it to a certain range - the game will try to fight this, but since temperature changes are gradual, i don't think it will matter?
quinn 11 Jun, 2024 @ 10:38pm 
(realized I can't edit comments and also realized I missed something:) I'm thinking that the best way to implement these traits would be to remove the hypothermia/hyperthermia moodles and effects for that player, I found where this mod applies them but I'm not sure how/if I can edit them in an outside mod
quinn 11 Jun, 2024 @ 10:31pm 
hey, I'd like to make a mod for cold/heat immunity traits, would I be able to use this to pull that off? (I am very new to modding!)
albion  [author] 18 Mar, 2024 @ 2:58pm 
sorry for the delay, but the update has been released now! i hope it helps
Revion 8 Mar, 2024 @ 9:20pm 
Oh cool! Looking forward to the release then!
albion  [author] 8 Mar, 2024 @ 5:17pm 
think i found a solution, i only push updates to the workshop mon-thur so you'll have to wait until then
albion  [author] 8 Mar, 2024 @ 4:45pm 
yeah, looks like i hardcoded for 32x32, didn't consider mods might use other sized textures, i'll look into what can be done
Revion 8 Mar, 2024 @ 4:09pm 
So there's still a smidgeee of blur, so if you ever get a chance, it might be worth looking into scaling with weird resolutions! Plain Moodles uses 35x32 rather than 32x32. However it's very, very usable now that I've fixed that setting.
Revion 8 Mar, 2024 @ 4:05pm 
For sure! I wouldn't have been able to figure it out without your mods! Tyvm! Also figured out the issue. The texture compression setting was the culprit... :steamsalty:
albion  [author] 8 Mar, 2024 @ 3:58pm 
sure, i always wanted that feature! i'm glad someone other than me has actually used the api 😅
Revion 8 Mar, 2024 @ 3:32pm 
Alright, the issue persists with Plain Moodles, even with everything else turned off. Sorry to waste your time! Your mod is great! Do I have your permission to release a mod that uses your API? It's based off of your Big Moodles mod, but allows the user to pick their size.
Revion 8 Mar, 2024 @ 3:27pm 
Actually hold that thought, even with the scale set to 1.0, I still have the issue. I just have to squint to see it lmao. Let me try disabling every thing else. It might just be part of Plain Moodles.
Revion 8 Mar, 2024 @ 3:24pm 
Oh interesting! I think that might be the issue then! I unpacked Plain Moodles, and the colorbleed doesn't seem to be there in the base image.
albion  [author] 8 Mar, 2024 @ 2:57pm 
i have heard that custom textures can scale differently from vanilla textures actually! i'll look into it
Revion 8 Mar, 2024 @ 2:56pm 
Completely my mistake! I tested again using vanilla moodles and they scale up perfectly. I was testing out my mod on Plain Moodles, since I love the way they look, but they scale up somewhat poorly. Thank you for the quick response!
albion  [author] 8 Mar, 2024 @ 2:17pm 
weird, i intentionally wrote it to only scale to integer sizes - at 1080p i don't get any artefacts, i'm not able to test beyond that since i don't own a higher resolution monitor
Revion 8 Mar, 2024 @ 2:11pm 
For resizing moodles, is there a way to call nearest neighbor or integer-ratio scaler instead of whatever it uses by default? It feels like it makes things blurry at higher sizes, and has color bleed. I think changing the scaler might help?

Awesome API regardless, thank you for making this!
Technic235 2 Dec, 2023 @ 7:34am 
I'm having the same issue as Yggnar and no errors except when StatsAPI is enabled. It's probably because I also have Superb Survivors. I'll post a discussion with the log from console.txt.
albion  [author] 21 Nov, 2023 @ 8:01pm 
thanks for a detailed report, i'll be pushing a patch in a couple minutes
Adam 21 Nov, 2023 @ 5:52pm 
Did some testing in debug and found that if I go to sleep before midnight: 12:00am midnight on the dot my character's fatigue drain will freeze but will continue to sleep until morning, usually resulting in my character waking up absolutely exhausted.
Dexterity 16 Nov, 2023 @ 10:57am 
Works perfectly, thanks!
albion  [author] 13 Nov, 2023 @ 3:34pm 
identified the issue, a patch should be released in a few minutes addressing it
albion  [author] 13 Nov, 2023 @ 9:59am 
thanks for the report, i'll look into it
Dexterity 13 Nov, 2023 @ 1:24am 
Thanks for all your work you put into these amazing mods! I'm using StatsAPI with Big Moodles in a small MP server and there seems to be problems when playing with sleep needed. Almost every time when trying to go to sleep, your character wakes up after only a couple of seconds max. This makes it very difficult to get rid of fatigue and almost impossible to skip time by sleeping. I've been able to recreate this multiple times so please let me know if you need any more info. I'd really appreciate a fix for this problem so I can continue using your mod. Thanks!
albion  [author] 18 Oct, 2023 @ 1:16pm 
thanks for the report, i've added some code to make it not run on npcs - this might cause the npc mod to not work correctly depending on how it works, but it at least won't spam you with errors
albion  [author] 12 Oct, 2023 @ 6:51pm 
that wouldn't surprise me, it's a bit weird that npcs fire the stats calculations in the first place but it would cause issues with how my id system works
Yggnar 12 Oct, 2023 @ 6:28pm 
So, take this with a grain of salt because I run a VERY heavy mod list, but I think there may be conflicts between this mod and Superb Survivors? When running this mod the game throws hundreds of errors for me randomly, only when I go to certain areas. After a little testing, I think it happens when I'm in the same chunk as an NPC survivor. My best guess is that the mod is mistaking the NPC for a player and is trying to read something that isn't there? I dunno, I'm not a modder and barely know what I'm talking about. Someone with more knowledge should look into this if they've got time, or I could probably trigger the error again and paste the error log for you. Not sure if that'd be helpful or not.
albion  [author] 19 Sep, 2023 @ 10:35am 
panic was fixed last week, unless it's still been happening to you since then
귀챠니즘 18 Sep, 2023 @ 8:56pm 
Does today's patch will fix moodle bug? (panic bug mentioned before)
albion  [author] 16 Sep, 2023 @ 12:50am 
thanks for the report, i've found the solution but the fix won't be released until monday
Squirrel 12 Sep, 2023 @ 3:52pm 
Using this mod increases my character's inventory size. At 9 Strength I can carry 18, but with this mod installed (so I can use Big Moodles) my carry weight now jumps up to 25.
albion  [author] 8 Sep, 2023 @ 11:19am 
thanks, hopefully this patch will fix that
albion  [author] 8 Sep, 2023 @ 10:44am 
that's still a pretty helpful hint, i'll take another look
Laika 8 Sep, 2023 @ 9:21am 
I made sure I have the newest version of this mod, but sadly I still get the max panic bug every now and then. I tried to find a pattern but it seems to happen randomly. Only thing I can confirm is it doesn't start on it's own, the game needs to trigger the panic moodle first before the bug happens causing it to constantly rise.
iicycube 31 Aug, 2023 @ 9:02am 
Keep popping vanillamoodle when hitting zombie from this, but look like the game still run.
albion  [author] 26 Aug, 2023 @ 2:25pm 
thanks for the reports, both issues have been fixed in 0.4.5
kurupan 23 Aug, 2023 @ 5:27am 
I can't sleep in cars anymore too. please update the mod
steelgamercd147 14 Aug, 2023 @ 7:39am 
Error with spifu weel mod and I cant sleep in cars anymore
DurtyHose 9 Aug, 2023 @ 3:50pm 
The Big Moodles plugin is fire, great work. My only problem is for the bleeding moodle i get Moodle_Bleeding_Desc(Lvl1-4 depending on what level it is) instead of a the actual text description.
albion  [author] 9 Aug, 2023 @ 2:57pm 
thanks for the reports, both of these issues should be fixed in the latest patch