Frequently Asked Questions: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
= How to fix broken TCP/IP stack =
== How to fix broken TCP/IP stack ==
  Your Windows TCP/IP stack is broken. Please read
  Your Windows TCP/IP stack is broken. Please read
  http://www.visualkore-bot.com/faq.php#tcp
  http://www.visualkore-bot.com/faq.php#tcp
Line 17: Line 17:
http://www.petri.co.il/reinstall_tcp_ip_on_windows_2000.htm
http://www.petri.co.il/reinstall_tcp_ip_on_windows_2000.htm


= Unknown packets =
== 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.
'''Note:''' if this switch does not start with a 0 (0123) then a previous packet's length was wrong.
'''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 Parser: Unknown switch: xxxx ===
Packet switch not found in packet_list{switch}, packet switch hasn't been added to the hash.
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 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 =
== Libraries ==


== XSTools.dll is not found ==
=== XSTools.dll is not found ===
[[How to run Openkore#Precompiled binaries]]
[[How to run Openkore#Precompiled binaries]]
== Compiling ==
=== 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>
== 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.

Revision as of 06:20, 2 January 2010

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

Unknown packets

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.

Libraries

XSTools.dll is not found

How to run Openkore#Precompiled binaries

Compiling

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>

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.