Possible Multiple TC Issue

I have a group of players having trouble with repairing an elaborate build. They have 6 overlapping TCs. Last month they had 3 and we were clear of issues so I'm not sure what's up here.

It appears the use of Base Repair is limiting them to deployables only. I've asked them to smack all their tcs just to see if that would trigger it per part of their base, but it looks like that didn't work for them either. Is it possible we have too many TCs overlapping here?

Thanks for the report. It looks like there was some room for improvements in the building detection. I have released an update to version 1.0.21. This will prioritize using the building that was hit over the primary building privlidge. This should solve the issues the players were seeing.

Awesome! Thank you sir, this is great news!

Merged post

Looks like when those players hit their base now, the following error is created:

10/10 14:11:08 | Failed to call hook 'OnHammerHit' on plugin 'BaseRepair v1.0.21' (NullReferenceException: )
at (wrapper managed-to-native) UnityEngine.MonoBehaviour.IsObjectMonoBehaviour(UnityEngine.Object)
at UnityEngine.MonoBehaviour.StartCoroutine (System.Collections.IEnumerator routine) [0x00014] in <0b31faaf1c50461d95c83ac166a20393>:0
at Oxide.Plugins.BaseRepair.OnHammerHit (BasePlayer player, HitInfo info) [0x001db] in <a1ddc9d9075d46f7a62e7d2222f844fc>:0
at Oxide.Plugins.BaseRepair.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e5] in <a1ddc9d9075d46f7a62e7d2222f844fc>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

From my tests I haven't been able to recreate this with any multi TC build on my end. But it does seem they are experiencing this each time they hit with the hammer when using the command. This is the same 6 TC build they had before.

Try the latest version it should be fixed now.

Thanks! Error is gone so we're clear there. Players are still reporting that this base isn't seeing the damaged items when they try to use it. We're thinking it's from the elaborate design maybe?

The design shouldn't matter. If the base is split across multiple buildings then you would need to repair each one. A building in rust is all the connected building blocks and entities attached to those blocks. Building blocks that aren't connected to the building aren't going to be repaired by the plugin.

Copy! I believe this may be a little different. This is the clip sent to me today:

ggLO2l0KxJrvYFy.gif



Merged post

Ah! So looks like these are coming up in RCON here and there too. Unload/load works to get rid of the issue.

11/10 18:09:59 | Failed to call hook 'OnHammerHit' on plugin 'BaseRepair v1.0.22' (NullReferenceException: )
at (wrapper managed-to-native) UnityEngine.MonoBehaviour.IsObjectMonoBehaviour(UnityEngine.Object)
at UnityEngine.MonoBehaviour.StartCoroutine (System.Collections.IEnumerator routine) [0x00014] in <0b31faaf1c50461d95c83ac166a20393>:0
at Oxide.Plugins.BaseRepair.OnHammerHit (BasePlayer player, HitInfo info) [0x001a4] in <8a0d617219b74065ac80e0dbd277f3bd>:0
at Oxide.Plugins.BaseRepair.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000e5] in <8a0d617219b74065ac80e0dbd277f3bd>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0