Disclaimer

Kore manual is created and maintained by Kura, I want to give him full credit on building the best RO Bot ever and providing the manual material.
I'm just adding updates to his document here, I'm humble and don't want to take away Kura's credit, he deserves it!

back



Syntax Definition

| - OR

() - required parameters

[] - optional parameters

flag - an option that's either 1 or 0 (on or off).

"" - literal text

callsign - Callsign as specified in config.txt. The callsign is not case sensitive. The Callsign is not needed in party chat or private messages.

percentage - a number representing a percentage, don't put a '%' symbol

back




Console Commands

Actions

a (monster #)

monster # - A corresponding number from the Monster List

Attack a single Monster with your weapon

ai

Display the current AI sequence

al

List items being sold in your store

avoidGM (flag)

Setup kore to avoid GM

Mode 0 is don't avoid at all, this means no matter GM is nearby or speaks to you, you will do nothing. NOT RECOMMENDED
Mode 1 is avoid (logoff) only when GM speaks in chat publicly or private message to you and log in chat.txt, kore will also teleports if GM is nearby when you are NOT in town
Mode 2 is avoid (teleport) if GM is nearby no matter where you are, as well as logoff if GM speaks

avoidGM_reconnect (number)

Number of seconds to wait before reconnecting after logging off to avoid GM

autostorage

Toggle auto-storage AI routine immediately

autosell

Toggle auto-sell AI routine immediately

autobuy

Toggle auto-buy AI routine immediately

chist

List the last 5 lines of chat in your chat.txt

closeshop

Close your shop

follow (player #)

player # - A corresponding number from the Player List

Tells Kore to follow a Player

follow stop

Tells Kore to stop following a Player

drop (inventory item #) [(amount)]

inventory item # - A corresponding number from your Inventory Item List

Drop amount of an Item from your Inventory on the ground. If no amount is specified then the maximum amount is dropped

im (inventory item #) (monster #)

inventory item # - A corresponding number from your Inventory List

monster # - A corresponding number from the Monster List
Use an Item from your Inventory on a Monster

ip (inventory item #) (player #)

inventory item # - A corresponding number from your Inventory List

player # - A corresponding number from the Player List

Use an Item from your Inventory on a Player

is (inventory item #)

inventory item # - A corresponding number from your Inventory List

Use an Item from your Inventory on yourself

look (body dir) [(head dir)]

body dir - Number from 0-7 inclusive. 0 (North), 2 (West), 4 (South), 6 (East)
head dir - Number from 0-2 inclusive. 0 (Ahead), 1 (Right), 2 (Left)
Look a direction. If no head dir is specified, your head will look straight ahead of your body

move [(x) (y)] [(map)] | "stop"

map name - Name of target map as found in maps.txt, without .rsw extension (ie. prt_fild00)

Move your character to block (x, y) on map map - Kore uses pathfinding to move to the location, and will only attack aggressive monsters along the way. You can specify just map by itself and Kore will move to that map, or specify x and y and Kore will move to block (x, y) on the current map.
move stop will kill all routes in the AI queue.

openshop

Open your shop. Setup the items to be sold in control\shop.txt

respawn

Kore will warp back to its save point specified by saveMap in config.txt.

send (Hex String)

Hex String - Hexidecimal pairs separated by spaces. ex. "send 01 04 2A FF"
Sends a raw packet to the connected server

sit

Turns off attackAuto, turns off route_randomWalk, turns on sitAuto, stops all movement, and sits.

sm (skill #) (monster #) [(skill lvl)]

skill # - A corresponding number from the Skill List

monster # - A corresponding number from the Monster List

Use a Skill on a Monster. If no skill lvl is specified, then the highest skill lvl is used

sp (skill #) (player #) [(skill lvl)]

skill # - A corresponding number from the Skill List

player # - A corresponding number from the Player List

Use a Skill on a Player. If no skill lvl is specified, then the highest skill lvl is used

ss (skill #) [(skill lvl)]

skill # - A corresponding number from the Skill List

Use a Skill on yourself. If no skill lvl is specified, then the highest skill lvl is used

stand

Sets back attackAuto and route_randomWalk to their previous values (if any), turns off sitAuto, and stands.
sitAuto will be automatically turned on when Kore's HP and SP are above the sitAuto_lower values specified in config.txt.

take (item #)

item # - A corresponding number from the Item List

Take an Item from the ground

tank (player #)

player # - A corresponding number from the Player List

Tells Kore to tank for a Player

tank stop

Tells Kore to stop tanking for a Player

tele

Kore will teleport to a random location on the map

vender (vender #) [(item #) (amount)]

vender # - A corresponding number from the Vender List

item # - A corresponding item number from the Vender List

amount ?Amount of the item you want to buy. If non is given, it will attempt to buy all

vl

Get a list of player vendors around you

back

Chat Functions

c (message)

Public chat. Also used to talk in a Chat Room

e (emotion #)

emotion # - Number from 1-34 inclusive

Send an emotion (heart, sweat, anger, etc.)

g (message)

Guild chat.

ignore (flag) (username | "all")

Toggles ignore chat from username, or everyone if all is specified.

p (message)

Party chat

pm (username | pm #) (message)

pm # - A corresponding number from the PM List

Private chat
back

Chat Room Management

bestow (chat user #)

chat user # - A corresponding number from the Chat Room Info
Give away your Chat Room admin power to another user

chat "(title)" [(limit) (public flag) (password)]

"title" - Title of the chat room must be enclosed in quotes

limit - Maximum number of allowed users in Chat Room

public flag - 1 (public), 0 (private)

Creates a Chat Room. Defaults to a public Chat Room with a limit of 20 users.

chatmod "(title)" [(limit) (public flag) (password)]

Same as chat, but modifies the current Chat Room properties instead of creating a new Chat Room

join (chat room #) [(password)]

chat room # - A corresponding number from the Chat Room List
Join a Chat Room

leave

Leave the current Chat Room

kick (chat user #)

chat user # - A corresponding number from the Chat Room Info
Kick and ban a user from your Chat Room

back

Configuration Modification

a no

Turns off auto-attack

a yes

Turns on auto-attack

auth (username) (flag)

Toggles authorization to username for use of Kore through Chat Commands

conf (variable) [(value)]

variable - A variable from the config.txt file

Sets the config variable to value and rewrites config.txt. Type "value" (without quotes) instead of a value to see the current value of the variable.

maplock (flag)

Sets maplock value to flag

timeout (type) (seconds)

type - the exact name from the Timeout Table (in the Control directory)
seconds - number of seconds, a possibly fractional value (ex. 0.5)
Sets the specified timeout to seconds and rewrites timeouts.txt. If no value is specified th en the value of type will be displayed

back

Dealing

deal

Use 1: Accept an incoming deal
Use 2: Finalize your part of the deal
Use 3: Trade when both parts are finalized

deal (player #)

player # - A corresponding number from the Player List
Request a deal with a Player

deal no

Use 1: Cancel incoming deal
Use 2: Cancel current deal

deal add (inventory item # | "z") [(amount)]

inventory item # - A corresponding number from your Inventory List
z - Specifies that you wish to add Zenny
Add amount of the Inventory Item/Zenny to the deal. If no amount is specified, then the maximum amount is added

back

Inventory Management

buy (store item #) [(amount)]

store item # - A corresponding number from the Store List

Buy amount of an Item from a Store. If no amount is specified, you will buy 1 of the Item. You must be near the Store to purchase the Item

cart add (inventory item #) [(amount)]

inventory item # - A corresponding number from your Inventory List
Add an item to your merchant cart. If no amount is specified then the maximum amount is added

cart get (cart item #) [(amount)]

cart item # - A corresponding number from the Cart List
Get an item from your merchant cart. If no amount is specified then the maximum amount is taken

eq (inventory item #)

inventory item # - A corresponding number from your Inventory List
Equip an Item in your Inventory

identify (identify item #)

identify item # - A corresponding number from the Identify List
Identify an item after using the Item Appraisal Skill or an amplifier.

sell (inventory item #) [(amount)]

inventory item # - A corresponding number from your Inventory List
Sell amount of an Item to a Store. If no amount is specified, then the maximum amount is sold. Items must be sold after talking to (and near) an NPC where you can sell items.

storage add (inventory item #) [(amount)]

inventory item # - A corresponding number from your Inventory List
Add an item to an open storage. If no amount is specified then the maximum amount is added

storage close

Close your storage

storage get (storage item #) [(amount)]

storage item # - A corresponding number from the Storage List
Get an item from an open storage. If no amount is specified then the maximum amount is taken

uneq (inventory item #)

inventory item # - A corresponding number from your Inventory List

Unequip an Item in your Inventory

back

Lists

cart

Merchant Cart list.

cri

Chat Room Info. Details about the Chat Room you're currently in, and a Chat Room user list

crl

Chat Room List. Lists all Chat Rooms in your immediate area

dl

Deal List. Details about the current Deal - your/other's items+amount, zenny, finalization stage etc.

identify

Item Identify List. After using an amplifier or the Item Appraisal Skill, you can identify one of the Items in this list.

i

Inventory List. Separated into Usable Items, Equipment, and Non-Usable Items

i desc [(Inventory Item #)]

Inventory Item # - A corresponding number from your Inventory List
Gives a description of the item

il

Item List. Lists all Items on the ground in your immediate area

ml

Monster List. Lists all Monsters in your immediate area

nl

NPC List. Lists all NPCs in your immediate area

party

Party List. Lists Party member's online status, location, and health

petl

Pet List. Lists all Pets in your immediate area

pl

Player List. Lists all Players in your immediate area

pml

Private Message List. Constructed similarily to Ragnarok's PM List - outgoing/incoming PM names are stored in a list for quick access.

portals

Portal List. Portals connect maps together, you can view all portals in your immediate area

skills

Skill List. Lists your Skills, skill levels, and SP per usage

skills desc [(Skill #)]

Skill # - A corresponding number from the Skill List

Gives a description of the skill

storage

Storage List. Lists Items in your Storage after you've talked to a Kapra and payed the fee.

store

Store List. Lists Items and prices from the last NPC Store visited

store desc [(store #)]

store # - A corresponding number from the Store List
Gives a description of the item

talk resp

Response List. Lists possible Responses that a NPC has given you

back

NPC Interaction

talk (npc #)

npc # - A corresponding number from the NPC List

Talk to a NPC

talk cont

Continue the current NPC converstation (when prompted for continue)

talk no

Cancel the current NPC converstation

talk resp (response #)

response # - A corresponding number from the Response List

Respond to a NPC (when prompted for a response)

back

Party Management

party create "(party name)"

"party name" - Name of Party must be enclosed in quotes
Organize a Party

party join (flag)

Accept/Deny incoming Party request the flags are
1 - Accept incoming request
0 - Deny incoming request

party kick (party member #)

party member # - A corresponding number from the Party List
Expel a Party member from your Party

party leave

Leave your current Party

party request (player #)

player # - A corresponding number from the Player List
Request a Player to join your Party

party share (flag)

flag - 1 (Share EXP evenly), 0 (Individual EXP)
Toggle Party EXP sharing

back

Party Warper Mode

This mode was designed around an old beta 2 exploit - warp without gems. This exploit has been fixed by Gravity.
If you want to change where the portal opens to, just use the conf command:

conf partyWarper_slot_current 0

In this case, the next portal would open to whatever map is specified in partyWarper_slot_0

pw_auth (username) (flag)

Toggles Portal Authorization to username. Those with authorization can perform all Portal related functions through Chat Commands

pw_setup [(x) (y)]

Sets up and primes the Portal at coordinates (x, y). Portal can be opened anywhere on the map. If no coordinates are specified then it 'primes' the Portal at the last setup coordinates. The Portal must be primed before opening every time Kore logs in

pw_open

Opens the portal.

pw_open2 (flag)

Opens/Closes a perpetual portal (Warp Portal is cast every 20 seconds to keep it open).


back

Status/Skill Management

s

Status. Important information about your character, similar to the always-viewable Ragnarok status window

st

Statistics. Details about your character (str, agi, attack etc.)

skills add (Skill #)

Skill # - A corresponding number from the Skill List
Add a Skill point to the specified Skill

stat_add (str | agi | vit | int | dex | luk)

Add a Statistic point of the specified type

memo

Memorize coordinates for warp ability (Acolyte only ^_^)

where

Character's current map and coordinates

who

Number of online users

back

System Functions

ai

Toggles AI on/off

cl

Clear the chat log.

dump

Exits Kore, and dumps the to-be-parsed packets to DUMP.txt

quit

Exits Kore

reload (partial name | "all") ["except" (partial name)]

Reloads all configuration/table files that match partial name, and if specified, excludes any files that match partial name after except
Ex. reload tables except monsters - reloads all the tables except the monsters table

relog

Reconnects to Master Server, and logs in

v

Toggles verbose on/off. If off you will not receive chat messages from X-Kore in-game.

back




Chat Commands

All Chat Commands require that the user be authorized. See the Console and Chat Command configuration management sections.
You can play with the words in Chat Commands, as Kore looks for keywords.

kore, go back to town
sit down kore

As long as the callsign is in there and a keyword followed by any variables, the Chat Command will work. The callsign is not needed if you issue the Chat Command through Private or Party Chat.
All Chat Commands (including the callsign) are not case sensitive.

back

Actions

(callsign) follow [(partial username | "me")]

Kore will follow a Player in the area whose username contains partial username. If no partial username is specified then Kore will follow the caller

(callsign) follow stop

Tells Kore to stop following a Player

(callsign) look (body dir) [(head dir)]

body dir - Number from 0-7 inclusive. 0 (North), 2 (West), 4 (South), 6 (East)
head dir - Number from 0-2 inclusive. 0 (Ahead), 1 (Right), 2 (Left)
Look a direction. If no head dir is specified, your head will look straight ahead of your body

(callsign) move [(x) (y)] [(map)] | "stop"

map name - Name of target map as found in maps.txt, without .rsw extension (ie. prt_fild00)
Move your character to block (x, y) on map map - Kore uses pathfinding to move to the location, and will only attack aggressive monsters along the way. You can specify just map by itself and Kore will move to that map, or specify x and y and Kore will move to block (x, y) on the current map.
move stop will kill all routes in the AI queue.

(callsign) sit

Turns off attackAuto, turns off route_randomWalk, turns on sitAuto, stops all movement, and sits.

(callsign) stand

Sets back attackAuto and route_randomWalk to their previous values (if any), turns off sitAuto, and stands.
sitAuto will be automatically turned on when Kore's HP and SP are above the sitAuto_lower values specified in config.txt.

(callsign) tank [(partial username | "me")]

Kore will tank for a Player in the area whose username contains partial username. If no partial username is specified then Kore will tank for the caller

(callsign) tank stop

Tells Kore to stop tanking for a Player

(callsign) town

Kore will warp back to its save point specified by saveMap in config.txt.

back

Configuration Modification

(auth password) --must be private messaged to Kore

auth password - The authorization password as specified in config.txt
Toggles authorization to caller for use of Kore through Chat Commands.

(callsign) conf (variable) [("value")]

variable - A variable from the config.txt file
Sets the config variable to value and rewrites config.txt. Type "value" (without quotes) instead of a value to see the current value of the variable.

(callsign) timeout (type) (seconds)

type - the exact name from the Timeout Table (in the Control directory)
seconds - number of seconds, a possibly fractional value (ex. 0.5)
Sets the specified timeout to seconds and rewrites timeouts.txt. If no value is specified th en the value of type will be displayed

back

Information

(callsign) date

Kore will spit out the date in your local time

(callsign) status

Kore will respond with status information, similar to typing 's' in the console.

(callsign) where

Kore will respond with its location, similar to typing 'where' in the console.

back

Party Warper Mode

You can sort of play with the all the 'gate' commands and put the words in any order, separated by anything. Like you can say "damn, setup that freaking gate" and Kore will prime the portal. You can also yell like "GAAAATE OOOOOPEN!" and Kore will open a portal. Looks very cool to have a portal suddenly appear and you're a Swordsman. Of course, it used to look cool, now everyone will know you're cheating :)
This mode was designed around an old beta 2 exploit - warp without gems. This exploit has been fixed by Gravity.

(party warper password) --must be sent in a private message

party warper password - Party Warper Password as specified in config.txt
Toggles Portal Authorization to caller. Those with authorization can perform all Portal related functions through Chat Commands

(callsign) close gate

Closes a perpetual portal

(callsign) heal [(partial username | "me")] (hp amount)

Kore will attempt to heal a Player in the area whose username contains partial username. Kore will heal as much as possible until its healed hp amount. If no partial username is specified then Kore will heal the caller

(callsign) (keep | leave) gate open

Opens a perpetual portal (Warp Portal is cast every 20 seconds to keep it open).

(callsign) list gate

List the maps Kore has in its slots specified in config.txt.

(callsign) open gate

Opens the portal.

(callsign) portal auth (on | enable | disable | off)

Toggles Portal Authorization. When off - anyone can tell Kore to open a portal. (same as 'conf partyWarperAuthorization 1/0')

(callsign) setup gate [(x) (y)]

Sets up and primes the Portal at coordinates (x, y). Portal can be opened anywhere on the map. If no coordinates are specified then it 'primes' the Portal at the last setup coordinates. The Portal must be primed before opening every time Kore logs in. This priming takes SP, but after the initial prime just keep calling either switch gate or open gate.

(callsign) switch gate (partial map name)

Switches the portal to open to another map. The partyWarper_slot_# values in the config file are looked up in maps.txt. If partial map name is found in a slot's full map name, then that slot is selected for the next portal.
Ex. switch gate pyramids

Kore would look through his warp slots for a map whose full name contains pyramids

(callsign) where gate

Kore spits out the coordinates and status of the portal.

back

System Functions

(callsign) logout

Causes Kore to quit

(callsign) reload (partial name | "all") ["except" (partial name)]

Reloads all configuration/table files that match partial name, and if specified, excludes any files that match partial name after except

(callsign) relog

Reconnects to Master Server, and logs in

(callsign) shut up

Disables Chat Command Responses (same as 'conf verbose 0')

(callsign) speak

Enables Chat Command Responses (same as 'conf verbose 1')

back




Config.txt


adminPassword (password)

Password required for remote authorization. Ragnarok users can private message Kore with this password and become authorized to command Kore through Ragnarok Chat

attackAuto (number)

Set to 0 to disable auto-attack
Set to 1 to auto-attack all aggressive monsters
Set to 2 to auto-attack all monsters

attackAuto_followTarget (flag)

Auto-attack monsters that the followTarget attacks or gets attacked by. These monsters have high prio irity.

attackAuto_party (flag)

Auto-attack monsters that party members attack or get attacked by. These monsters have high priority.

attackDistance (number)

number - number of blocks
The distance from the monster that Kore will move to before attacking with its weapon

attackMaxRouteDistance (number)

Kore will not move any more than number blocks to kill the target. Set to 0 to disable. This is used to prevent Kore from walking around long cliffs/walls just to kill a monster.

attackMaxRouteTime (number)

Kore will not spend any more than number seconds calculating the route to the target. Set to 0 to disable.

attackSkillSlot_# (full skill name)

full skill name - Skill name from the Skills List (type 'skills' in Kore when logged in)

Kore will use this skill to attack monsters if conditions are correct. If conditions aren't correct for all skill slots then Kore will use its weapon to attack.
Replace # with a number, starting from 0, then 1, then 2 and so on. You can have as many skill slots as you want. Look in the config.txt file for an example.

attackSkillSlot_#_dist (number)

Kore will move within blocks distance if this slot is to be used

attackSkillSlot_#_hp_upper (percentage)
attackSkillSlot_#_hp_lower (percentage)
attackSkillSlot_#_sp_upper (percentage)
attackSkillSlot_#_sp_lower (percentage)

Tells Kore to only use the slot when HP/SP % are within the lower and upper limits

attackSkillSlot_#_lvl (level)

level - Skill level ranging from 1 to 10
Sets the skill level to use for this slot


attackSkillSlot_#_maxAggressives (max number)
attackSkillSlot_#_minAggressives (min number)

This is useful if you are a Swordsman and want to use magnum break when there are many monsters attacking.You could setup the slot with magnum break and set the min number to about 3.

attackSkillSlot_#_maxCastTime (number)

Kore will wait number seconds maximum for the spell to finish casting before continuing AI functions. Note that this is just a maximum - if Kore sees that the spell has finished then AI will resume.
8 is a good setting for most spells (unless it takes more than 8 seconds to cast).

attackSkillSlot_#_maxUses (number)

Kore will use this slot number of times per monster. A value of 0 means no limit. This should be set to 1 for skills like "Decrease AGI" and "Provoke".

attackSkillSlot_#_monsters (list)

list - A comma-separated list of monster names (ex. poring, pecopeco's egg, fabre)
Kore will only use this skill slot if the target monster name is in the list. Leave the list empty to disable this option.

attackSkillSlot_#_stopWhenHit (flag)

If set to 1 and Kore is being attacked by a monster, then Kore won't use this slot. Slow casting spells should have this set to 1.

attackUseWeapon (flag)

Tells Kore whether it should use its weapon in battle or not. When disabled, Kore won't move towards the enemy and attack with its weapon, instead it will rely on the attack skill slots. Most mages will want this option set to 0.

autoEmote_word_#(text)
autoEmote_num_# (emote number)

Setup Kore to emote something when people said something in chat. For example, if people said "get lost" or "don't kill steal", then you can emote "sorry"

autoEquip_item_card_new (card name)
autoEquip_item_card_def (card name)
autoEquip_item_hp (percentage)
autoEquip_item_sp (percentage)

Setup kore to equip items with card in its slot when hp is < than item_hp and sp is > than item_sp set.
For example, you can setup Kore to equip the black ant hairclip (with auto use HEAL skill setup) when your hp is below 90, while your sp is above 20. When you are healed and hp is > 90 or if your sp < 20, you will switch back to the default hairclip (e.g. goblin)

autoReponse (number)

Kore will response to other people chatting in public channel (words said and response in control\chat_resp.txt) if this is set to 1.  Set to 0 to disable.

autoRestart (number)

Kore will automatically restart itself (disconnect and log back in) every number seconds. Set to 0 to disable. Use this if you find that Kore is screwing up after a while.

autoSwitch_weapon_def (name)
autoSwitch_weapon_mon_# (name)
autoSwitch_weapon_new_# (name)

Setup kore to equip different weapons for different monsters, for example, use elemental weapon for monster "whisper".
Remember to provide the full name of weapon including enchantment and cards! You can put multiple monster per weapon, separated by a comma.

For example:
autoSwitch_weapon_def +9 Katar [3Xsoldier Skeleton]
autoSwitch_weapon_mon_0 whisper,nightmare
autoSwitch_weapon_new_0 +8 Bastard Sword [Fire]
autoSwitch_weapon_mon_1 poring
autoSwitch_weapon_new_1 +5 Sword [Wind]
etc.


avoidGM (flag)

Setup kore to avoid GM

Mode 0 is don't avoid at all, this means no matter GM is nearby or speaks to you, you will do nothing. NOT RECOMMENDED
Mode 1 is avoid (logoff) only when GM speaks in chat publicly or private message to you and log in chat.txt, kore will also teleports if GM is nearby when you are NOT in town
Mode 2 is avoid (teleport) if GM is nearby no matter where you are, as well as logoff if GM speaks

buyAuto_# (item name)

Item that Kore will auto-buy when slot conditions are met

buyAuto_#_minAmount (min amount)
buyAuto_#_maxAmount (max amount)

Kore will initiate the auto-buy mode when it has min amount of the slot item in inventory. Kore will purchase up to max amount of the item. If you don't want this slot to trigger auto-buy mode (but you DO want Kore to fill up on the item when it can) leave min amount empty.
For example, if you use many types of pots it might only be worth going back to town when you've depleted your orange pots. You'd leave the min amount empty for the red pots item slot, and set min amount to 0 for the orange pots slot.

buyAuto_#_npc (NPC ID)

NPC ID - ID of NPC from npcs.txt list (ex. 50102)
The NPC who sells the item in the slot. The NPC *must* have the item available for purchase. Kore will walk to this NPC using pathfinding when auto-buy mode is activated.

callsign (name)

This callsign must be used when using Chat Commands from Public Chat (not needed for Party Chat and Private Messaging). The callsign is not case sensitive
Ex. "kore, sit" - would cause Kore to sit

char [(number)]

number - Your first character is number 0, second is 1, third is 2, etc.
The character to login as from the character select server. You have a choice of up to 3 characters. If no char is selected you will be prompted at run-time to choose.

commandPrefix (string)

string - character sequence (ex. :: , or *)
Chat messages sent from Ragnarok beginning with this prefix will be interpreted as commands by X-Kore.

dcOnDeath (flag)

Tells Kore if it should quit entirely after dying. Set this to 1 to prevent Kore walking back to the locked map and getting killed again.


dcOnDualLogin (number)

If a dual login error is detected (someone else accessing the account) then Kore will reconnect after number seconds. Set to 1 to make Kore quit entirely, any other value will be interpreted as seconds.

dealAutoCancel (flag)

Toggles auto-cancel incoming deals. If on (1), the default time for the AI to cancel a deal is 15 seconds.

debug (level)

level - 0 (off), 1 (low), 2 (high)
Toggles debug verbosity

encrypt (number)

Set to 1 to use kRO/cRO/tRO encryption, set to 2 to use iRO encryption.

follow (flag)

Toggles AI Player following. If on, and there's a selected follow target, Kore will follow the target.

followDistanceMax (number)

Kore will try to never be further away from the follow target than number blocks

followDistanceMin (number)

Kore will try to never be closer to the follow target than number blocks

followLostStep (number)

If lost, Kore will move towards where the follow target was last seen. By default, Kore will move number blocks every second, for about 10 seconds. This shouldn't have to be modified

followSitAuto (flag)

Toggles the ability of Kore to sit/stand when the follow target sits/stands

followTarget (username)

Kore will follow this user around if follow is enabled

itemsGatherAuto (flag)

Toggles auto-gather of items. When on, Kore will pickup items that aren't surrounded by any players. It's smart, non-intrusive looting

intervalMapDrt (number)

Setup interval in seconds where Kore will save its coordinates to be used by mapview.pl

itemsTakeAuto (flag)

Toggle auto-picking up items after killing a monster. Kore will attempt to pickup items within a small area for a few seconds

itemsMaxWeight (percentage)

Kore will stop picking up items when its weight is percentage or greater. Useful if set around 47 (somewhere below 50) to stop Kore going overweight.

local_host (name or IP)

The input socket server will be created at this ip. The socket is needed for IPC (inter-process communication) between the input thread and main thread. You shouldn't need to change the default value

local_port (port)

The input socket server will be created on this port.

lockMap (map name)
lockMap_x (number)
lockMap_y (number)

map name - Name of target map as found in maps.txt, without .rsw extension (ie. prt_fild00)
number - coordinate (ie. 200)
Kore will attempt to always keep on the specified map, at the specified location. lockMap_x and lockMap_y are optional. They are useful for mages or archers who want to stay on a safe cliff while killing monsters below.
Keep in mind that with this option on, if you die, Kore will first auto-sit and regenerate as specified, then attempt to walk back to the locked map.

master [(number)]

number - A cooresponding number from the master server list
The master server with a server list. If no number is specified then you will be promped at run-time to choose a master server from the master server list

master_host_# (name or IP)

Master server IP/name that contains a server list.

master_name_# (name or IP)

Name that will be displayed when user is asked to choose a master server.

master_port_# (port)

The port for the master server

master_version_# (number)

Version number that is different for each nationality of RO.

message_length_max (number)

number - Message length in characters

All outgoing chat will be divided intelligently into messages of message_length_max length

partyAutoDeny (flag)

Toggles auto-cancel incoming Party join requests. If on (1), the default time for the AI to cancel a Party join request is 15 seconds

partyWarper (flag)

Enables Party warper mode. Kore (if an acolyte with warp) can open portals for Party members.

partyWarperAuthorization (flag)

Toggles Portal Authorization. When off - anyone can tell Kore to open a portal

partyWarperPassword (password)

Users can send password in a private message to Kore to recieve warp authorization. Those with warp authorization can use all Kore's warp Chat Commands

partyWarper_portalX (x coord)

X coordinate of where the Portal is set to open

partyWarper_portalY (y coord)

Y coordinate of where the Portal is set to open

partyWarper_slot_# (map name)

Fill these slots with the map names (from maps.txt) where you want to warp with your Acolyte. You can warp to any map you want, regardless of memos. Using the Chat Command "list gate" and "switch gate", authorized friends can choose where the portal will open up to. Replace # with a number starting from 0. You can have as many slots as you want.
Ex. partyWarper_slot_0 izlude.rsw

partyWarper_slot_current (slot #)

slot # - number from 0-2 inclusive, representing a partyWarper_slot_# in the config.txt
The slot selected for the next portal opening.

password [(password)]

Your password for logging into Ragnarok

route_randomWalk (flag)

Kore chooses a point on the map at random, and uses pathfinding to get there. All other AI (such as auto-attack) is active while on route.

route_randomWalk_maxRouteTime (number)

Kore will not spend any more than number seconds calculating the route to the random point - a new point will be chosen if the time limit is exceeded. Set to 0 to disable.

route_step (number)

Kore will move number amount of blocks along the route at a time.

saveMap (map name)

map name - Name of target map as found in maps.txt, without .rsw extension (ie. payon)
Name of the map where the character has saved. The character MUST have saved in that map for Kore to be able to warp to that map.

saveMap_warpToBuyOrSell (flag)

If on, Kore will warp to to the save point before routing to the buy/sell NPC.

sellAuto (flag)

Turns on/off auto-selling - Kore will walk back to town to sell when itemsMaxWeight is reached.

sellAuto_npc (NPC ID)

NPC ID - ID of NPC from npcs.txt list (ex. 50102)
Kore will walk back to this NPC using pathfinding when auto-sell mode is activated.

server [(number)]

number - A cooresponding number from the server list, taken from the master server

The server your characters are located on. If no number is specified then you will be promped at run-time to choose a server from the server list

sex [(flag)]

flag - 0 (Girl), 1 (Boy)
When logging in you can force your sex to be flag. This is an exploit. You can leave this empty to login as the default sex for your account

shopAuto_open (flag)

If set to 1, Kore will auto open shop when you sit (if sitAuto_idle is also set).

sitAuto_hp_lower (low percentage)
sitAuto_hp_upper (high percentage)
sitAuto_sp_lower (low percentage)
sitAuto_sp_upper (high percentage)

Kore will suspend most AI functions and sit when HP or SP are below low percentage, and will resume normal AI when HP and SP are above high percentage.

sitAuto_idle (flag)

If set to 1 Kore will sit when idle. The idle time is defined by the ai_sit_idle in timeouts.txt.

sleepTime (microseconds)

Kore will sleep for microseconds every program cycle to conserve CPU cycles. You shouldn't need to change this

tankMode (flag)

Toggles Tank Mode. If the tankModeTarget is in Kore's view, Kore will target a monster and give it one whack.

tankModeTarget (username)

Kore will check to see if Player username is on the screen before targeting a monster for Tank Mode

teleportAuto_hp (percentage)

Kore will repeatedly teleport to a random location on the map while Kore's HP is below percentage.

teleportAuto_idle (flag)

Toggle whether Kore will teleport after being idle for a certain amount of time. Default is 12 seconds, configurable in timeouts.txt - variable ai_teleport_idle

teleportAuto_onlyWhenSafe (flag)

Kore will only teleport when there are no players around to see it. If not safe for 2 minutes (default), Kore will force it to be safe - see ai_teleport_safe_force in timeouts.txt. Because of the risk, Kore will never teleport in a city, regardless of this variable!

teleportAuto_portal (flag)

Kore will teleport upon seeing a map portal to avoid switching maps.

teleportAuto_useItem (flag)

Toggle Kore to use fly/butterfly wings automatically for teleport/respawn. If you are an acolyte with teleport skills or equipped a teleport clip, disable it, otherwise enable it. 0 to disable, 1 to enable.

useSelf_item_CurePoison (full item name)

full item name - Item name in inventory that can be used to cure poison. Not case sensitive.

useSelf_item_# (full item name)

full item name - Item name in inventory. Not case sensitive.
Kore will use this item on itself if the conditions are met (see below).
Replace # with a number, starting from 0, then 1, then 2 and so on. You can have as many items as you want. Look in the config.txt file for an example.

useSelf_item_#_hp_upper (percentage)
useSelf_item_#_hp_lower (percentage)
useSelf_item_#_sp_upper (percentage)
useSelf_item_#_sp_lower (percentage)

Tells Kore to only use the slot when HP/SP % are within the lower and upper limits

useSelf_item_#_maxAggressives (max number)
useSelf_item_#_minAggressives (min number)

Kore will only use this slot of there are at least min number monsters attacking, and at most max number monsters attacking. Set max number to 0 for no maximum limit.
Usually if there are many monsters attacking, you want to use more potent healing items. You could setup a slot with a potent item and set the min number to about 3.

useSelf_item_#_stopWhenHit (flag)

If set to 1 and Kore is being attacked by a monster, then Kore won't use this slot.

useSelf_skill_# (full skill name)

full item name - Skill name from Skills List (type 'skills' in Kore when logged in). Not case sensitive.
Kore will use this skill on itself if the conditions are met (see below).
Replace # with a number, starting from 0, then 1, then 2 and so on. You can have as many items as you want. Look in the config.txt file for an example.

useSelf_skill_#_hp_upper (percentage)
useSelf_skill_#_hp_lower (percentage)
useSelf_skill_#_sp_upper (percentage)
useSelf_skill_#_sp_lower (percentage)

Tells Kore to only use the slot when HP/SP % are within the lower and upper limits

useSelf_skill_#_maxAggressives (max number)
useSelf_skill_#_minAggressives (min number)

Kore will only use this slot of there are at least min number monsters attacking, and at most max number monsters attacking. Set max number to 0 for no maximum limit.
This is useful if you are a Thief and want to use "Hiding" when there are too many aggressives. You could setup the slot with "Hiding" and set min number to about 3.

useSelf_skill_#_maxCastTime (number)

Kore will wait number seconds maximum for the spell to finish casting before continuing AI functions. Note that this is just a maximum - if Kore sees that the spell has finished then AI will resume.
8 is a good setting for most spells (unless it takes more than 8 seconds to cast).

useSelf_skill_#_stopWhenHit (flag)

If set to 1 and Kore is being attacked by a monster, then Kore won't use this slot. Set to 0 for spells like "Heal" that can be cast in battle.

useSelf_skill_#_timeout (number)

Kore will only use the slot again after number of seconds pass. Set to 0 to disable. A high timeout is useful for skills like "Endure" and "Increase AGI" which only need to be cast once every 60 seconds.

useSelf_skill_smartHeal (flag)


Tells Kore to use "Smart Healing" for all slots that use the Heal skill. With "Smart Healing" Kore will auto-detect what level of Heal to use based on HP left and SP available.

username (username)

Your username for logging into Ragnarok

verbose (flag)

Toggles Kore's responses to Chat Commands, and toggles messages received in-game from X-Kore.

version (number)

The RO version used internally to verify that your version is up to date. This changes every RO version, and must be auto-detected.

back


shop.txt

Here is the detailed explaination about how to vend ( merchant only ) with skore.

1. first get a cart ^_^ and load all the stuff you want to vend in it
2. edit your config.txt and change this variable:

attackAuto 0

lockMap prontera
lockMap_x 137
lockMap_y 120

route_randomWalk 0

sitAuto_idle 1
shopAuto_open 1


NOTE: all of this variable already been explained in "Config.txt" section
3. next step is to edit your shop.txt, get a list of your cart items by typing "cart" in the bot console, you will need to add them to your shop.txt
here is the default example of shop.txt that come with skore:

#control\shop.txt

# shop_title
shop_title

name_0
quantity_0 0
price_0 0

name_1
quantity_1 0
price_1 0

now we will want to open a shop name "My First Shop" that are selling Iron 100ea, Iron ore 50ea and Red Potion 500ea, so you shop.txt files will be like this:

shop_title "My First Shop"

name_0 Iron
quantity_0 100
price_0 1250

name_1 Iron Ore
quantity_1 50
price_1 250

name_2 Red Potion
quantity_2 50
price_2 49

If you want to vend more items just keep adding to name_11 ( 12 items max ), save all your work and start skore, now it will automaticly open the shop where at lockMap

NOTE: one of my fav Skore shop function is it can make you vend 12 items in a time even if you only have lvl 1 vending skill!
but beware this kind of bug will make you get cought for using a bot is high so use it with care ^_^ if someone ask your lvl just bluff saying you are a pure high lvl vend merchant :p
and also be NOTE that skore still dont have auto add cart function YET it is still highly in development, so for now you must those items manually to the cart before vending.
back




Portals.txt and AI Routing

When you tell Kore to move to another map, it can take some time to calculate - sometimes up to 1 minute. The calculation is done as an AI sequence, this means that Kore can fight off aggressive monsters while making the calculation.
For Kore to walk across the world, it needs to know where all the portals are and where they lead to. It will take a long time to map out all the portals, and chances are your Kore distribution doesn't come with all the portals you need mapped out, so you'll need to map them yourself. Fortunately, Kore auto-updates the list as it passes through portals, so generating the list isn't difficult, especially if you have another player you can tell Kore to follow.
Format of portals.txt:

SourceMap SourceX SourceY DestMap DestX DestY [NPC_ID steps_to_get_warped]

Source - where the portal is located
Dest - where the portal takes you
NPC_ID steps_to_get_warped - Only required if the portal is actually a NPC (like entrance to Culvert). Here's an example of how to make Kore auto-talk to the NPC:

prt_fild05 270 212 prt_sewb1 131 247 50519 c r0

This is the NPC that leads to Culvert. The NPC is in prt_fild05 at location 270 212. When you talk to the NPC the warp takes you to prt_sewb1 131 247. The NPC's ID is 50519. Use Kore to figure out the next two arguments c r0 - to get the NPC to warp you, you must "talk cont" once (c) and then "talk resp 0" (r0).
If you had to "talk cont" twice, then "talk resp 1", the last arguments would look like c c r1
How to generate the portal list:

1. Figure out what portals are needed to be known for Kore to walk the path. Check to see if portals.txt already has the portals mapped out.

2. Get Kore to move through the unknown portal in any way possible. The best method is to make Kore follow another player, and have that player move through the portal. When Kore passes through the portal it will auto-update the portal list with both sides of the portal recorded. No need to move through the portal then move back to record both sides Kore can only record portals which have a "partner portal" immediately on the other side. For example, portals like the Culvert NPC and the portal exiting Culvert you must record manually,

3. With all the neccessary portals recorded, restart Kore and press 'y' when it asks you to compile the new portals. Kore can't properly use the portals without first compiling the "Line of Sight" list.

back




Responses.txt


Overview

This file controls how Kore responds to Chat Commands. Currently, Chat Commands are predefined - you can't make Kore respond to your own phrases like "Kore, EAT!".

Chat Commands can either succeed or fail, and there are different ways of succeeding and failing. The succeed response tags have an appended 'S', and possibly a number. The failing response tags have an appended 'F' and possibly a number:

commandS1 "Succeed text"

If you specify two or more of the same response tags, a random response will be chosen from the group:

somethingF1 "Sorry, you suck"
somethingF1 "You really do suck"

There are also variables at your disposal. What variables are available depends on the response. There are global variables available that can be used in any response.
To use a variable in a response , prepend the variable with "%$":

standS "Whatever you say %$user"

To get an idea of what variables you can use in a response, look at the default Responses.txt provided.

Global Variables

user - The name of the user you're responding to
Only one global variable is available at the moment.

back

Skore is modded kore by solos and Kore is originally owned by Kura