Frequently Asked Questions: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
(Fill with common problems/errors)
Line 1: Line 1:
== How to fix broken TCP/IP stack ==
== About Openkore ==
Your Windows TCP/IP stack is broken. Please read
=== What is Openkore? ===
http://www.visualkore-bot.com/faq.php#tcp
Openkore is an open source bot program, mostly written in [http://www.perl.org/ perl] for [http://www.ragnarokonline.com/ Ragnarok Online], created back in 2003. It is licensed under the [http://en.wikipedia.org/wiki/GNU_General_Public_License GNU General Public License GPL].
to learn how to solve this.
 
=== 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:
* Using Openkore SVN AutoUpdater - see [[Updating Openkore Guide]] (recommended for normal users)
* Using TortoiseSVN - see [[TortoiseSVN Guide]] (recommended for testers, supporters, developers users)
 
=== Does Openkore work on Linux? ===
Yes, Linux users have to run Openkore directly in perl. See [[How to run OpenKore on Linux/Unix]].


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.
== 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.


; Windows XP
=== 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.


1. Make sure you're logged in as Administrator, or an administrator account.
=== Openkore is showing character information incorrectly ===
2. Open a DOS command window.
Wrong value for '''charBlockSize''' on servers.txt. Possible values are 106, 108 or 112 for servers with Renewal Interface.
3. Type the following command and press Enter:
netsh int ip reset resetlog.txt


; Windows 2000
== 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.


http://www.petri.co.il/reinstall_tcp_ip_on_windows_2000.htm
=== 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 recvpackets.


== Unknown packets ==
=== Packet Tokenizer: Unknown switch: xxxx ===
=== 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.
Packet switch not found in recvpackets.txt, we don't have this packet's length. Recvpackets file needs to be updated for your server.
Line 27: Line 50:
=== Packet Parser: Unhandled Packet: xxxx Handler: xxxxxxxxxx ===
=== Packet Parser: Unhandled Packet: xxxx Handler: xxxxxxxxxx ===
Packet handler not found, there is no function that handles this packet yet.
Packet handler not found, there is no function that handles this packet yet.
== Libraries ==


=== XSTools.dll is not found ===
=== XSTools.dll is not found ===
[[How to run Openkore#Precompiled binaries]]
[[How to run Openkore#Precompiled binaries|Download]] XSTools.dll and extract to src/auto/XSTools/
 
== Compiling ==


=== ext/hash_fun.h: No such file or directory ===
=== ext/hash_fun.h: No such file or directory ===
Line 40: Line 59:
with:
with:
  #define HASH_FUN_H <backward/hash_fun.h>
  #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 ==
== Macro plugin ==
=== Malformed UTF-8 character ===
=== Malformed UTF-8 character ===
Save your macro file in UTF-8 encoding.
Save your macro file in UTF-8 encoding.

Revision as of 20:46, 20 March 2010

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 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. 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.