Project Zomboid

Project Zomboid

Fitness & Workout Overhaul
Codename280  [开发者] 2023 年 3 月 3 日 上午 2:46
Bugs & issues
please be accurate in your description
最后由 Codename280 编辑于; 2023 年 3 月 3 日 上午 2:48
< >
正在显示第 1 - 15 条,共 90 条留言
please remove or comment all `print` function in ur mod :roflanCry:
Codename280  [开发者] 2023 年 3 月 4 日 下午 12:30 
oh didn't realize they showed. will fix asap
nairbly 2023 年 3 月 4 日 下午 11:15 
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  [开发者] 2023 年 3 月 5 日 上午 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'.
最后由 Squid Extermination Specialist 编辑于; 2023 年 3 月 6 日 下午 10:46
Codename280  [开发者] 2023 年 3 月 7 日 上午 12: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 ...
最后由 Codename280 编辑于; 2023 年 3 月 7 日 上午 12: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!
[cc'] Dormin 2023 年 3 月 7 日 下午 8:23 
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  [开发者] 2023 年 3 月 8 日 上午 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  [开发者] 2023 年 3 月 9 日 下午 12:14 
added a work-around. let me know if its still an issue.
Airplane Mode 2023 年 3 月 12 日 下午 2:34 
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  [开发者] 2023 年 3 月 12 日 下午 3: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.
Korvinagor 2023 年 3 月 12 日 下午 7:10 
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 2023 年 3 月 12 日 下午 8:23 
引用自 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  [开发者] 2023 年 3 月 13 日 上午 5:21 
引用自 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.
引用自 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 条,共 90 条留言
每页显示数: 1530 50