BBot - The best bot of the world
Geting items from ground. - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Free Scripts (https://forums.bmega.net/forum-10.html)
+--- Thread: Geting items from ground. (/thread-14192.html)



Geting items from ground. - AriusCorn - 03-01-2014

I need macro which gets items from ground. I will give rep. / Potrzebuje macro, który zbiera itemki z ziemi. Dam rep.


RE: Geting items from ground. - AriusCorn - 03-02-2014

Please help me. If I get this macro I will do script, which will be geting flasks from all depos and selling it. It will be great cash maker Smile


RE: Geting items from ground. - Devotion - 03-02-2014

(03-01-2014, 11:02 PM)AriusCorn Wrote: I need macro which gets items from ground. I will give rep. / Potrzebuje macro, który zbiera itemki z ziemi. Dam rep.

X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.PickUpEx(itemID, 5, 1, !X!, !Y!, !Z!, 5)

it pick up items on a 5x5 radio from where u are standing


RE: Geting items from ground. - AriusCorn - 03-03-2014

Doesn't work Sad


RE: Geting items from ground. - Devotion - 03-03-2014

(03-03-2014, 12:16 AM)AriusCorn Wrote: Doesn't work Sad

jeje, sorry, you need to start whit the cap, i cant test it right now, but im goint to leave the script i use to pick up spears from the ground.

Misc.ItemCountEx(3277)<=9
X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.PickUpEx(3277, 5, 1, !X!, !Y!, !Z!, 5)

so, if u want to pick up vials, sould be comething like

Self.Capacity()>50
X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.PickUpEx(item id, 5, 1, !X!, !Y!, !Z!, 5)


RE: Geting items from ground. - AriusCorn - 03-03-2014

Ok, ok, now works, but what I have to do if I wont pick up no only for 5 Sad


RE: Geting items from ground. - Devotion - 03-03-2014

(03-03-2014, 12:30 AM)AriusCorn Wrote: Ok, ok, now works, but what I have to do if I wont pick up no only for 5 Sad

change the first 5 for 100, or 200, depends how many vials u can pick up