BuildingRestriction

Moved

Total Downloads: 894 - First Release: Sep 9, 2016 - Last Update: Sep 4, 2017

5/5, 12 likes
  1. Wulf

    Wulf Community Admin

    Wulf updated BuildingRestriction with a new update entry:

    1.4.0

     
  2. Wulf

    Wulf Community Admin

    Wulf updated BuildingRestriction with a new update entry:

    1.4.1

     
  3. Tool Cupboard add request ...
     
  4. Wulf

    Wulf Community Admin

    And what do you want to do with the tool cupboard?
     
  5. I want to add Entity Limit Tool Cupboard =5 ~ 10
     
  6. So, need to remove config file, right?
     
  7. Wulf

    Wulf Community Admin

    No, it updates.
     
  8. Thanks
     
  9. it doesn't work
    Code:
    Failed to call hook 'OnEntityDeath' on plugin 'BuildingRestriction v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
    (23:49:44) | at Oxide.Plugins.BuildingRestriction.HandleRemoval (.BaseCombatEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.OnEntityDeath (.BaseCombatEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.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
     
  10. Hi,

    Can you fix this NRE error please:

    Code:
    Failed to call hook 'OnEntityDeath' on plugin 'BuildingRestriction v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)  at Oxide.Plugins.BuildingRestriction.HandleRemoval (.BaseCombatEntity entity) [0x00000] in :0
      at Oxide.Plugins.BuildingRestriction.OnEntityDeath (.BaseCombatEntity entity) [0x00000] in :0
      at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0 
     
  11. Wulf

    Wulf Community Admin

    Wulf updated BuildingRestriction with a new update entry:

    1.5.0

     
  12. Thanks Wulf for your update it's nice to help me :)

    Question for cupboard: Maximum cupboard authorized or crafted ?

    Seem to work
     
  13. Wulf

    Wulf Community Admin

    Authorized.
     
  14. Thanks, I need to see how you fix it and try for Clans, Remover and other !
    Thank you so much
     
  15. how about adding iceberg restrictions?
     
  16. Why i have this problem
    Code:
    (22:38:29) | at (wrapper managed-to-native) UnityEngine.Object:get_name ()
      at Oxide.Plugins.BuildingRestriction.<OnEntityBuilt>m__3 (.BuildingBlock b) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BuildingBlock].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.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. Try to remove config (save it before) and reload plugin, retry ?
     
  18. Wulf

    Wulf Community Admin

    Without seeing the full error I can't really say. If you could provide the top part of the error, that'd be helpful.
     
  19. Code:
    (22:33:44) | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.5.0' (NullReferenceException: )
    (22:33:44) | at (wrapper managed-to-native) UnityEngine.Object:get_name ()
      at Oxide.Plugins.BuildingRestriction.<OnEntityBuilt>m__3 (.BuildingBlock b) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BuildingBlock].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.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
    i removed config
     
  20. Wulf

    Wulf Community Admin

    Wulf updated BuildingRestriction with a new update entry:

    1.5.1