User Tools

Site Tools


add_types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
add_types [2015/12/16 15:56]
dexter [Depositer]
add_types [2021/11/15 16:43] (current)
Line 131: Line 131:
  
 // Check if the creature Rafzan is in a range smaller or equal to 3, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item. // // Check if the creature Rafzan is in a range smaller or equal to 3, if true the cavebot go to the next point, otherwise the cavebot reset to the first waypoint item. //
 +
 +
 +  * **!MyVariable!<nowiki>==</nowiki>2**
 +
 +// Check if the variable MyVariable is 3. Note: the left operant must be smaller than 100 (so MyVariable should be less than 100), otherwise it will consider as a item ID FullCheck. It is a good practice to put conditions on macros and only checking if their result is true on the fullcheck, e.g.: a macro updates a variable CanUseSDRune, and the FullCheck will be !CanUseSDRune!==1 (check if 1, or fails otherwise). //
 +
  
 **Note:** if you need multiple conditions you **MUST** use the same fullcheck code grouping them like: **Note:** if you need multiple conditions you **MUST** use the same fullcheck code grouping them like:
 +
  
 //Condition1;Condition2;Condition3;// //Condition1;Condition2;Condition3;//
 +
  
 **Sample:** **Sample:**
 +
  
 //Cap<100;Health Potion<10;3031>1500// //Cap<100;Health Potion<10;3031>1500//
 +
  
 ===== Full Check Label ===== ===== Full Check Label =====
Line 152: Line 162:
 When your character reach the checkpoint will perform the following: //If the cap is less than 100 or the mana potions are lower than 50 it jumps to the **label Deposit** of contrary he jumps to the **label KeepHunting**.// When your character reach the checkpoint will perform the following: //If the cap is less than 100 or the mana potions are lower than 50 it jumps to the **label Deposit** of contrary he jumps to the **label KeepHunting**.//
  
-===== Suplies Withdraw =====+===== Supplies Withdraw =====
  
-The **Suplies Withdraw** will withdraw suplies from the depot, you must put this point in the center of a small amount of depots, the feature will find the best depot to go.+The **supplies Withdraw** will withdraw supplies from the depot, you must put this point in the center of a small amount of depots, the feature will find the best depot to go.
  
 **Code Parameter** **Code Parameter**
  
-You must pass a suplies list to the algorithm on the following format:+You must pass a supplies list to the algorithm on the following format:
 **id1 count1; id2 count2; id3 count3...** **id1 count1; id2 count2; id3 count3...**
  
Line 168: Line 178:
     //Gather 60 enchanted spears and 200 mana potions from depot.//     //Gather 60 enchanted spears and 200 mana potions from depot.//
  
-**Errors**+**IMPORTANT**: The supplies must be in the Second backpack. 
 + 
 +**FAQ: Errors**
   * **Full backpack:** a error will happen when your backpack is full   * **Full backpack:** a error will happen when your backpack is full
   * **Low capacity:** a error will happen when you don't have capacity to push the items   * **Low capacity:** a error will happen when you don't have capacity to push the items
-  * **Unable to gather all:** a error will happen when the **Suplies Withdraw** is not able to get all the requested items (may happen when your supplies are over).+  * **Unable to gather all:** a error will happen when the **supplies Withdraw** is not able to get all the requested items (may happen when your supplies are over).
add_types.1450281371.txt.gz · Last modified: 2021/11/15 16:43 (external edit)