Building Blocker

Fully prevents building in the building blocked zone. Fixes the "Devblog 158 of 4th may"

Total Downloads: 5,870 - First Release: May 4, 2017 - Last Update: Sep 29, 2017

5/5, 48 likes
  1. Strange. What have you done to get this? I think I've tested everything possible, but looks like not. Try to reproduce this and let me know how you've done ti.
     
  2. [05/10/2017 17:40:55] BuildingBlocker was compiled successfully in 961ms
    [05/10/2017 17:40:55] Loaded plugin BuildingBlocker v2.0.0 by Vlad-00003
    [05/10/2017 17:41:15] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: May 10, 2017
  3. Wierd. Right now I don't have time for this, but will do asap.
     
  4. Vlad-00003 updated Building Blocker with a new update entry:

    2.0.1

     
  5. Code:
    (17:35:34) | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (17:35:34) | at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (17:35:34) | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (17:35:34) | at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  6. Went on to test the update. I went to a players base and attempted to spam the build function and your plugin seemed to work fine. Then I noticed that I got a another NRE error attached below. Idk if it will help but our server is using DynamicCupShare and I have had some issues as of late with it bugging building privi areas so maybe its contributing to the issue? I cannot seem to replicate the issue it just pops up once in awhile and I see nothing in console that would be causing the issue.

    Code:
    12:40 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    12:40 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
     
    Last edited by a moderator: May 10, 2017
  7. Without being reproduce manually this error can't be fixed =(
     
  8. works fine to me .. in your case sounds like an conflict with other plugin (who do the same thing .. entity kill on OnEntityBuilt). I don't have your plugins to make tests but I can guess 80% this will solve conflict problems:

    -before the line 120 with this code:
    Code:
    var curGrade = buildingblock.blockDefinition.grades[(int)grade];
    add this:
    Code:
    if(buildingblock.blockDefinition==null) return;
    let me know if it works
     
    Last edited by a moderator: May 11, 2017
  9. Okay so I haven't seem to make the error re-occur but I do have another problem.

    I have the plugin "DynamicCupShare" and once you place down your tool cupboard it auto Authorizes you to the cupboard placed. This all works fine except that once it has auto authorized you to the tool cupboard, it won't allow you to build, unless you go back though all tool cupboards and re- Authorizes.

    A lot of conflict has been happening since the adding of 'OnEntityBuilt'.
     
  10. That's the problem with DynamicCupShare - it looks like it doesn't really auth you in the cupboard... Never saw this plugin, so can't tell exacly what's wrong.

    I'm checkint if BuildingBolck is null. Block defenition can't be null... but hey - this is rust. I can't be sure about anything right now....
     
  11. Vlad-00003 updated Building Blocker with a new update entry:

    2.0.2

     
  12. Please dude add you plugin ID (25289) within the .cs file

    It will help a lot for the autoupdate tool.
    Thanks in advance
     
  13. Vlad-00003 updated Building Blocker with a new update entry:

    2.0.3


    [DOUBLEPOST=1494498847][/DOUBLEPOST]
    Dang =D Forgot to do it.
    Added.
     
  14. @Vlad-00003
    I have a request,
    May you add toggles in the config. For example i want ladders enabled so in the config i shall put LadderBuilding = true
    Code:
    {
      "Bypass block privilage": "BuildingBlocker.bypass",
      "Chat prefix": "[BuildingBlocker]",
      "Prefix color": "#FF3047",
      "LadderBuilding": True
    }
    That'll be amazing!
     
  15. Code:
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    18:48 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    18:48 [Stacktrace]   at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  16. I'll think about it. May be in the next update. But right now I have a bigger problems with it =)
    Dang it. I'm done. I'm out of ideas.
    Can ANYBODY provide some more information? At lease what was happening then this error occurs?
    Or at least plugin list that was loaded at the moment?
    I'm unable to reproduce it - so I can't fix it.
     
  17. Code:
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (23:22:43) | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    (23:22:44) | at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  18. Provide. More. Information.
     
  19. Code:
    Failed to call hook 'OnEntityBuilt' on plugin 'BuildingBlocker v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.BuildingBlocker.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BuildingBlocker.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BuildingBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0