Быстрый запуск OpenKore — различия между версиями

Материал из Руководство по OpenKore
Перейти к: навигация, поиск
(Required Files)
м (Извлечение ресивпакетов выделено в отдельную статью. Прописываем тут ссылку.)
 
(не показано 14 промежуточных версий 4 участников)
Строка 1: Строка 1:
 
==Введение==
 
==Введение==
Если вы нюб в освоении OpenKore, то этот простенький мануал поможет вам установить и запустить OpenKore.
+
Если вы новичок, то этот простой гайд поможет вам настроить OpenKore и начать ботить за пару минут. На самом деле не так уж и трудно настраивать OpenKore. Она фактически одна из самых простых в использовании бот-программ.
  
'''''Примечание.''''' OpenKore это одна из самых простых бот-программ.
+
В данном гайде подробно расписан каждый шаг первоначальной настройки OpenKore. Вы начнёте с загрузки необходимых файлов, установите пакеты, проверите настройки сервера, подправите основные параметры конфига, а затем запустите программу.
  
В этом мануале подробно обсуждается каждый шаг по настройке OpenKore. Вы научитесь загружать необходимые файлы, устанавливать бота, делать некоторые базовые настройки, проверять данные своего сервера, а также запускать программу.
+
==Загрузка файлов==
 +
