Hunter setup instructions

Our YouTube channel has a whole playlist dedicated to Hunter plugin settings.


Terminology

  • Bot (Adrenaline) - directly the Adrenaline bot program
  • Bot config - the interface settings file in Adrenaline Bot (stores the settings for buff, heal, attack, etc.)
  • Combat zone - the area where our character will farm, can be drawn in the Adrenaline bot interface
  • Script \ Plugin (Hunter) - a script for the Adrenaline bot program, the description and instructions of which you are currently reading
  • Script config - script settings file (stores the settings for buying, selling, which spot to return to, etc.)
  • GPS map - a file containing pre-built routes along which the bot will move

Fast start

The links in the steps below lead to the necessary points in the instruction video, so that you can clearly see how all the necessary actions are performed.

First of all, we launch the bot's Adrenaline, go into the game on your character, and launch the Hunter.bin script on script Window..

  1. Configuring the bot config. We indicate the attacking skills, buff, heal and so on. For example, let's create a bot config and name it Spoiler.

  2. Decide on the area where we want to farm and draw the farm area in the bot. For example, let's create a new zone and name it BeastFarm.

  3. Create a new cpot in the plugin interface (the "Spots" tab), be sure to give it a name (suppose BF is an abbreviation for BeastFarm) and specify the previously created farm zone (BeastFarm), as well as optionally specify the bot config (Spoiler) and add restrictions on level. The spot also needs to set the coordinates of its center (at least one, but in general there may be several of them) - the bot will use them when returning to the spot. Do not forget to click on the "Save spot settings" button after setting!

  4. Specify the newly created spot in the spot settings (the "Main settings" tab), enter the name of the spot - BF. as well as specify the default bot config (Spoiler), if you have not previously specified it in the spot settings.

  5. Choose which GPS map we will use ("Movement" tab).

  6. We lay in this map a route to our spot using the GPS editor. This stage sometimes causes difficulties for beginners, especially when you need to set up teleports through the GC, so carefully study the detailed video instructions.

Fine! You have set up a spot refund using the Hunter plugin. You can activate the plugin and see what happened.

The script will write any errors to the bot logs window, so if something does not work for you, read what is written there carefully.

Instructions for setting up a rebuff, buying supplies, selling junk, draining a level and other actions are below.
 


Functions

Rebuff

In this tab, you can configure the rebuff from Npc or Alt + B. An important feature of the Hunter is that you can configure the receipt of several different buffs from different Npc at once, for example, a nubobuff from an assistant and protection from pc from a gatekeeper, and these Npc can even be located in different cities.

To make the rebuff functions work at all, do not forget to activate the rebuff functions (checkmark at the very top of the tab)!

If you are setting up several configs and want to duplicate the rebuff settings - right-click on the table and select "Load a list from another config" - then select from which config you want to transfer the settings. Please note that all your current settings for this table will be deleted with this action!

How to set up buffs from Npc (Video)

First, add a new or select an existing element in the table, and then specify the following parameters for it:

  1. Method. We choose Npc. Then the script will understand that to get a custom buff, you need to run to one of the Npc configured below.
  2. Buffs. This field contains the ID of the buffs being checked, which can be viewed in the main interface of the bot's adrenaline in the "Character → Skills → Skills / Buffs on me" section. If the buff you want to check is already hanging on the character, then click on the + button next to the field and select one or more buffs from the drop-down list.
  3. Fly away from the spot for a buff if there is <X sec left. If one of the buffs that you indicated earlier is missing on the character or he has less time left than you specify here, then the character will go to rebuff him to the specified Npс. If you set the value to 0, then the character will not fly away from the spot, but will only be buffed if he dies and enters a peaceful zone.
  4. Level. You can adjust the minimum level, from which level the character will go for this buff, as well as the maximum level, after reaching which level the character no longer needs this buff. For example, the PC protection buff can only be received up to level 40, so it should be set to a maximum level of 40, otherwise your bot will try to buff indefinitely. You can disable each of the level checks by specifying a value of 0.
  5. Buffers. In this field, you must specify through; ID of all Npc from whom we can receive this buff.
    You can enter them manually, or you can select the NPC you need in the game and press the T button next to the input field in the plugin. There can be one or several buffers (for example, similar buffers in different cities) - then the script will go to re-buff to the nearest one.
    If on your server the same buffer with the same ID is in different cities, and you want the character to be able to buff in any city where this buff is, then you need to add each of these buffers to the internal script database.
    If suddenly the Npc you specified is not present at all in the built-in database of the script, the "Buffers" inscription will blink red and become clickable. Click on it and follow the instructions to automatically add the missing Npc to the database.
  6. Dialog. Here is the dialogue that you need to squeeze from the Npc to get the buff. It's easy to set up: open a dialogue with the Npc in the game, and then open the plugin and press the + button next to the text input field. In the drop-down list, sequentially select the required dialogs and they are immediately recorded. Or you can enter them manually. All answer choices are listed through;.
    An example of a customized dialog: Buffs; Warrior; or 1; 4;
    You can right-click on the field to open additional. settings, in particular, you can choose the method of recording dialogues (change only if the standard method does not work), enable or disable automatic selection of dialogues in the game when you select them in the drop-down list, and you can also test the dialog you configured (the bot will all dialogs configured in the field).
