xivoo98
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Nov 21, 2021 20:20:25 GMT
View Profile
Registered On: Oct 30, 2021 16:20:31 GMT
|
Post by xivoo98 on Nov 9, 2021 19:34:14 GMT
How do i make the bot check if i have sufficient amount of manas even if my "mana bp" is closed?
Everytime my mana bp is closed, the bot thinks i have zero manas left and attempts to refill. Is there a solution to this?
|
|
firstemperor
Member
Posts: 13 Likes: 6
Currently Offline
Last Online: Mar 7, 2024 17:26:42 GMT
View Profile
Registered On: Nov 25, 2021 9:39:18 GMT
|
Post by firstemperor on Nov 25, 2021 9:55:36 GMT
How do i make the bot check if i have sufficient amount of manas even if my "mana bp" is closed? Everytime my mana bp is closed, the bot thinks i have zero manas left and attempts to refill. Is there a solution to this?
On your Cavebot Hotkeysset $UHP_Buy '300' set $UHP_LeaveHunt '100'
set $GHP_Buy '0' set $GHP_LeaveHunt '0'
set $MP_Buy '1900' set $MP_LeaveHunt '650' GHP is set as 0 because I don't want to buy GHPs, only UHP. If you want to buy GHP but not UHP, just set '0' on UHP and the amount you want on GHP. Just to be clear: It's set to buy 300 UHP and 1900 Mana Potions. It will leave hunt if with 100 UHP or if with 650 Mana Potions. On your Cavebot WaypointsMake an action to talk to the NPC like that:npcsay "hi wait 400 npcsay "hi wait 400 npcsay "trade wait 400 npcsay "trade wait 400 After it, make another action called repot ek (or another name) and put it:It will buy your potions no matter if BP is opened or not. If you have enough, it will skip. If you don't have enough, it will keep on same waypoint until you buy the amount you set on Cavebot Hotkeys. useoncreature 268 self | useoncreature 7643 self | useoncreature 239 self | wait 500 if [$itemcount.'ultimate health potion' < ($UHP_Buy-5) && $UHP_Buy != 0] {buyitemsupto 7643 $UHP_Buy $itemcount.'ultimate health potion' | gotolabel 'repot ek'} if [$itemcount.'great health potion' < ($GHP_Buy-5) && $GHP_Buy != 0] {buyitemsupto 239 $GHP_Buy $itemcount.'great health potion' | gotolabel 'repot ek'} if [$itemcount.'mana potion' < ($MP_Buy-5) && $MP_Buy != 0] {buyitemsupto 268 $MP_Buy $itemcount.'mana potion' | gotolabel 'repot ek'} Before leaving the hunting spotMake an action to check your potions:It will check your potions, no matter if BP is opened or not. If not enough, it will skip to waypoint called Leave and gonna repot. If you have enough potions, it will skip to waypoint called Keep Botting. useoncreature 7643 self | wait 500 | if [$itemcount.'ultimate health potion' <= $UHP_LeaveHunt && $UHP_Buy != 0] {gotolabel 'Leave'}} useoncreature 268 self | wait 500 | if [$itemcount.'great health potion' <= $GHP_LeaveHunt && $GHP_Buy != 0] {gotolabel 'Leave'}} useoncreature 239 self | wait 500 | if [$itemcount.'mana potion' <= $MP_LeaveHunt && $MP_Buy != 0] {gotolabel 'Leave'}} gotolabel 'Keep Botting' That is for EK, though. If you want to use it on a RP or Mage, just change names and IDs. I think it's easy to understand how these actions works just by looking at them but if you need any help, let me know.
|
|