Файл config.txt - основной конфигурационный файл.
Записи в нем хранятся в виде двух форматов: ключевые значения и форматированные блоки. Первый формат довольно прост: он содержит неизменимый параметр и его значение
<параметр> <значение>
Первая строка форматированного блока выглядит так же как и у ключевого значения, но имеет и дополнительные атрибуты, которые заключены между фигурными скобками {атрибуты}
<параметр> <значение> { <атрибут1> <значение1> <атрибут2> <значение2> }
На заметку . Строки, начинающиеся со знакака (#) являются комментариями и игнорируются Openkore. Так же можно закомментировать многострочные блоки при помощи знаков ( /*) - в началеи (*/)в конце
Большинство параметров настройки конфигурации в этом файле является дополнительным. Если значение не определено строго (см. ниже), вы можете или оставить значение пустым или удалить целый блок, в этом случае значение будет игнорированно или использовано по умолчанию.
Каждое значение в фале конфигурации должно появиться только однажды (за исключением !include), В случае повторения параметров Корой будет выбран последний.
Форматированные блоки же могут повторяться не однократно. Но, не все блоки будут использованы Корой постоянно. Когда Кора готова к использованию форматированного блока, она проверяет его атрибуты от начала до конца и, если значение атрибута совпадает с состоянием Коры она использует данный блок. Наиболее важные блоки желательно ставить выше, т.к. они обладают большИм приоритетом.
Configuration options that follow the block format are marked in the list below with block.
На заметку . Вы можете использовать путь к файлу относительно файла config.txt.
!include account.txt !include skills/hunterselfskills.txt
В примере выше: если ваш config.txt располагается в папке - "C:\Openkore\control", то файлы "C:\Openkore\control\account.txt" и "C:\Openkore\control\skills\hunterselfskills.txt" будут включены, как часть вашей конфигурации.
Известные ограничения . Не используйте форматировные блоки одного типа (например attackSkillSlot) в разных файлах. Мы настоятельно рекомендуем содаржать их в одном файле.
Заметка. Если вы оставите значение пустым то Кора автоматически сгенерирует пароль в целях безопасности.
alias_fullheal ss 28 10 alias_laagg c laaaagggggg
В Примере выше: если вы напишете "laagg" в коносль Коре, то данная комманда будет расценена ей как команда "c laaaagggggg".
Заметка. Вы можете написать алиасы любой длинны.
Параметр allowedMaps_reaction определяет поведение Коры в данной ситуации.
Значение | Описание |
---|---|
0 | Респ |
1 | Выход. |
Значение | Описание |
---|---|
0 | Не атаковать монстров |
1 | Не атаковать монстров, если они не атакуют тебя. |
2 | Автоматически атаковать неагрессивных монстров |
Значение | Описание |
---|---|
0 | Кора будет допущена к атаке монстров на любой карте |
1 | Кора будет допущена отвечать атакам мостров только в КартеККоторой привязан(lockMap) . |
2 | Кора не будет атаковать монстров вне КартыККоторой привязан . |
Заметка. Данный параметр используется лишь в случае, если КартыПривязки(lockMap) установлены и Автоматическая атака(attackAuto) разрешена.
Значение | Описание |
---|---|
0 | Ничего не делать |
1 | Немедленно атаковать монстров, атакованных сопартийцами |
2 | Атаковать монстров, в случае, если монстры атаковали любого члена партии |
Если данный параметр включен, то вы будете атаковать с растояния (т.е. параметр дистанцииАтаки(attackDistance) будет установлено в значение более чем 2), так же эта опция проверяет нет ли преград на линии огня. В случае, если Кора обнаружит преграду она попытается занять положение при котором ничего не будет мешать выстрелу при этому учитываются значения бежатьОтЦели(runFromTarget_dist) и максимальнаяДистанияСледования(followDistanceMax).
С.м. детали поблоку attackComboSlot для получения бОльшей информации.
Например, если вы хотие экипировать Клипу с Мантисом и Клипу с Зеромом когда атакуете определенным оружием, используйте следующую конфигурацию:
attackEquip_rightAccessory Clip [Mantis] [1] attackEquip_leftAccessory Clip [Zerom] [1]
Заметка. Смотри раздел слотов экипировки(equipment slots).
Заметка. Данный параметр будет рабоать лишь если Кора настроена на то чтобы подбирать исчезающий лут (см ickupitems.txt).
Заметка. Если параметр не задан, Кора установит значение по умолчанию равным 4.
Заметка. Обычно используется если блокАтаки(attackSkillSlot) используется как неатакующий скилл, к примеру Spell Breaker.
Смотри подробное описание блока attackSkillSlot.
См подробние в описании блока autoBreakTime.
См подробние в описании блока autoConfChange.
Параметры autoRestartSeed и autoRestartMin устанавливают время, которое кора выжидает до переподключения. Точное время будет равное случайному значению autoRestartSeed плюс autoRestartMin.
Например:
autoRestart 1 autoRestartMin 60 autoRestartSeed 30
В случае, описанном выше, Кора будет автоматически переподключаться после случайного периода, где-то между 60 и 90 (=60+30) секундами.
Параметры autoSleepSeed и autoSleepMin устанавливает время, в котором Кора находится в спящем режиме до следующего подключения. Точное время будет равное случайному значению autoSleepSeed плюс autoSleepMin.
Для примера :
autoSpell Cold Bolt useSelf_skill Auto Spell { lvl 10 timeout 10 whenStatusInactive Auto Spell notWhileSitting 1 }
В примере выше Кора будет использовать скилл Мудреца Auto Spell на себя, когда заклинание "Auto Spell" не активно. Заклинание описаное с параметром autoSpell будет тем заклинанием, которое Кора будет использовать во время ближнего боя.
See the autoSwitch block details for more information on this block option.
Заметка. For autoSwitch_default_rightHand, specify [NONE] to attack with bare hands.
/^([a-z]?ro)?-?(Sub)?-?\[?GM\]?/
The regular expression above matches the names iro-Sub-GM Hakore or pro[GM] Hakore. In case your server uses non-standard GM names, you can use this option to override the pattern by specifying a regular expression for GM names.
Значение | Описание |
---|---|
0 | Do not avoid GMs. |
1 | Teleport away and then disconnect. |
2 | Disconnect. |
3 | Teleport away. |
4 | Respawn. |
Заметка. If you disconnect to avoid a GM, you will reconnect after the number of seconds specified in avoidGM_reconnect has elapsed.
Заметка. See the references section for a list of known message domains.
Заметка. See the references section for a list of known message domains.
Заметка. This cannot be used for proxying!
See the buyAuto block details for more information on this block option.
The option cachePlayerNames_duration specifies the maximum time in seconds player names will be kept in the cache.
The option cachePlayerNames_maxSize specifies the maximum number of player names to be cached. If the number of player names that needs to be cached exceeds the specified number, the earliest name added will be removed.
Заметка. See Chat Commands for more information.
Заметка. You don't have to set this option. If you leave it empty, Kore will automatically ask you to choose a character from a list when you login to the game login server.
Заметка. You don't have to set this option. If it is already set in tables\servers.txt, Kore will automatically set the correct chatLangCode depending on your chosen master server.
Заметка. It is not recommended to enable this option. Only use this if you know what you are doing.
Заметка. Some private servers like Freya will send actor packets at a ridiculous distance that the normal RO Client can't display, and use this for automated banning. This config option will make Kore ignore those actors and hopefully avoid auto-bans.
Значение | Описание |
---|---|
-1 | Do nothing. Do not respawn. |
0 | Respawn after a certain number of seconds specified in the timeout key ai_dead_respawn in timeouts.txt. |
1 | Disconnect (exit). |
Any other Значение will be interpreted as the time in seconds when Kore will try to reconnect again after being disconnected due to a dual login error. For Пример, if you want Kore to reconnect after an hour, specify a Значение of 3600. If you want Kore to immediately reconnect, set this option to 0.
Значение | Описание |
---|---|
0 | Do nothing. |
1 | Automatically cancel all deals. |
2 | Automatically accept deals, and immediately finalize/trade. |
3 | Automatically accept deals; finalize and trade only after the other party finalizes. |
Значение | Описание |
---|---|
0 | Off. |
1 | Low. |
2 | High. |
This specifies a comma-separated list of packet switches that you want to be ignored by the options debugPacket_received, debugPacket_ro_sent, debugPacket_sent, and debugPacket_unparsed, if these options are set. For Пример, debugPacket_exclude 008A,0123.
Заметка. only useful for developers. Don't mess with these unless you know what you are doing.
The option debugPacket_include specifies a comma-separated list of specific packet switches that you want to display or dump to file when they are received.
Заметка. This option forces displaying or dumping of packets received regardless of how the other debugPacket_* options are set.
The option debugPacket_include_dumpMethod specifies how the packet information will be displayed or dumped.
Значение | Описание |
---|---|
0 | Disabled. |
1 | Prints a debug message in the console that contains the packet switch and a Описание. |
2 | Prints a normal message in the console that contains visual output of the packet. |
3 | Dumps the packet to file DUMP.txt. |
Заметка. only useful for developers. Don't mess with these unless you know what you are doing.
Значение | Описание |
---|---|
0 | Disabled. |
1 | Prints a debug message in the console that contains the packet switch and a Описание. |
2 | Prints a normal message in the console that contains visual output of the packet. |
Заметка. only useful for developers. Don't mess with these unless you know what you are doing.
Значение | Описание |
---|---|
0 | Disabled. |
1 | Prints a debug message in the console that contains the packet switch and a Описание. |
2 | Prints a normal message in the console that contains visual output of the packet. |
Заметка. only useful for developers. Don't mess with these unless you know what you are doing.
Значение | Описание |
---|---|
0 | Disabled. |
1 | Prints a debug message in the console that contains the packet switch and a Описание. |
2 | Prints a normal message in the console that contains visual output of the packet. |
Заметка. only useful for developers. Don't mess with these unless you know what you are doing.
Заметка. only useful for developers. Don't mess with these unless you know what you are doing.
Значение | Описание |
---|---|
0 | Off. |
1 | Mode 1. |
2 | Mode 2. |
See the equipAuto block details for more information on this block option.
Заметка. You must be authorized to use Chat Commands on the your followTarget or this option has no effect.
If you are following, this will check whether it thinks you have a clear line of movement to the followTarget; if not, it will attempt to move to a space where you do.
Заметка. You probably shouldn't have to change this option.
See the getAuto block details for more information on this block option.
Заметка. This has the same effect as the /exall command in the official Ragnarok Online client.
Значение | Описание |
---|---|
0 | Do not gather items. |
1 | Kill all monsters that are attacking you, then gather loot. |
2 | Gather loot, then kill all monsters that are attacking you. |
Заметка. If this option is enabled, Kore will pickup items that aren't surrounded by any players. It's smart, non-intrusive looting.
Заметка. While walking to the sell/storage NPC and Kore is set to pickup loots, Kore will pick up loot as long as your weight is under the percentage specified by itemsMaxWeight.
Значение | Описание |
---|---|
0 | Do not pick up any loot. |
1 | Kill all monsters that are attacking you, then pick up the loot. |
2 | Pick up the loot, then kill all monsters that are attacking you. |
For Пример, if your username is hakore and your char is 0, your log files will be named 'chat_hakore_0.txt', 'monsters_hakore_0.txt', 'items_hakore_0.txt', 'storage_hakore_0.txt', and 'shop_hakore_0.txt'.
The Значение for these options observes the following syntax:
<domain>=<filename> <domain>=<filename1>,<filename2> <domain1>=<filename1>;<domain2>=<filename2>,<filename3>
The following Пример will log all debug messages for the parseMsg domain to messages.txt.
logToFile_Debug parseMsg=messages.txt
The following Пример will log all selfSkill messages to selfskill.txt and all used items to usedItems.txt.
logToFile_Messages selfSkill=selfskill.txt;useItem=usedItems.txt
Заметка. You don't have to set this option. If you leave it empty, Kore will automatically ask you to select a master server from a list at startup.
Заметка. You shouldn't change this option unless you know what you're doing.
See the monsterSkill block details for more information on this block option.
Заметка. An auto-skill means it will automatically use a skill whenever it sees "Permitted to use
Значение | Описание |
---|---|
0 | Do nothing. |
1 | Automatically deny party requests. |
2 | Automatically accept party requests. |
See the partySkill block details for more information on this block option.
Заметка. You don't have to set this option. If you leave it empty, Kore will automatically ask you for your password at startup.
Значение | Описание |
---|---|
0 | Disabled. |
1 | Record portals you walk through. |
2 | Record the return portal too (by guessing). |
This is useful for merchants vending in prontera - set removeActorWithDistance to ~5 and you will not send as many getPlayerInfo packets, thus lessening the lag caused by you.
Заметка. If this option is not set, Kore will use a default Значение of 5.
Заметка. See your tables/portals.txt.
Значение | Описание |
---|---|
0 | Disabled. |
1 | Walk to random spots anywhere inside the current map. |
2 | Walk to random spots but do not pass through portals inside the current map. |
Заметка. You should probably leave this option at the default Значение (15). You should never set this option to 0 or Kore will not be able to walk at all.
Заметка. The optimal Значение for route_teleport_minDistance depends on the map you're currently on, but it's generally recommended that you use a Значение between 100 or 200.
Kore will attempt to teleport at most the number of times specified in route_teleport_maxTries per map. If it fails to get near the portal in that many teleport tries, it will start walking to the portal.
Заметка. The character MUST have saved in that map for Kore to be able to respawn to that map.
Заметка. You must properly set saveMap or this option will fail. You also need a Butterfly Wing in your inventory or the Teleport Skill, to respawn.
The <hex string> is a space-separated sequence of hex codes. For Пример: 04 02 22 37 D7 FC.
The option sellAuto_distance specifies how far Kore will stand from the item buy/sell NPC during auto-sell.
Заметка. This is still bugged in v.1.6.4 so don't use this. Fixed in v.1.9.0.
Заметка. You don't have to set this option. If you leave it empty, Kore will automatically ask you to select a server when you login to the master server.
Значение | Описание |
---|---|
0 | Normal server |
1 | oRO (Oceania) |
2 | pRO (Philippines) |
3 | eAthena SVN |
4 | Freya |
5 | eAthena servers using sakexe628 |
Заметка. You don't have to set this option. If it is already set in tables\servers.txt, Kore will automatically set the correct serverType depending on your chosen master server.
Значение | Описание |
---|---|
0 | Girl |
1 | Boy |
Заметка. If you are using X-Kore mode, you have to leave this option blank or you will have problems logging in.
Заметка. To configure what items you want to put in your shop, edit shop.txt.
Заметка. It is not recommended to enable this option. Only use this option if you know what you are doing.
Заметка. If you want to limit displaying of timestamps on specific messages only, or if you want to customize the format of the timestamps, use showTimeDomains instead.
You can set a time format in showTimeDomainsFormat to customize how Kore displays the timestamp. The <time format> is simply a string that will be used as a pattern when the timestamp is displayed. The following characters can be used in the time format and will be replaced by corresponding time elements:
Character | Описание |
---|---|
H | Hour. |
M | Minutes. |
S | Seconds. |
y | Year. |
m | Month. |
d | Day. |
The following Пример may print connection messages with a preppended timestamp such as [11:23:49 15/08/2005].
showTimeDomains connection showTimeDomainsFormat [H:M:S d/m/y]
Заметка. See the references section for a list of known message domains.
Заметка. See the console command look for the list of body directions.
The option skillsAddAuto_list specifies what skills to raise and up to what level. The Значение for skillsAddAuto_list observes the following syntax:
<skill> <level>[,<skill2> <level2>[, ...]]
In the following Пример, Kore will first raise Basic Skill to level 9. After that is done, it will raise Increase HP Recovery to level 10, and then raise Sword Mastery to level 10.
skillsAddAuto 1 skillsAddAuto_list Basic Skill 9, Increase HP Recovery 10, Sword Mastery 10
Setting it to a higher Значение will make Kore use less CPU power, but also less responsive. If you run just one or two bots, then you should leave it at the default Значение of 10000. However, if you run many bots, and CPU usage is a concern, then you should set it to a higher Значение. In that case, a Значение of 50000 is recommended. It's generally not recommended to set the Значение higher than 200000, as it will make your bot very unresponsive.
squelchDomains skill
if you don't want your vendbot to be spammed by people using skills in town.
The option statsAddAuto_list specifies which stats to raise and up to what number. The Значение for statsAddAuto_list follows the following syntax:
<number> <stat>[,<number2> <stat2>[, ...]]
where <stat> is the three-letter stat name (i.e. str, agi, int, vit, dex, or luk).
In the following Пример, Kore will continue to add status points to vit first until you have a total of 30 vit, afterwhich it will add points to agi until it's 99.
statsAddAuto 1 statsAddAuto_dontUseBonus 0 statsAddAuto_list 30 vit, 99 agi
By default, Kore counts your total stat (i.e. base stat + job bonus). If you want to count only the base stat, set the option statsAddAuto_dontUseBonus to 1. In the previous Пример, if statsAddAuto_dontUseBonus is set to 1, Kore will add points so that the base vit is exactly 30, thus if you are a job level 30 Acolyte, your total vit would be 32 (since job level 30 Acolytes get 2 bonus points to vit).
The option storageAuto_distance specifies how far Kore will stand from the item buy/sell NPC during auto-storage.
Значение | Описание |
---|---|
1 | Normal NPC (code: c r1 n). |
2 | Comodo NPC (code: c c r1 n). |
3 | Other NPC (use the code specified in storageAuto_npc_steps). |
If you specified 3 for storageAuto_npc_type, you must manually specify the exact steps needed in storageAuto_npc_steps, otherwise, this option is ignored. See the references section to learn about NPC conversation codes.
For Пример, if your Kafra requires you to click Continue, then select the second menu item, then select the first menu item. You specify:
storageAuto_npc_type 3 storageAuto_npc_steps c r1 r0
Заметка. You must also set storageEncryptKey for this to work.
For mRO, the encrypt key is:
Значение | Описание |
---|---|
0 | Disabled. |
1 | Teleport away from all players. |
2 in SVN | Teleport away from all non-party members. |
Заметка. Kore will not teleport away if you are currently doing auto-storage or auto-buy.
Заметка. If you timely teleport due to attack from the monster, you will not receive any damage at all even if it is displayed in the console.
Заметка. If you timely teleport due to attack from the monster, you will not receive any damage at all even if it is displayed in the console.
teleportAuto_equip_rightAccessory Clip [Creamy] [1]
Заметка. See the references section for the list of equipment slots.
Заметка. If you timely teleport due to attack from the monster, you will not receive any damage at all even if it is displayed in the console.
Заметка. If enabled, this option is used for the tele-search feature. If you want to use tele-search, you must set teleportAuto_search to 1 and route_randomWalk to 0.
Заметка. If you timely teleport due to attack from the monster, you will not receive any damage at all even if it is displayed in the console.
Заметка. This option is ignored if teleportAuto_minAggressivesInLock is set and you are in lockMap.
Заметка. Because of the risk, Kore will never teleport in a city, regardless of this variable!
Заметка. This only works when you are inside your lockMap or if lockMap is not set.
v.1.9.0 This option can specify the minimum number of search monsters that should be found on screen before activating auto-attack. For Пример, if this is set to 2, and you set Kore to search for Poporings, you will not start attacking monsters if there is only one Poporing found on screen.
Заметка. If you want to use tele-search, you must set teleportAuto_idle to 1 and route_randomWalk to 0.
See also saveMap_warpChatCommand for using chat commands to teleport back to your saveMap.
Значение | Описание |
---|---|
0 | Use items (Fly Wing or Butterfly Wing). |
1 | Use the Teleport skill normally (consume SP). |
2 | Use the Teleport skill and don't consume SP if there are no players around to see. |
3 | Use the Teleport skill and never consume SP. |
Important. Using the Teleport Skill without SP consumption is an exploit that works only on official servers, not on eAthena or Freya servers. If you use this flag on eAthena or Freya servers, it will fail without warning.
Заметка. If you timely teleport due to attack from the monster, you will not receive any damage at all even if it is displayed in the console.
Заметка. You don't have to set this option. If you leave it empty, Kore will automatically ask you for your username at startup.
See the useSelf_item block details for more information on this block option.
See the useSelf_skill block details for more information on this block option.
Bug Заметка (v.1.9.0): If you configured Kore to auto-equip items before using the Heal skill, you must disable useSelf_skill_smartHeal or the auto-equip will not work. This is fixed in SVN.
The higher the Значение you set in this option, the more messages will be displayed in the console. Если параметр установлен в 0, Kore will only print the most important messages (e.g. connection messages).
This option also controls whether Kore should reply to Chat Commands, and whether admin messages (e.g. the welcome text) will be shown in X-Kore.
A new flag 2 is available in v.1.9.0 but it is highly recommended to use the SVN version for this as there are many fixed issues there. Visit the XKore 2 User's Guide for more info.
Значение | Описание |
---|---|
0 | Disabled, no client connection. |
1 | XKore version 1, both client and server use same socket (XKore.pm). |
2 in SVN | XKore version 2, kore-as-proxy, which reuses server-connection code from 0 (XKore2.pm). |
Заметка. This feature is experimental and has only been tested with the iRO client, so enable this at your own risk!
Заметка. Never mistake this to be the patch client. You have to distinguish between the patch client and the RO client.
Заметка. Even if this option is enabled, the output of commands you typed in the RO client will still be displayed as pink text.
attackComboSlot [<skill name>] { afterSkill (<skill name>) dist [<number>] isSelfSkill [<Булево Значение>] maxUses [<number>] waitBeforeUse [<Секунды>] autoCombo [<Булево Значение>] v.1.9.0 # Skill Use Attributes # Self Conditions # Target Monster Conditions }
Attribute definitions:
Заметка. You must set this option to the correct Значение. For Пример, if you're trying to use Combo Finish you have to set this flag to 1 or Combo Finish will fail because it cannot be used on a monster.
Заметка: This attribute only counts successful usage. If a skill fails, Kore will continue to use the skill until it finally succeeds even if this option is set to 1.
Attributes defined elsewhere:
The following Пример shows how this option is used for Monk Combos:
attackComboSlot Chain Combo { lvl 5 dist 1.5 sp > 30 monsters notMonsters Red Plant,Green Plant,Blue Plant maxUses afterSkill Triple Attack waitBeforeUse 0.3 isSelfSkill 1 }
The Пример will make Kore use the Chain Combo Skill after it used Triple Attack.
attackSkillSlot [<skill name>] {
dist [<number>]
isSelfSkill [<Булево Значение>]
maxAttempts [<number>]
maxUses [<number>]
previousDamage [<range>]
# Skill Use Attributes
# Self Conditions
# Target Monster Conditions
}
Attribute definitions:
Заметка. You must set this option to the correct Значение. For Пример, if you're trying to use Grand Cross you have to set this flag to 1 or you might see a target circle around your target monster as if you casted a skill on it, which is quite suspicious.
Заметка: This attribute only counts successful usage. If a skill fails, Kore will continue to use the skill until it finally succeeds even if this option is set to 1.
Attributes defined elsewhere:
This is a simple Пример on how to use Holy Cross on monsters Khalitzburg, Raydric, Whisper, and Whisper Boss:
attackSkillSlot Holy Cross { lvl 10 dist 1.5 sp > 30 monsters Khalitzburg,Raydric,Whisper,Whisper Boss }
Заметка. Only specify the first three letters of the weekday name (e.g. sun, mon, tue). You can alternatively specify "all", which means every day in the week. This is not case-sensitive.
autoBreakTime [<weekday>|all] { startTime (<time>) stopTime [<time>] }
Attribute definitions:
The following Пример will make Kore automatically disconnect at 9:29 P.M. on Sunday and resume botting at 1:08 A.M. on Monday:
autoBreakTime Sun { startTime 21:29 stopTime 01:08 }
Заметка. You can use a path that is relative to your main bot folder.
autoConfChange [<Имена Файлов>] { minTime [<Секунды>] varTime [<Секунды>] lvl [<range>] joblvl [<range>] isJob [<Класс Профессии>] }
Attribute definitions:
Заметка. This is case-sensitive.
In the following Пример, Kore will load the config file config_2.txt at a random time between 3600 seconds (1 hour) and 5400 seconds (1.5 hour), and when the character is currently a Thief class:
autoConfChange control\config_2.txt { minTime 3600 varTime 1800 isJob Thief }
autoSwitch [<monster names>] { rightHand [<equipment name>] leftHand [<equipment name>] arrow [<arrow name>] distance [<number>] useWeapon [<Булево Значение>] }
Attribute definitions:
Заметка. To attack with bare hands, specify [NONE].
Заметка. Leave this attribute blank if you are switching to a two-handed weapon.
Заметка. If you encounter a monster not listed in any of your autoSwitch blocks, Kore will equip the items specified in autoSwitch_default_rightHand, autoSwitch_default_leftHand, and autoSwitch_default_arrow if these options are set.
The following Пример will make Kore switch weapon to a +7 Very Very Strong Ice Flamberge when it encounters a High Orc, and switch back to +8 Triple Bloody Saber when attacking other monsters:
autoSwitch_default_rightHand +8 Saber [Hydra*3] [3] autoSwitch High Orc { rightHand +7 VVS Ice Flamberge }
buyAuto [<item name>] { maxAmount (<amount>) minAmount [<amount>] npc (<map name> <x> <y>) distance [<number>] standpoint [<map name> <x> <y>] bugged zeny [<amount>] v.1.9.0 # Self Conditions v.1.9.0 }
Attribute definitions:
Tip. If you don't want Kore to automatically go back to town to buy this item, but you DO want Kore to buy this item when it's in town for another reason, then leave minAmount empty. See Пример below.
Заметка. Once Kore is in auto-buy sequence, Kore will automatically check the rest of the buyAuto blocks if you need to buy the items specified in those blocks.
Заметка. This is bugged in v.1.6.4 so don't use this. Fixed in v.1.9.0.
Attributes defined elsewhere:
If you use many types of pots, it might only be worth going back to town when you've depleted your Orange Potions. The following Пример will make Kore go to town to buy pots when there are no more Orange Potions in your inventory. Notice that the minAmount is left empty for the Red Potion block.
buyAuto Red Potion { maxAmount 100 minAmount npc morocc 147 102 distance 8 } buyAuto Orange Potion { maxAmount 70 minAmount 0 npc morocc 147 102 distance 8 }
Заметки (v.1.9.0): The equipment name specified in equipAuto is not used anymore. Use the <equip slot> attribute instead to specify a set of equipments to automatically equip on different equipment slots.
equipAuto [<equipment name>] { def [<equipment name>] v.1.6.4 only misses [<range>] v.1.6.4 only onTeleport [<Булево Значение>] v.1.6.4 only skills [<skill names>] v.1.6.4 only totalMisses [<range>] v.1.6.4 only weight [<percent>] whileSitting [<Булево Значение>] (<equip slot>) [<equipment name>] v.1.9.0 target [<monster names>] v.1.9.0 # Self Conditions # Target Monster Conditions v.1.9.0 }
Attribute definitions:
Заметка (v.1.9.0). This option is removed in v.1.9.0. See also attackEquip for equipping default weapons when attacking with weapons.
Заметка (v.1.9.0). This option is renamed in v.1.9.0. Use the shared target miss condition target_misses instead.
Заметка (v.1.9.0). This option is removed in v.1.9.0. Use teleportAuto_equip instead.
Заметка (v.1.9.0). This option is removed in v.1.9.0. Use the shared skill block attribute equip instead.
Заметка (v.1.9.0). This option is renamed in v.1.9.0. Use the shared target miss condition target_totalMisses instead.
For Пример, if you want to automatically equip a +4 Shoes of Health and a Robust Clip when you are sitting to regenerate hp, use the following configuration:
equipAuto - { shoes +4 Shoes [Zombie] [1] leftAccessory Clip [Muka] [1] onAction sitAuto whileSitting 1 }
Заметка. See the references section for the list of equipment slots.
Attributes defined elsewhere:
The following Пример will make you automatically switch to a Healing Clip when you are attempting to use the Heal skill, and switch to a Teleport Clip if you are to use the Teleport skill. By default, you will be equipping your Nimble Glove:
useSelf_skill Heal { lvl 1 hp < 80 sp > 20 inLockOnly 1 notWhileSitting 0 timeout 2 disabled 0 } equipAuto Clip [Vitata] [1] { def Glove [Zerom] [1] skills Heal whileSitting 0 disabled 0 } equipAuto Clip [Creamy] [1] { def Glove [Zerom] [1] onTeleport 1 disabled 0 }
This is the corresponding Пример if you are using v.1.9.0:
attackEquip_leftAccessory Glove [Zerom] [1] teleportAuto_equip_leftAccessory Clip [Creamy] [1] useSelf_skill Heal { lvl 1 hp < 80 sp > 20 inLockOnly 1 notWhileSitting 0 timeout 2 disabled 0 equip_leftAccessory Clip [Vitata] [1] }
Bug Заметка (v.1.9.0): If you configured Kore to auto-equip items before using the Heal skill, you must disable useSelf_skill_smartHeal or the auto-equip will not work. This is fixed in SVN.
Заметка. The location of the Kafra NPC is defined in storageAuto_npc.
getAuto [<item name>] { minAmount [<amount>] maxAmount [<amount>] passive [<Булево Значение>] dcOnEmpty [<Булево Значение>] v.1.9.0 }
Attribute definitions:
The following Пример will make you get White Potions from storage when there are no more whites in your inventory:
storageAuto 1 storageAuto_npc geffen 120 62 storageAuto_distance 6 storageAuto_npc_type 1 getAuto White Potion { minAmount 0 maxAmount 100 passive 0 }
This is useful for fighting multiple opponents at once. For Пример, an Acolyte can offensive-Bless Khalitzburg even if it's not your current target, or a Knight can Provoke all Sohees and then Brandish Spear them.
monsterSkill [<skill name>] {
target [<monster names>]
# Skill Use Attributes
# Self Conditions
# Target Monster Conditions
}
Attribute definitions:
Заметка: This attribute only counts successful usage. If a skill fails, Kore will continue to use the skill until it finally succeeds even if this option is set to 1.
Заметка. This option is required. If you don't set this option, the skill will never be used.
Attributes defined elsewhere:
The following Пример will make Kore use Provoke on Sohees until there are more than five monsters attacking you. It will then use Brandish Spear to kill them all at once:
monsterSkill Provoke { lvl 1 sp > 15 aggressives < 5 maxUses 1 target Sohee target_dist 7 } attackSkillSlot Brandish Spear { lvl 10 dist 1.5 sp > 20 aggressives >= 5 monsters Sohee }
partySkill [<skill name>] { notPartyOnly [<Булево Значение>] target [<player names>] isSelfSkill [<Булево Значение>] v.1.9.0 # Skill Use Attributes # Self Conditions # Target Player Conditions }
Attribute definitions:
Заметка. You must set this option to the correct Значение. Useful for Magnificat or Gloria.
Attributes defined elsewhere:
The following Пример is a simple way of how to use Blessing on your party mates:
partySkill Blessing { lvl 10 sp > 20 stopWhenHit 1 inLockOnly 1 notWhileSitting 1 notInTown 1 target target_whenStatusInactive Blessing target_timeout 240 }
Заметка. Only one of the listed items will be used, i.e. the first in the list that exists in inventory.
useSelf_item [<item names>] {
dcOnEmpty [<Булево Значение>]
# Self Conditions
}
Attribute definitions:
Attributes defined elsewhere:
The following Пример will make Kore use a Concentration Potion every time the speed status wears out:
useSelf_item Concentration Potion { whenStatusInactive Concentration Potion inLockOnly 1 notWhileSitting 1 timeout 3 }
useSelf_skill [<skill name>] {
smartEncore [<Булево Значение>]
# Skill Use Attributes
# Self Conditions
}
Attribute definitions:
Attributes defined elsewhere:
The following Пример will make Kore use the Crazy Uproar Skill when the skill status is no longer active:
useSelf_skill Crazy Uproar { lvl 1 sp > 8 whenStatusInactive Crazy Uproar inLockOnly 1 notWhileSitting 1 timeout 3 }
Attribute definitions:
Заметка. This is just a maximum. If Kore sees that the spell has finished then AI will resume.
Заметка. This is just a minimum. If Kore sees that the spell has not yet finished then AI will not resume.
For Пример, if you want to automatically equip a Healing Clip when you attempt to use Heal, use the following configuration:
useSelf_skill Heal { lvl 10 sp > 5% notWhileSitting 1 equip_rightAccessory Clip [Vitata] [1] }
Заметка. See the references section for the list of equipment slots.
Bug Заметка (v.1.9.0): If you configured Kore to auto-equip items before using the Heal skill, you must disable useSelf_skill_smartHeal or the auto-equip will not work. This is fixed in SVN.
Attribute definitions:
Синтаксис | Описание |
---|---|
hp <range> |
Если параметр установлен, the block will only be used if the percent HP is within the specified range.
v.1.9.0 Если параметр установлен, the block will only be used if the absolute amount of HP is within the specified range. |
hp <range>% v.1.9.0 | Если параметр установлен, the block will only be used if the percent HP is within the specified range. |
Пример (v.1.9.0):
For Пример, if you have 4000 maximum HP and you want to use the block if you have less than 800 HP left, use the setting:
hp < 800
Alternatively, the following Пример will have the same effect, because 800 HP is 20% of 4000 HP:
hp < 20%
<item> <range>[,<item1> <range1>[, ...]]
<item> <range>[,<item1> <range1>[, ...]]
The following Пример will allow you to create Holy Water using the Aqua Benedicta skill if you are currently standing on water and you have Empty Bottles in your inventory.
useSelf_skill Aqua Benedicta { lvl 1 notWhileSitting 1 inInventory Empty Bottle > 0 disabled 0 }
Если параметр установлен on other blocks, the block will only be used if any one of the specified comma-separated list of monsters is attacking you.
Если параметр установлен on other blocks, the block will not be used if any one of the specified comma-separated list of monsters is attacking you.
AI sequence | Block Options Supported |
---|---|
attack | attackComboSlot, attackSkillSlot, useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto |
follow | buyAuto, useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto |
items_gather | useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto |
items_take | useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto |
mapRoute | useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto |
move | partySkill, monsterSkill |
route | buyAuto, useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto |
sitAuto | useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto |
skill_use | useSelf_item, useSelf_skill, equipAuto |
take | useSelf_item, useSelf_skill, partySkill, monsterSkill, equipAuto |
Синтаксис | Описание |
---|---|
sp <range> |
Если параметр установлен, the block will only be used if the percent SP is within the specified range.
v.1.9.0 Если параметр установлен, the block will only be used if the absolute amount of SP is within the specified range. |
sp <range>% v.1.9.0 | Если параметр установлен, the block will only be used if the percent SP is within the specified range. |
Пример (v.1.9.0):
For Пример, if you have 600 maximum SP and you want to use the block if you have more than 60 SP left, use the setting:
sp > 60
Alternatively, the following Пример will have the same effect, because 60 SP is 10% of 600 SP:
sp > 10%
Заметка. Usually, this is used to prevent Kore from spamming block usage when there's lag.
Заметка. Currently, only plugins or the eval console command could change %flags so this is only useful to developers.
Заметка. Ground types can be found by using the console command spells while certain spells are active on the ground. You can also look for them in the tables folder, in the file spells.txt.
Заметка. Currently, only plugins or the eval console command could change %flags so this is only useful to developers.
Заметка. Ground types can be found by using the console command spells while certain spells are active on the ground. You can also look for them in the tables folder, in the file spells.txt.
Заметка. Statuses can be found by typing s in the console while the status is active. You can also look for them in the tables folder, in the files skillsailments.txt, skillslooks.txt, skillsstate.txt, and skillsstatus.txt.
Заметка. Statuses can be found by typing s in the console while the status is active. You can also look for them in the tables folder, in the files skillsailments.txt, skillslooks.txt, skillsstate.txt, and skillsstatus.txt.
Attribute definitions:
Заметка. This option is useful only if your target is a player.
Заметка. Currently, known statuses for monsters/players are lost when they leave your screen, so target_timeout may be more appropriate. See also whenStatusActive.
Заметка. Currently, known statuses for monsters/players are lost when they leave your screen, so target_timeout may be more appropriate. See also whenStatusInactive.
Attribute definitions:
Синтаксис | Описание |
---|---|
target_hp <range> |
Если параметр установлен, the block will only be used if the player's percent HP is within the specified range.
v.1.9.0 Если параметр установлен, the block will only be used if the player's absolute amount of HP is within the specified range. |
target_hp <range>% v.1.9.0 | Если параметр установлен, the block will only be used if the player's percent HP is within the specified range. |
Заметка. See the shared self condition hp for related examples.
Заметка. Currently, known statuses for players are lost when they leave your screen, so target_timeout may be more appropriate. See also whenStatusActive.
Заметка. Currently, known statuses for players are lost when they leave your screen, so target_timeout may be more appropriate. See also whenStatusInactive.