​How to set up buffs from Npc (Video)

First, add a new or select an existing element in the table, and then specify the following parameters for it:

  1. Method. Choose Alt + B. So the script will understand that to get a custom buff, you need to open Alt + B and buff.

    • Peacefull - buff only in a peaceful zone (it will fly away from the spot).

    • Anywhere - buff anywhere (on the spot it will fight off → leave the battle → open Alt + B and get a buff)

  2. Buffs. This field contains the ID of the buffs being checked, which can be viewed in the main interface of the bot's adrenaline in the "Character → Skills → Skills / Buffs on me" section. If the buff you want to check is already on the character, then click on the plus button next to the field and select a buff or several buffs from the drop-down list.

  3. Fly away from the spot for a buff, if there is <. If the buff that you indicated in "Buffs:" is missing on the character or he has less time left than you specify here, then the character, depending on the selected method (Peacefull / Anywhere), will either fly into a peaceful zone or fight off aggro, leave the battle, open Alt + B and take the required buff.

  4. Level. You can adjust the minimum level, from which level the character will go for this buff, as well as the maximum level, after reaching which level the character no longer needs this buff. If you set the value of the level to 0 then checking for this range of levels will be disabled.

  5. Buffers. Leave this field blank.

  6. Dialog. When you right-click in the "Dialogue:" field, a menu will open in which you can select how the script will try to select and run dialogs, By ordinal number, by dialog line or bypass. This option should be changed only if the standard dialogs are not squeezed by the script. Also in this menu you can enable / disable the selection of dialogues in the game (This means that when you select a dialogue in the script through the plus button, it will immediately be pressed into the game), as well as the function of checking the already configured dialogue. First of all, you need to open Alt + B after clicking on the plus button located next to the input field and alternately clicking on all the necessary dialogs.
    An example of a configured dialogue: Buffs; Warrior; or 1; 4;


Purchase of supplies

In this tab, you can configure the purchase of consumables for farming from both Npc and Alt + B, be it nipples, HP cans, equipment or even books for learning skills. An important feature of the Hunter is that you can buy different items from different Npc, and these Npc can even be in different cities.

