[Oxide] oxidecore: [string "r-sethome.lua"]:165: attempt to call method 'GetComponent' (a nil value) (@)
SetHome [Unmaintained]
Discussion in 'Plugin Support' started by Reneb, Aug 6, 2014.
-
what is your provider ??
-
gameservers.com
keeps crashing so went back to old version.. -
Yea it's crashing my server as well now. How do I get a copy of the old version? I didn't keep it.
Never mind, I see how to get it. Still getting all those same errors though. -
Wulf Community Admin
-
-
Reneb updated R-SetHome with a new update entry:
removed getcomponent as it always put an error
-
Reneb updated R-SetHome with a new update entry:
/home command fix when players didnt put a number
-
So still getting this error however the frequency in which it is showing in my log varies. Not as much as before. Installed your latest update about 2 minutes ago. Will see if that changes anything.
Code:3:23 AM: ERROR: Error in timer () : NLua.Exceptions.LuaScriptException: [string "r-sethome.lua"]:342: attempt to index field 'playerClient' (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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Main+<>c__DisplayClass6.<lua_NewTimer>b__4 () [0x00000] in <filename unknown>:0
Last edited by a moderator: Sep 3, 2014 -
Code:
6:32 PM: ERROR: oxidecore: [string "r-sethome.lua"]:107: attempt to index field 'attacker' (a number value) (@) 6:32 PM: ERROR: oxidecore: 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
-
All it says is "your teleportation has been cancelled"
-
All people that have the errors please give me the list of your plugins ...
My code seems correct, has to be à plugin that fucks mine --' -
Reneb updated R-SetHome with a new update entry:
another attempt of fix
-
Another excellent plugin Reneb.
I am not sure if you can detect for this in the code or not, but if you make a foundation or ceiling, sethome and then remove foundation and/or ceiling, the person can still go back with home.
Probably the only thing I can see where people might try to exploit this plugin. -
Still getting this error. Here is the error and below it are the plugins I use.
8:59 AM: ERROR: Error in timer ()
: NLua.Exceptions.LuaScriptException: [string "r-sethome.lua"]:342: attempt to index field 'playerClient' (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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Main+<>c__DisplayClass6.<lua_NewTimer>b__4 () [0x00000] in <filename unknown>:0
autosave
bushyjoinlocatioin
bushytpa
bushyvacs
DeathHandler
doorshare
groups
invincible
list
lootspawnlists
players
r-antispeedhack
r-remover
r-sethome
reload
Resource Manager
RickPing
shutdown
updater
vanish -
then it's because the user disconnects while getting teleported. it doesn't matter
-
@Reneb Looks like if someone is taking damage from starvation or radiation, then it cancels their teleport home. Is there a way to avoid that?[DOUBLEPOST=1409856187][/DOUBLEPOST]Actually it was a quick fix, Changed line 165 to:
if(victimNetuser) and (tostring(victimNetuser) ~= tostring(attackerNetuser)) thenLast edited by a moderator: Sep 4, 2014 -
thanks ill try that to.. -
you can just do (victimNetuser ~= attackerNetuser)