R-Remover-Tool

Building and entity removal tool

Total Downloads: 63,197 - First Release: Apr 3, 2015 - Last Update: Feb 7, 2018

5/5, 105 likes
  1. Code:
    [Oxide] 11:14 AM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'RemoverTool' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:14 AM [Debug]   at Oxide.Plugins.RemoverTool.RefundBuildingBlock (.BasePlayer player, .BuildingBlock buildingblock) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RemoverTool.Refund (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RemoverTool.DoHit (.BasePlayer player, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RemoverTool.OnEntityAttack (.BasePlayer player, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RemoverTool.OnPlayerAttack (.BasePlayer player, .HitInfo hitinfo) [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 
     
  2. @SannyOK, is this with the file I attached to my previous post?
     
  3. working perfect for me with Mughisi's update
     
  4. Yes, your file. Set Refund to false and now it's ok.
     
  5. ahhh ok so it only seems to be doors that are doing it
    [DOUBLEPOST=1425634090][/DOUBLEPOST]It spams up that error and seems to allow players to keep hitting the door and keep getting 80 wood each hit.
     
  6. [Oxide] 4:29 AM [Debug] at Oxide.Plugins.RemoverTool.RefundBuildingBlock (.BasePlayer player, .BuildingBlock buildingblock) [0x00000] in <filename unknown>:0
     
  7. Edit: Nevermind, previous 2 messages hadn't loaded yet, looking into the doors.
    [DOUBLEPOST=1425637008][/DOUBLEPOST]Okay, this should solve the issues with doors.
     

    Attached Files:

  8. [Oxide] 5:31 AM [Info] [Logger] idesertfuryi ran chat command: /remove
    [Oxide] 5:31 AM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'RemoverTool' (NullReferenceException: Object reference not set to an instance of an object)
    [DOUBLEPOST=1425638871][/DOUBLEPOST]still getting the refund errors
    [Oxide] 5:47 AM [Debug] at Oxide.Plugins.RemoverTool.RefundBuildingBlock (.BasePlayer player, .BuildingBlock buildingblock) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.RemoverTool.Refund (.BasePlayer pl
     
  9. Try using the file attached to this post: http://oxidemod.org/threads/r-remover-tool.5768/page-17#post-71330
    Can you try removing the plugin first before placing the file I attached previously? I've build every possible building block with every possible grade and have been removing all of them without getting the error with that latest file I posted. If the error still occurs after that, please post the entire error.
     
  10. Working like a charm, removed the file from plugins, removed the file from config, reloaded the file you attached in the link above. happy players.

    Could you post the workingfile as an update? because i and probably more were waiting for an update alert for this.

    Thanks in advance and for your great work.
     
  11. Mughisi updated R-Remover Tool with a new update entry:

    Fix for latest Rust update

     
  12. Remove All seems to not be working.
     
  13. Any errors showing up? Can't say I had any issues when testing it earlier, however I can't really remember if I tested remove all as well :p
     
  14. No errors in the console, things just don't remove.
     
  15. Just tested it and for me it appears to be working, when you type '/remove all' does it show that it is activated:
    "Remove Tool (all): Activated for 30 seconds."
    What happens when you look at the building you wish to remove completely and use /rayremove?
     
  16. I think the problem is on my end, the my host is installing Oxide v2.0.413 insted of the released version.
     
  17. Want to point out that the cost of things were changed, along with how the tiers work (upgrading to wood costs xxx wood, then upgrading wood to stone costs xxx stone. But, upgrading from tier 0 to stone only costs stone...). In other words, right now with refund activated, players could easily dupe items. Recommend making it so only the resources from upgrading to tier 0 to its current tier is rewarded//assuming they went from twigs to metal, etc.
    Also recommend server operators turn off refunds for now.
     
  18. The refund currently refunds from the active grade to twig, it would be possible to only refund the active grade and twig and nothing in between. But i don't usually see players skipping grades when they are playing on a server without increased loot which would hurt those players a lot with a change like this. I'll look into adding an option to switch between refunding the active grade + base grade and the active grade to the base grade.
     
  19. Yeah, is an ouch for remover, as to do otherwise would give people the room to macro harvest resources with remover tool.