Im looking for somone who can make a potion of treasure finding plugin that will cast/use potion of treasure finding or use item via item ID and then recast that item at an x amount of time changable via the user and continue in an endless loop. Any help would be much appreciated.
I know it is hard, but did u try: Search the forum -> treasure finding Results: nr.5 : https://www.thebuddyforum.com/honor...-finding-hour.html?highlight=treasure+finding nr.6: https://www.thebuddyforum.com/honor...n-potion-user.html?highlight=treasure+finding nr.8: https://www.thebuddyforum.com/honor...asure-finding.html?highlight=treasure+finding
bumping this because I need help with the same problem. I have searched but everything I find is outdated
that methods doent work if you farming raids/dungeons. at the entrance bot use flask despite the presence of buff.
An easy fix would be to just temporarily disable it while going in/out of the portals. Or, just have it completely disabled while not inside of the dungeon/raid at all since there's no point for the bot to refresh the potion while outside of the raid/dungeon. A Proper Hook Configuration: HTML: <CustomBehavior File="Hooks\DoWhen" ActivityName="Refresh_Potion" UseWhen="!Me.HasAura(80263) && HasItem(58488)" > <CustomBehavior File="UseItem" ItemId="58488" WaitTime="1000" /> </CustomBehavior> After the enter Raid/Dungeon code: HTML: <CustomBehavior File="Hooks\DoWhen" ActivityName="Refresh_Potion" Command="Enable" /> Before the exit Raid/Dungeon code: HTML: <CustomBehavior File="Hooks\DoWhen" ActivityName="Refresh_Potion" Command="Disable" /> You could include a Me.IsInInstance check to the UseWhen. But it seems in this situation that there's an issue with the bot properly detecting 'things' after zoning. So to be on the safe side, manually disabling/enabling the hook seems to be the most reliable solution. However, adding Me.IsInInstance is still worth a try that way you can avoid having to add the Enable/Disable lines.