Data not being wiped on new saveBug
hey, every wipe, the old locations will stay.
can u make a config that wipes the locations and set them new on detected mapchange?
thanks a lot!
this is an option in the config already :p
if you reload oxide after wipe new locations will be set
which one? 
"Wipe On Upgrade Or Change" ?
yep thats it

Merged post

if you want Outpost and Bandit camp to update their locations on wipe, then you must also enable:

Auto Generate Outpost Location
Auto Generate Bandit Location
It still keeps old locations unless you reload plugin or reload oxide after seed change.
i don't know. you'll have to ask in umod support. i just don't know why in the hell the OnNewSave hook is so unreliable

either way, ill add my own detection for a wipe. ><
yeah still not working.... thank you nivex
I haven't submitted the update yet, busy :p
nivex
i don't know. you'll have to ask in umod support. i just don't know why in the hell the OnNewSave hook is so unreliable

either way, ill add my own detection for a wipe. ><

The OnNewSave hook is called each time the .sav file is created, I don't see any issue there. So if the server was started BEFORE installing Oxide AFTER a wipe, the hook will not be called as the .sav file will already exist. The .sav file has to physically not exist when Oxide is installed and the plugin using OnNewSave is loaded for it to be called.

we've had issues with it not working when oxide is always installed. changing the seed only causes it to happen from what i remember
Looks like some new code was added for handling of a TestSaves folder, so that is likely why:


I'll see about adjusting it.
ty wulf
alright thanks, not sure when i can test though