Not protecting all foundationsSolved
In response to ():You will have to provide a video and in-depth instructions on how to recreate the bug.
Auto Decay and Cupboard Limiter were installed
tried to remove them - does not help
Merged post
once again left all the plugins - checked CABINETS PROTECTION - all as on video
Only I have such a problem?
Hey,
For some reason I cannot get the plugin to protect the TC foundation.
TC is protected fine.
Config set to true (default)
Tried a full oxide unload and only loaded CupboardProtection.
Tried a clean install of CupboardProtection to no avail.
Any ideas ??
The plugin is VERY inconsistent in which foundations it protects and seems broken.
The concept is awesome and is really what I would like on my servers but in its current state, it is useless.
did reinstall (removed all, datafile and configfile and .cs)
change config to false then back to true (reloading plugin each time )
but no luck
in seting the mask
private readonly int Mask = LayerMask.GetMask("Construction");i changed it to
private readonly int Mask = LayerMask.GetMask("Construction", "Default", "Deployed", "Resource", "Terrain", "Water", "World");and in
private BuildingBlock GetFoundationi set the RaycastAll distance from 2f to 6f . it seems it did not hit all the hitboxes from different material grades
private BuildingBlock GetFoundation(BuildingPrivlidge Priv) => Physics.RaycastAll(Priv.transform.position, Vector3.down, 6f, Mask, QueryTriggerInteraction.Ignore).Select(Hit => Hit.GetEntity() as BuildingBlock).FirstOrDefault(E => E);
now it works for me saving all tipes of foundations under TC
hope this helps some of you
Merged post
Okay, so I was mistaken. It appeared that this resolved my issue I am experiencing the same inconcistencies as many other posters. :(
NooBlet
i seem to found the issue . i think......
in seting the maskprivate readonly int Mask = LayerMask.GetMask("Construction");i changed it to
private readonly int Mask = LayerMask.GetMask("Construction", "Default", "Deployed", "Resource", "Terrain", "Water", "World");and in
private BuildingBlock GetFoundationi set the RaycastAll distance from 2f to 6f . it seems it did not hit all the hitboxes from different material grades
private BuildingBlock GetFoundation(BuildingPrivlidge Priv) => Physics.RaycastAll(Priv.transform.position, Vector3.down, 6f, Mask, QueryTriggerInteraction.Ignore).Select(Hit => Hit.GetEntity() as BuildingBlock).FirstOrDefault(E => E);now it works for me saving all tipes of foundations under TC
hope this helps some of you
Tried the above and didn't solve the issue, not sure if anything has changed since then. Cupboard is protected but the foundation is not.
KeithStone
Tried the above and didn't solve the issue, not sure if anything has changed since then. Cupboard is protected but the foundation is not.
Yes there has been changes to rust since that fix worked ... now it works sometimes . not allways ... havent looked into it in months as im not using it anymore as we community now......
- 1
- 2