Building Owners

Sets owners of houses when someone builds a house part

Total Downloads: 12,029 - First Release: Apr 3, 2015 - Last Update: Jul 30, 2016

5/5, 23 likes
  1. It continues Mughishi
     
  2. thanks will let you know the outcome
     
  3. Code:
    [3/26/2015 9:34:49 PM] [Oxide] 9:34 PM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
     
  4. yup, still happening :)
     
  5. [Oxide] 9:09 AM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:09 AM [Debug] at Oxide.Plugins.BuildingOwners.OnEntityBuilt (.HeldEntity heldentity, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
  6. Okay looks like its caused by the Signs, I have currently disabled the owners of signs being saved as this will need to be handled differently and isn't a 2 minutes fix. You can use the file attached to this post to resume using the plugin as before.
     

    Attached Files:

  7. Thank you very much! love you Mughisi!!
     
  8. thx :)
     
  9. Same Mughishi.
    [Oxide] 9:18 PM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:18 PM [Debug] at Oxide.Plugins.BuildingOwners.OnEntityBuilt (.Planner heldentity, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
  10. First or second file I posted? It might still occur sometimes when a player tries to put blocks on the same spot when " Can't place: Failed check: Sphere test" occurs. But trying to fix a few other things and the errors won't actually break the plugin. The error spam should be considerably less already with the last file I added here, and to avoid confusion I'll attach it to this post again and remove it from the others.
     

    Attached Files:

  11. Yep, it continues the error with the last file.
    [Oxide] 9:26 PM [Info] BuildingOwners were compiled successfully in 644ms
    [Oxide] 9:26 PM [Info] Loaded plugin Building Owners v2.1.0 by Reneb
    [Oxide] 9:26 PM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:26 PM [Debug] at Oxide.Plugins.BuildingOwners.OnEntityBuilt (.Planner heldentity, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
  12. Same error

    Code:
    (02:30:19) | [Oxide] 2:30 AM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
    (02:30:20) | [Oxide] 2:30 AM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
    (02:30:21) | [Oxide] 2:30 AM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
    With the release of the message:
    http://oxidemod.org/threads/building-owners.5844/page-15#post-75303
     
  13. There is still an issue when a player puts down a block and doesn't move his cursor he still has the ability to try and place the block on the same place which triggers a sphere cast error which triggers an error on building owners, I know it might still be spamming a lot but it's pretty much harmless.
     
  14. [Oxide] 7:52 PM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 7:52 PM [Debug] at Oxide.Plugins.BuildingOwners.OnEntityBuilt (.Planner heldentity, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 7:52 PM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 7:52 PM [Debug] at Oxide.Plugins.BuildingOwners.OnEntityBuilt (.Planner heldentity, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
  15. Same problem Hemoglobin36
    [DOUBLEPOST=1427434046,1427425141][/DOUBLEPOST]There is a new Oxide update that apparently fixes the OnEntityBuilt's hook bug.
     
  16. same problem, Oxide Version: 2.0.590, Rust Protocol: 1232

    [​IMG]
     
  17. Going to put this here again as not everyone has noticed my previous post with a fixed version of the plugin.

    Edit: file removed.
     
    Last edited by a moderator: Mar 27, 2015
  18. Your File is BuildBlocker, and not BuildingOwners !?!
     
  19. Woops wrong file, Reneb updated now anyway :p