Project Zomboid

Project Zomboid

Fitness & Workout Overhaul
Codename280  [developer] 3 Mar, 2023 @ 2:46am
Bugs & issues
please be accurate in your description
Last edited by Codename280; 3 Mar, 2023 @ 2:48am
< >
Showing 1-15 of 90 comments
please remove or comment all `print` function in ur mod :roflanCry:
Codename280  [developer] 4 Mar, 2023 @ 12:30pm 
oh didn't realize they showed. will fix asap
nairbly 4 Mar, 2023 @ 11:15pm 
got a bug fix and a couple of suggestions.

if you remove the return in the loop the unequips bags it will actually loop properly and start the exercise after unequipping instead of requiring you to reselect the action until all bags are off.

as for the suggestions I'd add dropping the bags to the loop that unequips them so the action is more in line with other exercise actions
ISTimedActionQueue.add(ISDropItemAction:new(player, item, 50));
will do this.

and because people will ask I'd suggest adding a toggle for the option to not drop the bags to the sandbox settings.
Codename280  [developer] 5 Mar, 2023 @ 5:35am 
Good input, thank you. code adapted and updated.
Noticing that randomly, when initiating workout on treadmill; it will not play the animation and not cancel the treadmill workout when reaching 0 endurance. Workout continues infinitely and doesn't fatigue you or cancel itself. Can let the treadmill run forever.

Can't seem to find a specific reproduction, just seems to 'happen'.
Last edited by Squid Extermination Specialist; 6 Mar, 2023 @ 10:46pm
Codename280  [developer] 7 Mar, 2023 @ 12:16am 
Ah I've actually seen this as well but only in situations that should not occur in normal game-play.
I know the animations have issues, when you cancel the treadmill and re-activate it without moving 1 step. (who does this right)
and I've seen it loop forever but only because i manually was increasing the endurance/was in god mode. So while not optimal, that seems like a none issue ? Can you confirm, or are there other situations ...
Last edited by Codename280; 7 Mar, 2023 @ 12:17am
I'm curious, could it at all have to do with the Hardy trait from More Traits? Causing an issue that way?

The two incidents *were* on a mod account I play on but I did not have god mode or infinite endurance enabled in either case.

I'll try a few more steps to re-create to see if it at all occurs in any other instances or on a completely non-admin account for sanity's sake to give you a clearer bug report!
[cc'] Dormin 7 Mar, 2023 @ 8:23pm 
Can confirm I also have this issue. Can repeat the issue by sitting on the ground after the animation adjusts you onto it, then starting to run again. Sometimes occurs randomly otherwise.
Codename280  [developer] 8 Mar, 2023 @ 4:14am 
Okey shouldn't happen. But who does this though xD
Its something with pausing/starting from that exact position.(on/infront of)
I'll have to dig into it.. feel free to share your findings.
Haven't seen it happen randomly myself.
Codename280  [developer] 9 Mar, 2023 @ 12:14pm 
added a work-around. let me know if its still an issue.
Airplane Mode 12 Mar, 2023 @ 2:34pm 
Hallo. To give more info, I play in coop with my partner with approx 112 mods. When I add in the FWO, in the coop console, it says that it needsupdate for a few lines before failing, taking me back to the host screen with a message that says NominalTermination. If you want/ need, I can share a pastebin of the coop console?
Codename280  [developer] 12 Mar, 2023 @ 3:09pm 
hmmm peculiar. I have it running on a 100 mod (dedicated)server as well no issues...
load it up in solo once ? try with a new server host ? try mod loaded ?
wish i could help more.. also try unsubbing. wait a bit, resubscribe. should reset things.
Korvinagor 12 Mar, 2023 @ 7:10pm 
Hullo, and thank you for the mod! Currently, while the "keep Bags equipped" option is toggled on (FWO Treadmill & Bench-Press), a character who exercises will still unequip their bag when beginning their exercise. If it's anything, I only have the working treadmill/bench-press mod enabled, unsure if both need to be to make it work.
Airplane Mode 12 Mar, 2023 @ 8:23pm 
Originally posted by Codename280:
hmmm peculiar. I have it running on a 100 mod (dedicated)server as well no issues...
load it up in solo once ? try with a new server host ? try mod loaded ?
wish i could help more.. also try unsubbing. wait a bit, resubscribe. should reset things.
Loads into solo no problem. I did unsub and wait and resub, and I'm hosting our coop myself. I'll keep trying though :)
Codename280  [developer] 13 Mar, 2023 @ 5:21am 
Originally posted by Korvinagor:
Hullo, and thank you for the mod! Currently, while the "keep Bags equipped" option is toggled on (FWO Treadmill & Bench-Press), a character who exercises will still unequip their bag when beginning their exercise. If it's anything, I only have the working treadmill/bench-press mod enabled, unsure if both need to be to make it work.
Originally posted by Aeychpg:
Loads into solo no problem. I did unsub and wait and resub, and I'm hosting our coop myself. I'll keep trying though :)

Both modules can work 100% independent.

Just tested on a locally hosted sever and dont know what to tell you, everything works (keep Bags equipped toggled on)


check server sandboxvars.lua setting
FWOWorkingTreadmill = { -- Minimum=0,00 Maximum=100,00 Default=1,00 StrengthXPMultiply = 1.0, -- Minimum=0,00 Maximum=100,00 Default=1,00 SprintingXPMultiply = 1.0, TreadmillDropBags = false, BenchpressDropBags = false, BenchTreadKeepBagsOn = true, }, FWOFitness = { InitialPerkBonus = true, currentExerciseRegularityBonus = true, -- Minimum=0 Maximum=100 Default=15 currentExerciseOffset = 15, -- Minimum=0,01 Maximum=100,00 Default=12,00 currentExerciseRate = 12.0, -- Minimum=0,00 Maximum=100,00 Default=6,00 AverageExerciseRegularityBonus = 6.0, -- Minimum=0,00 Maximum=100,00 Default=0,30 LevelBonus = 0.3, SpaceOutExercise = true, RestedBonus = true, -- Minimum=0,01 Maximum=100,00 Default=1,00 XPMultiplier = 1.0, KeepBagsOn = true, },
< >
Showing 1-15 of 90 comments
Per page: 1530 50