What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

unlocking and opening ghost iron lockboxes while standing still (looting em too)

Gaaldornick

Member
Joined
Apr 15, 2014
Messages
366
Anyone have an easy method of doing it? I tried Object Gatherer, which did unlock them but it seems to try looting too fast (or something) because it only grabs the greens and leaves the gold so I have to go back and reopen them manually.

Anything about that will unlock/open them and loot em fully? If it was 1-2 I wouldn't care but I have 50+ every few days.
 
You could easily automate this with the questing botbase.


Behavior Method
PHP:
<HBProfile>
<QuestOrder>


	<While Condition="HasItem(88567)" >
		<CustomBehavior File="RunCode" Code="SpellManager.Cast(1804); await Coroutine.Sleep(750);" />
		<CustomBehavior File="UseItem" ItemId="88567" NumOfTimes="2" WaitTime="5450" />
	</While>

</QuestOrder>
</HBProfile>
The UseItem behavior will use it once to unlock it. Then again to loot it.
However, after the second use - it will still wait 5450 milliseconds.
You can split this into two lines instead so that the second one won't wait as long.



Full RunCode Method
PHP:
<HBProfile>
<QuestOrder>

	<CustomBehavior File="RunCode"><![CDATA[
		var lockBoxes = StyxWoW.Me.BagItems.Where(i => i.Entry == 88567);
		foreach (WoWItem pickBox in lockBoxes)
		{
			SpellManager.Cast(1804);
			await Coroutine.Sleep(750);
			pickBox.Use();
			await Coroutine.Sleep(5450);
			pickBox.Use();
			await Coroutine.Wait(2500, ()=> LootFrame.Instance.IsVisible);
			await Coroutine.Sleep(500); // A bit of extra lag for safety.
			LootFrame.Instance.LootAll;
			await Coroutine.Wait(2500, ()=> !LootFrame.Instance.IsVisible);
		}
		]]>
	</CustomBehavior>
	

</QuestOrder>
</HBProfile>
 
Last edited:
The code that's there is all you need to make it a profile.
You'd take that code, paste it into a text document, then save the text document as Name.xml

The .xml extension will convert it from a text document to an XML document - which is what Honorbuddy reads for Questing botbase profiles.
Here's the first example pasted into a profile:

 
hey echo , thanks for the effort!
a question : if i have the glyph of instack pick locks , can i lower the 5k ms sleep timer?
 
Back
Top