BuildingRestriction

Moved

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

5/5, 12 likes
  1. Thanks! I'll try.

    Edit: It's working perfectly.
     
    Last edited by a moderator: Oct 15, 2016
  2. [H]

    [H]

    any pluggin for building block in water?
     
  3. New error:
    Code:
    (20:41:12) | [Oxide] 19:41 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.1.1' (NullReferenceException: )
    (20:41:12) | [Oxide] 19:41 [Debug] at (wrapper managed-to-native) UnityEngine.Object:get_name ()
    at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject gameobject) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    (20:42:20) | [Oxide] 19:43 [Info] [Better Chat] [Jugador] ☢Z-40☢: ey no va el bgrade?
     
  4. Error seems to do with "UnityEngine.Object:get_name ()".
    I can't see why it is throwing this error, What other plugins are you using that does something with structures? Bgrades?
     
  5. Yep, Bgrades is installed and players were using it. Bgrade stop working in that moment.
     
  6. I'll have a look, I think BGrades is still running while BuildingRestriction is running as well and making something null.
     
  7. Ok, thanks!
     
  8. I can not reproduce that error you had, But I am getting errors when in Config Block construct and refund is set to false.
    I'll do some more digging but for now I guess either not use this plugin, Or BGrades.
     
  9. Jakkee updated BuildingRestriction with a new update entry:

    1.1.2

     
  10. Hi Jakkee,

    Returning with this plugin I find this error in log:

    (11:14:18) | [Oxide] 10:15 [Info] [BuildingRestriction] Failed to check max foundations on p3t4k4's structure.

    (11:14:18) | [Oxide] 10:15 [Info] [BuildingRestriction] ERROR: An admin has used Ent.Kill on a structure

    (11:14:18) | [Oxide] 10:15 [Info] [BuildingRestriction] ERROR: Please reload or restart: oxide.reload BuildingRestriction

    Regards.
     
  11. I found out why this happens,
    Either an admin used Ent.Kill or another plugin used Entitiy.Kill()
    Working on a fix
     
  12. Great! Thanks for your time!
     
  13. Jakkee updated BuildingRestriction with a new update entry:

    1.1.3

     
  14. Code:
    [Oxide] 15:01 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 15:01 [Debug]   at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject gameobject) [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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
     
  15. Can this file get an update please?
     
  16. Jakkee updated BuildingRestriction with a new update entry:

    1.2

     
  17. Thanks!
    [DOUBLEPOST=1488166153][/DOUBLEPOST]do you know what is causing "Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)" in my rcon? Thanks!
     
  18. Uh, Will look into this
     
  19. getting a error spamming console

    Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)

    also seems to be bugged i have had it set to 24 triangle foundations and i needed to change it by 1 so i change dit and it still said i have used the max build blocks basicly no matter what i change the json config to it just keeps saying you have reached max build items
     
    Last edited by a moderator: Mar 3, 2017
  20. new players on the server can not place more than 1 triangle or others more than 4 square but I have it set to 100 square and 55 triangle 6 high any ideas?