BBot - The best bot of the world
2 Macros needed: haste if mana > 90% and go to waypoint when ammo is low - 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: 2 Macros needed: haste if mana > 90% and go to waypoint when ammo is low (/thread-19063.html)



2 Macros needed: haste if mana > 90% and go to waypoint when ammo is low - brunobomber - 12-31-2015

Hi, so I need 2 macros, first that would cast utani hur when my mana is above 90% (I guess I could write it by myself, but I'm lazy) and 2nd that would cease cavebot, looter and killer then move my character to a certain waypoint (or a first waypoint in cavebot) when my royal spears in hand are below 3 and logout


RE: 2 Macros needed: haste if mana > 90% and go to waypoint when ammo is low - Catar - 12-31-2015

Utani hur
   


Waypoint when ammo low
read and figure it out urself, and rep me Smile

http://wiki.bmega.net/doku.php?id=add_types#full_check_label

   
   


RE: 2 Macros needed: haste if mana > 90% and go to waypoint when ammo is low - Sivy - 01-10-2016

(12-31-2015, 01:33 PM)Catar Wrote: Utani hur



Waypoint when ammo low
read and figure it out urself, and rep me Smile

http://wiki.bmega.net/doku.php?id=add_types#full_check_label

Hello there.
Just add FULL CHECK to waypoint which has example. condition; cap<10;237<30;15793<100)
If it has no under value ( < ) it goes simply back to the first waypoint. If not it goes next waypoints.

237 is strong mana potions, 15793 are crystalline arrows in this example.

Like this


RE: 2 Macros needed: haste if mana > 90% and go to waypoint when ammo is low - Catar - 01-10-2016

I think he already figured it out, this topic is almost 2 weeks old.

About full checks,
Me personally, preffer to make check macro (on manual), so i can put much more specified conditions than built in 'full check' in cavebot


RE: 2 Macros needed: haste if mana > 90% and go to waypoint when ammo is low - nosbor00 - 01-10-2016

in my opinion script for RP should have multiple full checks (even for macro), to prevent munitions end up before leaving the hunt
example
{0} FullCheckAmmo Misc.ItemCountEx (! AmmoID!) <! MinAmmo! CaveBot.GoLabel (GoToRefiller) Exit ()
this way I can create some labels who walk through the cave to the central label


RE: 2 Macros needed: haste if mana > 90% and go to waypoint when ammo is low - Catar - 01-10-2016

(01-10-2016, 07:38 PM)nosbor00 Wrote: in my opinion script for RP should have multiple full checks (even for macro), to prevent munitions end up before leaving the hunt
example
{0} FullCheckAmmo Misc.ItemCountEx (! AmmoID!) <! MinAmmo! CaveBot.GoLabel (GoToRefiller) Exit ()
this way I can create some labels who walk through the cave to the central label



Thats how one of my macro checks looks like Tongue

Code:
infr:=Misc.ItemCountEx(6528)
poty:=Misc.ItemCountEx(7642)
scap:=Self.Capacity()
hawk:=Creatures.ByName(Black Hawk)
rabi:=Creatures.ByName(Rabitori)
task:=Creatures.TaskKilled(Hellhound)
!hawk!==1 [else01]
CaveBot.GoLabel(powrot)
exit()
{else01}
!rabi!==1 [else02]
CaveBot.GoLabel(powrot)
exit()
{else02}
!poty!<55 [else1]
CaveBot.GoLabel(powrot)
exit()
{else1}
!infr!<100 [else2]
CaveBot.GoLabel(powrot)
exit()
{else2}
!task!>=!zadanie! [else3]
CaveBot.GoLabel(powrot)
exit()
{else3}
CaveBot.GoLabel(dalej)
exit()