Hello,
I think there are a problem with the Permission on this script:
Loaded plugin Finder v3.0.3 by Reneb
grant Group XXX finder.find:
Permission 'finder.find' doesn't exist

Finder
Find Players, SleepingBags, Buildings, Items, and teleport to them
Total Downloads: 7,323 - First Release: Apr 3, 2015 - Last Update: Feb 8, 2017
- 5/5, 19 likes
-
Wulf Community Admin
-
OK so I updated 2 mods tonight after having a stable server for weeks..... I updated Finder @ 8:28pm then SkipNightVote @ 8:35pm and my server crashed INSTANTLY as soon as SkipNightVote was loaded. SO I assumed it was that causing the crash but after removing SkipNightVote i had two other subsequent crashes then I removed Finder and put back the older version and no crashes.....
I am not 100% saying Finder did this, but it looks like it did. -
SUGGESTION:
When doing a find on cupboards maybe allow the distinction between auth on cupboard AND/OR owner of cupboard.
I ask because many people when they raid they auth on the cabinet but it is not theirs.
[DOUBLEPOST=1490469961][/DOUBLEPOST] -
OK so it seems there may be a bug in the mod.... I am standing next to a box full of M249s and running the command:
/find item M249 1
and it reports back only 1 at that location.... it seems the box look (to check storage containers) is not totaling the box since it is 1 per slot.
I guess I do not understand this section of code... looks like the amount of the item from the box is always set to 0:
Code:foreach (StorageContainer sc in Resources.FindObjectsOfTypeAll<StorageContainer>()) { ItemContainer inventory = sc.inventory; if (inventory == null) continue; List<Item> list = inventory.itemList.FindAll((Item x) => x.info.itemid == item.itemid); int amount = 0; '<============= if (amount < itemamount) continue; pu.AddFind("Box", sc.transform.position, amount.ToString()); }
Code:foreach (StorageContainer sc in Resources.FindObjectsOfTypeAll<StorageContainer>()) { ItemContainer inventory = sc.inventory; if (inventory == null) continue; List<Item> list = inventory.itemList.FindAll((Item x) => x.info.itemid == item.itemid); if (list.Count < itemamount) continue; pu.AddFind("Box", sc.transform.position, list.Count.ToString()); }
Last edited by a moderator: Apr 16, 2017 -
I think that list.Count is invalid because then if there are 10 items in each of 3 slots it returns 3 not 30.... I tried this but keep getting the error "Finder.cs(336,48): error CS1501: No overload for method `GetAmount' takes `1' arguments" EVEN THOUGH right below in the next for each the nearly exact same code is working.
Code:foreach (StorageContainer sc in Resources.FindObjectsOfTypeAll<StorageContainer>()) { ItemContainer inventory = sc.inventory; if (inventory == null) continue; List<Item> list = inventory.itemList.FindAll((Item x) => x.info.itemid == item.itemid); int amount = inventory.GetAmount(item.itemid); if (list.Count < itemamount) continue; pu.AddFind("Box", sc.transform.position, list.Count.ToString()); }
-
hopefully @Reneb will see this and review the above post(s).
-
Forgive me if this has already been answered, but is there a way to use this to find all sleepers without names? Thank you for your attention.
Pax Rubigo -
Oxide v2.0.3250 (on start server):
Code:08:46 [Error] Error while compiling: Finder.cs(265,99): error CS1061: Type `Oxide.Plugins.BuildingBlock' does not contain a definition for `OwnerID' and no extension method `OwnerID' of type `Oxide.Plugins.BuildingBlock' could be found. Are you missing an assembly reference?
-
Wulf Community Admin
-
Is this for admins only or is this for anyone to use? How can i make for admins only?
-
Edit: So basically, if you are an admin or useCode:grant user/group name/groupname finder.find
-
-
-
when I do /find building on a certain player...the chat goes blank.... no error.. just blank. Only on that one player from what I have seen though.
-
I can't work out how the coordinates work for this mod. Can someone help?
-
hey there, i would like to ask if it's possible to view a list of all sleepers in the server? thanks
-
Very useful plugin. Thanks for the work you put into it. Is there a log file that I need to delete between map wipes so that old players that have not played on the new map do not show up in the "/find player" search?