How to set up a purchase from Npc
  1. Activate the functions of purchasing consumables. If you uncheck the box, then the function of buying consumables will be completely disabled.
  2. Npc auto select:
    • Standard values. Selecting this function means that by default for all items that you do not specify a specific NPC and dialogue, the NPC whose ID you specify in the ID: field and the dialogue to it will be used. The NPC ID can be viewed in the main interface of the bot's adrenaline, to do this, target the NPC, then in the bot's adrenaline interface go to the Monsters tab. The highlighted NPC will be highlighted in blue. A simpler option is to simply select the desired NPC as a target and press the T button next to the input field, after which the NPC ID will be added to the field automatically.
      The NPC needs to be added to your server's chronicle database. This can be done manually by going to the Database Editor tab. In the Chronicles field: select your chronicles, select the NPC as a target, click on the T button next to the Type: field. If your NPC is Grocery, in the Type: setting, specify this, then press the Add button, then press the Save changes button, this way the NPCs are added to the database. Also, the script itself is able to determine whether there is an NPC in the database of the current chronicles. If there is no NPC, then the ID: or Npc ID: label will flash red, after which it will be possible to click on it. The script will inform you that there are no NPCs in the specified base: and offer to add the NPC to the base, click Yes and confirm this action.

    • Choose the closest one. Choosing this function means that by default for all items that you do not set a specific NPC and dialogue, the script will select the closest NPC from the database relative to the coordinates of the character (all standard Grocery in cities are already configured).
    • With minimal tax. Choosing this function means that by default for all items that you do not set a specific NPC and dialogue, the script will select the NPC from the database with the minimum tax (all standard Grocery in cities are already configured).
  3. Metod. Choose NpcTrade or NpcExchange.
  4. Item. Select from the list of your items or manually enter the ID of the item you are going to buy. You can view the item ID in the database at https://adrenalinebot.com/en/database/ or, if it is in the character's inventory, open the bot's main interface Adrenaline and go to the Character → Inventory → Character tab, you will see a list of all items that are in the character's inventory, find the desired item and see its ID in the id column.
  5. Min. count of adena. For example, you can buy an item only if your Adena is equal to or greater than 300k, for this we enter 300000.

  6. Npc ID. Leave it at 0 if you want the character to buy from a standard NPC. You can enter the ID of a specific NPC, then the character will buy this particular item from the list from the selected NPC, and everything else from the standard one. The NPC ID can be viewed in the main interface of the bot's adrenaline, to do this, target the NPC, then in the bot's adrenaline interface go to the Monsters tab. The highlighted NPC will be highlighted in blue. A simpler option is to simply select the desired NPC as a target and click on the T button next to the input field, after which the NPC ID will be added to the field automatically.
    The NPC needs to be added to your server's chronicle database. This can be done manually by going to the Database Editor tab. In the Chronicles field: select your chronicles, select the NPC as a target, click on the T button next to the Type: field. If your NPC is Grocery, in the Type: setting, specify this, then press the Add button, then press the Save changes button, this way the NPCs are added to the database. Also, the script itself is able to determine whether there is an NPC in the database of the current chronicles. If there is no NPC, then the ID: or Npc ID: label will flash red, after which it will be possible to click on it. The script will inform you that there are no NPCs in the specified base: and offer to add the NPC to the base, click Yes and confirm this action.

  7. Level. You can adjust the minimum level, from which level we need to buy this item and also the maximum level, after reaching which we no longer need to buy this item. In this way, you can customize the purchase of your reservation. For example, when a character is level 1-19, buy NG armor and weapons, 20-39 - D Grade, etc. 0 - ignore this function.
  8. Dialog. When you right-click in the Dialog: field, a menu will open in which you can select how the script will try to select and press dialogs. By sequential number, by line of dialogue or bypass. This option should be changed only if the standard dialogs are not squeezed by the script. In this menu, you can enable / disable the selection of dialogues in the game (this means that it will immediately be squeezed in the game when you select a dialogue in the script via the plus button), as well as the function of checking the already configured dialogue. First of all, you need to open a dialogue with the NPC, then click on the + button next to the input field, and alternately click on all the necessary dialogs until the purchase window opens.
    Example: Dialog: 2; 20;, OR Dialog: Shop; Soulshots;, OR Dialog: bypass[test_server_helper3_001en.htm]; bypass[menu_select_ask=-303&reply=912];

  9. Classes. List the character classes, separated by semicolons, that need to buy this item. For example 9; 24; 37; 130; archer classes and they need to buy arrows, other classes will ignore the purchase of arrows. If you do not include classes, then it will buy for all classes.

