Project Zomboid

Project Zomboid

[B41/B42] Hephas Vitamins
64 kommentarer
꧋ꦙSigismundꦙ꧋ 11. juli kl. 13:28 
I had two moodle frameworks enabled , Issue went away when I disabled the one , I guess it was for b42
Hephaistos  [ophavsmand] 11. juli kl. 13:21 
Which mod was that? I would like to take a look at it.
꧋ꦙSigismundꦙ꧋ 11. juli kl. 13:14 
Thanks , I found one mod causing issues for some reason. Reloaded and its stable now
Hephaistos  [ophavsmand] 11. juli kl. 5:57 
@Sigismund
Just tested it in B41 (both SP and MP) and everything works exactly as intended.
The default stress change in B41 is 0, so it has no impact on any other mood effects - only stress.

It’s likely another mod that’s causing some strange behavior.
Hephaistos  [ophavsmand] 6. juli kl. 9:51 
I will take a look at it and see if I can reproduce it on my end.
꧋ꦙSigismundꦙ꧋ 6. juli kl. 9:43 
Nothing comes up . I tried both a spawner , Spawning new units and using an old handful of pills from a hospital with the same effect , Will reinstall and try again
Hephaistos  [ophavsmand] 6. juli kl. 9:38 
Okay, any errors on loading into the world?
꧋ꦙSigismundꦙ꧋ 6. juli kl. 9:37 
No changes made , mod loaded and used directly
Hephaistos  [ophavsmand] 6. juli kl. 9:36 
@Sigismund
I mean the hephas vitamin sandbox settings for stress change, that you can configure.
꧋ꦙSigismundꦙ꧋ 6. juli kl. 9:33 
Survival
Hephaistos  [ophavsmand] 6. juli kl. 9:32 
@Sigismund
And what sandbox settings did you used for the stress change?
꧋ꦙSigismundꦙ꧋ 6. juli kl. 8:50 
No I am sure , I noticed before the pills would revert to -2 when in the inventory on load with standard effects yet it had the messages , Now - it stays -10 on load but even with a new batch spawned it only caused fear.
Hephaistos  [ophavsmand] 6. juli kl. 8:40 
@Sigismund
are you sure that you arent using any other mod that is changing the vitamin pills behaviour? Because as I tested it before the update, everything worked as intended in B41.

Also double check the sandbox settings, if you configured it incorrectly, it can cause too much stress gain.
꧋ꦙSigismundꦙ꧋ 6. juli kl. 1:43 
With your recent update it just causes Fear ( B41 )
Hephaistos  [ophavsmand] 26. juni kl. 7:28 
@fentanyl
That's strange, try to load my mod at the bottom and double check thay you are not using any other mod that is overwriting the vitamins.

Also are there any errors in the logs? Default delta usage is 0.5, means 2 uses on each pill bottle.
fentanyl 酚太尼枸 26. juni kl. 6:20 
B42 SP, B41 MP* my bad, but yes it seemed to occur both times. I have left everything on default and I assume the default isnt 1 for delta usage, cause I use the pills and I can see theres lots of uses left, but sometimes it disappears after I take a pill. I have not changed anything in the sandbox. Maybe its conflicting with some other mod but I have not used it at the same time as Better Vitamins
Hephaistos  [ophavsmand] 26. juni kl. 2:13 
@fentanyl
Did you check your delta usage sandbox options? Last time I checked, everything worked fine on B42 SP as for MP, B42 doesn't have supported MP yet.

Do you mean B41?
fentanyl 酚太尼枸 25. juni kl. 14:42 
Im playing on build 42, I have a bug both on singleplayer and on a server with friends, where Vitamins simply despawn/disappear randomly after popping a pill, sometimes after 2-3 pills.
Hephaistos  [ophavsmand] 15. juni kl. 9:20 
@all
A fix just went live! Your vitamin stats should now persist through every game reload and it should also restore the reverted vanilla vitamin values in your existing saves.
Hephaistos  [ophavsmand] 15. juni kl. 6:40 
@neko & @sunny
Thanks for reporting guys! I probably have a solution for that, will take a look at it once I am home.
sunnyZunie 15. juni kl. 0:50 
Game threw an error yet all intended gameplay functions still work (except for the save reload bug I mentioned below). No other errors from my other 80+ mods accompany this.

ERROR: General , 1749971480653> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor13.invoke.
ERROR: General , 1749971480653> DebugLogStream.printException> Stack trace:
java.lang.reflect.InvocationTargetException

Caused by: java.security.InvalidParameterException: Error: StressChange = 0.15 is not a valid parameter in item: PillsVitamins
at zombie.scripting.objects.Item.DoParam(Item.java:3215)Caused by: java.security.InvalidParameterException: Error: StressChange = 0.15 is not a valid parameter in item: PillsVitamins
at zombie.scripting.objects.Item.DoParam(Item.java:3215)
sunnyZunie 15. juni kl. 0:41 
Neko's right, happened to me as well.

