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![]()
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
-
Not working for me...
-
-
-
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; }
-
-
Is there any fixed version of BuildingOwners ? Remover is working, buildingowners not. It cant load and it shows me errors
@Wulf maybe? :3 -
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;*/
-
If anyone wants to give my version a try. Seems to be working so far.
Attached Files:
-
-
I have found the difference!
changes in assembly
Code:private List<BuildingPrivlidge> buildingPrivlidges = new List<BuildingPrivlidge>();toprivate List<BuildingPrivlidge> buildingPrivilege = new List<BuildingPrivlidge>();
Code:buildingPrivlidges = typeof(BasePlayer).GetField("buildingPrivilege", (BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.NonPublic));
take care of syntacsis
buildingPrivlidges = > buildingPrivilege
feel yourself free to Like me)Last edited by a moderator: Jul 15, 2016 -
-
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,
Change line (818):
Code:if (entity is BuildingBlock)
Code:if (entity is BaseEntity && useBuildingOwners)
Code:var returnhook = Interface.GetMod().CallHook("FindBlockData", new object[] { entity as BuildingBlock });
Code:var returnhook = Interface.GetMod().CallHook("FindEntityData", new object[] { entity as BaseEntity });
R-Remover Tool | Page 58 | Oxide
EntityOwner | Page 20 | OxideAttached Files:
Last edited by a moderator: Jul 15, 2016 -
-
Used your version but seems that the description with /remove is russian ? Same for /remove admin
-
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 -
-
i guess tops? the r-remover tool
-
-
-