How to set up a purchase in Alt + B
  1. Activate the functions of purchasing consumables. If you uncheck the box, then the function of buying consumables will be completely disabled.
  2. Npc auto select. This field is grayed out when this method is selected.
  3. Method.Choose Alt + B.This indicates that the purchase of the item will be carried out in the Alt + B store.
    Peacefull - Purchase only in a peaceful zone (the character flies to a peaceful zone).
    Anywhere - Purchase anywhere (on the spot, he will fight off, leave the battle, open Alt + B and buy the necessary item).
  4. Item. Select from the list of your items or manually enter the ID of the item you are going to buy. You can view the item ID in the database at https://adrenalinebot.com/en/database/ or, if it is in the character's inventory, open the bot's main adrenaline interface and go to the Character → Inventory → Character tab. You will see a list of all the items that are in the character's inventory, find the item you need and see its ID in the ID column.
  5. Min. count of adena For example, you can buy an item only if your Adena is equal to or greater than 300k, for this we enter 300000.

  6. Npc ID. Это поле неактивно при выборе данного метода.
  7. Level. You can adjust the minimum level, from which level we need to buy this item and also the maximum level, after reaching which we no longer need to buy this item. In this way, you can customize the purchase of your reservation. For example, when a character is level 1-19, buy NG armor and weapons, 20-39 - D Grade, etc. 0 - ignore this function.
  8. Dialog. When you right-click in the Dialog: field, a menu will open in which you can select how the script will try to select and press dialogs. By sequential number, by line of dialogue or bypass. This option should be changed only if the standard dialogs are not squeezed by the script. In this menu, you can enable / disable the selection of dialogues in the game (this means that it will immediately be squeezed in the game when you select a dialogue in the script via the plus button), as well as the function of checking the already configured dialogue. First of all, you need to open a dialogue with the NPC, then click on the + button next to the input field, and alternately click on all the necessary dialogs until the purchase window opens.
    Example: Dialog: 2; 20;, OR Dialog: Shop; Soulshots;, OR Dialog: bypass[test_server_helper3_001en.htm]; bypass[menu_select_ask=-303&reply=912];

  9. Classes. List the character classes, separated by semicolons, that need to buy this item. For example 9; 24; 37; 130; archer classes and they need to buy arrows, other classes will ignore the purchase of arrows. If you do not include classes, then it will buy for all classes.


Selling trash

In this tab, you can set up the sale of various junk Npc, such as recipes, resources, pieces for crafting, etc.

  1. Activate junk selling functions. If you uncheck the box, then the trash selling function will be completely disabled.
  2. Fly away from the spot. if overweight%>. The character will fly off the spot to sell items only if it is overloaded.
  3. Auto Select Npc:
    • Standard values. Selecting this function means that by default for all items that you do not specify a specific NPC and dialogue, the NPC whose ID you specify in the ID: field and the dialogue to it will be used. The NPC ID can be viewed in the main interface of the bot's adrenaline, to do this, target the NPC, then in the bot's adrenaline interface go to the Monsters tab. The highlighted NPC will be highlighted in blue. A simpler option is to simply select the desired NPC as a target and click on the T button next to the input field, after which the NPC ID will be added to the field automatically.
      The NPC needs to be added to your server's chronicle database. This can be done manually by going to the Database Editor tab. In the Chronicles field: select your chronicles, select the NPC as a target, click on the T button next to the Type: field. If your NPC is Grocery, in the Type: setting, specify this, then press the Add button, then press the Save changes button, this way the NPCs are added to the database. Also, the script itself is able to determine whether there is an NPC in the database of the current chronicles. If there is no NPC, then the ID: or Npc ID: label will flash red, after which it will be possible to click on it. The script will inform you that there are no NPCs in the specified base: and offer to add the NPC to the base, click Yes and confirm this action.

    • Choose the closest one.Choosing this function means that by default for all items that you do not set a specific NPC and dialogue, the script will select the closest NPC from the database relative to the coordinates of the character (all standard Grocery in cities are already configured).
    • With minimal tax.Choosing this function means that by default for all items that you do not set a specific NPC and dialogue, the script will select the NPC from the database with the minimum tax (all standard Grocery in cities are already configured).
  4. Exceptions. ID of items that cannot / do not need to be sold is useful if you use the method of finding an item in your inventory by Mask (see below) and an item that should be on the list of items sold by mask cannot be sold. If such an item is not included in the exceptions, the character will try to sell it to no avail. Either you want to sell all knocked-out recipes by mask * Recipe, but leave the recipe on Tallum Boots, then it is enough to enter the ID of this recipe in this field.

  5. Item:
    • Sale by full name. An item can be selected from the drop-down list, but if the item is not in the inventory, you can enter its full name.

    • Sale by ID. In the Item: field, you can enter the ID of the item you want to sell.

    • Sale by Mask. The most effective selling method.

      In order not to list a bunch of different items that need to be sold, you can write down with an asterisk * part of the name of the item, which coincides with other items with this particular word.

      Example: * Recipe (All recipes that are in the inventory will be sold), or * Blank (Worker's Blank, Master's Blank ...), or * Synthetic (Synthetic Rope, Synthetic Coke ...).


