Building Owners

Sets owners of houses when someone builds a house part

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

5/5, 23 likes
  1. I guess i know why
     
  2. with Oxide 269 this Error:
    Code:
    1:37 AM [Error] BuildingOwners: NullReferenceException while calling OnServerInitialized: Object reference not set to an instance of an object
      at Oxide.Plugins.BuildingOwners.ReverseTable () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.OnServerInitialized () [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 
     
  3. Where do I place the BuildingOwners.cs file?
     
  4. Wulf

    Wulf Community Admin

    Your plugins folder with the rest of the plugins.
     
  5. Ohh ok! thank you :D
     
  6. Not sure what I broke, but I installed the latest version:
    [Oxide] 8:52 PM [Info] Loaded plugin Building Owners v2.1.0 by Reneb
    But when I run the Updater plugin it complains:
    [Updater] Building Owners is outdated! Installed: 1.3.2, Latest: 2.1.0
     
  7. Wulf

    Wulf Community Admin

    Sounds like you have the Lua version AND the CSharp version installed, remove the Lua.
     
  8. Reneb updated Building Owners with a new update entry:

    No more saving all the time

     
  9. any way to add people to the building list as i cant get freinds to work ?
     
  10. /changeowner
    As for multiple players on 1 building no it's not possible, for the simple reason that you should have only 1 owner per house.
    If you want multiple players to remove then allow the tool cupboards in the remover tool.
     
    Last edited by a moderator: Feb 20, 2015
  11. ok then thanks for the help
     
  12. Getting this error, and a lot of console spam
    Code:
    7:43 PM [Error] Failed to load extension Oxide.Ext.CSharp (UnauthorizedAccessException: Access to the path "C:\rust1\steamapps\common\rust_dedicated\server\AOSN\oxide\temp\BuildingOwners_1.dll" is denied.)
    7:43 PM [Debug]   at System.IO.File.Delete (System.String path) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPluginLoader..ctor (Oxide.Plugins.CSharpExtension extension) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpExtension.Load () [0x00000] in <filename unknown>:0
      at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Feb 25, 2015
  13. oxide.reload
     
  14. So this plugin is also CSharp now? Sadly. Where i can get old lua version? And how to update it for latest oxide? I can't use CSharp plugins under linux server...
     
  15. Wulf

    Wulf Community Admin

  16. @Wulf ok thank you, but still, how to understand what is not working now if plugin have completely different code between lua and csharp version?... Because latest lua version not detected by teleportation plugin for example...
    [DOUBLEPOST=1424875846][/DOUBLEPOST]Nevermind, fixed it itself but changing plugin name to new one. I hope it work...
    [DOUBLEPOST=1424876287][/DOUBLEPOST]No it not work :(

    Code:
    File: BuildingOwners.lua Line: 11 An element with the same key already exists in the dictionary.:
      at System.Collections.Generic.Dictionary`2[System.String,Oxide.Rust.Libraries.Command+ChatCommand].Add (System.String key, ChatCommand value) [0x00000] in <filename unknown>:0
      at Oxide.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callbackname) [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 
    damn... seems like i'll can't now use this plugin and also sethome on my server anymore...
    [DOUBLEPOST=1424879331][/DOUBLEPOST]Again nevermind, it seems like after server restart starting working somehow..
     
  17. anyone getting this now:

    (20:45:11) | [Oxide] 1:45 AM [Error] Failed to call hook 'OnEntityBuilt' on plugin 'Building Owners' (NullReferenceException: Object reference not set to an instance of an object)
     
  18. Same error here wadood.
     
  19. Could you try the file attached to this post?
     

    Attached Files: