Miyerkules, Oktubre 11, 2017

Openkore

About OpenKore

What is OpenKore?

OpenKore is a free open source Ragnarok Online client + bot program, mostly written in perl, created back in 2003. It is licenced under the GNU General Public License GPL. Some parts of OpenKore are based on software written by others, which are distributed under other licenses. See the LICENSE.TXT for those other licenses.

What functions does OpenKore have?

OpenKore is capable of doing almost everything a normal player could do via Ragnarok Online client. Additionally, its AI permits the use of automatic tasks, like attack, move, use items and skills, storage, buy and sell, vending, teleport etc. You can see an (incomplete) reference list of currently built-in features in the Overview.

Does OpenKore support Renewal?

Sure, there's nothing ground-shaking in Renewal which may impede. There may be some bugs or missing content (just report them or contribute fixes), but Renewal itself isn't a problem.

Is it possible...?

  • Is there a way to...?
  • Can I...?
Most likely, YES. Even if there is no such a ready-to-go feature in OpenKore and plugins, you can always implement it yourself via macro, plugin or patch. For many things, it may be not widely known (or not at all) beforehand how exactly to do it though.

Tried everything

Everything? No solution then. Be more precise in what you've tried.

Installation and Configuration

Where do I download Openkore?

Download links are available at openkore.com. Additional links may be available too. You can also git clone it with any GIT client.
Don't download OpenKore from any sites other then ones linked from openkore.com main page and https://github.com/OpenKore/openkore. Even if it's linked from forums, IRC etc - because anybody can try to post anything there. If you do, don't complain when you get a bundle of random malware or just lose your game account. The same stays true for plugins, macros and any other software.
See also: Patches Welcome

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.

Server updated, connection/ingame problems emerged

Reconfigure all server settings and recvpackets.txt from scratch.    

Updating

There are several ways to update OpenKore:
  • Using any git client
  • Using fresh git snapshot.

Does OpenKore work on Linux?

Yes, Linux (and BSD, MacOS, other nix) users can run OpenKore by executing openkore.pl directly. It will automatically compile libXSTools if needed. There is some general dependencies, see How to run Openkore.

OpenKore versions

  • trunk, also called git version — development version which developers directly working at, so it's continuously updated. There could be some bugs introduced, but that's also always most up to time version with all new features and fixes
  • release — currently, snapshot of trunk from some point of time

Interface Localization

Interface language is defined with locale option.

General Errors

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

perl: symbol lookup error: src/auto/XSTools/XSTools.so: undefined symbol: Perl_Gthr_key_ptr

You need to rebuild XSTools with make clean && make.

Recursive inheritance detected in package Network::Receive::kRO

You need at least Perl 5.10 if you're using kRO serverType tree.

Assertion ('HASH(...)' must be of class 'Actor::You') failed

Outdated OpenKore.

Can't call method "inventory" on unblessed reference

Outdated OpenKore or wrong server settings.

Attempt to STORE non blessed reference (or not a reference)

Attempt to STORE non Actor reference to the hash of actors

Make sure you have the latest version and right server settings. If it still happens, submit a bug.

Can't call method "name"/"baseName" on an undefined value

May happen if $field is undefined. Missing field files and outdated resnametable.txt may cause that. Actually a bug.

Connection Errors

Cannot load server message parser for server type

Your configuration has serverType unsupported by your version of OpenKore. Update OpenKore or use another serverType.

Error code 10060 when connecting to the server

Connection to the server can't be established. Probably means that your server information (probably address), 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 against bots. See Connectivity Guide to check your server's information and Unsupported servers for a list of unbottable servers.

Incorrect characters information

Wrong value for charBlockSize in servers.txt.

Anti-bot that prevents OpenKore from connecting or functioning

There is no built-in solution (except Poseidon). Besides official servers, which are more or less supported, usually there is lack of people who are capable of and interested in supporting and sharing a solution for a particular server with custom protection. No point in repeatedly asking everyday whether somebody has developed a solution for a server, no replies at all usually mean that nobody have got interested (or not enough info was provided).

CHARACTER_INFO size error!! character:numX CHARACTER_INFO size : Y

Incorrect charBlockSize for XKore 2 (even if XKore 0 may work with it) or Poseidon, or packet structures in serverType don't match your server.

Ingame Problems

NPCs and monsters are shown as "Unknown #xxxxxxxx" or monsters are displayed as NPCs or doesn't attack any monsters

Don't use serverType 8, any other numeral or any official server's ones with private servers.
Can be caused by wrong serverType. Incompatibilies are introduced in: Sakexe_2005_04_11a, Sakexe_2007_11_06a, Sakexe_2008_01_02a, RagexeRE_2009_11_03a, RagexeRE_2010_11_24a.
Can be caused by wrong server settings or outdated recvpackets. See Connectivity Guide to get the correct serverType and Packet Length Extractor to extract the recvpackets.txt.

