BBot - The best bot of the world
BBot 82.5 - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: BBot (https://forums.bmega.net/forum-3.html)
+--- Forum: News (https://forums.bmega.net/forum-14.html)
+--- Thread: BBot 82.5 (/thread-20696.html)



BBot 82.5 - MegaNo0body - 05-23-2017

Hello guys,

Quote:Version 82.5
+ Tibia 10.94 items (thanks Catar, for helping me)
+ [macro] Map.ItemsOnTile(X, Y, Z)
+ [macro] Map.Item.ID(X, Y, Z, Index)
+ [macro] Map.Item.Count(X, Y, Z, Index)
+ [macro] Map.ItemOnTop.ID(X, Y, Z)
+ [macro] Map.ItemOnTop.Count(X, Y, Z)
+ [macro] Map.CreatureOnTop.ID(X, Y, Z)
* Fixed FullCheck for Advanced Attack Wavers


Playing with maps
Code:
0 {Play With Map}
Index:=0
Items:=Map.ItemsOnTile(:X, :Y, :Z)

{ReadItemAgain}
ID:=Map.Item.ID(:X, :Y, :Z, !Index)
Count:=Map.Item.Count(:X, :Y, :Z, !Index)
Debug.Log(:X :Y :Z Index=!Index ID=!ID Count=!Count)

!Index<!Items [Leave]
VarAdd(Index, 1)
GoLabel(ReadItemAgain)
{Leave}
                          
ItemOnTopID:=Map.ItemOnTop.ID(:X, :Y, :Z)
ItemOnTopCount:=Map.ItemOnTop.Count(:X, :Y, :Z)
CreatureOnTop:=Map.CreatureOnTop.ID(:X, :Y, :Z)

Debug.Log(On Top ID=!ItemOnTopID Count=!ItemOnTopCount Creature=!CreatureOnTop)



RE: BBot 82.5 - Catar - 05-23-2017

For people who don't really understand what just happened.

Now there will be easy way to make macro to disintegrate items on certain SQM, to not get trapped on upper level by walking on hidden parcels.

example, Diabolic Imps in Engran - hexera


RE: BBot 82.5 - Dexter - 06-02-2017

Cool guys!!! Big Grin


RE: BBot 82.5 - the angels - 06-04-2017

bbot using 2~5 % cpu?
http://prntscr.com/ffntsf

GO MACRO PAUSEWALKING() in ms
example
pausewalking()300

pause waking ^^ 300 ms