Project Zomboid

Project Zomboid

Fitness & Workout Overhaul
Codename280  [ontwikkelaar] 3 mrt 2023 om 2:46
Bugs & issues
please be accurate in your description
Laatst bewerkt door Codename280; 3 mrt 2023 om 2:48
< >
1-15 van 90 reacties weergegeven
please remove or comment all `print` function in ur mod :roflanCry:
Codename280  [ontwikkelaar] 4 mrt 2023 om 12:30 
oh didn't realize they showed. will fix asap
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  [ontwikkelaar] 5 mrt 2023 om 5:35 
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'.
Laatst bewerkt door Squid Extermination Specialist; 6 mrt 2023 om 22:46
Codename280  [ontwikkelaar] 7 mrt 2023 om 0:16 
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 ...
Laatst bewerkt door Codename280; 7 mrt 2023 om 0:17
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!
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  [ontwikkelaar] 8 mrt 2023 om 4:14 
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  [ontwikkelaar] 9 mrt 2023 om 12:14 
added a work-around. let me know if its still an issue.
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  [ontwikkelaar] 12 mrt 2023 om 15:09 
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.
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.
Origineel geplaatst door 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  [ontwikkelaar] 13 mrt 2023 om 5:21 
Origineel geplaatst door 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.
Origineel geplaatst door 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, },
< >
1-15 van 90 reacties weergegeven
Per pagina: 1530 50