Project Zomboid

Project Zomboid

Meditation
此主题已被锁定
Klepern 2024 年 7 月 11 日 下午 12:51
[RESOLVED] Settings not being saved after server restart
The meditation mod is not reading the settings I put in .lua, nor in sandbox settings as an admin.
It works fine after setting it in sandbox settings, but after server restart, it goes back to default all off, then the meditation is not working anymore (I can click the meditate option, the character does the meditate animation, it just does not give the regenerations).
And this shows in the console, non stop as long as a player is meditating

LOG : General , 1720727315773> 3,350,549,023> receiveObjectModData: index=-1 is invalid x,y,z=12019,2599,0 LOG : General , 1720727318270> 3,350,551,521> receiveObjectModData: index=-1 is invalid x,y,z=12019,2599,0 LOG : General , 1720727320684> 3,350,553,935> receiveObjectModData: index=-1 is invalid x,y,z=12019,2599,0 LOG : General , 1720727323225> 3,350,556,476> receiveObjectModData: index=-1 is invalid x,y,z=12019,2599,0 LOG : General , 1720727325728> 3,350,558,979> receiveObjectModData: index=-1 is invalid x,y,z=12019,2599,0

I hope there is a fix to this

Edit:
I just need to delete the
map_sand.bin
on our dedicated server using FTPbefore adjusting the sandbox settings as an admin, so after the server restart, the server will create a new map_sand.bin file containing the latest settings
最后由 Klepern 编辑于; 2024 年 7 月 12 日 上午 10:25
< >
正在显示第 1 - 2 条,共 2 条留言
Klepern 2024 年 7 月 11 日 下午 12:52 
this is what is written in my .lua
Meditation = { everyoneDoesYoga = false, animationOffByDefault = false, trainForTheTrait = true, mustReadBeforePractice = true, oneWithTheForce = false, serenityTakesPractice = false, meditativeResting = true, dedication = true, painlessRecovery = true, healingRequiresFocus = false, -- Minimum=0 Maximum=1000000 Default=300 trainingRequiredForTrait = 60, -- Minimum=0.00 Maximum=1.00 Default=0.05 fearRecovery = 0.05, -- Minimum=0.00 Maximum=100.00 Default=5.00 panicRecovery = 0.05, -- Minimum=0.00 Maximum=1.00 Default=0.05 angerRecovery = 0.05, -- Minimum=0.00 Maximum=1.00 Default=0.05 stressRecovery = 0.05, -- Minimum=0.00 Maximum=1.00 Default=0.00 fatigueRecovery = 0.05, -- Minimum=0.00 Maximum=1.00 Default=0.00 hungerRecovery = 0.01, -- Minimum=0.00 Maximum=1.00 Default=0.00 thirstRecovery = 0.01, -- Minimum=0.00 Maximum=100.00 Default=2.00 boredomRecovery = 0.05, -- Minimum=0.00 Maximum=100.00 Default=2.00 happinessRecovery = 0.05, -- Minimum=10 Maximum=1000000 Default=500 recoveryFrequency = 500, -- Minimum=0.00 Maximum=10.00 Default=1.00 literatureFrequencyMultiplier = 0.01, },
Burryaga  [开发者] 2024 年 8 月 27 日 下午 3:46 
As far as I know, this error is a fairly low-impact side-effect of Udderly Up-to-Date. I'll leave this discussion here for others who need to know.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50