Metin2 farming bot ยท From install to your first farm, step by step
๐ Quick start โ really just 6 steps
Don't let the long list below scare you. The bot handles most of the settings itself โ all you really have to do is this:
liray_updater.exe, enter your licence. (1)The bot does the rest by itself: the metin brightness threshold, telling the metin stone apart from the name, filtering out fixed interface text, minimap search, reconnecting, captcha protection, closing panels, camera setup... you don't need to touch any of these by hand.
liray_updater.exe. Nothing else to look for.โ Administrator rights are required
The game runs elevated, so the bot must run elevated too. If you do not click Yes on the Windows prompt, the bot will open but its keystrokes and clicks will never reach the game โ nothing will happen on screen.
๐ก Every time from now on
Always start the bot through liray_updater.exe. That is what pulls updates โ don't launch any other file directly.

liray_updater.exe โ Properties โ Compatibility โ tick Run this program as an administrator.Go to Setup โ ๐ Server and add the server you play on.
You do not type the window title โ you pick the open game window from a list and the bot reads the title and window size itself.
If the list is empty the game isn't running, or it started after you opened this page: press โป Windows to refresh the list.

Every server keeps its own settings and calibrations, so you can play on several servers without them interfering.
Calibration means showing the bot what to look at on screen. Every server's interface is different, so the bot cannot know this by itself โ you show it once.
Every calibration works the same way:
Before you calibrate

The bot will not start without this. The home page shows "โ Calibrate the target HP bar before starting".
Why it matters so much: the bot detects whether a metin died by reading this bar. Kill counting, the "combat is taking too long" recovery, damage (DPS) tracking and mount handling all depend on it.
You no longer need to draw a box โ the bot finds the target panel and the red health bar itself.
๐ก Why this became so important
The most common mistake was drawing the box too wide and catching the panel frame or name as well โ the bot then misread health. Find automatically takes only the red bar, so it removes that mistake. It also reads the percentage the same as the game, so you can see it working correctly.
If Find automatically doesn't work for some reason (the panel isn't showing, or two clients get mixed up) you can still calibrate by hand:
The most common mistake happens here
โ CORRECT: only the filled red bar.
โ WRONG: the panel frame, the target's name, the level text, empty areas โ keep these out of the box.
Include too much and the bot misreads health: it kills metins without registering them, runs pointless recovery manoeuvres, and your yield drops.




Setup โ ๐ Server โ โค Find automatically - character health bar
The bot finds this one too โ just press the button; you don't even need to click a metin in game (your character's health bar is always on screen anyway). If Find automatically doesn't work, you can still draw the box by hand with Calibrate.
Calibrate this and the bot will drink a potion when your health drops and recover by itself if you die. Skip it and the bot still runs โ you just lose those two safety nets.
Metin โ ๐ Capture the metin name
Draw a box over the white "Metin" text above a metin stone โ take only the word "Metin", not the level text like "Lv 40". The bot strips the background automatically.
This template is used for verification: when the bot spots white text it checks here whether it is really a metin. Without it, the bot may try to click other white text such as player or NPC names.
๐ก The size doesn't have to be exact
It's fine if you draw the box a little too big or too small โ the bot adjusts the template itself to the real name size. And when you switch to another metin type on the same server (Shadow, Soul, Fire...) you don't need to recalibrate: since the word "Metin" is common to all of them, the same template catches them all.
๐ก Don't touch the white threshold
The bot tunes it automatically based on how bright the map is, and re-measures if detection drops. You never need to set it by hand.
Mob โ Mob template REQUIRED
Without a mob template the bot cannot find targets in this mode. It can also detect mobs by their red names (toggle on the same page).
Fishing โ ๐ฃ Basics


| Setting | What it does |
|---|---|
| Advanced โ ๐ฏ Extra keys | Camera setup โ don't skip this. With the camera unadjusted, metins look far away or unreachable and the bot wastes time. Typically F zooms out and G tilts the camera up. Add these keys; the bot presses them as soon as farming starts and refreshes them periodically. You also drive your active attack skill from here โ see the section just below. |
| Advanced โ ๐ซ Unwanted panels | You define the windows that pop up and block the bot: calibrate the panel, then choose what should happen when it appears (press a key or click somewhere). Five slots available. |
| Advanced โ ๐บ Minimap | When no metin is left on screen, the bot walks toward metin dots on the minimap instead of wandering randomly. Useful if your server shows metins on the minimap. Needs two calibrations โ see below. |
| Advanced โ ๐ Auto reconnect | Gets you back in if the connection drops. Asks for four screenshots in order: login screen, character screen, the button on it, and the maintenance/already-connected popup. |
| Advanced โ โ Skills | Refreshes buffs when they expire. For each skill set its key and calibrate its icon while the buff is active. |
| Setup โ โค Potion & Death | Calibrate the "Start Here" button so the bot revives and continues after dying. |
| Advanced โ ๐ฆ Loot / Advanced โ ๐ Metin queue | Loot: presses Z to pick up after a kill. Metin queue: clicks several metins in sequence (requires auto-loot enabled in game). They cannot be used together โ pick one. |
| Advanced โ ๐ถ Human behavior | Periodic breaks, reaction delay before clicks, click scatter. This is the strongest defence against behaviour-based detection โ leave it on. |
| Advanced โ ๐ฐ Selling ยท Advanced โ ๐ฌ PM protection ยท Advanced โ ๐งฉ CAPTCHA | Sells items to a sellbox ยท pauses and alerts you when a private message arrives ยท switches to protection when a captcha appears. |

