HunterZ / rustmods

Mods for the PC game Rust
MIT License
0 stars 0 forks source link

PBPZ & DPVP: Investigate accumulation of defunct/orphaned TruePVE mappings #16

Open HunterZ opened 1 month ago

HunterZ commented 1 month ago

sickness0666 pointed out that my PVP zone managing plugins don't seem to always clean up all of their exclusion mappings, leading to an accumulation of defunct ones in TruePVE's config file.

Need to figure out why this is happening. Best guess is some kind of race condition between my plugins unloading versus Zone Manager and/or TruePVE. It may be worth trying to track my own view of zones + mappings in a data file on unload and then make one more attempt to remove them on next load.

Another thing that might help would be to talk nivex into adding TruePVE API for getting the current mappings list, so that we can discover defunct mappings like we do for defunct zones via Zone Manager API.