Items and skills are shown as "?????" or in another language

The first one is probably your terminal failing to show Korean names from kRO table set. Change your server settings (addTableFolders) or use command line arguments (--tables) to select table set with names your terminal (and you) can handle.

Items and skills are shown as "Unknown #xxxxxxxx"

Names are missing from table files. Update corresponding files manually or using files from other clients, or use skill handles, or just use displayed Unknowns as usual names.

Items in inventory are shown as "None"

Unknown Packet xxxx

Outdated OpenKore. In spite of not being hable to resolve the problem and the value of the package isn't listed, inform the circunstances at the forum.

Packet Tokenizer: Unknown switch: xxxx

Value that is supposed to be a packet switch is not found in recvpackets.txt, so packet length is not known.
Valid RO packet switches are: 0064—04FF, 0700—07FF. Other switches (like 9600, 0000 and others) indicate that your server settings (or recvpackets) are wrong. If you have such a warning for invalid switch, that can mean that some of previous packets had wrong packet length.
Recvpackets file needs to be updated for your server.
Consider your bot to be unstable and to get any random and irreproducible "bugs" possible (for example, non dying or nonexistent monsters, missing actors, missing information), as there is loss of data due to all packets in a bunch after the unknown one being ignored, and some possibly already ignored or parsed incorrectly. Do not report those random bugs, fix your recvpackets first.
If you want to squelch this warning anyway, add corresponding packet switches to debugPacket_exclude.

Packet Parser: Unknown switch: xxxx

Packet length is known, but packet structure in %packet_list is not found. Packet ignored.
Generally, you can ignore this warning if you have no other problems. It can be a packet not known or for a feature not supported yet.
(report in one of these)

Packet Parser: Unhandled Packet: xxxx Handler: xxxxxxxx

Packet length is known and packet structure is found, but there is no handler function in serverType for it. Packet ignored.
Generally, you can ignore this warning if you have no other problems. It can be a packet for a feature not supported yet.

Removed actor with off map coordinates

Possible causes:
  • serverType you're using isn't compatible with your server (most likely cause).
  • Anti-bot systems on the server.
  • Server bug.

Skills are not used or not recognized

Check skills output for skill names you're using. If there is no skills shown (but your character has some), then your server settings are wrong.

Chat messages are empty or trimmed or have/lack |xx

Possible causes:

Disconnect right after appearing in the game

Probably you have some actions configured, like lock map, random walking, attacking etc and they kick in immediately as they should. Try to disable all actions or turn off AI before appearing in the game. See also: Disconnect on a certain game action.

Disconnect on a certain game action