Самое первое, что нужно сделать, это загрузить самую последнюю версию OpenKore. Ссылки для загрузки файлов вы найдёте на [http://wiki.openkore.com/index.php?title=Links странице со ссылками].
  
==Необходимые файлы==
+
На сайте [http://openkore.collectskin.com/ http://openkore.collectskin.com/] вы обнаружите пять файлов для скачки:
;'''Шаг 1:''' Загрузка свежей (последней) OpenKore
+
# [http://openkore.collectskin.com/openkore_ready.zip openkore_ready.zip] - содержит почти что всё необходимое, чтобы запустить OpenKore.
:Во-первых, нужно загрузить OpenKore. Вы можете получить копию программы в разделе "Download" на сайте OpenKore.
+
# [http://openkore.collectskin.com/openkore.zip openkore.zip] - содержит только исходный код в папке '''src''' и файлы из корневой папки OpenKore.
 +
# [http://openkore.collectskin.com/confpack.zip confpack.zip] - содержит пакет с основными файлами конфигурации в папке '''control'''.
 +
# [http://openkore.collectskin.com/tablepack.zip tablepack.zip] - содержит пакет с табличными файлами, это мини база данных OpenKore, лежащая в папке '''tables'''.
 +
# [http://openkore.collectskin.com/fieldpack.zip fieldspack.zip] - содержит пакет с полями, картами локаций, находящимися в папке '''fields'''.
  
::Существует 4 обязательны пакета. Вам необходимо иметь:
+
Большинство предпочтёт загрузить файл '''openkore_ready.zip''', потому что он содержит почти что всё необходимое, чтобы запустить OpenKore. Другие же захотят загрузить по-отдельности файлы '''openkore.zip''', '''confpack.zip''', '''tablepack.zip''' и '''fieldspack.zip'''.
::#Бинарные файлы OpenKore для Microsoft Windows (start.exe|wxstart.exe, XSTools.dll, NetRedirect.dll)
 
::#Пакет карт
 
::#Пакет файлов настройки
 
::#Пакет таблиц
 
  
'''''Примечание.''''' Если вы используете Linux, то вам вместо бинарных файлов нужно загрузить исходники OpenKore (на той же странице в разделе "Other Downloads").
+
Чтобы запустить OpenKore, у вас должен быть установлен Perl '''ИЛИ''', если же у вас Windows, вы можете загрузить бинарные файлы -  либо [http://misc.openkore.com/start.rar start.exe] - с [[Console_Interface|консольным интерфейсом]], либо [http://misc.openkore.com/wxstart.rar wxstart.exe] - с [[Wx_Interface|графическим Wx-интефейсом]].
  
==Installation==
+
* Пользователи Linux должны будут скомпилировать OpenKore и запускать её прямо из Perl'а.
;'''Step 2:''' Extracting the Openkore packages
 
:Extract the contents of the main program package in your hard drive. You can choose any location you like (for example, "C:\").
 
  
:;Notes:
+
==Распаковка файлов==
::*Make sure that you extract the files using the folder structure saved in the zip file.
+
Распакуйте файл '''openkore_ready.zip''' на жесткий диск. Можно выбрать любое место, например "'''C:\'''".
::*If you are using WinRAR, select the radio button "Extract relative paths" in the Advanced Tab of the Extraction path and options dialog box.
 
::*If you are using Winzip, check the checkbox "Use folder names" in the Extract dialog box.  
 
  
 +
* Вам может потребоваться программа для распаковки архива. Наиболее распространённые ахиваторы -  [http://www.rarlab.com/ WinRAR] и [http://www.7-zip.org/ 7zip].
  
After extracting the main program, you will have a folder named openkore-x.x.x (where the "x.x.x" is the Openkore version). If you chose to extract it on "C:\" for example, the absolute path would be "C:\openkore-x.x.x". This will be your main bot folder.
+
После распаковки появится папка '''C:\openkore_ready'''. Необходимые файлы находятся внутри вложенных одна в другую папок. В нашем случае, файлы OpenKore находятся сейчас в папке '''C:\openkore_ready\home\openkore\svnsnapshots\openkore_ready\'''.
  
'''''Note.''''' You can rename your main bot folder if you want to.
+
Все файлы из указанной папки следует перенести поближе к началу - в папку '''C:\openkore_ready''', а пустую теперь папку '''C:\openkore_ready\home\''' можно удалить.
  
Extract the rest of the zip files (config pack, field pack and table pack) in your main bot folder. After extracting all the packages, you should have four subfolders in your main bot folder.
+
Теперь '''C:\openkore_ready''' стала корневой папкой бота OpenKore.
  
: Your openkore directory structure should be something like this.
+
* Конечно же эту корневую папку можно переименовать или перенести в другое место. Однако следует избегать слишком длинных путей до корневой папки, а также содержащих пробелы или русские буквы путей.
: [[Image:Quickstart_folders.gif|Your openkore directory structure should be something like this.]]
 
  
==Basic Configuration==
+
После этого структура папок должна выглядеть примерно так.
;'''Step 3:''' Configuring some basic options
+
: [[Image:Folderstructure.PNG|структура папок в корневой папке OpenKore]]
:This step is optional. You can skip it and follow the next step to start logging in to your RO server.
 
  
:Kore will run fine for most jobs without changing anything in the default configurations. By default, Kore will make your character walk randomly around the map, attack all monsters that it sees using it's weapon in close range, pick up items dropped by monsters it killed, and sit when its HP goes below 40%.
+
Из рисунка видно, что в корневой папке бота есть всё необходимое:
 +
*Папка '''control''' с параметрами конфигурации.
 +
*Папка '''fields''' с полями, картами локаций.
 +
*Папка '''src''' с исходными кодами самой OpenKore.
 +
*Папка '''tables''' с табличными файлами, это маленькая база данных.
 +
*Файл '''start.exe''', запускающий OpenKore в консольном режиме.
  
:If you have the Teleport Skill or you have some spare Fly Wings in your inventory, Kore will automatically teleport when it is near death. It will also cancel all incoming deals, as well as party and guild join requests.
+
Если же вас не устроит [[Console_Interface|консольный режим]], тогда скачайте файл [http://misc.openkore.com/wxstart.rar wxstart.rar]. Распакуйте и положите файл '''wxstart.exe''' в корневую папку OpenKore, то есть в нашем случае в '''C:\openkore_ready'''. Файл '''wxstart.exe''' запускает [[Wx_Interface|графический Wx-интерфес]] OpenKore.
  
:While the default behavior is good for most jobs, there are some other basic options that you might want to check first.
+
==Установка настроек сервера==
 +
;Вы можете пропустить этот шаг, если вы играете на официальном сервере Ragnarok Online, потому что в свежей версии OpenKore уже есть актуальные настройки на все официальные серверы RO. Это позволяет легко подключиться к официальному серверу, указав только лишь его имя.
  
'''''Note.''''' I would like to keep this guide as simple as possible. The easiest characters to start botting with are those that uses weapons because the default configuration is set up for such characters. If you want to bot a character that relies primarily on attack skills (e.g. Mage), the configuration would be a bit complicated, but not necessarily hard. I recommend that you read the rest of the manual first, especially config.txt, to help you configure your bot. I, therefore, don't recommend using a Mage as your first time bot character unless you know what you are doing.
+
OpenKore требуется информация о сервере, настройки на него, чтобы она смогла подключиться к серверу. Если вы хотите выяснить, есть ли в OpenKore уже поддержка вашего сервера, то загляните в файл '''tables\servers.txt'''. Поищите в записях этого файла имя вашего сервера, оно должно быть заключено между квадратных скобок '''[''' и ''']'''.
  
'''Quick tutorial on configuration editing:'''
+
Если вы не можете найти ваш сервер в списке, или же у вас возникают проблемы с подключением с указанными в файле настройками, вам необходимо самостоятельно выяснить настройки вашего сервера, прежде чем приступать к следующему шагу. Чтобы выяснить настройки сервера - читай гайды [[Подключение бота к серверу]] и [[Packet_Length_Extractor|Извлечение ресивпакетов]].
The control folder inside your bot folder contains a set of text files that you edit (using a text editor) to set configurations that defines Kore's behavior.
 
 
The file config.txt among others is the main configuration file. It is where you configure most of Kore's behavior. It is basically composed of lines of texts each containing a configuration key name (the first word in each line) and the corresponding value.
 
 
attackAuto 2
 
 
In the example above, attackAuto is the configuration key name, and 2 is the value. When editing config.txt, you only set or modify the values. You must not change the configuration key names. Save the text file after editing.
 
  
 +
==Запуск OpenKore==
 +
Запустите файл '''start.exe''', который находится в корневой папке бота.
  
Open your main bot folder, browse to the control subfolder, and open the file config.txt. There is quite a number of config keys that you will find inside this file, but just ignore all of them for now exept for the ones I will mention below.
+
OpenKore заметит, если вы не прописали необходимые для подключения к серверу параметры конфига - [[:Category:config.txt|Config.txt]], такие как [[username]], [[password]], [[master]], [[server]] и [[char]]. Если вы оставили эти параметры конфига пустыми, то OpenKore поможет вам выбрать сначала сервер из известного списка серверов, потом, зайдя на выбранный сервер, выведет список доступных игровых серверов, потом запросит логин и пароль от аккаунта и, наконец, выведет список персонажей на аккаунте.
  
;1. Do you want to stay in a certain map?
+
* Если вы используете Linux, тогда вам следует запускать OpenKore прямо из исходников. Подробные инструкции смотри тут - [[How to run Openkore]].
:Kore can make your character stay in a certain map you specified. Look for the configuration key lockMap and set the value to the name of the map you want to stay into. For example, prt_fild08.  
 
  
:If you are not inside your lockMap, Kore will try to walk back to it. If you die (hopefully, you won't), Kore will walk back to your lockMap after you sit to regenerate your HP.
+
=== Загрузка файлов конфигурации ===
 +
При запуске OpenKore загружает необходимые конфигурационные и табличные файлы, выводя отчет о ходе загрузки на консоль:
  
;2. Are you using a ranged weapon?
+
Loading control\arrowcraft.txt...
:If you are using a ranged weapon (e.g. Bow), it is important to set the configuration key attackDistance to your attack range (specified in number of blocks). A value of 10 may be good, but you can still increase it depending on some other factors (like the Vulture's Eye Skill).  
+
Loading tables\servers.txt...
 +
Loading control\mon_control.txt...
 +
Loading control\items_control.txt...
 +
Loading control\shop.txt...
 +
Loading control\overallAuth.txt...
 +
Loading control\pickupitems.txt...
 +
Loading control\responses.txt...
 +
Loading control\timeouts.txt...
 +
Loading control\chat_resp.txt...
 +
Loading control\avoid.txt...
 +
Loading control\priority.txt...
 +
Loading control\consolecolors.txt...
 +
Loading control\routeweights.txt...
 +
Loading control\arrowcraft.txt...
 +
Loading tables\servers.txt...
 +
Loading tables\teste.txt...
 +
Loading tables\cities.txt...
 +
Loading tables\commanddescriptions.txt...
 +
Loading tables\directions.txt...
 +
Loading tables\elements.txt...
 +
Loading tables\emotions.txt...
 +
Loading tables\equiptypes.txt...
 +
Loading tables\haircolors.txt...
 +
Loading tables\headgears.txt...
 +
Loading tables\items.txt...
 +
Loading tables\itemsdescriptions.txt...
 +
Loading tables\itemslots.txt...
 +
Loading tables\itemslotcounttable.txt...
 +
Loading tables\itemtypes.txt...
 +
Loading tables\resnametable.txt...
 +
Loading tables\maps.txt...
 +
Loading tables\monsters.txt...
 +
Loading tables\npcs.txt...
 +
Loading tables\packetdescriptions.txt...
 +
Loading tables\portals.txt...
 +
Loading tables\portalsLOS.txt...
 +
Loading tables\sex.txt...
 +
Loading tables\SKILL_id_handle.txt...
 +
Loading tables\skillnametable.txt...
 +
Loading tables\spells.txt...
 +
Loading tables\skillsdescriptions.txt...
 +
Loading tables\skillssp.txt...
 +
Loading tables\skillssp.txt...
 +
Loading tables\skillsstatus.txt...
 +
Loading tables\skillsailments.txt...
 +
Loading tables\skillsstate.txt...
 +
Loading tables\skillslooks.txt...
 +
Loading tables\skillsarea.txt...
 +
Loading tables\skillsencore.txt...
 +
Loading tables\quests.txt...
 +
Checking for new portals... none found
 +
_
  
:If you're not sure what your attack range is, simply set attackDistanceAuto to 1. This will auto-detect the correct value for attackDistance depending on your weapon.
+
=== Установка username и password ===
 +
После загрузки конфигурационных и табличных файлов OpenKore запросит логин и пароль, которые хранятся в параметрах конфига [[username]] и [[password]] соответственно:
  
:That's about the most basic concerns you should consider for now. If you want to play with some of the other options, I recommend that you read the config.txt section of this manual first. There are also some configuration guides that you might want to look at in the Openkore forum.
+
Enter Username:  
 +
_
  
==Server Details==
+
Enter Password:
;'''Step 4:''' Configuring server details
+
_
  
:You would most likely not do anything in this step, '''if you play on official servers.'''
+
Введите запрашиваемые логин и пароль в командной строке консоли.  
  
:The latest versions of Openkore already have an updated server information for official RO servers that allows you to easily connect without having to configure anything firsthand. It's as easy as simply running the freshly downloaded (and extracted) program.
+
* Логин и пароль спрашиваются только если парамтры конфига [[username]] и [[password]] были оставлены пустыми.
 +
* После ввода логина и пароля OpenKore тут же пропишет их в соответствующие параметры конфига, так что в следующий раз ей не придётся снова спрашивать их.
  
:If you want to check if Openkore already supports your server, open your main bot folder, browse to the tables subfolder, and open servers.txt. Look for the name of your server in the entries found in this file. The server names are enclosed in square brackets "[ ]".
+
=== Выбор мастер-сервера ===
 +
OpenKore выведет на консоль нумерованный список всех известных ей серверов Ragnarok Online. Этот список выглядит примерно так:
  
:If you can't find your server in the list (or if you are having problems connecting to the master server), you have to figure out your server details first before continuing with the next step. Follow the steps provided in the [[Connectivity Guide]]. You can also find some good tips here.
+
------------ Master servers ------------
If you successfully found your server details or if you are having problems, feel free to post them in the Official and Private Servers Info topic in the Openkore forum. Share your server details so they will be supported in future Openkore versions.
+
#    Choice
 +
0    Brazil - bRO: Odin
 +
1    Brazil - bRO: Thor
 +
2    Europe - euRO
 +
3    France - fRO
 +
4    India - inRO
 +
5    Indonesia - idRO: Thor - Legend - Fnc - Heroes
 +
6    International - iRO: Chaos/Loki/Iris
 +
7    International - iRO: Sakray
 +
8    International - iRO: Valkyrie
 +
9  Japan - jRO: Verdandi
 +
10  Korea - kRO: Sakray
 +
11  Korea - kRO: Sara/Rangidis/Thanatos
 +
12  KoreRO
 +
13  Localhost
 +
14  Malaysia - mRO (English Free Server): Prontera
 +
15  Malaysia - mRO (English): Aegir/Idun
 +
16  Malaysia - mRO: Main Server: Balder
 +
17  Malaysia - mRO: Sakray
 +
18  Philippines - pRO: New Chaos
 +
19  Philippines - pRO: Sakray
 +
20  Philippines - pRO: Valhalla
 +
21  Philippines - pRO: Valkyrie
 +
22  RMS
 +
23  Russia - rRO
 +
24  Taiwan - twRO: Alfheim (Chaos, Loki, Aegir)
 +
25  Taiwan - twRO: Free
 +
26  Taiwan - twRO: Test
 +
27  Thailand - tRO Free life server (Alice(new), Poring)
 +
28  Thailand - tRO Free life server (Yoyo, Picky)
 +
29  Thailand - tRO Main server (Norse)
 +
30  Vietnam - vRO: SD
 +
31  Vietnam - vRO: Thu Thach
 +
------------------------
 +
Please choose a master server to connect to.
 +
----------------------------------------
 +
Enter your answer:
 +
_
  
==Program Startup==
+
Введите номер выбранного вами мастер-сервера в командной строке консоли. Например, для российского официального сервера, который назвается '''Russia - rRO''', следует в данном случае ввести номер '''23'''.
;'''Step 5:''' Starting Openkore
 
  
:Run the application file "start.exe" inside your main bot folder.
+
* Если вы заранее прописали в параметре конфига [[master]] название мастер-сервера, например '''Russia - rRO''', то это шаг будет пропущен.
 +
* OpenKore самостоятельно пропишет выбранный мастер-сервер в параметр конфига [[master]], так что его не придётся указывать каждый раз заново.
 +
* Если вы не можете найти ваш сервер в данном списке, прочитайте четвёртый шаг данного гайда снова. Закройте OpenKore и запустите её снова тогда, когда вы верно определите и добавите настройки сервера в файл '''tables\server.txt'''.
  
'''''Note.''''' If you are using Linux, run Openkore from the source code. See the instructions on How to run Openkore in Linux.
+
=== Подключение к мастер-серверу ===
 +
Если вы прописали правильные значения в параметрах конфига [[username]], [[password]] и [[master]], то OpenKore успешно залогинится на мастер-сервер, используя эти настройки. OpenKore получит и отобразит информацию о вашем аккаунте, а также выведет список доступных игровых серверов. Это выглядит в консоли примерно так:
  
:The good thing about Openkore is that it detects if you haven't yet configured your login options in config.txt (i.e. username, password, master, server, and char). If you leave your login options empty, Openkore will guide you in properly setting these options at run-time.
+
Connecting to Account Server...
 +
Connecting (127.0.0.1:6900)... [Mar 7 23:35:11 2010.78] connected
 +
-----------Account Info------------
 +
Account ID: 2000003    83 84 1E 00
 +
Sex:        Boy
 +
Session ID: 30188      EC 75 00 00
 +
            16391      07 40 00 00
 +
-----------------------------------
 +
--------- Servers ----------
 +
#  Name                  Users  IP              Port
 +
Openkore Test Server              0      127.0.0.1      6121
 +
-------------------------------
 +
Closing connection to Account Server
 +
Disconnecting (127.0.0.1:6900)... disconnected
 +
_
  
 +
Если же OpenKore не смогла подключиться, то в консоли может появиться следующая ошибка:
  
----
+
Connecting to Master Server...
 +
Connecting (127.0.0.1:6900)... couldn't connect: Unknown error xxxx
 +
_
  
 +
Причина может быть:
 +
#Вы не подключены к интернету.
 +
#Сервер в данный момент выключен или находится на профилактике.
 +
#Неправильные настройки сервера. Прочтите гайд [[Быстрый запуск OpenKore#Установка настроек сервера|Установка настроек сервера]] ещё раз.
  
:;'''Step 5.1.''' Loading configuration files
+
=== Выбор сервера ===
::At startup, Openkore will load all necessary configuration and table files:
+
OpenKore выведет список серверов и запросит, к какому серверу подключиться. В консоли это выглядит примерно так:
      Loading control/macros.txt...
 
      Loading control/config.txt...
 
      Loading control/items_control.txt...
 
      Loading control/mon_control.txt...
 
      Loading control/overallAuth.txt...
 
      Loading control/pickupitems.txt...
 
      Loading control/responses.txt...
 
      Loading control/timeouts.txt...
 
      Loading control/shop.txt...
 
      Loading control/chat_resp.txt...
 
      Loading control/avoid.txt...
 
      Loading control/priority.txt...
 
      Loading control/consolecolors.txt...
 
      Loading control/routeweights.txt...
 
      Loading control/arrowcraft.txt...
 
      Loading tables/cities.txt...
 
      Loading tables/commanddescriptions.txt...
 
      Loading tables/directions.txt...
 
      Loading tables/elements.txt...
 
      Loading tables/emotions.txt...
 
      Loading tables/equiptypes.txt...
 
      Loading tables/haircolors.txt...
 
      Loading tables/headgears.txt...
 
      Loading tables/items.txt...
 
      Loading tables/itemsdescriptions.txt...
 
      Loading tables/itemslots.txt...
 
      Loading tables/itemslotcounttable.txt...
 
      Loading tables/itemtypes.txt...
 
      Loading tables/maps.txt...
 
      Loading tables/monsters.txt...
 
      Loading tables/npcs.txt...
 
      Loading tables/packetdescriptions.txt...
 
      Loading tables/portals.txt...
 
      Loading tables/portalsLOS.txt...
 
      Loading tables/recvpackets.txt...
 
      Loading tables/servers.txt...
 
      Loading tables/sex.txt...
 
      Loading tables/skills.txt...
 
      Loading tables/skills.txt...
 
      Loading tables/skills.txt...
 
      Loading tables/skills.txt...
 
      Loading tables/skills.txt...
 
      Loading tables/spells.txt...
 
      Loading tables/skillsdescriptions.txt...
 
      Loading tables/skillssp.txt...
 
      Loading tables/skillsstatus.txt...
 
      Loading tables/skillsailments.txt...
 
      Loading tables/skillsstate.txt...
 
      Loading tables/skillslooks.txt...
 
      Loading tables/skillsarea.txt...
 
      Loading tables/skillsencore.txt...
 
      Checking for new portals... none found
 
      _
 
  
----
+
--------- Servers ----------
 +
#        Name            Users  IP              Port
 +
0  Openkore Test Server              0      127.0.0.1      6121
 +
-------------------------------
 +
Closing connection to Master Server
 +
Disconnecting (127.0.0.1:6900)... disconnected
 +
Choose your server.  Enter the server number:
 +
_
  
 +
Выберите сервер, на котором вы хотите ботить и введите в консоли соответствующий номер.
  
:;'''Step 5.2.''' Setting your username
+
* Если вы заранее прописали номер сервера в параметре конфига [[server]], то этот шаг будет пропущен.
'''''Note.''''' If you have previously set your username, this step will not appear.
+
* OpenKore автоматически пропишет введённый номер сервера в параметр конфига [[server]], так что его не нужно будет указывать снова.
::Openkore will prompt you for your username:
 
      Enter Username:
 
      _
 
::Type your username in the console.  
 
  
'''''Note.''''' Kore will automatically set this option (username) in config.txt so you won't have to specify it again everytime you run Openkore.
+
=== Выбор персонажа ===
 +
Если в параметре конфига [[server]] был прописан верный номер сервера, то OpenKore удастся зайти на сервер. После чего OpenKore выведет список доступных персонажей на аккаунте, например:
  
 +
Connecting to Character Server...
 +
Connecting (127.0.0.1:6121)... connected
 +
Received characters from Character Server
 +
------------- Character List -------------
 +
Slot 0: Openkore (Novice, level 1/1)
 +
------------------------------------------
 +
------------ Character selection ------------
 +
#  Choice
 +
0  Slot 0: Openkore (Novice, level 1/1)
 +
2  Create a new character
 +
3  Delete a character
 +
------------------------
 +
Please choose a character or an action.
 +
---------------------------------------------
 +
Enter your answer:
 +
_
  
----
+
OpenKore попросит вас выбрать персонажа, введя соответствующий номер из списка. Кроме того, можно создать нового персонажа или удалить существующего. Если же у вас уже есть персонаж на аккаунте, то тогда просто введите нужный номер из списка.
  
 +
=== Вход в игру ===
 +
Со всеми правильно заданными параметрами OpenKore теперь логинится на мап-сервер и игра начинается:
  
:;'''Step 5.3.''' Setting your password
+
Received character ID and Map IP from Character Server
'''''Note.''''' If you have previously set your password, this step will not appear.  
+
----------Game Info----------
::Openkore will prompt you for your password:
+
Char ID: F1 49 02 00 (150001)
      Enter Password:
+
MAP Name: new_1-1.gat
      _
+
MAP IP: 127.0.0.1
 +
MAP Port: 5121
 +
-----------------------------
 +
Closing connection to Character Server
 +
Disconnecting (127.0.0.1:6121)... disconnected
 +
Connecting to Map Server...
 +
Connecting (127.0.0.1:5121)... connected
 +
You are now in the game
 +
Your Coordinates: 53, 101
  
::Type your password in the console.
+
'''Поздравляем!''' Вы успешно установили OpenKore!
  
'''''Note.''''' Kore will automatically set this option (password) in config.txt so you won't have to specify it again everytime you run Openkore.
+
== На посошок ==
 
+
Прежде, чем продолжать, вам следует настроить все остальное, опираясь на [[Руководство]]. Список возможных действий OpenKore вы можете прочитать на странице [[Overview]], посетите также раздел [[Frequently Asked Questions]]. Если же у вас остались нерешённые проблемы, обратитесь на форумы [http://forums.openkore.com/ forums.openkore.com], [http://www.rofan.ru www.rofan.ru] и на [http://www.ragbot.ru www.ragbot.ru].
 
 
----
 
 
 
 
 
:;'''Step 5.4.''' Choosing a master server
 
'''''Note.''''' If you have previously set your master server, this step will not appear.
 
::Openkore will show you a numbered list of known RO servers.
 
      ------- Master Servers --------
 
      #        Name
 
      0    AvalonRO Private Server
 
      1    Brazil - bRO
 
      2    EuphRO Private Server
 
      3    Europe - euRO
 
      4    ExcaliburRO Private Server
 
      5    Hakore Server
 
      6    India - inRO
 
      7    Indonesia - idRO: Chaos/Loki/Iris/Fenrir
 
      8    Indonesia - idRO: Sakray
 
      9    International - iRO: Chaos/Loki/Iris
 
      10  International - iRO: Sakray
 
      11  Malaysia - mRO (English): Iris/Penril/Odin/
 
      12  Malaysia - mRO: Main Server
 
      13  Malaysia - mRO: Sakray
 
      14  NamelessRO: Eclipse Private Server
 
      15  NamelessRO: Sunrise Private Server
 
      16  Oceania/Australia - oRO
 
      17  Oceania/Australia - oRO: Sakray
 
      18  Philippines - pRO: Fenrir/Iris/Lydia
 
      19  Philippines - pRO: Loki/Sarah
 
      20  Philippines - pRO: Odin/Chaos
 
      21  Philippines - pRO: Sakray
 
      22  Philippines - pRO: Urdr
 
      23  ProjectRO Private Server
 
      24  SonicRO Private Server
 
      25  Thailand - tRO Account 1: Fenrir,Lydia,Sara
 
      26  Thailand - tRO Account 1: Sol, Chaos, Loki,
 
      27  Thailand - tRO Account 2: Frigg,Freya,Baldu
 
      28  Thailand - tRO Account 2: Honir,Odin,Thor
 
      29  Thailand - tRO Account 3: Bijou, Grimnir, B
 
      30  Thailand - tRO Account 3: Isa, Tyr, Idun
 
      31  VanRO: Medium Rate Private Server
 
      32  XaosRO Private Server
 
      33  aeRO Private Server
 
      34  agRO Private Server
 
      35  mobRO Private Server
 
      36  powRO Private Server
 
      37  qRO Private Server
 
      -------------------------------
 
      Enter the number of your master server:
 
      _
 
::Choose the master server where you want to bot in and type the corresponding number in the console.
 
 
 
'''''Note.''''' Kore will automatically set this option (master) in config.txt so you won't have to specify it again everytime you run Openkore.
 
 
 
::If you can't find your server in the displayed list, read the fourth step in this guide again. Exit the program for now by closing the console window. Restart this step after you have properly configured your server details.
 
 
 
 
 
----
 
 
 
 
 
:;'''Step 5.5.''' Connecting to Master Server
 
::If you have your username, password and master server properly set in [[config.txt]], Kore will now login to the Master Server using your login details. Your account information will be retrieved and a list of available game login servers from the master server will be displayed:
 
      Connecting to Master Server...
 
      Connecting (127.0.0.1:6900)... connected
 
      ---------Account Info-------------
 
      Account ID: 2000003    83 84 1E 00
 
      Sex:        Boy
 
      Session ID: 2135588863 FF 7F 4A 7F
 
                  269906564  84 72 16 10
 
      ----------------------------------
 
      --------- Servers ----------
 
      #        Name            Users  IP              Port
 
      0  Bot-Owns              0      127.0.0.1      6121
 
      -------------------------------
 
      Closing connection to Master Server
 
      Disconnecting (127.0.0.1:6900)... disconnected
 
      _
 
 
 
 
 
::If you can't connect, this error will appear:
 
 
 
      Connecting to Master Server...
 
      Connecting (127.0.0.1:6900)... couldn't connect: Unknown error
 
      _
 
 
 
::;The reason for this may be one of the following:
 
:::#You are not connected to the internet.
 
:::#Your server is currently down, or under server maintenance.
 
:::#The server details is outdated. Read the fourth step in this guide again or consult the Openkore forum for latest news and updates.
 
 
 
 
 
----
 
 
 
 
 
:;'''Step 5.6.''' Choosing your server
 
'''''Note.''''' If you have previously set your server, this step will not appear.
 
 
 
::Openkore will prompt you for a server:
 
      --------- Servers ----------
 
      #        Name            Users  IP              Port
 
      0  Bot-Owns              0      127.0.0.1      6121
 
      -------------------------------
 
      Closing connection to Master Server
 
      Disconnecting (127.0.0.1:6900)... disconnected
 
      Choose your server.  Enter the server number:
 
      _
 
 
 
::Choose the server where you want to bot in and type the corresponding number in the console.
 
 
 
'''''Note.''''' Kore will automatically set this option (server) in config.txt so you won't have to specify it again everytime you run Openkore.
 
 
 
 
 
----
 
 
 
 
 
:;'''Step 5.7.''' Connecting to Game Login Server
 
::If you have your server specified in config.txt, Kore will now login to the server. All your available characters will be listed:
 
      Connecting to Game Login Server...
 
      Connecting (127.0.0.1:6121)... connected
 
      Received characters from Game Login Server
 
      ---------------------- Character List ----------------------
 
        # Name                              Job            Lv
 
        0 GMHakore                          Priest          99/50
 
      ------------------------------------------------------------
 
      _
 
 
 
 
 
----
 
 
 
 
 
:;'''Step 5.8.''' Choosing your character
 
'''''Note.''''' If you have previously set the option char in [[config.txt]], this step will not appear.
 
 
 
:Openkore will prompt you to choose a character. You also have the option to create a new character or delete an existing character:
 
      ---------------------- Character List ----------------------
 
        # Name                              Job            Lv
 
        0 GMHakore                          Priest          99/50
 
      ------------------------------------------------------------
 
      Type 'c' to create a new character, or type 'd' to delete a character.
 
      Or choose a character by entering its number.
 
      _
 
 
 
::If you already have a character created in your account, simply choose the character you want to bot and type the corresponding number in the console.  
 
 
 
'''''Note.''''' Kore will automatically set this option (char) in config.txt so you won't have to specify it again everytime you run Openkore.
 
 
 
:If you haven't created a character, Kore can help you on how to create a new character. However, the steps are beyond the scope of this guide, so it will not be explained in detail here. Just follow the instructions given by Kore and you'll do fine.
 
 
 
 
 
----
 
 
 
 
 
:;'''''Step 5.9.''''' Botting starts
 
:With all your login details set up, Kore will now login to the map server and start the game:
 
      Received character ID and Map IP from Game Login Server
 
      ----------Game Info----------
 
      Char ID: F5 49 02 00 (150005)
 
      MAP Name: gef_fild04.gat
 
      MAP IP: 127.0.0.1
 
      MAP Port: 5121
 
      -----------------------------
 
      Closing connection to Game Login Server
 
      Disconnecting (127.0.0.1:6121)... disconnected
 
      Connecting to Map Server...
 
      Connecting (127.0.0.1:5121)... connected
 
      You are now in the game
 
      Your Coordinates: 312, 273
 
      Remove perfectly hidden Player Unknown #150001 (0)
 
      Remove perfectly hidden Monster Poring (0)
 
      Calculating random route to: Geffen Field(gef_fild04): 257, 353
 
      _
 
 
 
:Congratulations! You have successfully set up Openkore! Your character will now walk around Midgard, kill monsters, and take loots!
 
 
 
:You shouldn't have any problems setting up Kore if you follow this guide. If you do however experience problems after trying all possible solutions your intelligent mind can think of, post an intelligent question in the [http://forums.openkore.com/ Openkore Forum].  
 
 
 
 
 
==Final Notes==
 
 
 
;'''Step 6:''' Reading the rest of the manual
 
:Configuring Kore does not end here. You must now read the rest of the manual and start some advanced configuration of your bot, especially if you want to use skills. There are also tons other nice features and options that you would want to exploit.
 

Текущая версия на 00:18, 7 апреля 2010

Введение

Если вы новичок, то этот простой гайд поможет вам настроить OpenKore и начать ботить за пару минут. На самом деле не так уж и трудно настраивать OpenKore. Она фактически одна из самых простых в использовании бот-программ.

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

Загрузка файлов

Самое первое, что нужно сделать, это загрузить самую последнюю версию OpenKore. Ссылки для загрузки файлов вы найдёте на странице со ссылками.

На сайте http://openkore.collectskin.com/ вы обнаружите пять файлов для скачки:

  1. openkore_ready.zip - содержит почти что всё необходимое, чтобы запустить OpenKore.
  2. openkore.zip - содержит только исходный код в папке src и файлы из корневой папки OpenKore.
  3. confpack.zip - содержит пакет с основными файлами конфигурации в папке control.
  4. tablepack.zip - содержит пакет с табличными файлами, это мини база данных OpenKore, лежащая в папке tables.
  5. fieldspack.zip - содержит пакет с полями, картами локаций, находящимися в папке fields.

Большинство предпочтёт загрузить файл openkore_ready.zip, потому что он содержит почти что всё необходимое, чтобы запустить OpenKore. Другие же захотят загрузить по-отдельности файлы openkore.zip, confpack.zip, tablepack.zip и fieldspack.zip.

Чтобы запустить OpenKore, у вас должен быть установлен Perl ИЛИ, если же у вас Windows, вы можете загрузить бинарные файлы - либо start.exe - с консольным интерфейсом, либо wxstart.exe - с графическим Wx-интефейсом.

  • Пользователи Linux должны будут скомпилировать OpenKore и запускать её прямо из Perl'а.

Распаковка файлов

Распакуйте файл openkore_ready.zip на жесткий диск. Можно выбрать любое место, например "C:\".

  • Вам может потребоваться программа для распаковки архива. Наиболее распространённые ахиваторы - WinRAR и 7zip.

После распаковки появится папка C:\openkore_ready. Необходимые файлы находятся внутри вложенных одна в другую папок. В нашем случае, файлы OpenKore находятся сейчас в папке C:\openkore_ready\home\openkore\svnsnapshots\openkore_ready\.

Все файлы из указанной папки следует перенести поближе к началу - в папку C:\openkore_ready, а пустую теперь папку C:\openkore_ready\home\ можно удалить.

Теперь C:\openkore_ready стала корневой папкой бота OpenKore.

  • Конечно же эту корневую папку можно переименовать или перенести в другое место. Однако следует избегать слишком длинных путей до корневой папки, а также содержащих пробелы или русские буквы путей.

После этого структура папок должна выглядеть примерно так.

структура папок в корневой папке OpenKore

Из рисунка видно, что в корневой папке бота есть всё необходимое:

  • Папка control с параметрами конфигурации.
  • Папка fields с полями, картами локаций.
  • Папка src с исходными кодами самой OpenKore.
  • Папка tables с табличными файлами, это маленькая база данных.
  • Файл start.exe, запускающий OpenKore в консольном режиме.

Если же вас не устроит консольный режим, тогда скачайте файл wxstart.rar. Распакуйте и положите файл wxstart.exe в корневую папку OpenKore, то есть в нашем случае в C:\openkore_ready. Файл wxstart.exe запускает графический Wx-интерфес OpenKore.

Установка настроек сервера

Вы можете пропустить этот шаг, если вы играете на официальном сервере Ragnarok Online, потому что в свежей версии OpenKore уже есть актуальные настройки на все официальные серверы RO. Это позволяет легко подключиться к официальному серверу, указав только лишь его имя.

OpenKore требуется информация о сервере, настройки на него, чтобы она смогла подключиться к серверу. Если вы хотите выяснить, есть ли в OpenKore уже поддержка вашего сервера, то загляните в файл tables\servers.txt. Поищите в записях этого файла имя вашего сервера, оно должно быть заключено между квадратных скобок [ и ].

Если вы не можете найти ваш сервер в списке, или же у вас возникают проблемы с подключением с указанными в файле настройками, вам необходимо самостоятельно выяснить настройки вашего сервера, прежде чем приступать к следующему шагу. Чтобы выяснить настройки сервера - читай гайды Подключение бота к серверу и Извлечение ресивпакетов.

Запуск OpenKore

Запустите файл start.exe, который находится в корневой папке бота.

OpenKore заметит, если вы не прописали необходимые для подключения к серверу параметры конфига - Config.txt, такие как username, password, master, server и char. Если вы оставили эти параметры конфига пустыми, то OpenKore поможет вам выбрать сначала сервер из известного списка серверов, потом, зайдя на выбранный сервер, выведет список доступных игровых серверов, потом запросит логин и пароль от аккаунта и, наконец, выведет список персонажей на аккаунте.

  • Если вы используете Linux, тогда вам следует запускать OpenKore прямо из исходников. Подробные инструкции смотри тут - How to run Openkore.

Загрузка файлов конфигурации

При запуске OpenKore загружает необходимые конфигурационные и табличные файлы, выводя отчет о ходе загрузки на консоль:

Loading control\arrowcraft.txt...
Loading tables\servers.txt...
Loading control\mon_control.txt...
Loading control\items_control.txt...
Loading control\shop.txt...
Loading control\overallAuth.txt...
Loading control\pickupitems.txt...
Loading control\responses.txt...
Loading control\timeouts.txt...
Loading control\chat_resp.txt...
Loading control\avoid.txt...
Loading control\priority.txt...
Loading control\consolecolors.txt...
Loading control\routeweights.txt...
Loading control\arrowcraft.txt...
Loading tables\servers.txt...
Loading tables\teste.txt...
Loading tables\cities.txt...
Loading tables\commanddescriptions.txt...
Loading tables\directions.txt...
Loading tables\elements.txt...
Loading tables\emotions.txt...
Loading tables\equiptypes.txt...
Loading tables\haircolors.txt...
Loading tables\headgears.txt...
Loading tables\items.txt...
Loading tables\itemsdescriptions.txt...
Loading tables\itemslots.txt...
Loading tables\itemslotcounttable.txt...
Loading tables\itemtypes.txt...
Loading tables\resnametable.txt...
Loading tables\maps.txt...
Loading tables\monsters.txt...
Loading tables\npcs.txt...
Loading tables\packetdescriptions.txt...
Loading tables\portals.txt...
Loading tables\portalsLOS.txt...
Loading tables\sex.txt...
Loading tables\SKILL_id_handle.txt...
Loading tables\skillnametable.txt...
Loading tables\spells.txt...
Loading tables\skillsdescriptions.txt...
Loading tables\skillssp.txt...
Loading tables\skillssp.txt...
Loading tables\skillsstatus.txt...
Loading tables\skillsailments.txt...
Loading tables\skillsstate.txt...
Loading tables\skillslooks.txt...
Loading tables\skillsarea.txt...
Loading tables\skillsencore.txt...
Loading tables\quests.txt...
Checking for new portals... none found
_

Установка username и password

После загрузки конфигурационных и табличных файлов OpenKore запросит логин и пароль, которые хранятся в параметрах конфига username и password соответственно:

Enter Username: 
_ 
Enter Password:
_

Введите запрашиваемые логин и пароль в командной строке консоли.

  • Логин и пароль спрашиваются только если парамтры конфига username и password были оставлены пустыми.
  • После ввода логина и пароля OpenKore тут же пропишет их в соответствующие параметры конфига, так что в следующий раз ей не придётся снова спрашивать их.

Выбор мастер-сервера

OpenKore выведет на консоль нумерованный список всех известных ей серверов Ragnarok Online. Этот список выглядит примерно так:

------------ Master servers ------------
#    Choice
0    Brazil - bRO: Odin
1    Brazil - bRO: Thor
2    Europe - euRO
3    France - fRO
4    India - inRO
5    Indonesia - idRO: Thor - Legend - Fnc - Heroes
6    International - iRO: Chaos/Loki/Iris
7    International - iRO: Sakray
8    International - iRO: Valkyrie
9   Japan - jRO: Verdandi
10   Korea - kRO: Sakray
11   Korea - kRO: Sara/Rangidis/Thanatos
12   KoreRO
13   Localhost
14   Malaysia - mRO (English Free Server): Prontera
15   Malaysia - mRO (English): Aegir/Idun
16   Malaysia - mRO: Main Server: Balder
17   Malaysia - mRO: Sakray
18   Philippines - pRO: New Chaos
19   Philippines - pRO: Sakray
20   Philippines - pRO: Valhalla
21   Philippines - pRO: Valkyrie
22   RMS
23   Russia - rRO
24   Taiwan - twRO: Alfheim (Chaos, Loki, Aegir)
25   Taiwan - twRO: Free
26   Taiwan - twRO: Test
27   Thailand - tRO Free life server (Alice(new), Poring)
28   Thailand - tRO Free life server (Yoyo, Picky)
29   Thailand - tRO Main server (Norse)
30   Vietnam - vRO: SD
31   Vietnam - vRO: Thu Thach
------------------------
Please choose a master server to connect to.
----------------------------------------
Enter your answer:
_

Введите номер выбранного вами мастер-сервера в командной строке консоли. Например, для российского официального сервера, который назвается Russia - rRO, следует в данном случае ввести номер 23.

  • Если вы заранее прописали в параметре конфига master название мастер-сервера, например Russia - rRO, то это шаг будет пропущен.
  • OpenKore самостоятельно пропишет выбранный мастер-сервер в параметр конфига master, так что его не придётся указывать каждый раз заново.
  • Если вы не можете найти ваш сервер в данном списке, прочитайте четвёртый шаг данного гайда снова. Закройте OpenKore и запустите её снова тогда, когда вы верно определите и добавите настройки сервера в файл tables\server.txt.

Подключение к мастер-серверу

Если вы прописали правильные значения в параметрах конфига username, password и master, то OpenKore успешно залогинится на мастер-сервер, используя эти настройки. OpenKore получит и отобразит информацию о вашем аккаунте, а также выведет список доступных игровых серверов. Это выглядит в консоли примерно так:

Connecting to Account Server...
Connecting (127.0.0.1:6900)... [Mar 7 23:35:11 2010.78] connected
-----------Account Info------------
Account ID: 2000003    83 84 1E 00
Sex:        Boy
Session ID: 30188      EC 75 00 00
            16391      07 40 00 00
-----------------------------------
--------- Servers ----------
#   Name                  Users  IP              Port
0   Openkore Test Server               0      127.0.0.1       6121
-------------------------------
Closing connection to Account Server
Disconnecting (127.0.0.1:6900)... disconnected
_

Если же OpenKore не смогла подключиться, то в консоли может появиться следующая ошибка:

Connecting to Master Server...
Connecting (127.0.0.1:6900)... couldn't connect: Unknown error xxxx
_

Причина может быть:

  1. Вы не подключены к интернету.
  2. Сервер в данный момент выключен или находится на профилактике.
  3. Неправильные настройки сервера. Прочтите гайд Установка настроек сервера ещё раз.

Выбор сервера

OpenKore выведет список серверов и запросит, к какому серверу подключиться. В консоли это выглядит примерно так:

--------- Servers ----------
#         Name            Users  IP              Port
0   Openkore Test Server              0      127.0.0.1       6121
-------------------------------
Closing connection to Master Server
Disconnecting (127.0.0.1:6900)... disconnected
Choose your server.  Enter the server number:
_

Выберите сервер, на котором вы хотите ботить и введите в консоли соответствующий номер.

  • Если вы заранее прописали номер сервера в параметре конфига server, то этот шаг будет пропущен.
  • OpenKore автоматически пропишет введённый номер сервера в параметр конфига server, так что его не нужно будет указывать снова.

Выбор персонажа

Если в параметре конфига server был прописан верный номер сервера, то OpenKore удастся зайти на сервер. После чего OpenKore выведет список доступных персонажей на аккаунте, например:

Connecting to Character Server...
Connecting (127.0.0.1:6121)... connected
Received characters from Character Server
------------- Character List -------------
Slot 0: Openkore (Novice, level 1/1)
------------------------------------------
------------ Character selection ------------
#   Choice
0   Slot 0: Openkore (Novice, level 1/1)
2   Create a new character
3   Delete a character
------------------------
Please choose a character or an action.
---------------------------------------------
Enter your answer:
_

OpenKore попросит вас выбрать персонажа, введя соответствующий номер из списка. Кроме того, можно создать нового персонажа или удалить существующего. Если же у вас уже есть персонаж на аккаунте, то тогда просто введите нужный номер из списка.

Вход в игру

Со всеми правильно заданными параметрами OpenKore теперь логинится на мап-сервер и игра начинается:

Received character ID and Map IP from Character Server
----------Game Info----------
Char ID: F1 49 02 00 (150001)
MAP Name: new_1-1.gat
MAP IP: 127.0.0.1
MAP Port: 5121
-----------------------------
Closing connection to Character Server
Disconnecting (127.0.0.1:6121)... disconnected
Connecting to Map Server...
Connecting (127.0.0.1:5121)... connected
You are now in the game
Your Coordinates: 53, 101

Поздравляем! Вы успешно установили OpenKore!

На посошок

Прежде, чем продолжать, вам следует настроить все остальное, опираясь на Руководство. Список возможных действий OpenKore вы можете прочитать на странице Overview, посетите также раздел Frequently Asked Questions. Если же у вас остались нерешённые проблемы, обратитесь на форумы forums.openkore.com, www.rofan.ru и на www.ragbot.ru.