Sending mail

Here you can set up sending letters to other players with farmed adena and other valuable items.

  1. Activate mail sending functions. If you uncheck the box, then the mail sending functions will be completely disabled.
  2. Default nickname for characters. The standard name of the character / s to which all letters will be sent by all bots.
  3. Exceptions. IDs of items that cannot / do not need to be sent is useful if you use the method of finding an item in your inventory by Mask (see below) and an item that should be included in the list of items to be sent by mask cannot be sent. If such an item is not included in the exceptions, the character will try to send it to no avail every time. Either you want to send all knocked-out recipes by mask * Recipe, but leave the recipe on Tallum Boots, then just enter the ID of this recipe in this field.

  4. Item:
    • Sending by full name. An item can be selected from the drop-down list, but if the item is not in the inventory, you can enter its full name.

    • Sending by ID. In the Item: field, you can enter the ID of the item you want to sell.

    • Sending by Mask. The most effective selling method.

      In order not to list a bunch of different items that need to be sold, you can write down with an asterisk * part of the name of the item, which coincides with other items with this particular word.

      Example: * Recipe (All recipes that are in the inventory will be sold), or * Blank (Worker's Blank, Master's Blank ...), or * Synthetic (Synthetic Rope, Synthetic Coke ...).


Trade

In this tab, you can configure the transfer of items to your other bots through trade (in the city). The character who receives the drop must also be launched under the Adrenaline bot.
How it works: the character (s) are placed anywhere in the city through which our farming character will ever pass. For example, our bot farms in Molten Marsh, and if it dies or goes for a coin buff, it ends up in Aden, in which case it is necessary to put our second character in Aden and as soon as the farming character gets to Aden he will find a character with whom he needs make a trade (it is best to put the character so that he is in sight after selling the trash).

  1. Activate the transfer functions by trade. If you uncheck the box, then the trade transfer function will be completely disabled.
  2. Default nickname for characters.The default name of the character / s to which the trade will be thrown and the item will be transferred.
  3. Exceptions. The ID of items that cannot / do not need to be transferred is useful if you use the method of finding an item in the inventory using the Mask (see below) and an item that should be included in the list of transferred by mask cannot be transferred. If such an object is not included in the exceptions, the character will try to convey it to no avail every time. Either you want to transfer all knocked-out recipes by mask * Recipe, but leave the recipe on Tallum Boots, then it is enough to enter the ID of this recipe in this field.

  4. Item:
    • Trade by full name. An item can be selected from the drop-down list, but if the item is not in the inventory, you can enter its full name.

    • Trade by ID. In the Item: field, you can enter the ID of the item you want to sell.

    • Trade by Mask. The most effective selling method.

      In order not to list a bunch of different items that need to be sold, you can write down with an asterisk * part of the name of the item, which coincides with other items with this particular word.

      Example: * Recipe (All recipes that are in the inventory will be sold), or * Blank (Worker's Blank, Master's Blank ...), or * Synthetic (Synthetic Rope, Synthetic Coke ...).


Warehousing

Here you can set up the storage of the extracted valuable items in a personal or clan storage.

  1. Activate storage functions.If you uncheck the box, then the warehousing function will be completely disabled.
  2. Auto Select Npc:
    • Standard values. Selecting this function means that by default for all items that you do not specify a specific NPC and dialogue, the NPC whose ID you specify in the ID: field and the dialogue to it will be used. The NPC ID can be viewed in the main interface of the bot's adrenaline, to do this, target the NPC, then in the bot's adrenaline interface go to the Monsters tab. The highlighted NPC will be highlighted in blue. A simpler option is to simply select the desired NPC as a target and click on the T button next to the input field, after which the NPC ID will be added to the field automatically.
      The NPC needs to be added to your server's chronicle database. This can be done manually by going to the Database Editor tab. In the Chronicles field: select your chronicles, select the NPC as a target, click on the T button next to the Type: field. If your NPC Warehouse, in the Type: setting, specify this, then click the Add button, then click the Save changes button, this way the NPCs are added to the database. Also, the script itself is able to determine whether there is an NPC in the database of the current chronicles. If there is no NPC, then the ID: or Npc ID: label will flash red, after which it will be possible to click on it. The script will inform you that there are no NPCs in the specified base: and offer to add the NPC to the base, click Yes and confirm this action.

    • Choose the closest one. Choosing this function means that by default for all items that you do not set a specific NPC and dialogue, the script will select the closest NPC from the database relative to the coordinates of the character (all standard Grocery in cities are already configured).
    • With minimal tax. Choosing this function means that by default for all items that you do not set a specific NPC and dialogue, the script will select the NPC from the database with the minimum tax (all standard Grocery in cities are already configured).
  3. Exceptions. The IDs of the items you do not want to stock. It will come in handy if you use the method of searching for an item in the inventory by the Mask (see below) and the item that falls under the mask, you do not need to put it in WH / CWH.
  4. Item:
  • Warehousingby full name. An item can be selected from the drop-down list, but if the item is not in the inventory, you can enter its full name.

  • Warehousingby ID. In the Item: field, you can enter the ID of the item you want to sell.

  • Warehousingby Mask. The most effective selling method.

    In order not to list a bunch of different items that need to be sold, you can write down with an asterisk * part of the name of the item, which coincides with other items with this particular word.

    Example: * Recipe (All recipes that are in the inventory will be sold), or * Blank (Worker's Blank, Master's Blank ...), or * Synthetic (Synthetic Rope, Synthetic Coke ...).


