Project Zomboid

Project Zomboid

Stat Tweaks Lib
22 条留言
TheLastHeroAlive 10 月 4 日 下午 8:10 
thanks for the reply. Cheers.
Dr. Lalaoz  [作者] 10 月 4 日 下午 7:36 
no this isnt required for b41. Having it enabled should do nothing in that version. This mod was part of Even More Traits before i split it into its own library mod for anyone else to use.
being able to add percentage modifiers is something zomboid just doesnt have, and the method i used to accomplish it would get laggy if a bunch of mods are doing the same thing. so its easier if one mod handles it all. hence; the library mod.

at least that was the idea anyway, in practice it looks like not a lot of people actually looked at it. still. its here.
TheLastHeroAlive 10 月 4 日 下午 6:52 
Required item for trait mod but list as build 42 ? so is this required for b41 ?
Ryu 9 月 18 日 上午 3:08 
It's probably cigarret stress as characters I make without the smoker trait don't hasve this issue.
Dr. Lalaoz  [作者] 8 月 25 日 上午 8:59 
can you tell if its the regular stress or the cigarette stress? cause those are two separate values in the code.
And how consistent is it?

if its normal stress then its probably you gaining stress from a TV or anything that gives the (^ Stress) icon, which has a bug where every time you gain stress that way, it adds the smoker stress to your current stress again. so if you had 0 stress and 25 smoker stress, then gain 10 stress. you'd end up with 35 stress and 25 smoker stress. Its a bug you have to account for whenever you modify the stress value in any mod.

if its consistent and regular stress, then i might need to go adjust the formula to account for whatever fix they tried to do in b42.
if its CigStress then i'll have to go debug it.
Ryu 8 月 24 日 下午 4:52 
Can confirm smoker goes to max anxiety after a few minutes of playing
Manam Deaf 7 月 12 日 上午 1:07 
rate 4/10
AI WitchHunt 2069 6 月 16 日 下午 3:26 
The smoker stress spikes at a certain point to max stress.:steamsad: Fix my precious smoker please!
空白回想 5 月 19 日 上午 6:18 
Now there is a bug that will cause smokers' stress to rise to 100 quickly.
Dr. Lalaoz  [作者] 2 月 4 日 下午 2:26 
@Clem if you don't know where to put that line of code then you should read the modders guide on the pzwiki. that line is a line of lua code that goes in a script in media\lua\client and if you don't know how to write a script you bascially can't do anything with this mod.
Clem 2 月 3 日 下午 2:43 
I will try this mod,but will be easy if you can put for dummies like me jajaja.For example,I dont know how to put this StatsLib.HungerLossModifiers.SomeOtherStatIdentifier = 0.5,in which part have to put it.
Jebus oTO 2 月 1 日 下午 12:33 
Thanks, @Dr. Lalaoz! I'll check it out right away.
Kyrox 2 月 1 日 上午 8:44 
Appreciate you looking into it! You're the man! Thank you
Dr. Lalaoz  [作者] 2 月 1 日 上午 7:04 
Fixed the MoodleFR incompatibility. StatTweaks defined PerformanceSettings as the getPerformance() function so it could get the current framerate for scaling the gradual stat changes. but that caused MoodleFR to be unable to call its PerformanceSettings.getLockFPS() call because the value was changed.
This means that global values within mods (even "local" ones) can be changed by other mods, accidentally or otherwise. which is what happened here.
Kyrox 1 月 30 日 上午 10:05 
I am getting thousands of errors with Moodle Framework.

function: updateOscilatorXOffset -- file: MF_ISMoodle.lua line # 221 | MOD: MoodleFramework
function: render -- file: MF_ISMoodle.lua line # 241 | MOD: MoodleFramework.
[30-01-25 11:04:33.000] ERROR: General f:2497, t:1738260273000> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: Object tried to call nil in updateOscilatorXOffset at KahluaUtil.fail(KahluaUtil.java:82).
RuralMoss 1 月 29 日 上午 2:22 
I am getting the Moodle Framework error as well and shortlisted it to this mod
Jebus oTO 1 月 27 日 下午 3:28 
I tested it again with only this mod, and not EMT. The errors persisted, so it's only the framework that's incompatible.

Hope you manage to figure out what's going on! I appreciate the work you're doing on this.
Looking forward to being able to use EMT!
1 月 27 日 下午 1:58 
@Dr. Lalaoz I'm experiencing the same issue, this is interfering with several mods I'm using that use Moodle Framework, they all work again when I disable this.
Dr. Lalaoz  [作者] 1 月 27 日 下午 1:33 
Oh wow, i didnt realise moodle FR had updated to b42.
i'll have to do some testing and figure out whats going on. which i can't do until tomorrow
are you sure its the library mod and not EMT?
Jebus oTO 1 月 27 日 下午 12:19 
Hi, I can confirm this mod causes Moodle Framework to cease working (the Sixth Sense moodle doesnt work and generates errors, for instance).
Moodle framework has been updated to B42: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3396446795

I used this version of framework specifically made for B42.
Dr. Lalaoz  [作者] 1 月 27 日 上午 7:03 
this is for B42. you don't need it for B41.
Moodle Framework isnt updated to B42 but if its enabled then Even More Traits will call it even if its gonna break.
LumberingTroll 1 月 26 日 下午 9:10 
When I activate this it causes the Moodle Framework to throw errors, no clue why, only way I could make it stop was to deactivate this.