f and g are set; the two numbers are the 'press every N seconds' range, the last one is how long the key is held.
Advanced โ ๐ฏ Extra keys
The thing most people never find: Extra keys are pressed during combat too. So if you add your attack skill's key here, the bot uses the skill while it is hitting the metin. There is no separate โactive skillโ setting โ this is it.
2).10, max s = 12 โ the bot presses it at a random moment every 10-12 seconds.There is no lower limit โ 10 is fine. Giving min and max slightly different values is recommended: pressing at exactly the same second every time looks robotic. There are 8 slots, so you can set up 8 different skills/keys, each with its own cooldown interval.
๐ก Don't confuse it with the Skills page
Advanced โ โ Skills is for buffs: it presses the key only when the icon is missing from the screen. For an active attack skill use Extra keys โ it presses on the interval you set, without looking at any icon.
Setup โ โค Potion & Death
Turn on Potion active, set Key to your potion key and HP threshold (0-1) to the ratio at which it should be used (0.5 = 50%).
It only works if the character HP bar is calibrated โ that is where the bot reads your health from.
Setup โ โค Potion & Death
Exactly the same logic as the health potion, but for the SP (mana) bar: turn on SP potion active, set Key to your SP potion key and SP threshold to the ratio at which it should be used.
No calibration needed. The blue SP bar is detected automatically at the bottom left โ you only pick the key and the threshold.
On classes that deal damage through skills (mage, shaman), without this setting the bot stops casting as soon as SP runs out: it only auto-attacks and kills get noticeably slower.
Advanced โ ๐ Anti-stuck & Panels โ ๐บ Find metins via minimap
Why does it ask for the colour separately?
The metin dot is not the same colour on every server. It may be white on one, green, yellow or even red on another. The bot cannot guess which one to look for โ you show it once.
If you skip this, the bot assumes a white/grey dot and treats red ones as monsters. On a server with coloured metin dots it would find nothing at all.
The colour you picked is shown as a small swatch in the interface, so you can tell if you picked the wrong thing. Catching a bit of dark background in the box is fine โ the bot uses the brightest part of it.
Colour tolerance is in the same section: raise it if dots are being missed, lower it if the bot walks toward the wrong things. The log shows how many dots it sees each scan.


To stop: F12
Press F12 to stop the bot. It works even while the game window is in focus. The STOP button in the interface does the same thing.
The Logs page shows live what the bot is doing: how many metins it sees, what it clicked, how health is dropping, why it ran a recovery. Share this log when asking for support.


Setup โ ๐ Server โ ๐พ Back up / transfer settings
This produces a single .lirayayar file containing every server's settings plus all calibration images.
๐ก Why this matters
Copying only the settings file will not work โ without the calibration images the bot cannot run. Take this backup before changing computers or reinstalling, import it on the other side, and you won't have to calibrate from scratch.
Importing overwrites the settings of a server with the same name; the interface asks you to confirm.

| Symptom | Cause and fix |
|---|---|
| "โ Calibrate the target HP bar before starting" | The target panel isn't calibrated. See section 4. |
| The bot opens but nothing happens in game | Administrator rights weren't granted. Close it, run liray_updater.exe again and click Yes. |
| "Window not found" | The window you picked when adding the server isn't open right now, or its title changed. Start the game; if the title changed, go to Setup โ ๐ Server, press โป Windows and add the server again. |
| It can't find metins / clicks the wrong things | The "metin name" template is missing or wrong. Redraw the box over the white "Metin" text. Also make sure the camera is set up (Extra keys). |
| Lots of metins on screen but it keeps saying "searching for metins" / spins on the minimap | You may have picked the wrong "Metin" template โ the level text (Lv 40) or some other text entirely. Redraw the box over the white text containing only the word "Metin". (The current version fixes the template size itself; the problem is usually picking the wrong spot.) |
| It kills metins but doesn't count them / runs pointless recoveries | The HP bar box is too wide. Recalibrate so it contains only the red bar. |
| The bot stalls while metins are on screen | A window may be blocking it. Define it under Advanced โ ๐ซ Unwanted panels. |
| I changed resolution and it broke | Redo the calibrations โ the target HP bar at minimum. |
| Settings didn't carry over to a new PC | Only the profile was copied. Use the .lirayayar backup from section 9 โ it carries the calibration images too. |
| The bot finds metins but never clicks / kills nothing | First make sure the whole game window is inside the screen. If part of it hangs off the edge (or spills onto a second monitor), the bot cannot see that area and the mouse cannot reach it โ no click lands. Move the window fully inside the screen. Current builds (v17.9.52 and later) fix this automatically at startup; if you are on an older build, update. |
| Mob mode finds nothing | Open Mob โ ๐น Mob detection: if mob names are not red on your server, name detection cannot work โ calibrate a Mob template instead. If you already have a template, Template sensitivity may be too high; lower it step by step. When nothing at all is found, the threshold is usually the cause. |