Monument Finder Bounds on Server RestartFixed

Copied over from Custom Vending Setup

DuckTales

You're correct, it appears to be Monument Finder that's causing the issue and then having knock-on effects. Let me do my best to explain and troubleshoot.

So originally we had a report of Monument Addons not aligning to monuments. We reloaded the plugins and thought nothing more of it.
We then got reports of custom vending machines not having the correct items. Reloading this also fixed it. At the time it hadn't clicked that because Finder hadn't got the correct coordinates so the vending machine weren't found.

I made a copy on my local server with just the following plugins loaded.

AdminMenu
CarVendor
CustomVendingSetup
ImageLibrary
MonumentAddons
MonumentFinder
SignArtist
Ubertool

I started the server and everything was aligned on the monument. I restarted the server and found Outpost unaligned again. Along with vending machine not displaying the correct item
https://imgur.com/a/OEp4FwA

Image 1 - Unaligned
Image 2 - /mf closest to show the bounding box
Image 3 - After reloading Monument Finder it correctly aligns.

The config section from MF for Outpost. No changes since before the update.
    "<size=36>Outpost</size>": {
      "Position": {
        "Auto determine from monument marker": false,
        "Auto determine from prevent building volume": true
      },
      "Rotation": {
        "Auto determine from monument marker": false,
        "Auto determine from prevent building volume": true
      },
      "Bounds": {
        "Auto determine from monument marker": false,
        "Auto determine from prevent building volume": false,
        "Use custom bounds": true,
        "Custom bounds": {
          "Size": {
            "x": 200.0,
            "y": 50.0,
            "z": 200.0
          },
          "Center adjustment": {
            "x": 0.0,
            "y": 12.0,
            "z": 0.0
          }
        }
      }
    },​

Appreciate this is probably a Monument Finder thing now. If you want me to remake this post over there let me know.
Also if i can provide any more information let me know.

Many Thanks
NKXTQs24ExGTuL8.jpg WhiteThunder

Yes, please make this post in Monument Finder for tracking purposes.

Most likely, this is related to usage of the prevent building volume. My guess is that there are multiple, and MF is finding the wrong one. One possible reason would be the addons themselves, since deployables often have prevent building volumes on them. For instance, the "unaligned" box might be from the monument volume, and the "aligned" one is from an addon, which would explain why the bounds are aligned only when you reload MF after some time, since that's when the addons are present. As a test, you can try unloading MA, then reload MF to see if that changes where it sees the monument.

Hey WhiteThunder.
Per your last message on the other thread. I loaded up my local server with Monument Addons unloaded, and Monument Finder showed the same alignment issue. But once reloaded, it snapped back into place as per the config.

I loaded up RustEdit to check the map to see if another volume existed. There is nothing I can visually see.
My process when changing Outpost on a proc gen map is to align my edited version with the existing one and then delete the existing outpost.

Let me know if i can provide any more information or do some troubleshooting.
Many Thanks

Would you be able to send me the map? I can try to reproduce the issue, then troubleshoot from there.

Merged post

Thanks for helping troubleshoot this over Discord. The issue was that the monument marker was placed on a prefab that had a prevent-building collider, so the plugin would sometimes pick that collider instead of the one placed by the mapper. I just released v3.1.1 which now ignores all prevent-building colliders except the modder prefab ones.

Locked automatically