Building Owners

Sets owners of houses when someone builds a house part

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

5/5, 23 likes
  1. well you don't have the latest version. lol
    this error was fixed --'

    line 187;
    Code:
                            if(err3) then
    the line that is bugging for u (line 184)
    Code:
                    if(not OwnersData[tostring(theposy)]) then
    on latest version i fixed the error you are having.
     
  2. Who are you replying to? look at my oxide.load. Shows version 1.2.4
     
  3. lol da fuck --'
    ok then, i'll upload again another version.
    i hope this one will work.
    if it doesn't, then i guess your datafile is corrupted.
     
  4. > oxide.load buildingowners
    [Oxide] 8:37 PM [Info] Loaded plugin Building Owners (v1.2.5) by Reneb
    [Oxide] 8:37 PM [Error] Failed to initialise plugin buildingowners (attempt to index a nil value)
    [Oxide] 8:37 PM [Debug] 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

    Thanks for playing...try again :p

    FFS...lol what a day![DOUBLEPOST=1414892286][/DOUBLEPOST]
    So let me guess if the datafile is corrupted then I have no choice but to wipe...

    UPDATE - deleted data file and still get same error.
     
  5. i'm clueless man --' really, totally clueless :x
    i have had 0 errors on my server, and i always have 30+ on the server :x
    very sorry, but i have no idea how to help you more :x
     
  6. i have some Problems too : :(

    2:50 AM [Info] Loading Oxide core...
    2:50 AM [Info] Loading extensions...
    2:50 AM [Info] Loaded extension Lua version 1.0.0 by Oxide Team
    2:50 AM [Info] Loaded extension Rust version 1.0.0 by Oxide Team
    2:50 AM [Info] Loaded extension Unity version 1.0.0 by Oxide Team
    2:50 AM [Info] Loading plugins...
    2:50 AM [Info] Loaded plugin Auto Broadcast (v0.1.1) by Taffy
    2:50 AM [Info] Loaded plugin Building Owners (v1.2.5) by Reneb
    2:50 AM [Info] Loaded plugin Country Block (v0.1.1) by Wulf
    2:50 AM [Info] Loaded plugin Custom Chat Commands (v2.1.1) by #Domestos
    2:50 AM [Info] Loaded plugin deadPlayerList (v1.0.0) by Reneb
    2:50 AM [Info] Loaded plugin Finder (v1.3.0) by Reneb
    2:50 AM [Info] Loaded plugin Give Plugin (v0.3.2) by Reneb
    2:50 AM [Info] Loaded plugin Heal, Feed and Cure (v1.1.2) by #Domestos
    2:50 AM [Info] Loaded plugin Kits (v0.2.1) by Reneb
    2:50 AM [Info] Loaded plugin Door Unlocker (v1.0.0) by Reneb
    2:50 AM [Info] Loaded plugin Inventory Viewer (v1.1.0) by Reneb
    2:50 AM [Info] Loaded plugin Increased Building Rate (v0.1.0) by Mughisi
    2:50 AM [Info] Loaded plugin Increased Crafting Rate (v0.1.1) by Mughisi
    2:50 AM [Info] Loaded plugin Godmode (v0.1.2) by Mughisi
    2:50 AM [Info] Loaded plugin Advanced Teleportation System (v1.0.7) by Mughisi
    2:50 AM [Info] Loaded plugin Time Changer (v0.1.0) by Mughisi
    2:50 AM [Info] Loaded plugin Online Log (v0.1.0) by Luke Spragg / Wulf
    2:50 AM [Info] Loaded plugin Players list (v1.1.2) by #Domestos
    2:50 AM [Info] Loaded plugin Player location (v1.0.2) by #Domestos
    2:50 AM [Info] Loaded plugin Portgun (v1.1.0) by Reneb
    2:50 AM [Info] Loaded plugin Private Messaging (v1.0.4) by #Domestos
    2:50 AM [Info] Loaded plugin PVP Switch (v1.0.1) by #Domestos
    2:50 AM [Info] Loaded plugin Death Messages (v0.2.3) by Reneb
    2:50 AM [Info] Loaded plugin r-Prod (v1.1.0) by Reneb
    2:50 AM [Info] Loaded plugin R-Remover Tool (v1.3.0) by Reneb
    2:50 AM [Info] Loaded plugin Updater (v0.2.2) by Wulf
    2:50 AM [Info] Loaded plugin User Connection Notification (v1.0.9) by Taffy
    2:50 AM [Info] Loaded plugin Welcome Gifts (v0.1.0) by Wulf
    2:50 AM [Info] Loaded plugin Rust Core (v1.0.0) by Oxide Team
    2:50 AM [Info] Loaded plugin Unity Core (v1.0.0) by Oxide Team
    2:50 AM [Error] Failed to initialise plugin buildingowners (LuaScriptException: attempt to index a nil value)
    2:50 AM [Debug] 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
    2:50 AM [Info] ############## Update check started! ##############
    2:50 AM [Info] Supported plugin count: 16
    2:50 AM [Info] Crafting rate set to 50% of the normal speed.
    2:50 AM [Info] ############## Update check finished! ##############
    2:50 AM [Info] [Country Block] JackTheRipper connected from DE
    2:51 AM [Error] m-Teleportation: [string "m-Teleportation.lua"]:671: attempt to compare number with nil
    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
     
  7. ah well restarted my server, does the same find ...
    can't seem to be able to fix this unless i change the file data name ...
    this is a bug from oxide, that i can't fix myself.[DOUBLEPOST=1414896580][/DOUBLEPOST]actually ... if i make a new file, put all the data inside, call the load data from the new file, evevery thing gets loaded ... omfg --' so tiering ...
     
  8. Reneb updated Building Owners with a new update entry:

    another attempt for a fix (RESTART YOUR SERVER TO USE THIS)

    [DOUBLEPOST=1414898060][/DOUBLEPOST]ok it's even worse ... omfg ...[DOUBLEPOST=1414898396][/DOUBLEPOST]for oxide devs ...
    the only way to fix my problem is:
    loading a NEW empty table
    unloading the plugin
    placing all the data in the new file that was created previously
    loading the plugin

    if i don't do that i get the same error as the others :/ please help!!!
     
  9. Loaded fine on initial server start (completely fresh server install), loads fine after restart with no data, loads fine after restart with new building owner data (after doing /changeowner Keldek).

    Not seeing any errors as of right now. Will report more later if need be.
     
  10. well you are a lucky man XD
    cause basically for me it doesn't load if a file exists :x
     
  11. Not so lucky.. getting spammed with this after restarting with plugin data and trying to /changeowner again:

    Rcon Exception
    LuaScriptException: attempt to index a nil value

    :(
     
  12. yes i know. i guess until i can find a way to fix this, or another dev can help me, this plugin can't be used :/
     
  13. wish I could help but I don't know lua, and not sure if my brain has room for another language ><

    Looking over other plugin data files, they're using the same method you are for loading and saving data so it's a bit strange that it's causing a problem for you. My knowledge of lua is limited at best so don't mind me if I'm stating the obvious, just trying to throw stuff out there and that might help trigger that "oh damn, there it is" moment.

    Let me ask this, is there a way to lay the contents of the data file out differently that might make a difference?

    Possibly other data that Rust is expecting?

    Have you tried removing other functions that are "extra" and not really needed (for some reason the radius portion comes to mind).

    Sorry I can't be of more help, this is the first time in about 5 years I've looked at a lua file, and even then my knowledge was limited at best.
     
    Last edited by a moderator: Nov 2, 2014
  14. Reneb you are awesome at what you do. this has been one hell of a day. the problem is foundations... so screw them we can't remove them. take the approach of prod scan the radius and if the user is deployeruserid on multiple things let it rip. it won't be perfect but we can log remove activity and buy some time to figure this out.
     
  15. I've got the next to last version, and everything is working fine for me, with no issues at all. Everything can be removed/prod/setowner...... odd!
     
  16. That's what I thought too.. but once you restart the server (after having building owner data) is when the trouble starts
     
  17. So, upon Server Restart, the plugin started bugging out...... before the restart it was fine. Hmmm[DOUBLEPOST=1414903443][/DOUBLEPOST]
    Yup, you're correct. didn't see your post when I posted... hadn't refreshed the page.[DOUBLEPOST=1414903973][/DOUBLEPOST]Here's the total errors. Both Loading the plugin, and when I do /changeowner

     
    Last edited by a moderator: Nov 2, 2014
  18. All I have to say is holy shit that rust update was a monkey wrench........
     
  19. self here

    So, upon Server Restart, the plugin started bugging out...... before the restart it was fine. Hmmm