BBot - The best bot of the world
Hunting Spear pick up - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Hunting Spear pick up (/thread-15600.html)



Hunting Spear pick up - rev6 - 07-20-2014

Hello i search pickup Hunting spear to hand to paladin in Deeplings in Kazordoon.
I want 5-6 Spear only to my hands Big Grin (if deepling dead and drop it)


RE: Hunting Spear pick up - mr. Kris - 07-20-2014

First You must add to looter DROP (on the floor) hunting spears.
Second spears on left hand
Third
Code:
1000 {Loot spears}MIN:=5 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Self.Inventory.LeftHand.Count()<=!MIN! Map.PickUpEx(3347, 1, 0, !X!, !Y!, !Z!, 2) Self.Equip.LeftHand(3347)
One problem, when on floor will be on stack more spears than one, bot pick up them all.


RE: Hunting Spear pick up - rev6 - 07-21-2014

Thx My Hero Smile


RE: Hunting Spear pick up - mr. Kris - 07-21-2014

(07-21-2014, 07:35 PM)rev6 Wrote: Thx My Hero Smile

I like help other people Smile my pleasure


RE: Hunting Spear pick up - rev6 - 07-21-2014

This Code i Paste to Macro Yes ?


RE: Hunting Spear pick up - mr. Kris - 07-21-2014

Yes, in the line, not in big text box.

First delete all in new macro window.
Second paste this in line.

Macro will be working well. Macro is automaticaly.


RE: Hunting Spear pick up - rev6 - 07-21-2014

I must write My position in X/Y/Z ??


RE: Hunting Spear pick up - mr. Kris - 07-21-2014

No, You doesn't. Macro doing that.


RE: Hunting Spear pick up - rev6 - 07-21-2014

I have something else to doing, because bot dont pick to left hand Hunting Spear Sad

I drop Spears from dead deeping to Ground only Smile

Kurde Nie dziaƂa Sad


RE: Hunting Spear pick up - mr. Kris - 07-21-2014

hmmm look ID spear, does this same ID

or try this:
Code:
1000 {Loot spears}MIN:=5 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Self.Inventory.LeftHand.Count()<=!MIN! Map.PickUpEx(3347, -1, 0, !X!, !Y!, !Z!, 2) Self.Equip.LeftHand(3347)



RE: Hunting Spear pick up - rev6 - 07-21-2014

2nd Question How Use wagons in Kazaroon ??Smile


RE: Hunting Spear pick up - mr. Kris - 07-21-2014

In cavebot You create MapTool Smile


RE: Hunting Spear pick up - rev6 - 07-26-2014

1. I must change here to pick up Hunting Sperars?
2. I must Add Macro to Cavebot? (Codes/Labels > Macro) ? ?


[Image: Qs7nc.jpg]


RE: Hunting Spear pick up - mr. Kris - 07-26-2014

Add here. Don't forgot about activate macros.