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
-
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.
-
Reneb updated Building Owners with a new update entry:
fix finally
-
Reneb updated Building Owners with a new update entry:
fix changeowner
-
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) -
[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? -
On server start says that buildingowners can't load. You're say that fix the plugin, no?
-
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?
-
@ 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. -
ah ok nice thank you !
-
-
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 -
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 -
-
@JOK3
Read reply #123 -
i did that TWICE.
-
@ 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) -
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 :/ -
That is exact what is in Post #123 declaired
-
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