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

    Yup, that's it.
     
  2. Thanks Wulf. You're up early... I think.
     
  3. Like the idea and would love to use it. However; within 5 minutes of putting in on my server players were exploiting it by hitting my npc vendors who are invul and getting money.

    It would also be nice to have it so that a player gets a flat % on player death vs player hit.
     
  4. Wulf

    Wulf Community Admin

    It was switched from death as that's no different than reward plugins for killing and mugging doesn't necessary mean kill. You can set a higher cooldown if you'd like, or I can an an option to protect NPCs. Are you using HumanNPC?
     
  5. Is it possible to have the choice if it's by hit or death? That would be great. Also, stopping the NPC exploit would be fantastic also. Thanks for your hard work. It's a great mod.
     
  6. Code:
    [09/16/2016 13:35:29] [Oxide] 13:35 [Debug]   at Oxide.Plugins.Robbery.StealItem (.BasePlayer victim, .BasePlayer attacker) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Robbery.OnEntityTakeDamage (.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 (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Sep 16, 2016
  7. Wulf

    Wulf Community Admin

    Could I see the full error please?
     
  8. Wulf

    Wulf Community Admin

    Wulf updated Robbery with a new update entry:

    3.1.1

     
  9. Code:
    [09/16/2016 23:26:46] [Oxide] 23:26 [Debug]   at Oxide.Plugins.Robbery.StealItem (.BasePlayer victim, .BasePlayer attacker) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Robbery.OnEntityTakeDamage (.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 (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    "ClanProtection": false,
    "FriendProtection": false,
    "ItemStealing": true,
    "MoneyStealing": false,
    "PercentAwake": 10.0,
    "PercentSleeping": 10.0,
    "UsageCooldown": 600
     
  10. Wulf

    Wulf Community Admin

    Are you updated to my latest version I posted earlier today?
     

  11. 3.1.1 Today at 9:33 PM 5 Download

    -------------------------------------------------------------------------
    Oxide build 2.0.2404

    General changes
    [Nomad] Patched for version 0.91 update
    [Rust] Patched for September 15th update (1009.66 1697)
    [SpaceEngineers] Patched for version 1.149.002 update
    [Terraria] Patched for version 1.3.3.2 update

    Yes
     
  12. Wulf

    Wulf Community Admin

    The plugin update, not Oxide.
     
  13. at Oxide.Plugins.Robbery.OnEntityTakeDamage (.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 (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    [09/16/2016 23:25:10] [Oxide] 23:25 [Debug] at Oxide.Plugins.Robbery.StealItem (.BasePlayer victim, .BasePlayer attacker) [0x00000] in <filename unknown>:0

    server.level "Barren"

    Clans | Oxide
    Economics for Rust | Oxide
    Friends API for Rust | Oxide
    Rust:IO | Oxide
    Rust:IO Clans for Rust | Oxide

    update


    The plugin update, not Oxide.??
     
  14. Wulf

    Wulf Community Admin

    Yes... Robbery, this plugin you are posting about.
     
  15. Code:
    [Oxide] 11:41 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Robbery v3.1.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:41 [Debug] at Oxide.Plugins.Robbery.IsFriend (.BasePlayer victim, .BasePlayer attacker) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Robbery.OnEntityTakeDamage (.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 (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Sep 20, 2016
  16. HAd a bug with no error in console: players that hitted another player got over 8 milions of RP (Rust ServerRewards), the percentage was on 10% and the hitted player hads like 400-600 RP, in few moments people got milionaire status cause in a fight all got from him so much RP and he still was getting after hit more and more :( After removing Robbery all ok and no hit gives money, Like said no error in console and nothing that I can see in outpost_log
     
  17. Wulf

    Wulf Community Admin

    Are you using Friends API or Rust:IO for friends?

    I don't see how that would be possible, this is the math the plugin would have used: 400*(10/100)=40
     
  18. Ÿeah as said no error or nothing, it just tough my mind that it could be maybe robbery as a new plugin on the server, and looks like it was ,trying to reproduce or have it happen again - hope ill catch it and can descrbide what happened lol
     
  19. i get this error:
    Code:
    00:44 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Robbery v3.1.1' (NullReferenceException: Object reference not set to an instance of an object)
    00:44 [Debug]   at Oxide.Plugins.Robbery.StealItem (.BasePlayer victim, .BasePlayer attacker) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Robbery.OnEntityTakeDamage (.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 (HookMethod 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 name, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  20. Wulf

    Wulf Community Admin

    Wulf updated Robbery with a new update entry:

    3.1.2