User Tools

Site Tools


variables

Variables

Summary

Now it is possible to create global variables and see the variables that exist in Macro Engine, the variables will be available in the Global Cavebot, eg in FullCheck, Sell and Buy facilitating customization of scripts.

How to configure Variables

The global variables are available for any configuration of your script. When you create a variable, such as minCap=100, you can use this variable anywhere in your script to check your cap.

After configurated all the global variables, just press Apply button.

System Variables

These variables control internal BBot modules, the default values should be optimal and you should never change them if you don't really know what are you doing.

BBot.Attacker.FailIgnoreTime=30000

BBot.Attacker.FailMaxAttemps=3

These two variables control after how many tries and for how long BBot puts a creature on Ignore after failing to attack it. (f.e. When it takes no damage).

BBot.Attacker.AvoidTime=10000

Defines for how long BBot will ignore creatures with Avoid priority. After this delay, the creature will be treated as normal priority therefore will be attacked.

BBot.Attacker.ConfirmTime=8000

Configures how long Attacker waits for attack confirmation. If your character doesn't deal a single percent of target's HP within ConfirmTime, the Attacker will stop the attack and start again.

BBot.Attacker.HistoryTimeout=5000

How long BBot Attacker keeps the history of recently attacked creatures, that is used to determine, if Open Corpses should try to loot recently killed creatures.

BBot.Attacker.SummonIgnoreTime=180000

How long BBot ignores creatures detected and marked as summons.

BBot.Attacker.VerifyReachable=8000

How often BBot will verify if the currently attacking creature is reachable.

BBot.Attacker.UnReachableIgnoreTime=750

How long unreachable creatures will be ignored by Attacker.

BBot.Backpacks.Tick=600

Adjusts how often the Backpacks module will open or close backpacks. This delay can be adjusted to make BBot open backpacks slower or faster, shouldn't be decreased, otherwise it can start opening and closing the backpacks non-stop.

BBot.Cavebot.NoKillMaxStandTime=10000

The maximum stand time while in Cavebot NoKill. If the player stands still in a single SQM while NoKill point, it will start attacking normally (to avoid traps).

BBot.Cavebot.SmartClick.AnalyzeCount=6

BBot.Cavebot.SmartClick.MaxAttacks=2

These variables define, when Smart MapClick will be activated and deactivated. AnalyzeCount is an amount of Cavebot Waypoints that character should walk without exceeding MaxAttacks. Smart MapClick is turned ON after passing by set number of Cavebot Waypoints without exceeding MaxAttacks.

BBot.Exhaust.Defensive=600

BBot.Exhaust.Offensive=800

BBot.Exhaust.Potion=600

Exhaustions used by several modules, they control how often items and spells are used. This is not respected by some modules like Healer or Mana Drinker, that have their own exhaustion.

BBot.Healers.ItemHeavy.ItemID=?

BBot.Healers.ItemLow.ItemID=?

BBot.Healers.ItemMid.ItemID=?

BBot.ManaDrinker.Heavy.ItemID=?

BBot.ManaDrinker.Low.ItemID=?

BBot.ManaDrinker.Mid.ItemID=?

These variables are read-only (you cannot set them), they are internal variables that represents the current Healer and Mana Drinker item IDs. These variables can be also used to set up refillers that automatically refills the selected Healer or Mana Drinker items. Ex: Buy (1000 1000 7:!BBot.Healers.ItemHeavy.ItemID! 200)

BBot.OpenCorpses.DelayBeforeOpen=1200

The Time BBot waits before trying to open the corpse.

BBot.OpenCorpses.NoCorpseTimeout=2000

How long BBot waits to check for a corpse in the SQM, that a creature died. For example Snakes leave no actual corpse, so after this delay the Open Corpse task will be cleaned.

BBot.OpenCorpses.NormalTimeout=180000

How long BBot keeps old Open Corpses tasks.

BBot.OpenCorpses.RunTick=1000

How often BBot runs Open Corpses tasks. Shouldn't be too small, otherwise it may start opening and closing the Open Corpses, without looting the items.

BBot.OpenCorpses.TargetDead.Lock=600

How long an Attacker and Cavebot will be locked by Open Corpses when a recently attacked creature dies.

BBot.OpenCorpses.WaitLock.NewCorpse=3000

Duration of WaitLock when a new corpse is found. WaitLock prevents BBot from walking, affecting all modules like Cavebot, Keep Distancer, Open Corpses (for far corpses, distance>1).

BBot.OpenCorpses.WaitLock.Run=1500

Duration of WaitLock when OpenCorpses task is ran.

BBot.SpecialSQMs.AutoBlockAttemps=8

BBot.SpecialSQMs.AutoBlockTime=5000

When BBot tries to go to move into SQM and fails (for example: when there's an invisible Stalker on that SQM), it will mark that SQM as AutoBlock Special SQM, this special SQM automatically disappears after the set time.

variables.txt · Last modified: 2021/11/15 16:43 (external edit)