Possible causes:
  • Packet structures in serverType you're using don't match your server.
  • When sending chat messages and @commands: chatLangCode.
  • Performed action leads to a disconnect even with official Ragnarok Online client (for example, trying to move when talking with a NPC) or actions that couldn't have been done normally at the moment you've done them (incorrect NPC actions, incorrect Actor IDs).
  • You're using an area skill which isn't configured in skillsarea.txt properly. For example, all Renewal skills (http://forums.openkore.com/viewtopic.php?t=11747).

Stuck at some portal, walking in and out

Turn on route_avoidWalls ; decrease route_step .  
If that doesnt' help, maybe edit field to make a non-walkable wall or "corridor" near the portal, or fix route_step corner rounding around portals already. If portal in question has no walls nearby, something like route_avoidPortals would be needed too.

Macro plugin

Malformed UTF-8 character

Save your macro file in UTF-8 encoding. This means, don't use plain old Notepad for text files on windows. Or, for your technical types, start waving your magnet over the disk in UTF-8 instead of ASCII 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.

Unix Problems

Freeze on start

Console::Unix interface uses threads to work with readline and can freeze on pthread_create call if Perl wasn't built with THREADS. Check with perl -V | grep threads (it should be like -Dusethreads=y). Rebuild Perl with THREADS or use another interface (run with --interface=Console::Simple, Console::Curses or Wx for example).

Windows Problems

OpenKore conflicts with Ragnarok Online client

For example, when game protection detects OpenKore or Poseidon. There are several solutions:

WPE conflicts with Ragnarok Online client

There are various tools and ways to analyze packets. Find the one which would work for you.

No start.exe or wxstart.exe

They're not included because only one system needs them. Can be downloaded from http://misc.openkore.com/

XSTools.dll is not found

Download XSTools.dll and place it in src/auto/XSTools or any directory in your PATH.

perl512.dll is not found

You need either:
  • Active Perl 5.12
  • recompile OpenKore binaries
  • use start.exe/wxstart.exe

It immediately closes without any output

Ensure that there's really no output by properly running it from terminal. Mention that you've done that when asking for help, otherwise you'll be ignored.

Everything in a single line in control/table files

That's not the problem of our files, but the problem with interpreting line breaks in your text editor (known problem of Windows Notepad). Try another text editor. For example, Notepad++PSPad or Geany. You may try Wordpad which usually is installed by default, however make sure it saves plain text files, or OpenKore won't be able to read them.

Your Windows TCP/IP stack is broken

You must fix TCP/IP stack:
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

Miyerkules, Setyembre 28, 2016

WANT TO MASTER ‘POKÉMON GO’? 

HERE’S EVERY TIP YOU NEED TO KNOW


Pokémon Go became a cultural phenomenon in 2016 by giving everyone the chance to “catch ’em all.” In nostalgically augmented reality (AR), you wander around your city and neighborhood to find and catch as many virtual pocket monsters as possible.
Despite how simple the game mechanics seem, there are still ways to play the game well. Whether you have yet to begin amassing your collection, or you are well on your way to filling out your Pokédex, this article will break down all the game’s nuances and various ways to play. We’ll cover everything, from how to find, catch, and train your Pokémon, to how to best use your items and maximize your strengths in battle.

Tips to find the best wild Pokémon

Pokémon Go wants you to get up on your feet and venture into the real world. In town, grass- and normal-type Pokémon will often appear. If you go near water or out at night, however, you’re likely to encounter water-based and psychic Pokémon, respectively. That said, people have run into water Pokémon in locations without water nearby, so it’s not entirely based on your geographical location. Various groups, publications, and people have created crowdsourced Pokémon Go maps that detail what types of Pokémon have been found in different locations. Developer Niantic Labs has been shutting these sites down, however, so your mileage may vary.
Here are some tips for finding Pokémon
Tip #1: Whenever a Pokémon appears, as long as it’s on screen, you can tap it to begin the catching process — no matter how far away it is from you.
Tip #2: Don’t give up if a Pokémon flees while you’re trying to catch it. It may reappear on the map, so you may get another chance.
Tip #3: Use Incense and Lure modules! Incense is a consumable item you can earn by leveling up, or purchase from the Pokémon Go shop. It attracts Pokémon to you, naturally increasing your odds of spotting a rare Pokémon. It also lowers the probability of them fleeing.
Lure modules work in a similar way, but are applied to a PokéStop rather than a player. They attract Pokémon to a specific location for 30 minutes, and in doing so, benefit all players in the area. So, if you see a spot on your map with pink confetti-like animation, go there for a better chance at finding Pokémon. Add some incense, and you’re likely to be swarmed by the little monsters.

How to pick the best starter Pokémon

Like in the classic handheld video game series, you begin your adventure by picking a starter. At first, you will be surrounded with the three classic starter Pokémon. Bulbasaur, Squirtle, and Charmander. Choosing a starter isn’t too important as you’ll likely find a higher level Pokémon sooner or later in the game. Anecdotally, Charmander seems to be the best choice: While it is not uncommon to find Bulbasaurs and Squirtles wandering around, but Charmanders seem to be a little more scarce.
There is also a hidden fourth starter, Pikachu. You have to follow some simple, but specific steps in order to get the electric mouse to appear — thankfully, we’ve got adetailed guide describing exactly what to do.

Legendary and rare Pokémon

While nearly every one of the original 151 Pokémon appear in Pokémon Go, there are several that are hard to come by, and a few that have not yet been seen. Legendary Pokémon Zapdos, Articuno, Moltres, Mew, and Mewtwo, and the rare shape-shifting Pokémon Ditto, all have in-game models and Pokédex entries, but have not been found.
Crafty players have snooped into the game’s code and uncovered the data on the uncaught Pokémon, leading to speculation that they will appear in later updates, special events, or after heretofore unknown criteria have been met. There are also a number of Pokémon that are region-specific: Tauros can only be found in North America; Farfetch’d is exclusive to Asia; Khengaskan roams solely in New Zealand and Australia; and Mr. Mime only hangs out in the European wilds. These designations only apply to finding them in the wild, though. Everyone can randomly hatch Tauros, Farfetch’d, and Kengaskan from 5km eggs and Mr. Mime from 10km eggs, no matter where they are.

TAKE POKÉMON PHOTOS!

Snap photos of Pokémon with Pokémon GO! When you encounter a wild Pokémon, you can enable a view that uses the camera on your smartphone to display real-life surroundings as the background, making it appear as if the Pokémon is with you in the real world!
You can also quickly select a camera that is conveniently stored in your inventory to snap a photo of the Pokémon on screen. The photo is stored on your device, making it very easy to share with friends.
Always be careful when taking a photo to make sure everyone in the photo is OK with having their picture taken and that there's nothing personal in the photo you don't want to share.