Delevel

Here you can set up various points for deleting your bot. Delevel is needed in order to maintain the optimal level of the character for the most profitable farming on the spot, because due to the level, the chance and the number of adena, resources, etc. dropped out may be reduced.

Important! The levels from which and by which our bot will merge are not configured here, they directly depend on the level settings for the spot (the Spots tab) where our character is farming.

Delevel happens according to the following principle: the bot resorts to the specified coordinates → looks for any nearest target → goes to attack it with a windstrike or auto attack. If there are no goals, then the bot will just stand and wait for death - this is how you can configure the deletion by drowning in water (relevant for servers where there is a drop when dying from monsters).

The delevel function is directly related to your spots (the Spots tab) and what the maximum and minimum levels are indicated in the spot. Example: We created the Animal_Bone spot and set the minimum level to 30 and the maximum level to 40. When the delevel function is activated, as soon as your character upsets level 40 on the Animal_Bone spot, the delete function is activated and the character will run to the coordinates you specified and drain the level to 30. When the character has merged to the minimum spot level of 30, he will start farming the Animal_Bone spot again and so on in a circle.

  1. Activate the functions of the delevel. If you uncheck the box, then the delevel functions are completely disabled.

  2. To enter the X Y Z coordinates, you first need to draw, using the GPS editor (see the GPS Instructions section), a route to the point where you plan to merge with mobs, or a point under water to drain through the water.

  3. After the path is drawn, we get the necessary coordinates from the GPS editor and insert them into X Y Z.

  4. We press the Add button, and now, when the Conditions match, the character will go to merge the level.

  5. Click Save.


Learning skills

Here you can set priorities for learning the skills of your bot. By default, the bot learns all the skills available to it in no particular order, but thanks to the priorities, you can specify which skills to learn in the first place or prohibit learning any skills at all.


Advanced options

Spots changing

Thanks to the spot change function, you can set up a config for leveling on your server, or change spots within the same location in order to arouse less suspicion or just farm more efficiently.

For this you need:

  1. Create multiple spots in the "Spots" tab
  2. List their names in the "Main settings" tab (you can use the mask)
  3. Activate the function "Change spots" and specify the way to change spots + conditions under which they should change

That's all! Don't forget to save the config.

Characters Manager

For the convenience of managing a large number of characters, the plugin has the ability to specify which script configs for which characters need to be loaded.

Suppose you are farming several spots in the Ant Nest location in several windows with the same characters. Their bot config is the same, only the farming zones are different. Let's assume that you have already created and configured spots (i.e., you have drawn all the necessary farming zones in the bot, laid routes to spots, etc.). Next, you can create several script configs with the names AN_1, AN_2, ... (Ant Nest), open the "Character Manager" tab and for each character select which script config should be loaded by default. After this setting, when you run the script, it will automatically load the script config you specified for this nickname.

Conditions setting

One of the important features of Hunter'a is the ability to flexibly configure the conditions for performing various actions. Similar conditions can be configured for rebuff checks, buying and selling items, etc. For example, you can set up a universal config for farming some spot with different summoners by adding 2 checks to the config: one for the military buff rebuff and the condition that it should work only for the Fhantom Summoners, and the second for the magic buff and the condition that she worked only for the Elemental Summoners.

