R-Remover-Tool

Building and entity removal tool

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

5/5, 105 likes
  1. if this works you will be classed as a god in my eyes Venomous lol
    [DOUBLEPOST=1468553341][/DOUBLEPOST]Venomous is a god it worked omfg 6 hours of pulling my hair out lol hang on i have no hair lol ...Venomous mix of plugins worked for me :)
     
  2. Not working for me...
     
  3. These are times i hate players lol ....i keep saying to myself numbers count then i get another msg from a new player saying this server is shit lol tp dont work remove tool dont work lol ten seconds after an update grrrrrrrrrrrrrrrrrrr
     
  4. Can u upload your files to me???
     
  5. Code:
    static bool hasTotalAccess(BasePlayer player)
    {
        List<BuildingPrivlidge> playerpriv = buildingPrivlidges.GetValue(player) as List<BuildingPrivlidge>;
        if (playerpriv.Count == 0)
        {
            return false;
        }
        foreach (BuildingPrivlidge priv in playerpriv.ToArray())
        {
            List<ProtoBuf.PlayerNameID> authorized = priv.authorizedPlayers;
            bool foundplayer = false;
            foreach (ProtoBuf.PlayerNameID pni in authorized.ToArray())
            {
                if (pni.userid == player.userID)
                    foundplayer = true;
            }
            if (!foundplayer)
            {
                return false;
            }
        }
        return true;
    }
    This part now broken. Anyone know how to fix it?
     
  6. Venomous version working for me too, eiether without Building owners. Thank you man!
     
  7. Is there any fixed version of BuildingOwners ? Remover is working, buildingowners not. It cant load and it shows me errors :D

    @Wulf maybe? :3
     
  8. HEY! All the matter is new update of Cupboard system! The easiest way to fix is to disable cupboard check and enable OWNER check. So only builder will remove. To disable Cupboard check, comment this.
    It is all because smth changed with Auth List, which manages the cupboards, you are authed
    Code:
    /*if (useToolCupboard)
                    if (!hasTotalAccess(player))
                        return MessageErrorNotAllowedToRemove;*/
     
  9. If anyone wants to give my version a try. Seems to be working so far.
     

    Attached Files:

  10. I have found the difference!
    changes in assembly


    Code:
    private List<BuildingPrivlidge> buildingPrivlidges = new List<BuildingPrivlidge>();toprivate List<BuildingPrivlidge> buildingPrivilege = new List<BuildingPrivlidge>();
    so just find
    Code:
    buildingPrivlidges = typeof(BasePlayer).GetField("buildingPrivilege", (BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic));
    and make sure, here is "buildingPrivilege"
    take care of syntacsis

    buildingPrivlidges = > buildingPrivilege

    feel yourself free to Like me)
     
    Last edited by a moderator: Jul 15, 2016
  11. That's exactly what my version does above your post :p
     
  12. Remover tool worked with Entity Owner plugin.

    He is worked with:
    Code:
      "Remove - Access - Use Building Owners": true,
      "Remove - Access - Use Friends & Require Ownership (Require Block Ownership must be true)": false,
      "Remove - Access - Use RustIO & BuildingOwners (Building Owners needs to be true)": true,
      "Remove - Access - Use ToolCupboards": false,
    RemoverTool:

    Change line (818):
    Code:
    if (entity is BuildingBlock)
    to
    Code:
    if (entity is BaseEntity && useBuildingOwners)
    Change line (820):
    Code:
    var returnhook = Interface.GetMod().CallHook("FindBlockData", new object[] { entity as BuildingBlock });
    to
    Code:
    var returnhook = Interface.GetMod().CallHook("FindEntityData", new object[] { entity as BaseEntity });
    Thanks post:
    R-Remover Tool | Page 58 | Oxide
    EntityOwner | Page 20 | Oxide
     

    Attached Files:

    Last edited by a moderator: Jul 15, 2016
  13. Used your version but seems that the description with /remove is russian ? Same for /remove admin
     
  14. im getting this in my console when players use /remove
    NullReferenceException: Object reference not set to an instance of an object
    yes i have the updated version. if anyone can help me let me know
     
  15. Which version? Mine or Topotun's? Mine's working without that error.
     
  16. i guess tops? the r-remover tool
     
  17. Use mine if you don't need the old EntityOwner support
     
  18. Same here, but I did need building owners.
     
  19. i get the same thing, but the /remove admin works flawlessly, any tips?
     
  20. You tried this >post?<
     
    Last edited by a moderator: Jul 15, 2016