Building Owners

Sets owners of houses when someone builds a house part

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

5/5, 23 likes
  1. i know i know :/ i'll try to find a way to fix it :/
     
  2. Perhaps this information is helpful. If I reboot, the server loads the plugin error free. Only when I want to use another plugin that accesses Building Owners it comes to error messages.
     
  3. Reneb updated Building Owners with a new update entry:

    fix finally

     
  4. 7:20 AM [Info] Loaded plugin Building Owners (v1.2.7) by Reneb
    7:20 AM [Error] Failed to initialise plugin buildingowners (attempt to index a nil value)
     
  5. [Oxide] 1:32 PM [Error] buildingowners: [string "buildingowners.lua"]:219: attempt to index global 'OwnersData' (a nil value)
    at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
    at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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[DOUBLEPOST=1414931665][/DOUBLEPOST]Remove doesnt work?
     
  6. On server start says that buildingowners can't load. You're say that fix the plugin, no?
     
  7. So now it's back with me !! But now I have the problem that only newly constructed building can be deleted after the update with / remove , and the older .. not what I can do about it now , so it also goes back to the old buildings there?
     
  8. @ thetompage
    You must assign the Buildings new to the Owners with /Changeowner Playername while you are standing on a Foundation of that Building.
    You have deleted the File in the data directory. There where the owner of the Buildings stored.
     
  9. ah ok nice thank you !
     
  10. Plugin can't loaded, so what you are talking about?
     
  11. have you read my posting right?
    The Answer was for thetompage.
    His Plugin was loaded !
    If you read the other Posts above carefully perhaps your Plugin loads too !
     
    Last edited by a moderator: Nov 2, 2014
  12. nothing work for me....

    [Oxide] 2:49 PM [Error] buildingowners: [string "buildingowners.lua"]:219: attempt to index global 'OwnersData' (a nil value)
    at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
    at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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
     
  13. You kiddind? Watch this thread, same problems has more peoples -_-
     
  14. @JOK3
    Read reply #123
     
  15. i did that TWICE.
     
  16. @ JOK3
    Ok. In that Case i dont know why.
    I did it like Reneb ´s guidance and it works perfect for me.
    On my Server runs 29 Plugins without Errors ! (at the moment)
     
  17. I have do this:

    "Please not that you need to SHUTDOWN YOUR SERVER
    then go in oxide/data/ and delete BuildingOwners.json
    THEN restart your server.
    If you don't do that the same error as before will happen."


    and install than the newest version, and it work´s !

    PS. sry for my bad englisch :/
     
  18. That is exact what is in Post #123 declaired ;)
     
  19. Everything seems to be working properly now... Now to apply that data file loading fix to kits and we'll be golden I think.

    Good job Reneb