Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with task command
#1
FullCheck (X X X:Full task Else next Code ~Undead Dragon>=400)
Labels are good and it doesnt work... any1 to help me please? :/
I'm playing on Hexera
Reply
#2
What's this?

I never see this kind of 'waypoint' in bbot
Reply
#3
(05-10-2016, 12:53 PM)Catar Wrote: What's this?

I never see this kind of 'waypoint' in bbot

http://wiki.bmega.net/doku.php?id=add_types&s[]=scarab
Quote:~Scarab>=10
Check if the Scarab task killed count is bigger or equal than 10, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item.
Reply
#4
#refesh
Mega, could u help me please?
Reply
#5
oh jeez man, there is easier way...

Make manual macro and u can add all decisions you want your bot to make.

Then put that macro on waypoint instead of full check


example of mine hellhound task maker ;D

variables:
Code:
buymana=2740
buyhp=200

zadanie=252
resettask=1

Checkpoint on SPAWN
[macro]0 {checkpoint}
task:=Creatures.TaskKilled(Hellhound)
mpoty:=Misc.ItemCountEx(268)
upoty:=Misc.ItemCountEx(7643)
!upoty!<40 [else1]
CaveBot.GoLabel(powrot) exit()
{else1}
!mpoty!<120 [else2]
CaveBot.GoLabel(powrot)
exit()
{else2}
!task!>=!zadanie! [else3]
CaveBot.GoLabel(powrot)
exit()
{else3}
CaveBot.GoLabel(dalej)
exit()
[/macro]


Checkpoint in DEPO

[macro]0 {ilesupp}
bmana:=!buymana!
VarSub(bmana, 10)
upoty:=Misc.ItemCountEx(7643)
mpoty:=Misc.ItemCountEx(268)
task:=Creatures.TaskKilled(Hellhound)
!upoty!<!buyhp! [else1]
ReUser.Pause(Haste)
CaveBot.GoLabel(Refill)
exit()
{else1}
!mpoty!<!bmana!
[else2] ReUser.Pause(Haste)
CaveBot.GoLabel(Refill)
exit() {else2}
!task!>=!zadanie! [else3]
!resettask!==1 [res]
CaveBot.GoLabel(NewTask)
ReUser.UnPause(Haste) exit()
{res}
Self.Logout()
exit()
{else3}
ReUser.UnPause(Haste)
CaveBot.GoLabel(NaResp)
exit()[/macro]
Reply
#6
Catar, native > macro.

I'll check it Zarize, thank you!
Reply
#7
(05-11-2016, 07:29 PM)MegaNo0body Wrote: Catar, native > macro.

I'll check it Zarize, thank you!

In this case macro works much better and gives much more freedom (possibilities).

When I got bbot for the first time ever, I tried that full check thing which was mentioned in some tutorial in here. It was terrible experience for me.
It was slow and with very limited possibilities.
So I read some forum posts, macro commands etc., learned how macro works and looks like which took me only few hours to master it.

Since then I always use manual macros to make full checks and other things i want bot to do in certain places. (like turning on and off some of Re-Users)
You can make it also to check how many soft boots you have left, and if only last pair, make bot to go venore label to fix them, and at the same time it will check your task count and go port hope next if necessary.
All in a single waypoint
Reply
#8
(05-11-2016, 06:47 PM)Catar Wrote: oh jeez man, there is easier way...

Make manual macro and u can add all decisions you want your bot to make.

Then put that macro on waypoint instead of full check


example of mine hellhound task maker ;D

variables:
Code:
buymana=2740
buyhp=200

zadanie=252
resettask=1

Checkpoint on SPAWN
[macro]0 {checkpoint}
task:=Creatures.TaskKilled(Hellhound)
mpoty:=Misc.ItemCountEx(268)
upoty:=Misc.ItemCountEx(7643)
!upoty!<40 [else1]
CaveBot.GoLabel(powrot) exit()
{else1}
!mpoty!<120 [else2]
CaveBot.GoLabel(powrot)
exit()
{else2}
!task!>=!zadanie! [else3]
CaveBot.GoLabel(powrot)
exit()
{else3}
CaveBot.GoLabel(dalej)
exit()
[/macro]


Checkpoint in DEPO

[macro]0 {ilesupp}
bmana:=!buymana!
VarSub(bmana, 10)
upoty:=Misc.ItemCountEx(7643)
mpoty:=Misc.ItemCountEx(268)
task:=Creatures.TaskKilled(Hellhound)
!upoty!<!buyhp! [else1]
ReUser.Pause(Haste)
CaveBot.GoLabel(Refill)
exit()
{else1}
!mpoty!<!bmana!
[else2] ReUser.Pause(Haste)
CaveBot.GoLabel(Refill)
exit() {else2}
!task!>=!zadanie! [else3]
!resettask!==1 [res]
CaveBot.GoLabel(NewTask)
ReUser.UnPause(Haste) exit()
{res}
Self.Logout()
exit()
{else3}
ReUser.UnPause(Haste)
CaveBot.GoLabel(NaResp)
exit()[/macro]

Thanks for help =)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)