Robbery

Moved

Total Downloads: 1,292 - First Release: Dec 15, 2014 - Last Update: Jan 11, 2018

5/5, 11 likes
  1. Wulf

    Wulf Community Admin

    Have you checked your oxide/data/Economics.json file for the plugin to make sure it's valid? jsonlint.com
     
  2. yes. all good
    [DOUBLEPOST=1438365696][/DOUBLEPOST]This problem appears only when a player dies from paws of animals!
     
  3. 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 
    I checked the oxide/data/Economics.json and it is formatted right.
     
    Last edited by a moderator: Nov 12, 2015
  4. i have the same error
     
  5. Untested update to Economics v2:

    Moderator edit: C# version released.
     
    Last edited by a moderator: Nov 15, 2015
  6. Ty Nogrod ! You follow your job, very good !
     
  7. Its not working Nogrod. No message, and no transfert
     
  8. Wulf

    Wulf Community Admin

    Wulf updated Robbery with a new update entry:

    2.0.0

     
  9. Thank you guyz !
     
  10. 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
    [DOUBLEPOST=1447615375][/DOUBLEPOST]Just installed it too so I know it's the correct version
     
  11. 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
     
  12. Wulf

    Wulf Community Admin

    Working on a fix for it.
     
  13. how does this work? :p
    Overview says nothing.
     
  14. 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.
     
  15. Wulf

    Wulf Community Admin

    I updated the Overview. It's essentially the same as the original, like what MeatCircus described.
     
  16. Wulf

    Wulf Community Admin

    Wulf updated Robbery with a new update entry:

    2.0.1

     
  17. 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.
     
  18. Wulf

    Wulf Community Admin

    Sure, I can add support for that.
     
  19. Awesome :)
    Cant wait, you do a great job at keeping so many mods fresh :)
     
  20. 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