R-Remover-Tool

Building and entity removal tool

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

5/5, 105 likes
  1. Hmmm Well maybe it's because you dont have building owners then.
    It's written in huge in the overview that you Will probably need it ^^
    I guess that's why it gives an error.
    If everything works fine then just discard it.
     
  2. sorry but same error with building owners;
    Code:
    7:30 PM [Info] Loading Oxide core...
    7:30 PM [Info] Loading extensions...
    7:30 PM [Info] Loaded extension Lua version 1.0.0 by Oxide Team
    7:30 PM [Info] Loaded extension Rust version 1.0.0 by Oxide Team
    7:30 PM [Info] Loaded extension Unity version 1.0.0 by Oxide Team
    7:30 PM [Info] Loading plugins...
    7:30 PM [Info] Loaded plugin Building Owners (v1.3.2) by Reneb
    7:30 PM [Info] Loaded plugin R-Remover Tool (v1.4.5) by Reneb
    7:30 PM [Info] Successfully initialized Building Owners
    7:30 PM [Error] Failed to run a timer. (AmbiguousMatchException: Ambiguous matching in method resolution)
    7:30 PM [Debug]  at System.Reflection.Binder.FindMostDerivedMatch (System.Reflection.MethodBase[] match) [0x00000] in <filename unknown>:0
      at System.MonoType.GetMethodImpl (System.String name, BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000] in <filename unknown>:0
      at System.Type.GetMethod (System.String name) [0x00000] in <filename unknown>:0
      at NLua.Extensions.TypeExtensions.HasMultiplyOpertator (System.Type t) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.RegisterOperatorsFunctions (LuaState luaState, System.Type type) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.PushNewObject (LuaState luaState, System.Object o, Int32 index, System.String metatable) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.PushObject (LuaState luaState, System.Object o, System.String metatable) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.Push (LuaState luaState, System.Object o) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaMethodWrapper.Call (LuaState luaState) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1419878150][/DOUBLEPOST]with all plugins there is same error;7:31 PM [Info] Loading Oxide core...
    7:31 PM [Info] Loading extensions...
    7:31 PM [Info] Loaded extension Lua version 1.0.0 by Oxide Team
    7:31 PM [Info] Loaded extension Rust version 1.0.0 by Oxide Team
    7:31 PM [Info] Loaded extension Unity version 1.0.0 by Oxide Team
    7:31 PM [Info] Loading plugins...
    7:31 PM [Info] Loaded plugin Oxide Hooks Test (v0.1.0) by Wulf
    7:31 PM [Info] Loaded plugin Airdrops (v1.1.3) by BedIntruder319
    7:31 PM [Info] Loaded plugin Auto Broadcast (v0.1.1) by Taffy
    7:31 PM [Info] Loaded plugin Building Owners (v1.3.2) by Reneb
    7:31 PM [Info] Loaded plugin Chat Handler (v2.2.1) by #Domestos
    7:31 PM [Info] Loaded plugin Copy-Paste (v1.2.2) by Reneb
    7:31 PM [Info] Loaded plugin Custom Chat Commands (v2.1.2) by #Domestos
    7:31 PM [Info] Loaded plugin deadPlayerList (v1.0.1) by Reneb
    7:31 PM [Info] Loaded plugin Enhanced Ban System (v2.1.1) by #Domestos
    7:31 PM [Info] Loaded plugin Finder (v1.4.1) by Reneb
    7:31 PM [Info] Loaded plugin Give Plugin (v0.4.0) by Reneb
    7:31 PM [Info] Loaded plugin Kits (v1.0.2) by Reneb
    7:31 PM [Info] Loaded plugin Inventory Viewer (v1.0.1) by Reneb
    7:31 PM [Info] Loaded plugin Compass (v1.0.0) by Mughisi
    7:31 PM [Info] Loaded plugin Godmode (v1.4.1) by Mughisi
    7:31 PM [Info] Loaded plugin Advanced Teleportation System (v1.3.0) by Mughisi
    7:31 PM [Info] Loaded plugin Ping (v0.2.1) by Luke Spragg / Wulf
    7:31 PM [Info] Loaded plugin Players list (v1.3.1) by #Domestos
    7:31 PM [Info] Loaded plugin Player location (v1.1.0) by #Domestos
    7:31 PM [Info] Loaded plugin Portgun (v1.2.3) by Reneb
    7:31 PM [Info] Loaded plugin Private Messaging (v1.1.0) by #Domestos
    7:31 PM [Info] Loaded plugin Death Messages (v0.2.9) by Reneb
    7:31 PM [Info] Loaded plugin r-Prod (v1.2.1) by Reneb
    7:31 PM [Info] Loaded plugin R-Remover Tool (v1.4.5) by Reneb
    7:31 PM [Info] Loaded plugin RotAG-NameChanger (v1.0.2) by TheRotAG
    7:31 PM [Info] Loaded plugin Save (v1.2.0) by Reneb
    7:31 PM [Info] Loaded plugin OnServerInitialized Hook Test (v1.0.0) by Mughisi
    7:31 PM [Info] Loaded plugin User Connection Notification (v1.1.4) by Taffy
    7:31 PM [Info] Loaded plugin Rust Core (v1.0.0) by Oxide Team
    7:31 PM [Info] Loaded plugin Unity Core (v1.0.0) by Oxide Team
    7:31 PM [Info] -----------------------------
    7:31 PM [Info] Airdrops: Loaded Successfully
    7:31 PM [Info] -----------------------------
    7:31 PM [Info] Successfully initialized Building Owners
    7:31 PM [Info] m-Teleportation: To allow Homes to be set on foundations owned by friends of the player the plugin `Friends API` is required!
    7:31 PM [Info]  This plugin can be downloaded at http://oxidemod.org/resources/friends-api.686/
    7:31 PM [Info]  The friends check has temporarily been disabled to prevent problems.
    7:31 PM [Info] ===========================================
    7:31 PM [Info]  Running the new OnServerIntialized Hook 
    7:31 PM [Info] ===========================================
    7:31 PM [Error] Failed to run a timer. (AmbiguousMatchException: Ambiguous matching in method resolution)
    7:31 PM [Debug]  at System.Reflection.Binder.FindMostDerivedMatch (System.Reflection.MethodBase[] match) [0x00000] in <filename unknown>:0
      at System.MonoType.GetMethodImpl (System.String name, BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000] in <filename unknown>:0
      at System.Type.GetMethod (System.String name) [0x00000] in <filename unknown>:0
      at NLua.Extensions.TypeExtensions.HasMultiplyOpertator (System.Type t) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.RegisterOperatorsFunctions (LuaState luaState, System.Type type) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.PushNewObject (LuaState luaState, System.Object o, Int32 index, System.String metatable) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.PushObject (LuaState luaState, System.Object o, System.String metatable) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.Push (LuaState luaState, System.Object o) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaMethodWrapper.Call (LuaState luaState) [0x00000] in <filename unknown>:0
    7:32 PM [Info] Message1
     
  3. @Reneb, error is being thrown because of the timer change, it used to just be a "Rcon Exception, Ambiguous matchin in method resolution". But the timers have been modified to throw actual errors and destroy the timer when it runs in to an exception. Only happens the first time the plugin is loaded and is caused by
    Code:
        timer.Once(0.1, function()
            nulVector3 = new(UnityEngine.Vector3._type,nil)
        end )
    So by removing this from the init the current problem is solved, but you still need your nulVector so I moved it to OnServerInitialized() but due to some bug (not sure if it's Oxide or Rust, the first time you try to create the null vector it fails so I tossed in some lua error handling.
    Code:
    function PLUGIN:OnServerInitialized()
        status, err = pcall( new, UnityEngine.Vector3._type, nil)
        nulVector3 = new( UnityEngine.Vector3._type, nil )
    end
     
  4. without r-remover (even installed all plugins) there is no error;
    Code:
    7:33 PM [Info] Loading Oxide core...
    7:33 PM [Info] Loading extensions...
    7:33 PM [Info] Loaded extension Lua version 1.0.0 by Oxide Team
    7:33 PM [Info] Loaded extension Rust version 1.0.0 by Oxide Team
    7:33 PM [Info] Loaded extension Unity version 1.0.0 by Oxide Team
    7:33 PM [Info] Loading plugins...
    7:33 PM [Info] Loaded plugin Oxide Hooks Test (v0.1.0) by Wulf
    7:33 PM [Info] Loaded plugin Airdrops (v1.1.3) by BedIntruder319
    7:33 PM [Info] Loaded plugin Auto Broadcast (v0.1.1) by Taffy
    7:33 PM [Info] Loaded plugin Building Owners (v1.3.2) by Reneb
    7:33 PM [Info] Loaded plugin Chat Handler (v2.2.1) by #Domestos
    7:33 PM [Info] Loaded plugin Copy-Paste (v1.2.2) by Reneb
    7:33 PM [Info] Loaded plugin Custom Chat Commands (v2.1.2) by #Domestos
    7:33 PM [Info] Loaded plugin deadPlayerList (v1.0.1) by Reneb
    7:33 PM [Info] Loaded plugin Enhanced Ban System (v2.1.1) by #Domestos
    7:33 PM [Info] Loaded plugin Finder (v1.4.1) by Reneb
    7:33 PM [Info] Loaded plugin Give Plugin (v0.4.0) by Reneb
    7:33 PM [Info] Loaded plugin Kits (v1.0.2) by Reneb
    7:33 PM [Info] Loaded plugin Inventory Viewer (v1.0.1) by Reneb
    7:33 PM [Info] Loaded plugin Compass (v1.0.0) by Mughisi
    7:33 PM [Info] Loaded plugin Godmode (v1.4.1) by Mughisi
    7:33 PM [Info] Loaded plugin Advanced Teleportation System (v1.3.0) by Mughisi
    7:33 PM [Info] Loaded plugin Ping (v0.2.1) by Luke Spragg / Wulf
    7:33 PM [Info] Loaded plugin Players list (v1.3.1) by #Domestos
    7:33 PM [Info] Loaded plugin Player location (v1.1.0) by #Domestos
    7:33 PM [Info] Loaded plugin Portgun (v1.2.3) by Reneb
    7:33 PM [Info] Loaded plugin Private Messaging (v1.1.0) by #Domestos
    7:33 PM [Info] Loaded plugin Death Messages (v0.2.9) by Reneb
    7:33 PM [Info] Loaded plugin r-Prod (v1.2.1) by Reneb
    7:33 PM [Info] Loaded plugin RotAG-NameChanger (v1.0.2) by TheRotAG
    7:33 PM [Info] Loaded plugin Save (v1.2.0) by Reneb
    7:33 PM [Info] Loaded plugin OnServerInitialized Hook Test (v1.0.0) by Mughisi
    7:33 PM [Info] Loaded plugin User Connection Notification (v1.1.4) by Taffy
    7:33 PM [Info] Loaded plugin Rust Core (v1.0.0) by Oxide Team
    7:33 PM [Info] Loaded plugin Unity Core (v1.0.0) by Oxide Team
    7:33 PM [Info] -----------------------------
    7:33 PM [Info] Airdrops: Loaded Successfully
    7:33 PM [Info] -----------------------------
    7:33 PM [Info] Successfully initialized Building Owners
    7:33 PM [Info] m-Teleportation: To allow Homes to be set on foundations owned by friends of the player the plugin `Friends API` is required!
    7:33 PM [Info] This plugin can be downloaded at http://oxidemod.org/resources/friends-api.686/
    7:33 PM [Info] The friends check has temporarily been disabled to prevent problems.
    7:33 PM [Info] ===========================================
    7:33 PM [Info] Running the new OnServerIntialized Hook
    7:33 PM [Info] ===========================================
    7:34 PM [Info] Message1
    [DOUBLEPOST=1419878382][/DOUBLEPOST]
    you are right error given only 1 time (i.e. just after restart) and despite there is error, it seems that everything working fine
     
  5. oh wel ... i guess that's why ... not using the latest oxide XD
     
  6. advanced teleport working with latest oxide only thats why we forced to use latest oxide anyway since the error given only 1 time and do not effect anything it doesn't matter at all
     
  7. Omg! Shame on you! :p but yea, with all the issues from time to time with timers that causes them to run over and over again when they throw an error I made a slight change to the timer callback. I'll make a topic in plugin dev in a bit that goes over the latest core & hook changes
     
  8. I was building house and while removing some parts start to receive below errors - I am not sure they are related with remover tool but just want to share with you;
    Code:
    Calling kill - but already IsDestroyed!? null
    Calling kill - but already IsDestroyed!? null
    Calling kill - but already IsDestroyed!? null
    Calling kill - but already IsDestroyed!? null
    Calling kill - but already IsDestroyed!? null
    [Oxide] 10:05 PM [Error] Failed to run a timer. (LuaScriptException: invalid arguments to method call)
    [Oxide] 10:05 PM [Debug]  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.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
     
  9. Code:
    [Oxide] 2:10 PM [Error] r-remover: A .NET exception occured in user-code
      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 (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
    maybe it will help you
     
    Last edited by a moderator: Dec 31, 2014
  10. Code:
    4:54 PM [Info] Crafting rate set to 0% of the normal speed.
    4:54 PM [Info] Resources from gathering is set to: x3.
    4:54 PM [Info] Resources in nodes are set to: x3.
    4:56 PM [Error] r-remover: A .NET exception occured in user-code
     
    Last edited by a moderator: Dec 31, 2014
  11. i know it's a simple bug on server startup, doesn't seem to bug the plugin anyway. will fix that one day :p
     
  12. my log gets so bigg
     
  13. hmmm ... maybe ... damn --'
    i'll see what i can do.
    not familiar with the new timer fix that mughisi put on :p
     
  14. fyi

    following errors received during the game play(i.e. there was no restart - last restart was 16hrs ago)

    Code:
    4:36 AM [Error] r-remover: invalid arguments to method: DeployedItem.Kill
      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 (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
    4:36 AM [Error] r-remover: invalid arguments to method: DeployedItem.Kill
      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 (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
    4:36 AM [Error] r-remover: invalid arguments to method: DeployedItem.Kill
      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 (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
    4:36 AM [Error] r-remover: invalid arguments to method: DeployedItem.Kill
      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 (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
    4:36 AM [Error] r-remover: invalid arguments to method: DeployedItem.Kill
      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 (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
    4:36 AM [Error] r-remover: invalid arguments to method: DeployedItem.Kill
      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 (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
     
    Last edited by a moderator: Dec 31, 2014
  15. Thank you for the great plugin ! Can you transfer information & help messages in the configuration file ? It is necessary for translation into other languages . Thanks again!
     
    Last edited by a moderator: Jan 22, 2015
  16. it doesnt remove. It only removes all for me.
    [DOUBLEPOST=1421966857][/DOUBLEPOST]and I dont have building manager.
     
  17. Would someone be so kind to please make a new remove plugin? The one we have is buggy and it seems the author disagrees.

    Thank you!
     
  18. lol!
    do it yourself then!!!!
    hahahahahaha

    or just learn to read overviews if it's not working --'
     
    Last edited by a moderator: Jan 23, 2015