Frequently Asked Questions

From OpenKore Wiki
Revision as of 19:02, 3 April 2010 by Mushrom (talk | contribs)
Jump to navigation Jump to search

About Openkore

What is Openkore?

Openkore is an open source bot program, mostly written in perl for Ragnarok Online, created back in 2003. It is licensed under the GNU General Public License GPL.

What functions does Openkore have?

Openkore is capable of doing almost everything a normal player could do on Ragnarok. Its AI permits the use of automatic tasks, like attack, move, use items and skills, storage, buy and sell, open a shop, teleport. You can see a list of currently supported tasks in the Overview page.

Installation and Configuration

Where do I download Openkore?

You can download it on the Links page. Be sure to check the Quick Start Guide if you are new on Openkore.

How do I make it connect in my server?

Currently, Openkore only comes with Official Servers information, so if you want to play on a private server, for example, you will need to get its server's information. See Connectivity Guide.

How do I configure it?

Openkore is based on text configuration files, which are located on control folder. Each file has it's own function and can easily be configured according to your needs. See Manual.

How can I update it?

There are two ways to update Openkore:

Does Openkore work on Linux?

Yes, Linux users have to run Openkore directly in perl. See How to run OpenKore on Linux/Unix.

Connecting Errors

Unknown error code 10060 when connecting to the server

Your server information, set on servers.txt, is wrong. See Connectivity Guide to learn how to get your server's information correctly.

Timeout on Account server, error when connecting to the server

Wrong server information, on servers.txt, or the server has some kind of anti-bot protection againts bots. See Connectivity Guide to check your server's information and Unsupported servers for a list of unbottable servers.

Openkore is showing character information incorrectly

Wrong value for charBlockSize on servers.txt. Possible values are 106, 108 or 112 for servers with Renewal Interface.

Common Problems

My server has some kind of anti-bot, that doesn't let Openkore connect

Unfortunately, Openkore doesn't have any kind of code to break those anti-bots.

Openkore is showing NPCs and monsters as "unknown"

Wrong serverType, on servers.txt, or outdated recvpackets. See Connectivity Guide to get the correct serverType and Packet Length Extractor to extract the recvpackets.

Packet Tokenizer: Unknown switch: xxxx

Packet switch not found in recvpackets.txt, we don't have this packet's length. Recvpackets file needs to be updated for your server. See Packet Length Extractor.

Note: if this switch does not start with a 0 (0123) then a previous packet's length was wrong.

Packet Parser: Unknown switch: xxxx

Packet switch not found in packet_list{switch}, packet switch hasn't been added to the hash.

Packet Parser: Unhandled Packet: xxxx Handler: xxxxxxxxxx

Packet handler not found, there is no function that handles this packet yet.

XSTools.dll is not found

Download XSTools.dll and extract to src/auto/XSTools/

ext/hash_fun.h: No such file or directory

In file src/auto/XSTools/utils/sparseconfig.h, replace:

#define HASH_FUN_H <ext/hash_fun.h>

with:

#define HASH_FUN_H <backward/hash_fun.h>

How to fix broken TCP/IP stack

Your Windows TCP/IP stack is broken. Please read
http://www.visualkore-bot.com/faq.php#tcp
to learn how to solve this.

One of the reasons why Kore cannot connect to the Internet is due to a broken TCP/IP stack. You must reinstall it by following these instructions.

Windows XP

1. Make sure you're logged in as Administrator, or an administrator account. 2. Open a DOS command window. 3. Type the following command and press Enter:

netsh int ip reset resetlog.txt
Windows 2000

http://www.petri.co.il/reinstall_tcp_ip_on_windows_2000.htm

Macro plugin

Malformed UTF-8 character

Save your macro file in UTF-8 encoding.

Syntax error at line 1 (when there is no syntax errors)

Save your macro file in UTF-8 encoding without BOM. If you are using Notepad and getting this, do not use it anymore.