Project Zomboid

Project Zomboid

Meditation
This topic has been locked
Klepern 11 Jul, 2024 @ 12:51pm
[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
Last edited by Klepern; 12 Jul, 2024 @ 10:25am
< >
Showing 1-2 of 2 comments
Klepern 11 Jul, 2024 @ 12:52pm 
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  [developer] 27 Aug, 2024 @ 3:46pm 
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.
< >
Showing 1-2 of 2 comments
Per page: 1530 50