To set the conditions, you need to right-click on the field and select the condition you are interested in from the menu that appears - it will be added to the text input field, where you can edit it. The conditions are different, but they are all built on the principle of functions:

(!)FunctionName(arguments_if_needed) =(<|>|in) value[or a,r,r,a,y]

Let's analyze each part in more detail:

  • (!) - NOT operator, i.e. the negation of the condition that follows it. For example !UserLevel()=10; means that the level of the hero must NOT be equal to 10

  • FunctionName() - the name of the function to be executed (what they do is written in the drop-down list)

  • (arguments_if_needed) - arguments (parameters) of the function, they are not always needed and as a rule the id of items, buffs, etc. are indicated there

  • =(<|>|in) - a sign for comparing the result of the function with the value specified below, for example, the buff time is < (less than) how many seconds, or the character class is in (included) in the listed list

  • value[or a,r,r,a,y] - the value with which we compare the result of the function, usually just a number or a list (an array of values)

Hunter API

The Hunter script can be controlled from other scripts, this can be useful for creating your own scripts with very flexible logic, for example, you can create accounts that will monitor strangers on the way, and, if necessary, stop farming / move bots from spots. Or you can add some specific actions to the already existing spot exping, for example, completing quests for professions or something else.

Control is done by calling the Entry function on the required window with a string parameter that specifies what exactly needs to be done:

var Param: String = 'DisableFarm()'; 
begin
  GetControl('MySuperBot').Entry(Param);
end.

In the example above, we first get the Engine we need using the GetControl function (or you can use GetControlByIndex), and then immediately call Entry on it.

List of available commands that can be given as an argument to Entry
  • EnableFarm() - activate the script, analogous to pressing the Start button in the plugin interface

  • DisableFarm() - pause the script, similar to pressing the Pause button in the plugin interface

  • LoadScriptConfig(ConfigName) - load script config by name

  • LoadSpot(SpotName) - load a spot by its name

  • ChangeSpot() - change the current spot, similar to the Change spot button on the Main settings tab (for this, there must be at least 2 configured spots in the settings)

Import and Export configs

In development is a functionality that allows you to import and export all the necessary files for the selected script config. This will allow users to conveniently exchange large-scale and well-developed configs, for example, for pumping on a server.

At the moment, it is already possible to import the settings of all kinds of lists (TP points \ rebuff checks \ all services, etc.), as well as import and export of the list of spots.

 


Typical mistakes

Game crashes when I run script

Как правило эта проблема возникает из-за функции "Активировать перехват клиентских пакетов" во вкладке "Основные настройки".

Вам необходимо выключить ее на том конфиге, который загружается на персонаже, как правило это Default.

Удостоверьтесь, что вы выбрали нужный вам конфиг, выключили данную функцию, и затем сохранили конфиг. Теперь можно входить в игру!

Character cannot find a path to the spot

Как правило, в логах бота при этом высвечивается сообщение вида Не могу найти маршрут к точке (x, y, z)

  • Если сервер с Alt+B, то проверить, что создана кастомная точка ТП и в ней указан верный диалог + вообще активировано использование кастомных ТП точек
  • Если сервер со свободными ТП, то проверить, что хроника сервера определилась верно и что во вкладке редактирования БД в телепорт точках ближайшся к споту точка существует и активна. Если же хроника определилась неверно, то выбрать ее самостоятельно во вкладке "Основные настройки" (скриншот)
  • Если сервер с ТП через NPC, то проверить, что в GPS редакторе соединена точка ГК и точка, куда персонаж попадает после тп (односторонней связью), а так же в них верно указаны параметры NpcID, DlgBase, DlgSel
  • Независимо от типа сервера, проверить, что у вас указана GPS карта во вкладке "Передвижение" и что открыв эту карту в GPS редакторе маршрут от точки ТП в локации до спота проложен корректно (без разрывов в связях и тд)

Spots.xml file not found

Вероятней всего, у вас неверно определилась хроника. Такое особенно актуально для Essence серверов. Чтобы решить проблему, вам нужно выбрать вручную хронику на вкладке Основные настройки, затем сохранить конфиг скрипта, и перезапустить скрипт