BBot - The best bot of the world
Need Help to buy with Macro - 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: Need Help to buy with Macro (/thread-20268.html)



Need Help to buy with Macro - xolink - 09-18-2016

this is my macro, and i need that buy mana potions, but it dont it Big Grin please help
ID:=Creature.ByName(Sigurd)
Creatures.ByName(Sigurd)>=1
Creature.Follow(!ID!)
NPC.Say(hi)
NPC.Say(trade)
NPC.Buy(268, 120 2000)
NPC.Say(Bye)
Exit()


RE: Need Help to buy with Macro - Catar - 09-18-2016

use cavebot for buying things

and btw, when u use macro to NPC.Buy u only put (ID, Amount, IgnoreCap) as ignore cap put 0

also it wont work in one macro without delays, because all these actions happen in same time, and buying things from store takes some time.

U really should use Cavebot for that


RE: Need Help to buy with Macro - xolink - 09-18-2016

(09-18-2016, 04:35 PM)Catar Wrote: use cavebot for buying things

and btw, when u use macro to NPC.Buy u only put (ID, Amount, IgnoreCap) as ignore cap put 0

also it wont work in one macro without delays, because all these actions happen in same time, and buying things from store takes some time.

U really should use Cavebot for that

thanks, but still no work, i know i can do it, in the cave, but im doing a new method to refill in kazordoon, to save a lot of code in the waypoint and not use many full checks


RE: Need Help to buy with Macro - Catar - 09-18-2016

and how is that suppose to work exacly?

Whats wrong with having refill in cavebot?


(09-18-2016, 04:46 PM)xolink Wrote: [...]to save a lot of code in the waypoint and not use many full checks

BTW, u know u can do full checks in MACRO?
i only have 2 of them.
One on spawn, and one in depo.

these are examples from my demon script
in depo
[macro]0 {ilesupp}
gpoty:=Misc.ItemCountEx(!gsp!)
uspoty:=Misc.ItemCountEx(!usp!)
prismring:=Misc.ItemCountEx(!prismofID!)
task:=Creatures.TaskKilled(Demon)
!gpoty!<!buygsp! [else1]
CaveBot.GoLabel(Refill)
exit()
{else1}
!uspoty!<!buyusp! [else2]
CaveBot.GoLabel(Refill)
exit()
{else2}
!task!>=!zadanie! [else3]
Self.Logout()
exit()
{else3}
!prismring!<=1 [else4]
Cavebot.Stop()
exit()
{else4}
!pausedepot!==1 [else5]
Cavebot.Stop()
{else5}
CaveBot.GoLabel(NaResp)
exit()
[/macro]


on spawn

[macro]0 {checkpoint}
poty:=Misc.ItemCountEx(!usp!)
scap:=Self.Capacity()
task:=Creatures.TaskKilled(Demon)
!poty!<=!BackBelow! [else1]
CaveBot.GoLabel(powrot)
exit()
{else1}
!task!>=!zadanie! [else2]
CaveBot.GoLabel(powrot)
exit()
{else2}
!InstaBack!==1 [else3]
CaveBot.GoLabel(powrot)
exit()
{else3}
CaveBot.GoLabel(hunt)
exit()
[/macro]

And they are used by cavebot

[Image: GRTR2kM.png]


at exacly 9 min of video u can see Cavebot using the macro checkpoint to count items and decide if go back or stay exp


RE: Need Help to buy with Macro - Benus - 09-18-2016

i need macro to looter for stack items second bp for normal items first bp.

help me gajz

i need help with tasker,used macro or what.


RE: Need Help to buy with Macro - Catar - 09-18-2016

(09-18-2016, 07:09 PM)Benus Wrote: i need macro to looter for stack items second bp for normal items first bp.

help me gajz

i need help with tasker,used macro or what.

cant understand a thing from what u said, and make ur own topic or post in http://forums.bmega.net/showthread.php?tid=21842

u have all looter settings in looter... u cant control it with any macro


RE: Need Help to buy with Macro - Benus - 09-29-2016

i need save macro to mas san in party any help?