Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with refiller code please!! (full check labels)
#1
Information 
Hi, I use this code for my full check label:

FullCheckLabel (32746 31293 9:Full Cueva 2 Else Refil Code Cap>100;237>=56)


Instead of the ID of (strong mana potion) I also use this:

FullCheckLabel (32746 31293 9:Full Cueva 2 Else Refil Code Cap>100;strong mana potion>=56)

What is wrong with my code? The cap does acts normally but when I have more than 100 cap but less than 56 storn mana potions the bot just keeps doing the same route like if the full ckeck doesnt works, please help me!!
#2
U need command to count number of items, first "237>=56" its always true, number 237 is always higher than 56 Wink
Use this "itemcount..." command (check in macro maker how to write this command cause I dont remember)
#3
(08-15-2012, 02:35 PM)Daczu Wrote: U need command to count number of items, first "237>=56" its always true, number 237 is always higher than 56 Wink
Use this "itemcount..." command (check in macro maker how to write this command cause I dont remember)

237>=56 means: ItemCount(237)>=56

Please read the documentation.
#4
MegaNo0body, I dont understand the documentation the bot opens automatically when I click on full check label.

Can you please help me?

I want the bot to go to the "refil" label when:

1) My strong mana potions are less than 56
OR
2) My cap is less than 100


At the moment the bot only does the cap restriction, the strong mana potions doesnt works. Please need help and I read the macros but I'm not good at macreos :/
#5
(08-15-2012, 04:31 AM)Towalf Wrote: Hi, I use this code for my full check label:

FullCheckLabel (32746 31293 9:Full Cueva 2 Else Refil Code Cap>100;237>=56)


Instead of the ID of (strong mana potion) I also use this:

FullCheckLabel (32746 31293 9:Full Cueva Else Refil Code Cap>100;strong mana potion>=56)

What is wrong with my code? The cap does acts normally but when I have more than 100 cap but less than 56 storn mana potions the bot just keeps doing the same route like if the full ckeck doesnt works, please help me!!

Try this:

Code:
FullCheckLabel (32746 31293 9:Full Refil 2 Else Cueva Code Cap<100;237<=56)

This way, when the cap is less than 100 or the potion is less than or equal to 56, it will run the option Full, so, will go to the label Refill.

In cavebot should look like this:

Code:
Point (X Y Z)
FullCheckLabel (32746 31293 9:Full Refil 2 Else Cueva Code Cap<100;237<=56)
Label (X Y Z:Refil)
Point (X Y Z)
#6
=o You made it work!

Thanks Dexter!!

By the way, I also changed the name of my "labels"

Cueva 1 to Cueva1
Cueva 2 to Cueva2

The names together, maybe that can confuse the bot too.

Thanks a lot!


Forum Jump:


Users browsing this thread: 1 Guest(s)