Strangely enough, even after loading a save and taking vitamins with reverted vanilla effects (-2 fatigue), the customized effect on stress change still persists. For example in my case I set fatigue change to -15 and stress change to 15. Upon creating a new save these settings work as intended, but upon reloading the same save, fatigue change reverts to -2 yet stress change remains the same.
NEKO 14. juni kl. 23:53 
After reloading the save, previously obtained vitamins reverted to vanilla effects
Hephaistos  [ophavsmand] 14. juni kl. 3:34 
@all
The update is live! You should now be able to add and tweak the amount of stress gained when taking pills in B41 via sandbox option. See change notes for more info.

As always, your feedback is greatly appreciated!
Hephaistos  [ophavsmand] 14. juni kl. 3:12 
Hej @sunnyZunie,

I just checked the LTF and it doesn't affect the sandbox options at all, the mod only modifies loot tables, nothing else. After testing it in-game, all sandbox options work as intended, except for Stress Change.

As for that: it looks like vitamins in B41 didn’t have any stress-related parameters to begin with.
I’ve written a small function that adds stress based on the sandbox settings. An update will be live in a couple of minutes.
Hephaistos  [ophavsmand] 14. juni kl. 2:21 
Hej @sunnyZunie,
thanks for reporting, I will take a look at it.
sunnyZunie 14. juni kl. 0:50 
Playing on Build 41 btw
sunnyZunie 14. juni kl. 0:45 
I can confirm that this mod is incompatible with Loot Tables Fixed [41.78]. Even placing this mod at the bottom of the mod load order, LTF still reverts your vitamin sandbox settings to vanilla.

Also, after testing this mod on debug mode it looks like taking vitamins do not add any stress as claimed. I made sure to turn off god mode and turned off all other mods. Only fatigue/tiredness gets reduced as expected.
Hephaistos  [ophavsmand] 13. juni kl. 11:07 
@yO
Hmm not really, it worked flawlessly when I tested it with a couple friends. Do you have any errors when booting up the server? I can't really help without logs
yO 12. juni kl. 16:29 
any idea why on dedicated server after installing this mod my friend has it right, with multiple uses, and for me i consume it one go?
Hephaistos  [ophavsmand] 12. juni kl. 13:19 
@funyman
The stress change tweak came to B41 with the last update, I forgot to write it in the change notes.
funyman. 12. juni kl. 13:13 
you probably could make it so the stress increasing works on build 41
Hector0n 12. juni kl. 11:07 
aww i thought this was a mod that gave ya hepatitis, anyway you still get a thumbs up and 3 big booms
Teacher Doug 12. juni kl. 6:12 
You rock Hephas. Loving all your mods so far!
. 12. juni kl. 5:52 
PILLS HERE
Kenpa 11. juni kl. 23:09 
Top-Tier Mod Author
Arlocke 11. juni kl. 18:44 
This is EXACTLY the mod I was looking for like 5 days ago!!! Crazy timing! Thank you for this!
mentally decreased 11. juni kl. 12:24 
cool!:smile::smile:
Hephaistos  [ophavsmand] 11. juni kl. 12:23 
Hej @all,
Polish and Spanish translations are now live!
Thanks to pimastudio & ix4yJust
mentally decreased 11. juni kl. 10:16 
okay, thanks
Hephaistos  [ophavsmand] 11. juni kl. 8:54 
@mentally
The Polish translation will come with the next update in a couple of hours probably
mentally decreased 11. juni kl. 3:52 
could you make polish translation plz🙏🙏
Hephaistos  [ophavsmand] 10. juni kl. 14:10 
@asuragod
Not at the moment. B42 renamed them to caffeine pills, so adding that would be a bit out of scope. However, I might release an add-on with my own herbal tea that helps with those kinds of conditions.
asuragod93 10. juni kl. 13:03 
Some way that vitamins help fight and cure the cold rather than the purpose of healing hp?
Hephaistos  [ophavsmand] 10. juni kl. 8:24 
@POPO
What do you mean?

Hey @fangerz,
Glad you found my mod! The healing isn’t for specific wounds, it simply adds a certain amount of HP to the player’s overall health pool.

It’s news to me that painkillers would negate the queasy effect. That might be coming from another mod rather than vanilla.
POPO 10. juni kl. 5:01 
add for gaming?
fangerz 9. juni kl. 18:40 
I also was wondering if this could have similar effects such as the painkillers, where effects like queasy are temporarily subsided.
fangerz 9. juni kl. 18:33 
I've not installed it yet, but I was planning to use this mod in one of my future playthroughs at some point.

the only question that I have is when it says "healing", does it mean that WOUNDS heal faster or will it heal only your actual player health faster, similar to how "Full to Bursting" heals you faster?
Hephaistos  [ophavsmand] 9. juni kl. 11:49 
@elrychmenard
Thanks! Hope you have fun with my mods!
elrychmenard 9. juni kl. 6:45 
just found some of your mods, im in a pretty good solo run for now, but i intend to try out a bunch of them next playthrough :D