Code:[12/12/2015 10:06:09 PM] [Oxide] 10:06 PM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'FriendlyFire v1.5.3' File: FriendlyFire.lua Line: 63 instance method 'CallHook' requires a non null target object: 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.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0

FriendlyFire
Toggle friendly fire on/off for Friends API
Total Downloads: 12,837 - First Release: Oct 26, 2014 - Last Update: Mar 9, 2017
- 5/5, 15 likes
-
Keep on getting this error in the console (we use 0friendsAPI and not Rust:IO)
Code:[12/27/2015 12:16:22 AM] [Oxide] 12:16 AM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'FriendlyFire v1.5.3' File: FriendlyFire.lua Line: 63 instance method 'CallHook' requires a non null target object: 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.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
so how does this work exactly? like if you have a friend on your friends list on steam and u enable ff itll protect you from ur friend shooting at u?
-
Wulf Community Admin
-
Its not working for me after the rust update. It doesnt even create a config file. Tried to reinstall the plugin and restarting server.
-
Wulf Community Admin
-
Code:
[2/6/2016 5:20:25 PM] [Oxide] 5:20 PM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'FriendlyFire v1.5.3' File: FriendlyFire.lua Line: 59 attempt to call method 'ToPlayer' (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.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Nogrod updated FriendlyFire with a new update entry:
2.0.0
-
Not works on my server.
-
Wulf Community Admin
-
Nop sir.
[DOUBLEPOST=1456529523][/DOUBLEPOST]Just, it don't disable friend fire between 2 friends. Plugin load correctly and no error in logs.
I did a fresh install, no old config or data.Last edited by a moderator: Feb 26, 2016 -
-
Wulf Community Admin
-
Argh... Right, i have lua version of Friends xD. sorry
-
-
Not working for me, i have the updated Friends plugin, should i use this FriendlyFire or IO: FriendlyFire? I am confused.
-
Wulf Community Admin
-
Ok, i got this one loaded and friends, still no work..anything special we need to do to make it work?
-
Wulf Community Admin
-
Player confusion, since i changed from Rust:IO to this one, /friend add wasnt being done by players.
Thanks!