Bandit/Outpost auto generate location issueSolved

Some map has bandit too close to cliff etc, and when the plugin has "Auto Generate Bandit Location" enabled, it generate location in bugged area like inside cliff & inside terrain, many of the players got kicked due to this. And also, server restart will regenerate these locations.

I can disable the option and set my own location coordinates but I need to set it manually on every wipe.

Can we have a look into this and maybe have a new config to take server wipe into consideration?

hi, tell me a procgen map size/seed with this issue and I will fix it.

hi, I'm not seeing an issue. where is the bad position?
you can see them with /bandit show

aV16PH1Jkvp7mjS.jpeg

It generate a location under those cliff to the right (not inside cliff, but under), and players who tp to bandit get kicked due to InsideTerrain violation. I remember it was the last location in the `locations` array generated by the plugin.

I've regenerated the spawn locations 5 times and I'm not seeing any spawn points under a cliff or inside terrain.

use the /bandit show command

I will test and share result here once the server pop is low

ok thanks. if you can provide the coordinates from the config file, too. the whole config with this bad position would be ideal.

nivex

ok thanks. if you can provide the coordinates from the config file, too. the whole config with this bad position would be ideal.

Sorry nevermind, turns out it was caused by weird bug where recycler spawned under the map and NTeleportation generated a spawn location next to it. Not sure what caused the recycler to spawn though but I can confirm its not caused by this plugin.

Although I'm not sure if that bugged recycler will spawn again, maybe you can add check to not generate location if recycler is under the map?

ok appreciate you letting me know.

yes, I will add a check to block that. thank you

Hello @nivex, hope youre well :)

Any news on when the fix will be live? The issue happened again today, I still couldn't fix the recycler spawning under the map, though I suspect its because of this plugin: https://codefling.com/plugins/unsafe-recycler because the bug only started happening since I installed this, but I need the plugin so I can't remove it. I'm also using https://umod.org/plugins/monument-addons but I didn't enable any modification on Bandit Camp. I was suspecting something weird was happening between these 2 plugins in term of recycler spawning?

heya, you can use the fix now if you want. save as NTeleportation.cs https://pastebin.com/u4Tieeug
you will need to update again on Thursday.

Unsafe recycler shouldn't be causing it
if Monument Addons plugin is causing it then you can enable SnapToTerrain and it will not spawn under the map anymore, but on top of the terrain instead
otherwise something else is spawning it there

thank you so much bro @nivex!

I will go ahead and try it and see if the issue still happen with underground recycler. let you know soon 🙏

no problem

Locked automatically