Have you checked your oxide/data/Economics.json file for the plugin to make sure it's valid? jsonlint.com
Robbery
Moved
Total Downloads: 1,292 - First Release: Dec 15, 2014 - Last Update: Jan 11, 2018
- 5/5, 11 likes
-
Wulf Community Admin
-
[DOUBLEPOST=1438365696][/DOUBLEPOST]This problem appears only when a player dies from paws of animals! -
Code:
Error] Failed to call hook 'OnEntityDeath' on plugin 'RotAG-Roubo v1.1.2' File: RotAG-Roubo.lua Line: 46 attempt to index field 'Initiator' (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
Last edited by a moderator: Nov 12, 2015 -
-
Untested update to Economics v2:
Moderator edit: C# version released.Last edited by a moderator: Nov 15, 2015 -
Ty Nogrod ! You follow your job, very good !
-
Its not working Nogrod. No message, and no transfert
-
Wulf Community Admin
-
Thank you guyz !
-
Code:
11:20 AM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Robbery v2.0.0' (NullReferenceException: Object reference not set to an instance of an object) 11:20 AM [Debug] at Oxide.Plugins.Robbery.OnEntityDeath (.BaseEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Robbery.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, 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
-
y, same here. Working but have this message in console :
[Error] Failed to call hook 'OnEntityDeath' on plugin 'Robbery v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
and probably same than MeatCircus in full log -
Wulf Community Admin
Working on a fix for it.
-
Overview says nothing. -
You just configure how much of a persons economy money a player gets for killing them while awake or asleep. They have to have the money on them and not in the bank, at least that's how it used to work.
-
Wulf Community Admin
-
Wulf Community Admin
-
Hi there.
I wanted to ask/request if there is a way this can check if players are in an event (EventManager) to not take/transfer money.
Reason being is this would make Deathmatches less enjoyable for newer players as they would get a penalty outside of the event via loss of money. -
Wulf Community Admin
-
Cant wait, you do a great job at keeping so many mods fresh -
Getting the following error with newest versions of this addon and economy
Code:[Oxide] 6:44 PM [Info] [Death Notes] Flaymar killed [CPD] Epicsaxguy with a Waterpipe Shotgun, hitting the Head from 1m. [Oxide] 6:44 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Robbery v2.0.1' (InvalidCastException: Cannot cast from source type to destination type.) [Oxide] 6:44 PM [Debug] at Oxide.Plugins.Robbery.OnEntityDeath (.BaseEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Robbery.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, 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