YuchaBot Logo
Editor

ข้อ 1. 📌 การเตรียมตัวก่อนใช้งาน (Setup ตัวเกม Lineage2M)

Step 1. 📌 Pre-Installation (Lineage2M Game Setup)

1.1 📥 ดาวน์โหลดบอท

1.1 📥 Download Bot

Download ตัวบอทฟรีได้จากลิงก์ตามรูปภาพได้ทันทีครับ

Download the free bot version from the link shown in the image.

Download Bot

1.2 🖥️ ตั้งค่าความละเอียดหน้าจอ

1.2 🖥️ Resolution Setup

ปรับ Resolution ของตัวเกมเป็น 1920x1080 หรือ 1600x900 (รองรับทั้ง 2 ความละเอียดนี้)

Set game resolution to 1920x1080 or 1600x900 (both resolutions are fully supported).

Resolution Setup

1.3 📊 ปรับขนาด HUD

1.3 📊 HUD Scaling

ปรับ HUD เป็น 75% หรือ 100% เพื่อความแม่นยำในการตรวจจับของบอท (รองรับทั้ง 2 ขนาดนี้)

Set HUD scale to 75% or 100% for optimal detection accuracy (both scales are fully supported).

HUD Setup Disable Power Save

ปรับการพักหน้าจอออก เนื่องจาก บอทใช้วิธีดูหน้าจอ เหมือนกับผู้เล่นปกติ

Disable screen timeout / power saving mode as the bot uses screen recognition to play just like a normal player.

1.4 ⌨️ ตั้งค่าปุ่มกด (Key Bindings)

1.4 ⌨️ Key Bindings

ปรับเพิ่ม Key ที่สำคัญ โดยค่าเริ่มต้น (Default) จะเป็นไปตามรูปภาพ แต่คุณสามารถปรับแต่งเองได้ภายหลังในหน้า Config Editor

Configure essential keys. Default settings are shown above, but you can customize them later in the Config Editor.

Key Bindings

1.5 🎒 การวางไอเทมฟาร์ม

1.5 🎒 Item Layout

การวาง Item สำหรับการฟาร์ม โดยค่าเริ่มต้นจะจัดตามรูปภาพ หากต้องการเปลี่ยนตำแหน่งสามารถปรับได้ในหน้า Config Editor

Arrange farming items as shown. Default placement is recommended, but customization is available in the Config Editor.

Item Layout
รายละเอียดปุ่มคีย์ลัด/ไอเทมฟาร์ม:
  1. 🧪 ขวดยาใหญ่ (High Potion): สามารถให้บอท auto ใช้ได้ตอน HP ต่ำกว่า 30%
  2. ⚔️ อาวุธหลักของตัวละคร (Main Weapon)
  3. 🛡️ ฮีลหมู่ (Group Heal)
  4. 🩹 ฮีลธรรมดา (Single Heal)
  5. 🟠 ยาส้ม / หรือยาขาว (Orange/White Potion): บอทสามารถ auto ใช้เองได้ตอน HP ต่ำกว่า 71%
  6. 🔮 Orb: เพื่อไว้ใช้ฮีล (ฮีลเดี่ยว/ฮีลหมู่) หรือสลับใช้ Pray เพื่อช่วยหนี
  7. ❄️🙏 สกิลแช่แข็ง (Frozen) หรือ Pray: สำหรับใช้หนีในยามวิกฤต (Frozen / Pray Escape)
  8. ✨ สกิลรักษา (Cure): ไว้ใช้แก้ตอนที่โดนตาบอด (Blind/Poison)
  9. 🪄 คทา (Staff) / 🔮 Orb: ใช้สำหรับสลับอาวุธมาใช้สกิลช่วยหนี (Frozen / Pray Escape)
  10. 🗡️ ดาบคู่ (Dual Blades): ใช้สำหรับสลับเพื่อบัฟตัวเอง (Skill Rotation)
Item Layout & Shortcut Bindings Details:
  1. 🧪 High Potion: Auto-used by bot when HP falls below 30%.
  2. ⚔️ Character Main Weapon
  3. 🛡️ Group Heal Skill
  4. 🩹 Single Heal Skill
  5. 🟠 Orange / White Potion: Auto-used by bot when HP falls below 71%.
  6. 🔮 Orb Weapon: Equipped to cast healing spells or Pray escape.
  7. ❄️🙏 Frozen or Pray Skill: Emergency skill for escapes (Frozen / Pray Escape).
  8. ✨ Cure Skill: Used to cure Blind/Poison debuffs.
  9. 🪄 Staff / 🔮 Orb Weapon: Swapped to cast emergency escape skills (Frozen / Pray Escape).
  10. 🗡️ Dual Blades Weapon: Swapped to cast self-buff skills (Skill Rotation).

ข้อ 2. 🚀 การเปิดใช้งาน Yuchabot

Step 2. 🚀 Activating Yuchabot

2.1 📂 การจัดวางโฟลเดอร์

2.1 📂 Folder Placement

แตกไฟล์ Zip ที่ดาวน์โหลดมา แล้วนำโฟลเดอร์ l2mbot ไปวางไว้ที่ Drive C: เพื่อความเสถียรในการทำงาน

Extract the downloaded Zip file and move the l2mbot folder to Drive C: for optimal stability.

Folder Placement

2.2 ⚡ เริ่มต้นการทำงาน (Startup)

2.2 ⚡ Starting the Bot

ดับเบิลคลิกไฟล์ start_bot.bat จะมีหน้าต่าง Console ปรากฏขึ้นมาให้ใส่ Username / Password (หากต้องการทดสอบแบบ Guest ให้กด Enter ข้ามได้ทันที)

Double-click start_bot.bat. A console window will appear; enter your credentials or simply press Enter to use as a Guest.

Bot Startup

2.3 👤 การใช้งานแบบ Guest

2.3 👤 Guest Access

หากเข้าใช้งานโดยไม่มี Username / Password ระบบจะให้ทดลองใช้งานได้ 30 นาที (เมื่อหมดเวลา สามารถปิด-เปิดใหม่เพื่อรับ 30 นาทีได้ทุกครั้ง)

Guest mode allows 30 minutes of usage. You can restart the bot to refresh this session anytime.

Guest Mode

2.4 ☁️ การใช้งานแบบสมาชิก (Cloud Sync)

2.4 ☁️ User Account (Cloud Sync)

หากเข้าใช้งานด้วย Username / Password ระบบจะทำการดึงข้อมูลส่วนตัวมาจาก Cloud ทั้งเวลาการใช้งานคงเหลือ และค่า Config ส่วนตัวที่คุณตั้งไว้

Logging in with credentials will synchronize your personal settings and remaining license hours from the Cloud.

Cloud Login

2.5 📊 แดชบอร์ดการทำงาน

2.5 📊 Dashboard Overview

  • ❤️ HP: ปริมาณเลือดปัจจุบันของตัวละคร
  • ⚔️ Fight: สถานะการต่อสู้ (Fighting)
  • 🔥 ATK: ระบบตั้งตีสวนกลับอัตโนมัติ
  • 💚 HEAL: สถานะการใช้สกิลฮีล (สาย Orb)
  • 👤 Feud: ตรวจจับศัตรู/ตาแดงในพื้นที่
  • 🗡️ Sword: จำนวนมอนสเตอร์ที่กำลังโจมตีเราอยู่
  • ⚙️ MACRO: รายชื่อ Macro ที่กำลังเปิดใช้งานอยู่
  • ❤️ HP: Current Character Health Point
  • ⚔️ Fight: Combat status (Fighting)
  • 🔥 ATK: Auto Counter-attack system
  • 💚 HEAL: Auto-heal skill status (Orb class)
  • 👤 Feud: Detected enemies/red names in area
  • 🗡️ Sword: Count of monsters attacking you
  • ⚙️ MACRO: List of currently active macros
Dashboard Indicators

ข้อ 3. ☁️ การจัดการระบบ Cloud Sync

Step 3. ☁️ Cloud Sync & Account Management

3.1 🔑 การลงทะเบียนและเข้าสู่ระบบ

3.1 🔑 Registration & Login

ในหน้า Login คุณสามารถตั้ง Username / Password ที่ต้องการ จากนั้นกดปุ่ม Register เพื่อสร้างบัญชี แล้วจึงกด Login เพื่อเข้าใช้งานครับ

On the Login screen, enter your desired Username / Password. Click Register to create your account, then click Login to proceed.

Login & Register

3.2 ⚙️ เมนูการตั้งค่าหลัก (Main Settings)

3.2 ⚙️ Main Settings Dashboard

เมนูหลัก (Center & Sides)

  • ซ้าย: แสดงชื่อผู้ใช้ และเวลาใช้งานคงเหลือ
  • Redeem Code: สำหรับเติมวันใช้งานบอท
  • ปุ่มสีขาว "ย้ายเครื่อง": ใช้สำหรับปลดล็อคเพื่อย้ายไปเปิดเครื่องอื่น
  • ขวา: สำหรับเปลี่ยนรหัสผ่าน (Change Password)
  • Left: Shows Username and remaining bot time.
  • Redeem Code: Enter codes to top-up bot hours.
  • White Button "Transfer": Unlock account to use on another PC.
  • Right: Change your account password.

แถบควบคุมบน (Top Bar)

  • Load File: โหลด Config จากไฟล์ในเครื่อง
  • Reload Cloud: ดึงค่าที่บันทึกไว้บน Cloud มาใช้
  • ค่าตั้งต้น: รีเซ็ตค่าทั้งหมดเป็น Default
  • Save to Cloud: บันทึก Config ปัจจุบันลง Cloud
  • Log out: ออกจากระบบ
  • Load File: Load config from local JSON file.
  • Reload Cloud: Refresh settings from Cloud.
  • Default: Reset all parameters to initial state.
  • Save to Cloud: Sync current settings to Cloud.
  • Log out: Sign out of account.
Settings Overview

3.2.1 🧙‍♂️ Standard Wizard

3.2.1 🧙‍♂️ Standard Wizard

⚠️ ให้ทำการตั้งค่า (Setup) รายละเอียดระบบตามที่ต้องการในแต่ละหัวข้อ ซึ่งการทำงานของบอทจะเป็นไปตามการตั้งค่าในหน้านี้เป็นหลัก โดยเมื่อเปิดบอทขึ้นมา บอทจะทำงานตามที่เราตั้งค่าไว้นี้ทันที และหากต้องการปิดการทำงานบอท ให้กดปุ่ม F1 และถ้าต้องการเปิดการทำงานใหม่อีกครั้ง ให้กดปุ่ม F1 เช่นเดียวกันเพื่อสลับ ปิด/เปิด

⚠️ Please configure the settings according to your needs in each section, as the bot's operations will be primarily driven by the setup on this page. Once the bot is started, it will run based on these settings immediately. If you want to disable/pause the bot, press F1, and if you want to enable/resume, press F1 again to toggle Off/On.

Standard Wizard Setup

ข้อ 4. ⚙️ การตั้งค่าขั้นสูง (Advance Settings)

Step 4. ⚙️ Advance Settings

4.1 🛠️ พารามิเตอร์ที่สำคัญ

4.1 🛠️ Essential Parameters

🔔 วิธีตั้งค่า Discord Webhook:
  1. คลิกขวาที่ Channel ใน Discord > Edit Channel
  2. ไปที่ Integrations > Create Webhook
  3. ตั้งชื่อ Webhook แล้วกด Copy Webhook URL
  4. นำ URL มาใส่ในช่อง Discord Webhook ในหน้า Config ครับ
🔔 How to Setup Discord Webhook:
  1. Right-click your Discord Channel > Edit Channel
  2. Go to Integrations > Create Webhook
  3. Name your webhook and click Copy Webhook URL
  4. Paste the URL into the Discord Webhook field in the Config editor.
  • ⌨️ Auto Switch EN Keyboard: เปลี่ยนภาษาคีย์บอร์ดเป็น EN อัตโนมัติเมื่อเริ่ม
  • 🏘️ HP Safe Threshold In Town (95%): เลือดต้องถึง % นี้ก่อนถึงจะกลับไปฟาร์ม
  • 🏃 HP Escape Threshold (68%): จุดตัดเลือดที่จะให้บอทวาร์ปหนีทันที
  • 💊 Use Heal Threshold (88%): เลือดต่ำกว่า % นี้จะเริ่มกด Heal
  • ✨ Use Cure: เลือกใช้งาน Cure เมื่อติดสถานะผิดปกติ (ตาบอด)
  • ⌨️ Auto Switch EN Keyboard: Auto change keyboard to EN on startup.
  • 🏘️ HP Safe Threshold In Town (95%): HP required before leaving town.
  • 🏃 HP Escape Threshold (68%): HP level to trigger emergency warp.
  • 💊 Use Heal Threshold (88%): HP level to start auto-healing.
  • ✨ Use Cure: Auto-use Cure skill when blinded/debuffed.
Basic Setup

4.2 ⚔️ ระบบการต่อสู้และบัฟ (Combat & Buff)

4.2 ⚔️ Combat & Buff Settings

การตอบโต้และยา (Combat & Potions)

  • 🥊 Fighting Back HP (95%): บอทจะเริ่มสู้กลับเมื่อเลือดน้อยกว่าค่านี้
  • 🟠 High-Potion Threshold: กดใช้ยาส้มเมื่อเลือดถึงจุดที่กำหนด
  • ⚪ Combat Potion Threshold: กดใช้ยาขาวเมื่อเลือดถึงจุดที่กำหนด
  • 🚩 Ping Match Escape: เจอศัตรู/ตาแดงกี่ตัว ถึงจะทำการวาร์ปหนี
  • ⏳ Wait After Town: ระยะเวลาที่จะยืนรอในเมืองก่อนออกไปฟาร์ม
  • 🥊 Fighting Back HP (95%): HP level to initiate counter-attack.
  • 🟠 High-Potion Threshold: HP level to use Orange Potions.
  • ⚪ Combat Potion Threshold: HP level to use White Potions.
  • 🚩 Ping Match Escape: Enemy count required to trigger emergency warp.
  • ⏳ Wait After Town: Idle time in town before resuming farm.

การวาร์ปและบัฟ (Warp & Skills)

  • 🌀 Warp Mode: เลือกจุดวาร์ป (ใส่เลข 1,2,3... ได้ตามต้องการ)
  • 🎲 Randomize Warp: สุ่มจุดวาร์ปจากลิสต์ที่ตั้งไว้ใน Warp Mode
  • 🔄 Skills to Rotate: ตั้งค่าการสลับอาวุธเพื่อใช้ Buff (เช่น 2,10,2)
  • ⏱️ Delay Between Skills: เวลารอระหว่างการกดแต่ละ Skill
  • 🔁 Wait Until Next Cycle: เวลารอก่อนเริ่มรอบบัฟถัดไป (เช่น 300 วิ สำหรับบัฟ 5 นาที)
  • 🎯 Skill Rotation Only: บังคับใช้เฉพาะระบบสลับบัฟอย่างเดียว
  • 🌀 Warp Mode: Target warp points (e.g., 1,2,3,4,5).
  • 🎲 Randomize Warp: Randomly pick from your Warp Mode list.
  • 🔄 Skills to Rotate: Weapon swap sequence for buffs (e.g., 2,10,2).
  • ⏱️ Delay Between Skills: Delay between each skill action.
  • 🔁 Wait Until Next Cycle: Buff cycle interval (e.g., 300s for 5m buffs).
  • 🎯 Skill Rotation Only: Enforce only weapon-swap rotation logic.
Advanced Combat Setup

4.3 🛡️ ระบบการกู้คืนและความปลอดภัย (Recovery & Safety)

4.3 🛡️ Recovery & Safety Limits

⚠️ Back to Farm Macro: ค่านี้สำคัญมาก! หากเว้นว่างไว้ บอทจะใช้ระบบวาร์ปปกติ (จากข้อ 4.2) แต่หากใส่ปุ่มกด เช่น Ctrl+F8 บอทจะกด Macro นั้นเพื่อกลับไปฟาร์มแทน (เหมาะสำหรับพื้นที่ที่ใช้ใบวาร์ปไม่ได้ เช่น หอคอยโอหัง) ⚠️ Back to Farm Macro: Critical setting! If blank, uses normal warp (from 4.2). If a key like Ctrl+F8 is assigned, the bot will execute that macro to return to farm (Ideal for non-teleport areas like Tower of Insolence).
  • 💀 Max Death Limit (จำนวนครั้งที่ตาย): กำหนดจำนวนครั้งที่ยอมให้ตัวละครตายได้ ก่อนที่บอทจะหยุดทำงานทั้งหมด (เช่น ใส่เลข 2 หมายความว่าถ้าตายครั้งที่ 2 บอทจะหยุดทันที)
  • 💀 Max Death Limit: Maximum allowed deaths before the bot stops completely (e.g., setting to 2 means the bot shuts down on the 2nd death).
Recovery Setup

4.4 ⌨️ การผูกปุ่มคีย์ลัด (Hotkeys & Skills)

4.4 ⌨️ Key Bindings & Skill Mapping

General Hotkeys: ปุ่มคีย์ลัดทั่วไปที่เกมกำหนดมาให้ หากใช้ตามค่าเริ่มต้น (Default) ไม่จำเป็นต้องแก้ไขส่วนนี้ครับ

General Hotkeys: Standard game keys. No changes required if you are using the default in-game settings.

🪄 Skill Usage Keys (ปุ่มเรียกใช้ไอเทม/สกิล)

🪄 Skill Usage Keys Mapping

  • 🩹 use_heal: ตำแหน่งสกิล Orb ฮีลเดี่ยว
  • 🛡️ use_group_heal: ตำแหน่งสกิล Orb ฮีลหมู่
  • 🟠 use_potion: ตำแหน่งวางยาส้ม
  • ⚪ use_high_potion: ตำแหน่งวางยาขาว หรือขวดยา 1 ชม.
  • 🪄 use_staff_before_frozen: ตำแหน่งวางคทา (สำหรับสลับใช้)
  • 🔮 use_orb_for_heal: ตำแหน่งวาง Orb (สำหรับสลับใช้)
  • ⚔️ use_main_weapon: ตำแหน่งวางอาวุธหลัก
  • ❄️ use_frozen_skill: ตำแหน่งวางสกิล Frozen
  • 🩹 use_heal: Single-target Orb heal skill.
  • 🛡️ use_group_heal: Group/Area Orb heal skill.
  • 🟠 use_potion: Standard Orange potion slot.
  • ⚪ use_high_potion: White potion or 1-hour potion slot.
  • 🪄 use_staff_before_frozen: Staff weapon slot (for swap logic).
  • 🔮 use_orb_for_heal: Orb weapon slot (for swap logic).
  • ⚔️ use_main_weapon: Main primary weapon slot.
  • ❄️ use_frozen_skill: Frozen skill slot location.
Hotkey Mapping

ข้อ 5. 🎭 มาโครสตูดิโอ (Macro Studio)

Step 5. 🎭 Macro Studio

5.1 🛠️ การสร้างและจัดการมาโคร

5.1 🛠️ Macro Creation & Management

ส่วนควบคุมหลัก (Main Controls)

  • ➕ Create New Macro: ปุ่มสำหรับสร้างมาโครใหม่
  • ⌨️ F1 / Hotkey: ปุ่มลัดที่ใช้ในการเรียกใช้งานมาโครนั้นๆ
  • 🗑️ ลบทิ้ง (Delete): ลบมาโครนี้ออกจากระบบ
  • 🔁 Repeat:
    • 0 = วนทำงานทุก Step ไปเรื่อยๆ ไม่สิ้นสุด
    • ตัวเลขอื่นๆ = จำนวนรอบที่ต้องการให้ทำงาน (เช่น 3 คือกดครบทุก Step 3 รอบแล้วหยุด)
  • ➕ Create New Macro: Create a new macro entry.
  • ⌨️ F1 / Hotkey: The physical key assigned to trigger this macro.
  • 🗑️ Delete: Permanently remove this macro.
  • 🔁 Repeat:
    • 0 = Infinite loop through all steps.
    • Numbers = Execute the sequence for a specific count (e.g., 3 repeats).

โครงสร้าง Step และคำสั่งพิเศษ

Step Structure & Commands

📌 มาโครเริ่มต้น (Default Macros): 📌 Default Macros:
  • F1: เปิด/ปิด การใช้งานบอทหลัก ($on_off_bot)
  • F1: Toggle main bot operation ($on_off_bot)
  • F2: เปิด/ปิด ระบบสลับอาวุธบัฟ (Skill Rotation)
  • F2: Toggle Skill Rotation system
Macro Studio Interface

5.2 🩹 มาโครสำหรับการรักษา (Healing Macros)

5.2 🩹 Healing & Support Macros

⌨️ F3 : ระบบ Auto Heal เดี่ยว ⌨️ F3 : Single-target Auto Heal

ใช้สำหรับเปิด/ปิด การใช้ Heal อัตโนมัติ (โดยจะทำงานตาม % เลือดที่ตั้งไว้ใน ข้อ 4.1 และกดปุ่มตามที่ตั้งไว้ใน ข้อ 4.4)

Toggles automatic single-target healing. It operates based on the HP threshold set in Step 4.1 and uses the key assigned in Step 4.4.

⌨️ F4 : ระบบ Group Heal (ปาร์ตี้) ⌨️ F4 : Group/Party Heal System

ใช้สำหรับเปิด/ปิด การใช้ Heal หมู่เมื่อคนในปาร์ตี้มี HP ต่ำกว่าที่กำหนด (ค่าเริ่มต้นคือ 85% ซึ่งคุณสามารถปรับเปลี่ยนตัวเลขนี้ได้เองในช่องมาโคร)

Toggles area-of-effect healing for party members. Triggers when party members' HP drops below a specific threshold (Default is 85%, which is customizable).

Healing Macro Configuration

5.3 📸 ยูทิลิตี้และมาโครโจมตี (Utility & Combat)

5.3 📸 Utility & Combat Macros

⌨️ F5 : ระบบบันทึกภาพและส่ง Discord ⌨️ F5 : Screenshot & Discord Alert

กดเพื่อบันทึกภาพหน้าจอลงในโฟลเดอร์ ss และส่งภาพไปยัง Discord ตามที่ตั้งค่าไว้ใน ข้อ 4.1 ทันที

Saves a screenshot to the ss folder and automatically sends it to your Discord channel configured in Step 4.1.

⌨️ F6 : ระบบกดสกิลรัว (Rapid Skill 5) ⌨️ F6 : Rapid-Fire Skill 5

ใช้สำหรับเปิด/ปิด การกดใช้งาน Skill ช่องที่ 5 โดยอัตโนมัติในทุกๆ 0.45 วินาที

Toggles automatic rapid execution of Skill Slot 5 every 0.45 seconds.

Utility Macro Configuration

5.4 🕵️ มาโครคอมโบและเรดาร์ (Combo & Radar)

5.4 🕵️ Stealth Combo & Radar Macros

⌨️ F7 : ระบบ Stealth Combo (คอมโบหายตัว) ⌨️ F7 : Stealth Combo Sequence
ลำดับการทำงานอัตโนมัติ:
  1. กด z เพื่อสลับหน้า Quick Slot
  2. กด Skill 1 (เปลี่ยนเป็นมีด)
  3. กด Skill 3 (สกิล Hide เพื่อหายตัว)
  4. กด x เพื่อสลับหน้า Quick Slot กลับมาที่เดิม
Execution sequence:
  1. Press z to swap Quick Slot page.
  2. Use Skill 1 (Equip Dagger).
  3. Use Skill 3 (Execute Hide skill).
  4. Press x to swap Quick Slot page back.
⌨️ F8 : ระบบกดเรดาร์รัว (Rapid Radar) ⌨️ F8 : Rapid Radar Toggle

ใช้สำหรับเปิด/ปิด การกดปุ่ม R (Radar) แบบรัวๆ เพื่อใช้ในการตรวจหาเป้าหมายอย่างรวดเร็ว (🛡️ ระบบความปลอดภัยอัจฉริยะ: จะกดปุ่ม R เมื่อตรวจพบทั้ง หลอดเลือด (HP) และ ปุ่ม Auto Hunt บนหน้าจอเท่านั้น หากกำลังโหลดฉาก, วาร์ป หรือเปิดแผนที่อยู่ ระบบจะหยุดกด R อัตโนมัติ เพื่อไม่ให้กวนการทำงานอื่น)

Toggles automatic rapid execution of the R (Radar) key for high-speed target detection. (🛡️ Smart Safety Guard: Only presses R when both the HP Bar and Auto Hunt button are actively visible on screen. It pauses while loading, teleporting, or viewing maps to avoid interfering with other operations).

Stealth & Radar Configuration

5.5 🛡️ มาโครการเอาตัวรอด (Survival & Escape)

5.5 🛡️ Survival & Escape Macros

⌨️ F9 : ระบบหนีรัวๆ + Frozen ⌨️ F9 : Rapid Escape & Frozen

ใช้สำหรับเปิด/ปิด การกดวิ่งหนีแบบรัวๆ พร้อมทั้งกด ปุ่ม 7 (Frozen) อัตโนมัติ (⚠️ เมื่อหนีพ้นแล้ว ต้องกด F9 อีกครั้งเพื่อปิดการทำงาน)

Toggles rapid escape movement and automatically triggers Key 7 (Frozen). (⚠️ After escaping, you must press F9 again to disable this mode).

⌨️ F10 : ระบบสลับคทา Frozen ⌨️ F10 : Staff-Swap Frozen

กดเพื่อสลับอาวุธเป็น คทา (Staff) และใช้สกิล Frozen ทันที

Quickly switches weapon to Staff and executes the Frozen skill immediately.

💡 เทคนิคการหนี (Manual Escape): เมื่อต้องการหนีด้วยตัวเองแบบเร่งด่วน ให้กด F9 แล้วตามด้วย F10 ไวๆ จะช่วยให้หนีพ้นได้ง่ายขึ้นครับ 💡 Survival Tip (Manual Escape): For a quick emergency getaway, press F9 followed immediately by F10 for maximum survival efficiency.
Survival Macro Configuration

5.6 💉 ระบบสนับสนุนขั้นสูง (Advanced Support)

5.6 💉 Advanced Support & Rapid Healing

⌨️ F11 : ระบบ Group Heal เมื่อพร้อม ⌨️ F11 : Group Heal when Ready

ใช้สำหรับเปิด/ปิด การกดใช้ฮีลหมู่โดยอัตโนมัติ โดยบอทจะกดใช้ก็ต่อเมื่อ ตรวจพบรูปไอคอนสกิล Group Heal ว่าพร้อมใช้งานแล้วเท่านั้น

Toggles automatic group healing. The bot will only trigger this action when it detects the Group Heal skill icon is active and ready for use.

⌨️ F12 : ระบบกดฮีลรัวๆ (Rapid Heal) ⌨️ F12 : Rapid Single Heal

ใช้สำหรับเปิด/ปิด การกดใช้งาน สกิลฮีลเดี่ยว แบบรัวๆ ต่อเนื่องเพื่อการรักษาที่รวดเร็วที่สุด

Toggles continuous rapid execution of the Single Heal skill for maximum healing output.

Advanced Healing Configuration

5.7 🩹 มาโครการฟื้นฟูฉุกเฉิน (Emergency Sustain)

5.7 🩹 Emergency Sustain Macros

⌨️ Ctrl+F7 : ระบบกดยา/สกิลช่วยชีวิต ⌨️ Ctrl+F7 : Low-HP Skill Trigger

ตั้งค่าให้กดใช้งาน Skill ช่องที่ 5 (หรือยาส้ม) โดยอัตโนมัติเมื่อ HP ต่ำกว่าที่กำหนด (ตัวอย่างในรูปคือเมื่อ HP < 71% บอทจะเริ่มกดยา/สกิลช่วยชีวิตทันที)

Automatically triggers Skill Slot 5 (or Orange Potions) when **HP drops below a specific threshold** (e.g., HP < 71% triggers emergency sustain).

Emergency Sustain Configuration

5.8 🔄 มาโครสลับอาวุธฮีล (Auto Weapon-Swap Healing)

5.8 🔄 Automated Weapon-Swap Healing

⌨️ Ctrl+F6 : ระบบสลับ Orb กู้คืน HP ⌨️ Ctrl+F6 : Auto-Orb Recover Logic
ขั้นตอนการทำงานอัตโนมัติ:
  1. เมื่อ HP ต่ำกว่าที่กำหนด: บอทจะสลับอาวุธไปเป็น Orb
  2. เรียกใช้มาโคร F11 + F12 เพื่อรันระบบ Heal ทั้งหมู่และเดี่ยวทันที
  3. เมื่อ HP ฟื้นฟูกลับมาสูงกว่าค่าที่ตั้งไว้: บอทจะสลับกลับไปใช้ อาวุธหลัก และฟาร์มต่ออัตโนมัติ
Automated workflow:
  1. When HP is below threshold: Switches weapon to Orb.
  2. Triggers macros F11 + F12 for immediate rapid recovery.
  3. When HP recovers above target: Switches back to Main Weapon and resumes farming.
Weapon Swap Healing Configuration

5.9 🗺️ การนำทางขั้นสูงและสถานะ (Navigation & Status)

5.9 🗺️ Advanced Navigation & Status Toggles

⌨️ Ctrl+F8 : ระบบกลับเมืองและไปจุดฟาร์ม ⌨️ Ctrl+F8 : Return to Town & Farm
ขั้นตอนการทำงาน:
  • Step#1: ใช้คำสั่ง $go_floor(x) (เปลี่ยน x เป็นเลขชั้น เช่น 3 เพื่อไปหอคอยโอหังชั้น 3) และตั้ง Delay 5 วินาที
  • Step#2: เลือก Waypoint ที่ต้องการให้บอทเดินไปฟาร์ม
Execution steps:
  • Step#1: Use $go_floor(x) (e.g., replace x with 3 for Tower of Insolence F3) and set a 5s Delay.
  • Step#2: Select the target Waypoint for the bot to navigate to.
💡 TIP: คุณสามารถนำปุ่ม Ctrl+F8 นี้ไปใส่ในช่อง Back to Farm Macro (ข้อ 4.3) เพื่อเปลี่ยนจากการวาร์ปปกติ เป็นการ "เดินไปยังจุดฟาร์ม" แทนได้ครับ 💡 TIP: You can assign Ctrl+F8 to the Back to Farm Macro (Step 4.3) setting to change from teleporting to "Walking back to farm" automatically.
⌨️ Ctrl+F10 : เปิด/ปิด การโจมตีสวย ⌨️ Ctrl+F10 : Toggle Graceful Attack

ใช้สำหรับเปิด/ปิด สถานะการโจมตีแบบพิเศษ (โจมตีสวย) ตามความต้องการของผู้ใช้

Toggles the "Graceful Attack" combat status mode on or off.

Advanced Navigation Configuration

ข้อ 6. 🎹 ปุ่มลัดลอยหน้าจอ (Yucha Key Panel)

Step 6. 🎹 Floating Overlay Drawer (Yucha Key Panel)

6.1 🎹 แนะนำ Yucha Key Panel (ปุ่มลัดลอยหน้าจอ)

6.1 🎹 Introduction to Yucha Key Panel

Yucha Key Panel คือ แผงควบคุมปุ่มลัดแบบลอยตัวหน้าจอเกม ออกแบบมาเพื่อให้คุณสามารถสั่งรัน มาโคร (Macro) ต่างๆ ที่ตั้งค่าไว้ใน Macro Studio ได้ทันทีเพียงแค่คลิกเมาส์บนหน้าจอ โดยไม่ต้องกดปุ่มบนคีย์บอร์ด เหมาะเป็นอย่างยิ่งสำหรับการใช้งานผ่านแท็บเล็ต หน้าจอสัมผัส หรือสำหรับผู้ที่ไม่อยากจำปุ่มกดบนคีย์บอร์ดครับ

Yucha Key Panel is a transparent floating widget system. It allows you to trigger your custom Macro Studio sequences by clicking floating on-screen buttons instead of pressing keyboard hotkeys. It is ideal for touchscreens, tablets, or players who prefer mouse clicks over memorizing hotkeys.

💡 แผนภาพอธิบายการทำงานร่วมกับ Macro Studio (เข้าใจง่ายที่สุด)

💡 Conceptual Workflow with Macro Studio

🖱️ 1. คลิกปุ่มลอย
🖱️ 1. Click Button

คุณคลิกปุ่มบนหน้าจอ เช่น ปุ่ม "Potion (5)"

You click a floating button on your screen, e.g., "Potion (5)"

➔
⌨️ 2. ส่งคีย์ลัดตรง
⌨️ 2. Send Hotkey

ปุ่มลัดจำลองการกดคีย์ "5" ส่งเข้าตัวเกมเบื้องหลัง

The panel simulates pressing the physical key "5" directly to the game client.

➔
🎭 3. มาโครทำงาน
🎭 3. Trigger Macro

Macro Studio ตรวจพบและรันคำสั่งขั้นตอนของคีย์ "5" ทันที

Macro Studio catches key "5" and executes the corresponding script steps.

⚠️ ข้อสำคัญ: ชื่อของปุ่มกดเป็นอะไรก็ได้ แต่ Hotkey ที่คุณตั้งในปุ่มลอย จะต้องตรงกันกับ Hotkey ของมาโครในหน้า Macro Studio เสมอ บอทจึงจะเรียกใช้งานได้ถูกต้องครับ ⚠️ Important: You can name the button anything, but its Hotkey MUST match the exact Hotkey assigned to the macro inside Macro Studio.

6.2 ⚙️ แผงตั้งค่าปุ่มลอยหลัก (Control Panel Settings)

6.2 ⚙️ Floating Button Control Panel

คุณสามารถเปิดหน้าต่างนี้ขึ้นมาโดยกดปุ่มคีย์ลัด Ctrl+Shift+F1 บนคีย์บอร์ด เพื่อจัดการตั้งค่า แสดง/ซ่อน หรือเพิ่มปุ่มมาโครใหม่ทั้งหมดได้จากหน้านี้ครับ

You can open this control panel by pressing Ctrl+Shift+F1 on your keyboard. It lets you customize global behaviors, show/hide buttons, change themes, or create new floating hotkeys.

  • 🔒 Lock Buttons (ล็อคปุ่ม): แนะนำสำหรับการใช้งานฟาร์มจริง เมื่อเปิดใช้งาน จะซ่อนตัวจับย้าย ⠿ ปุ่มปิด ✖ และปุ่มปรับขนาด ◢ ทั้งหมด เพื่อให้เหลือปุ่มสะอาดตาสวยงาม และป้องกันอุบัติเหตุคลิกไปโดนลากเคลื่อนย้ายปุ่มขณะเล่นเกม
  • 🔒 Lock Buttons: Recommended for active farming. When enabled, it hides the drag handle ⠿, close button ✖, and resize grip ◢, keeping the overlay clean and preventing accidental moves during gameplay.
  • 🔳 Show Borders (แสดงขอบ): เปิด/ปิดการแสดงเส้นกรอบสะท้อนแสงรอบๆ ปุ่มลอย เพื่อเพิ่มมิติและความโดดเด่น
  • 🔳 Show Borders: Toggles neon glowing outlines around the floating buttons.
  • 🌓 Opacity (ความโปร่งใส): แถบเลื่อนสำหรับปรับความจาง/เข้มของปุ่มลัดทั้งหมดพร้อมกัน เพื่อไม่ให้บังทัศนวิสัยบนหน้าจอเกม
  • 🌓 Opacity: Slider to adjust the overall transparency of all buttons on your screen.
  • 🏷️ Show Hotkeys (แสดงคีย์ลัด): แสดงข้อความคีย์ลัดในวงเล็บต่อท้ายชื่อ เช่น Potion On/Off (5)
  • 🏷️ Show Hotkeys: Displays target trigger key suffix on buttons, e.g. Potion On/Off (5).
  • 🔢 Show Numbers (แสดงลำดับ): แสดงตัวเลขลำดับ [1], [2], [3] นำหน้าชื่อปุ่ม
  • 🔢 Show Numbers: Displays button sequence numbers, like [1], [2], [3], in front of button labels.
  • 🎨 Theme (เปลี่ยนธีมสี): เมนูเลือกชุดสีปุ่มลอยด่วน มีให้เลือกใช้งานกว่า 10 ธีมสีสไตล์โปรเจกต์ระดับพรีเมียม (เช่น Catppuccin, Cyberpunk, Matrix, Nord)
  • 🎨 Theme: Switch between 10 high-quality modern themes (e.g. Catppuccin, Cyberpunk, Matrix, Nord) to match your game style.
  • 🔀 ลากสลับลำดับ: ที่รายการมาโครด้านล่าง คุณสามารถกดที่สัญลักษณ์ ☰ ค้างไว้แล้วลากขึ้น-ลง เพื่อจัดเรียงลำดับปุ่มกดบนหน้าจอได้อย่างอิสระ
  • 🔀 Reorder List: Press and hold the ☰ grip on any list item to drag and change the visual order of the buttons.
  • 🟢 สวิตช์เปิด/ปิด (Visibility Toggle): กดสวิตช์สีเขียว/เทาด้านขวาของแต่ละรายการเพื่อสั่ง แสดง หรือ ซ่อน ปุ่มลอยปุ่มนั้นๆ บนจอเกม
  • 🟢 Visibility Toggle: Click the green/grey switch to instantly show or hide that specific button on your screen.
  • 🗑️ ลบปุ่ม (Delete Button): กดไอคอนถังขยะสีแดง 🗑 เพื่อลบปุ่มลอยที่ไม่ต้องการออกจากระบบถาวร
  • 🗑️ Delete Button: Click the red trash bin icon 🗑 to remove the button permanently.
Control Panel Settings

6.3 🔄 โหมดปรับตำแหน่ง (Unlocked) VS โหมดพร้อมใช้งาน (Locked)

6.3 🔄 Unlocked (Editing) vs. Locked (Gameplay) States

เพื่อให้คุณจัดหน้าจอได้อย่างสมบูรณ์แบบ ปุ่มลอยของ Yucha Key Panel จะปรับเปลี่ยนรูปร่างหน้าตาและเครื่องมือควบคุมตามสถานะ Lock Buttons ดังนี้ครับ

To help you design the perfect layout, floating buttons dynamically adapt their interface elements based on the global **Lock Buttons** setting:

🔧 โหมดจัดหน้าตา (Unlocked)

🔧 Editor Mode (Unlocked)

เมื่อปลดล็อค ปุ่มลอยจะแสดงแผงควบคุมช่วยแก้ไขรอบตัว:

When unlocked, helpers are packed around the button for editing:

  • ⠿ ตัวจับย้าย (Left Grip): คลิกซ้ายค้างที่ไอคอนนี้แล้วขยับเมาส์ เพื่อลากย้ายปุ่มไปวางตำแหน่งใดๆ บนจอได้อย่างอิสระ
  • ⠿ Left Grip: Click and hold this handle, then drag to reposition the button anywhere on your screen.
  • ✖ ปุ่มปิดด่วน (Close): กดเครื่องหมายกากบาทเพื่อสั่งซ่อนปุ่มลอยปุ่มนี้ทันที (สวิตช์บนแผงตั้งค่าจะปิดลงอัตโนมัติ)
  • ✖ Quick Close: Click the close icon to hide the button instantly (sets its visibility switch to off).
  • ◢ ตัวปรับขนาด (Resize corner): คลิกค้างที่รูปสามเหลี่ยมมุมขวาล่าง แล้วลากเมาส์ออกหรือหดเข้า เพื่อปรับความกว้างและความสูงตามต้องการ
  • ◢ Resize Grip: Click and drag this corner handle outward or inward to change the width and height of the button.
Unlocked Floating Button

🔒 โหมดล็อคใช้งานจริง (Locked)

🔒 Gameplay Mode (Locked)

เมื่อล็อค ปุ่มจะเก็บตัวช่วยแก้ไขทั้งหมดซ่อนไว้ด้านหลัง:

When locked, all auxiliary editing controls are safely hidden:

  • แสดงเฉพาะปุ่มคลิกอย่างเดียว สวยสะอาดตา ดูล้ำสมัยเข้ากับตัวเกม
  • Displays only the clean, clickable button itself. Looks sleek and modern.
  • ล็อกตำแหน่งและขนาดถาวร ป้องกันความผิดพลาดจากการลากปุ่มหลุดตำแหน่งขณะกำลังสู้กับมอนสเตอร์หรือคนอื่น
  • Locks coordinates and sizes, avoiding accidental cursor drag issues.
  • คลิกสั่งงานรันมาโครได้รวดเร็วเต็มพื้นที่ปุ่ม
  • Maximize clickable surface area for fast action execution.
  • 💡 เทคนิคด่วน: แม้จะล็อกอยู่ คุณก็สามารถ ดับเบิลคลิก (Double-click) บนตัวปุ่มลอยตรงๆ เพื่อเรียกหน้าต่างแก้ไขค่าปุ่มขึ้นมาได้ทันทีครับ
  • 💡 Quick Tip: Even when locked, you can Double-click directly on the button to open its settings window instantly.
Locked Floating Button

6.4 🎨 การปรับแต่งเฉพาะปุ่ม (Button Customization)

6.4 🎨 Individual Button Customization

ดับเบิลคลิกที่รายการใน Control Panel หรือบนตัวปุ่มลอย เพื่อเปิดหน้าต่างกำหนดค่าแบบเจาะลึกเฉพาะแต่ละปุ่มได้ครับ คุณสามารถเปลี่ยนสี และความโปร่งใสแยกเฉพาะปุ่มได้ด้วย

Double-click a list row or double-click the floating button itself to open individual configuration settings. You can set custom colors and opacity levels for each button.

  • 📝 Name (ชื่อปุ่ม): ข้อความที่จะเขียนแสดงอยู่บนปุ่มลอย
  • 📝 Name: The label text displayed on the floating button.
  • ⌨️ Hotkey (ปุ่มคีย์ลัด): คีย์ลัดแป้นพิมพ์ของคอมพิวเตอร์ที่ต้องการให้ปุ่มนี้กดแทน (เช่น 5, F1, Ctrl+F5) **ต้องสะกดและเขียนให้ตรงกับ Hotkey ของมาโครนั้นๆ ใน Macro Studio**
  • ⌨️ Hotkey: The keyboard key simulated and sent to the game window (e.g. 5, F1, Ctrl+F5). **Must match the Hotkey of the macro in Macro Studio**
  • 🎨 Button Bg (สีปุ่ม): คลิกปุ่ม Choose เพื่อเลือกสีพื้นหลังปุ่มลอยเฉพาะปุ่มนี้ ทำให้ปุ่มสำคัญโดดเด่นแยกจากปุ่มอื่น (เช่น ยาสีแดง วาร์ปสีฟ้า บัฟสีม่วง)
  • 🎨 Button Bg: Set a custom background color for this specific button to differentiate it (e.g. Red for potions, Blue for escape warps).
  • 🔤 Button Text (สีข้อความ): คลิก Choose เพื่อเปลี่ยนสีตัวอักษรของปุ่มนี้โดยเฉพาะ เพื่อให้คมชัดอ่านง่าย
  • 🔤 Button Text: Customize text label color for this button.
  • ⚡ Active Bg (สีขณะปุ่มทำงาน): คลิก Choose เพื่อเลือกสีพื้นหลังปุ่มลอยขณะที่มาโครนั้นกำลังทำงาน/เปิดใช้งานอยู่ (เช่น ปุ่ม F1 ตรวจสอบกับสถานะ Bot ทำงาน, และปุ่มอื่นๆ ตรวจสอบตาม macro_flags ในหน้าบอท) ทำให้คุณเห็นสถานะการทำงานของบอทได้ชัดเจนในหน้าจอเกมทันที
  • ⚡ Active Bg: Click Choose to customize the button's background color when that macro is actively running (e.g. F1 checks if the main script is running, and other keys check their respective running flags in macro_flags), providing instant visual feedback on active tasks directly on your screen.
  • 🌓 Opacity (ความโปร่งใสพิเศษ): ติ๊กถูกที่ช่อง Override จากนั้นเลื่อนแถบความโปร่งใส เพื่อตั้งค่าความโปร่งใสแยกต่างหากเฉพาะปุ่มนี้คนเดียว (ไม่ใช้ค่าความโปร่งใสร่วมกับส่วนกลาง)
  • 🌓 Opacity Override: Check Override to assign a custom transparency level for this button only, independent of the global setting.
  • 🔄 Restore Default (ปุ่มคืนค่าเริ่มต้น): ลบสีธรรมดา สีข้อความ สีขณะทำงาน และค่าโปร่งใสพิเศษทั้งหมดที่ตั้งไว้เฉพาะปุ่มนี้ และปรับกลับไปใช้ธีมสีหลักและค่าความโปร่งใสส่วนกลางของระบบทันที
  • 🔄 Restore Default: Erase custom background, text colors, active background color, and opacity overrides, returning the button back to the global theme colors.
Customize Individual Button

6.5 📐 การปรับขนาดปุ่มลอย & ระบบแม่เหล็กดูดจัดตำแหน่ง (Resizing & Magnet Snapping)

6.5 📐 Resizing Buttons & Magnet Snapping System

ในโหมดจัดหน้าตา (Unlocked) คุณสามารถปรับขนาดของปุ่มลัดลอยได้อย่างอิสระเพื่อให้เข้ากับขนาดหน้าจอหรือความถนัดของคุณ และยังมีระบบ Magnet (แม่เหล็กดูด) เพื่อช่วยจัดเรียงปุ่มให้ตรงเป็นระเบียบอย่างง่ายดายอีกด้วย

In Editor Mode (Unlocked), you can freely resize any floating button to match your screen layout or preferences. The panel also includes a Magnet snapping feature to help align your buttons perfectly.

🔍 เปรียบเทียบขนาดปุ่ม (Button Size Comparison)

🔍 Button Size Comparison

คลิกเมาส์ค้างที่มุมขวาล่าง ◢ ของปุ่มในสถานะ Unlocked แล้วลากเพื่อยืดหรือหดขนาดปุ่ม:

Click and drag the bottom-right resize grip ◢ in Unlocked state to resize:

ปุ่มขนาดเล็ก (Small) Small Button Small Floating Button
⚡
ปุ่มขนาดใหญ่ (Large) Large Button Large Floating Button

🧲 ระบบแม่เหล็กดูดขอบ (Magnet Snapping)

🧲 Magnet Snapping System

เมื่อคุณเปิดใช้งานปุ่ม Magnet (แม่เหล็ก) จากหน้าต่างแผงควบคุมหลัก:

When you enable the Magnet toggle button from the main Control Panel:

Magnet Toggle Location
  • ดูดติดขอบจอ: เมื่อลากปุ่มเข้าใกล้ขอบจอภาพฝั่งใดก็ตามในระยะ 12 พิกเซล ปุ่มจะถูกดูดเข้าไปแนบชิดติดขอบจอทันที
  • Snap to Screen Edges: Moving a button within 12 pixels of any screen border snaps it perfectly flush with the edge.
  • ดูดติดขอบปุ่มอื่น: เมื่อลากปุ่มเข้าใกล้ปุ่มลอยปุ่มอื่นๆ ปุ่มจะดูดติดขอบและจัดระดับความสูง/กว้างให้ระนาบเดียวกันโดยอัตโนมัติ
  • Snap to Other Buttons: Dragging near neighboring buttons snaps them flush side-by-side or stacks them cleanly.
💡 แนะนำ: เปิด Magnet ไว้ขณะจัดเรียงตำแหน่งปุ่ม เพื่อให้ได้เลย์เอาต์ปุ่มมาโครลอยหน้าจอที่เรียงเป็นแถวแนวตั้งหรือแนวนอนอย่างเป็นระเบียบสวยงามเหมือนมืออาชีพ! 💡 Tip: Keep Magnet enabled while arranging buttons to create aligned, professional grids or stacked columns with ease.

6.6 📁 การจัดการโปรไฟล์ปุ่มกด (Profile Management)

6.6 📁 Layout Profile Management

อำนวยความสะดวกด้วยระบบ **โปรไฟล์ (Profiles) จำกัดสูงสุด 3 โปรไฟล์** ให้คุณสามารถบันทึกตำแหน่ง ขนาด สี และธีมของปุ่มกดลอยทั้งหมดเก็บไว้ เพื่อสลับใช้งานตามสถานการณ์ต่างๆ เช่น โปรไฟล์สำหรับการต่อสู้ทั่วไป โปรไฟล์สำหรับลงบอส หรือโปรไฟล์สำหรับตัวละครอื่นๆ โดยระบบจะอัปโหลดข้อมูลเหล่านี้ซิงค์เข้ากับ **Cloud Config** ของบัญชีคุณโดยอัตโนมัติเมื่อกดบันทึกครับ

Manage your custom setups with the **Profile Management** system (up to 3 profiles). Save coordinates, sizes, overrides, and themes for different scenarios—like a PvP layout, boss hunt setup, or alt character positions. All profile data is automatically synced to your **Cloud Config** database when saved.

  • 💾 Save (บันทึกโปรไฟล์): คัดลอกปุ่มลอยและพิกัดตำแหน่งทั้งหมดในปัจจุบันไปเก็บไว้ในช่องโปรไฟล์ที่เลือก และอัปโหลดขึ้นคลาวด์ทันที
  • 💾 Save: Copy your active layout configuration into the selected profile slot, triggering an instant automatic cloud sync update.
  • 📂 Load (โหลดใช้งาน): ดึงข้อมูลปุ่มและตำแหน่งที่เคยบันทึกไว้ในโปรไฟล์นั้นๆ กลับมาแสดงผลแทนที่เลย์เอาต์ปัจจุบันทันที
  • 📂 Load: Restore the selected profile's settings, layout coordinates, and active theme to your gameplay screen.
  • 🔄 Reset (ล้างค่าโปรไฟล์): ลบข้อมูลโปรไฟล์ดังกล่าวออกจากฐานข้อมูลคลาวด์ เพื่อเคลียร์ช่องให้ว่างพร้อมสำหรับการบันทึกค่าใหม่
  • 🔄 Reset (Restore Default): Erase the saved layout settings inside that profile slot, restoring the slot to default (empty) state.
💡 ข้อมูลเพิ่มเติม: ทุกครั้งที่คุณกด Save, Load หรือ Reset ระบบจะทำการเรียก API ไปยังคลาวด์เพื่อบันทึกข้อมูลของคุณโดยอัตโนมัติ (หากมีการล็อกอินบัญชี Cloud Sync ไว้) ทำให้มั่นใจได้ว่าข้อมูลเลย์เอาต์ปุ่มลอยจะปลอดภัย ไม่สูญหายแม้จะย้ายไปเล่นเครื่องอื่นครับ 💡 Cloud Sync Integration: Every Save, Load, and Reset operation triggers an automatic background API call to the cloud (if logged in), securing your profile layouts across multiple devices.

✨ 7. ฟีเจอร์ใหม่ตามเวอร์ชัน (New Features by Version)

Step 7. New Features by Version

V2.6.0 (ฟีเจอร์เดิม / Legacy Features)

ฟีเจอร์ในเวอร์ชัน V2.6.0 (V2.6.0 Features)

V2.6.0 Features

🗺️ 1. ปรับระบบการเดินไปจุดฟาร์มแบบอัตโนมัติ (Auto-Navigation to Farming Spot)

🗺️ 1. Auto-Navigation to Farming Spot

ระบบนำทางกลับจุดฟาร์มใหม่ได้รับการยกเครื่องให้มีประสิทธิภาพมากขึ้น สำหรับแผนที่ชั้นสูง (เช่น หอคอยโอหัง (Tower of Insolence) หรือ สมรภูมิโบราณ (Ancient Battleground)):

The new return-to-farm navigation system has been overhauled for end-game maps (such as Tower of Insolence or Ancient Battleground):

  • กำหนดแค่จุดฟาร์มปลายทาง: จากเดิมที่คุณจำเป็นต้องบันทึกจุดเส้นทางเดิน (Waypoints) หลายสิบจุดด้วยตัวเอง ตอนนี้เปลี่ยนใหม่เป็น กำหนดเพียงพิกัดปลายทางสุดท้ายจุดเดียวพอ! บอทจะทำการคำนวณและเดินหลบหลีกอุปสรรคนำทางกลับไปยังเป้าหมายให้โดยอัตโนมัติ
  • Set Destination Only: Instead of manually defining dozens of waypoint steps for your path, you now only need to **specify the final farming spot destination**. The bot automatically calculates the route and steers around obstacles to get you there safely.
  • ความแม่นยำสูง (6 พิกเซล): มีการปรับปรุงขีดความแม่นยำปลายทางสุดท้ายลดลงเหลือช่วง +-6 พิกเซล เพื่อให้การส่งท้ายสเต็ปนำทางไปเข้าโหมดออโต้ล่าทำได้อย่างรวดเร็วและเป็นธรรมชาติที่สุด
  • High Precision (6px Tolerance): Destination precision has been fine-tuned to a tight 6-pixel limit, assuring natural, fast target landing and transition to auto-hunting.
Auto Navigate Screen

ภาพตัวอย่าง: แผนผังการตั้งค่าพิกัดจุดเดินกลับบน Map Editor (บันทึกภาพหน้าจอของคุณไปวางที่โฟลเดอร์ img/v260_auto_navigate.png)

Preview: Map Editor coordinate layout (save your capture as img/v260_auto_navigate.png)

💡 คุณสามารถเข้าไปวาดแผนที่ กำหนดพิกัด และจัดการเส้นทางเดินกลับจุดฟาร์มผ่านหน้าระบบแก้ไขแผนที่ได้โดยตรง 💡 You can draw coordinates, assign map targets, and manage return routes directly via the Map Editor.
🛠️ ไปยัง Map Editor 🛠️ Go to Map Editor

⚔️ 2. ปรับระบบการสู้กลับ (Smart Fighting Back Options)

⚔️ 2. Smart Fighting Back Options

เพิ่มความฉลาดและความคล่องตัวในขั้นตอนสู้กลับ (สวมหมวกกันน็อคและตอบโต้) เพื่อรับมือกับผู้เล่นอื่นที่มารบกวนการฟาร์มของคุณ:

Expanded combat handling options for fighting back against enemy players interrupting your farm:

🏃‍♂️ 6.a หนีเมื่อมองไม่เห็น HP

🏃‍♂️ 6.a Escape when HP Hidden

(เปิดใช้งาน = หนี / ปิดใช้งาน = ไม่หนี) บอทจะกดใบวาร์ปหนีทันทีหากถูกโจมตีแต่ระบบไม่สามารถอ่านค่าระดับเลือด (HP) บนจอได้ เช่น โดนผู้เล่นอื่นใช้สกิลสาดสถานะปิดตา (Blind) เพื่อความปลอดภัยสูงสุดของตัวละคร

(ON = Warp Away / OFF = Stay) Triggers an immediate emergency warp if attacked but your HP bar becomes unreadable (e.g., when blinded by an enemy player's status skills).

⚔️ 6.b สลับอาวุธสู้กลับ

⚔️ 6.b Switch Weapon on Fightback

อนุญาตให้บอทกดสลับอาวุธสำหรับต่อสู้กับคนได้ โดยบอทจะเรียกชุดคำสั่งปุ่มมาโคร Ctrl+Shift+F10 อัตโนมัติเมื่อตรวจพบการต่อสู้ และจะสลับกลับเป็นเซ็ตเดิมให้อัตโนมัติหลังสู้เสร็จ

Enables automatic weapon swapping for PvP fightback. The bot executes macro Ctrl+Shift+F10 immediately when starting combat, and reverts your weapon back after the combat concludes.

📍 6.c กลับจุดฟาร์มอัตโนมัติ

📍 6.c Auto-Return after Combat

เมื่อจบการต่อสู้และไม่มีการโจมตีซ้ำซ้อน บอทจะใช้ระบบนำทางอัตโนมัติ (จากข้อ 1) เพื่อประคองตัวละครเดินทางกลับไปยังจุดฟาร์มหลักทันที ป้องกันตัวละครถูกลากออกนอกพิกัดฟาร์ม

Upon combat resolution, the bot runs the auto-navigator to automatically pilot your character back to the original farming coordinates, keeping your farming zones secure.

Fight Back Setup

ภาพตัวอย่าง: ช่องการเปิดใช้งานและสับสวิตช์ย่อยใต้ข้อ 6 ในแผงควบคุมหลัก (บันทึกภาพหน้าจอของคุณไปวางที่โฟลเดอร์ img/v260_fight_back.png)

Preview: Fighting Back configuration toggles in Config Editor (save your capture as img/v260_fight_back.png)

💡 เข้าไปสับสวิตช์เปิดใช้งานระบบสู้กลับและตั้งค่าเปอร์เซ็นต์เลือดได้ในแผงหน้าจอควบคุมมาตรฐาน 💡 Enable and adjust these parameters under Standard Wizard Setup in your Config Editor.
🎛️ ไปยัง Config Editor 🎛️ Go to Config Editor
V2.6.2 (ล่าสุด / Newest)

🛒 1. ซื้อของที่ร้านค้าอัตโนมัติก่อนกลับไปฟาร์ม (Auto Buy Before Farm)

🛒 1. Auto Buy Before Farm

เพิ่มหัวข้อ 4.1 ซื้อของอัตโนมัติ ก่อนกลับไปฟาร์ม ช่วยประคองและอำนวยความสะดวกในการปล่อยบอทระยะยาว

Added option 4.1 Auto Buy Before Farm, which allows the bot to purchase supplies automatically in town before returning to farm.

Auto Buy Settings Card

ภาพตัวอย่าง: หน้าจอการตั้งค่าหัวข้อ 4.1 ซื้อของอัตโนมัติ ก่อนกลับไปฟาร์ม

Preview: Auto Buy settings under Option 4 of the Standard Wizard

💡 รายละเอียดสำคัญ:
  • ต้องตั้งค่า ซื้อของอัตโนมัติ ไว้ด้วย บอทจะกดแค่ปุ่มซื้อของอัตโนมัติเท่านั้น (Auto-Trade) ส่วนการค้นหาร้านค้านั้น YuchaBot จะเป็นการค้นหาเอง
  • * การใช้งาน feature นี้ จำเป็นต้องแย่งใช้งาน mouse ในการทำ เหมาะกับการปล่อยบอท ตอนที่ไม่อยู่จอเท่านั้น
💡 Important Notes:
  • Ensure Auto-Trade settings are configured inside the game, as the bot will only click the Auto-Trade button. YuchaBot will locate the merchant automatically.
  • * This feature requires mouse control, so it is recommended only when you are AFK.

⚔️ 2. การเดินในพื้นที่ Arena (Arena Navigation)

⚔️ 2. Arena Navigation

รองรับการตั้งค่าเส้นทางการเดินในพื้นที่อารีน่า (Arena) ผ่าน Map Editor

Supports path and coordinate setup for Arena maps using the Map Editor.

Arena Map Setup

ภาพ: หน้าจอ map_editor ตอนที่แสดง map Arena.jpg

Image: map_editor showing Arena.jpg map

go_npc Config Setup

ภาพ: การตั้งค่ามาโคร go_npc ใน Map Editor

Image: go_npc step config interface

การตั้งค่า go_npc ในหน้า map_editor:

go_npc Setup in map_editor:

ตั้งคำสั่ง $go_npc('tp', X) โดยค่าดัชนี X แทนทิศทางของจุดวาร์ปดังนี้:

Set $go_npc('tp', X) where X represents the teleport icon index:

  • tp และ 1 = Icon Teleport อันที่ 1 = ทิศใต้ (South)
  • tp และ 2 = Icon Teleport อันที่ 2 = ทิศตะวันออก (East)
  • tp และ 3 = Icon Teleport อันที่ 3 = ทิศตะวันตก (West)
  • tp และ 4 = Icon Teleport อันที่ 4 = ทิศเหนือ (North)
* หมายเหตุ: เมื่อ save to cloud ในการ set แล้ว ต้องไปเปลี่ยน ใน config standard ด้วยว่าให้ใช้ ข้อ 4 เป็น dropdown เลข 2. เดินในหอคอยโอหัง/อารีน่า (Walk in Insolence/Arena) * Note: After saving your setup to cloud, make sure to change option 4 in the standard config wizard to "2. Walk in Tower of Insolence / Arena".

🗺️ 8. คู่มือการใช้งานระบบ Map Editor & การตั้งค่ามาโครนำทาง (Map Editor Guide)

Step 8. 🗺️ Map Editor & Visual Navigation Macro Guide

📍 Interactive Visual Map Navigation Suite (V2.7.9+)

ระบบแผนที่และมาโครนำทางอัตโนมัติ (Map Editor Overview)

Visual Map Navigation & Macro System Overview

🛠️ เปิดใช้งาน Map Editor (Live Web Tool) →

Map Editor (ตัวแก้ไขแผนที่นำทาง) คือเครื่องมือภาพเสมือนจริงที่พัฒนาขึ้นเพื่อให้ผู้ใช้สามารถกำหนด จุดฟาร์มมอนสเตอร์ (Farming Spots), รัศมีพื้นที่การล่า (Hunting Radius), และสร้าง มาโครการเดินกลับจุดฟาร์มเมื่ออยู่เมือง (Return-to-Farm Macros) ได้อย่างสะดวกรวดเร็ว โดยระบบจะทำการคำนวณเส้นทางเดินหลบหลีกและนำทางกลับไปยังเป้าหมายให้โดยอัตโนมัติ พร้อมทั้งซิงค์ข้อมูลกับ Standard Config ข้อ 4 และบันทึกขึ้น Cloud แบบสมบูรณ์ 100%

The Map Editor is an interactive visual navigation suite allowing you to designate target farming spots, hunting radius boundaries, and build automated return-to-farm macros from town. The bot calculates steering routes around obstacles to land safely on your spot, auto-syncs with Standard Option 4, and preserves all your settings via Lossless Cloud Sync.

Map Editor Interface Overview

ภาพรวมหน้าจอ Map Editor: ด้านบนคือ Dropdown เลือกแผนที่, ตรงกลางคือ Canvas แผนที่พิกัดจริง, ด้านซ้ายคือแถบควบคุม Farming Spots และ Map Macros

Map Editor Overview: Top map selector, center interactive canvas, and left sidebar controlling Farming Spots and Map Macros.

📝 WORKFLOW GUIDE (ขั้นตอนการตั้งค่า 5 สเต็ป)

📍 8.1 ขั้นตอนการ Setup Map Editor ตั้งแต่เริ่มต้น (Step-by-Step Setup Workflow)

📍 8.1 Setup Workflow from Scratch (5 Core Steps)

การตั้งค่าระบบเดินกลับจุดฟาร์มสำหรับแผนที่ใหม่หรือแผนที่เดิม มีลำดับขั้นตอนการทำงานที่ง่ายและเป็นระบบ โดยดำเนินตาม 5 ขั้นตอนหลักดังนี้:

Setting up return-to-farm navigation for any map follows an intuitive 5-step workflow:

1

ขั้นตอนที่ 1: เลือกแผนที่เป้าหมายที่ต้องการบอท (Choose Map)

Step 1: Select Your Target Map

  • เปิดหน้าเว็บ Map Editor (ผ่านเมนู /map_editor หรือคลิกปุ่ม 🗺️ Waypoint Editor จากหน้า Config Editor)
  • Open the Map Editor page via /map_editor or click the 🗺️ Waypoint Editor button.
  • ที่แถบด้านบน ให้คลิกเลือกแผนที่จาก Dropdown -- Choose a Map -- (เช่น The Last Ground, Fire Dragon, Cruma#4F, Arena, Full Map - Tower of Insolence#1 ฯลฯ)
  • At the top bar, pick your desired map from the -- Choose a Map -- dropdown (e.g. The Last Ground, Fire Dragon, Cruma#4F, Arena, etc.).
  • ระบบจะแสดงภาพแผนที่จริงของเกมบน Canvas ตรงกลาง พร้อมโหลดจุด Waypoints และพิกัดเริ่มต้นให้ทันที
  • The real in-game map will display on the center canvas with default coordinates pre-loaded.
Select Map Dropdown

📌 ภาพหน้าจอจริง: เมนู Dropdown "SELECT MAP" สำหรับเลือกแผนที่ที่ต้องการบอท

📌 Real UI Example: "SELECT MAP" dropdown for choosing your target map.

2

ขั้นตอนที่ 2: ตั้งจุดฟาร์มเป้าหมาย และกำหนดรัศมีการล่า (Set Farming Spot & Radius)

Step 2: Set Farming Spot Coordinates & Hunting Radius

  • ที่เมนูด้านซ้าย ให้คลิกแท็บ Farming Spots
  • In the left sidebar, click on the Farming Spots tab.
  • กำหนดพิกัดจุดยืนฟาร์ม (Target Center): เลื่อนเมาส์ไปคลิกบนภาพแผนที่ตรงตำแหน่งที่คุณต้องการให้ตัวละครยืนตีมอนสเตอร์ จะปรากฏวงกลมมาร์กเกอร์สีม่วงพร้อมพิกัด (x, y)
  • Place Coordinates: Click directly on the map where you want the character to hunt; a circular target marker with (x, y) coordinates will appear.
  • ปรับขนาดรัศมี (Radius Slider): ปรับแถบเลื่อนรัศมี (ค่าปกติประมาณ 50-70 พิกเซล) เพื่อกำหนดระยะขอบเขตวงกลมว่าให้บอทเดินล่ามอนสเตอร์วนอยู่เฉพาะภายในบริเวณนี้
  • Adjust Radius: Use the radius slider (recommended 50-70px) to define the perimeter circle that keeps the bot focused inside this area.
  • รองรับหลายจุดฟาร์ม (Multiple Spots): สามารถคลิกปุ่ม + Add Spot เพื่อสร้างจุดฟาร์มเพิ่มเติม เช่น Spot 1, Spot 2 สำหรับวนสลับจุดในแผนที่เดียวกัน
  • Multi-Spot Support: Click + Add Spot to create alternate farming positions (e.g. Spot 1, Spot 2) to rotate between locations on the same map.
💡 เทคนิค: คุณสามารถคลิกลากที่จุดกึ่งกลางวงกลมเพื่อย้ายตำแหน่งพิกัดได้อย่างอิสระ หรือคลิกลากที่ขอบวงกลมเพื่อย่อ-ขยายขนาดรัศมีได้โดยตรงบนหน้าจอ Canvas
Farming Spots Setup

📌 ภาพหน้าจอจริง: แท็บ "MY FARMING SPOTS" พิกัดจุดยืนฟาร์ม และมาร์กเกอร์จุดฟาร์มบนแผนที่

📌 Real UI Example: "MY FARMING SPOTS" tab with target coordinates and visual map markers.

3

ขั้นตอนที่ 3: กดสร้างมาโครใหม่ (➕ New Macro) & การซิงค์อัตโนมัติ

Step 3: Create New Macro (➕ New) & Auto-Sync Option 4

  • ที่เมนูด้านซ้าย ให้สลับไปที่แท็บ Map Macros แล้วกดปุ่ม + New
  • In the left sidebar, switch to the Map Macros tab and click the + New button.
  • ระบบสร้างโครงสร้างให้อัตโนมัติ (Smart Generation):
    • กำหนด Hotkey เริ่มต้นตรงประเภทแผนที่:
      • แผนที่ดันเจี้ยนพิเศษ (Tower of Insolence, Cruma, Arena, Demonic Island, Harnak) → ใช้ Ctrl+F8
      • แผนที่โลกทั่วไป (The Last Ground, Fire Dragon, Ancient Battleground) → ใช้ Ctrl+Shift+F8
    • สร้าง Step #1 ให้อัตโนมัติ: ใส่คำสั่งเดินทางเข้าแผนที่ที่เหมาะสม (เช่น $go_favorite_map(1) หรือ $go_npc('tp', 1)) พร้อมตั้ง Delay รอโหลดแมพ 5s
    • สร้าง Step #2 ให้อัตโนมัติ: ใส่คำสั่ง $auto_navigate("", "Default", 0.9, "sequence")
  • ⚡ ระบบซิงค์ Standard Config ข้อ 4 อัตโนมัติ (New in V2.7.9+):
    เมื่อกดสร้างมาโคร ระบบจะไปปรับค่า Standard Config ข้อ 4 (วิธีเดินทางกลับจุดฟาร์มเมื่ออยู่เมือง) ให้ตรงกับปุ่ม Hotkey ทันที!
    • หากมาโครเป็น Ctrl+F8 → ปรับเป็น ข้อ 2. เดินในหอคอยโอหัง/อารีน่า (Ctrl+F8)
    • หากมาโครเป็น Ctrl+Shift+F8 → ปรับเป็น ข้อ 3. เดินในแผนที่โลก หลังจาก teleport (Ctrl+Shift+F8)
    โดยระบบจะบันทึกค่าและซิงค์ให้แบบอัตโนมัติ 100% เบื้องหลังทันทีเมื่อกด Save หรือเลือกแผนที่ (ไม่จำเป็นต้องกดเลือกเอง)
✨ ไม่ต้องตั้งค่าซ้ำซ้อน: คุณไม่จำเป็นต้องสลับไปหน้า Config Editor เพื่อเลือกข้อ 4 ด้วยตัวเองอีกต่อไป เพราะ Map Editor จัดการให้ตรงกันทั้งระบบทันทีครับ!
Map Macros Tab & New Button

📌 ภาพหน้าจอจริง: แท็บ "Map Macros" และปุ่ม "+ New" สำหรับสร้างมาโครนำทางชุดใหม่

📌 Real UI Example: "Map Macros" tab with the "+ New" button to add a navigation macro.

4

ขั้นตอนที่ 4: ตรวจสอบและตั้งค่า Step ในการ์ดมาโครให้ถูกต้อง (Configure Step Options)

Step 4: Configure Step Parameters & Select Farming Spots

  • ตรวจสอบ Step #1 (สเต็ปเดินทางเข้าแผนที่):
    • ตรวจสอบ Dropdown ฟังก์ชัน (เช่น go_favorite, go_npc, go_fav_dun, go_floor)
    • ปรับตัวเลขพารามิเตอร์ให้ตรงกับลำดับในเกมของคุณ (เช่น ลำดับช่อง Favorite หรือเลขชั้น)
    • ตรวจสอบช่อง Delay ให้เป็น 5s (หรือเพิ่มเป็น 6s-7s หากเครื่องโหลดเข้าแผนที่ช้า)
  • ตรวจสอบ Step #2 (Auto Navigate นำทางเดินไปจุดฟาร์ม):
    • Repeat: จำนวนรอบการทำซ้ำ (ปกติคือ 1)
    • Order Mode:
        🔁 Sequence: เดินไปยังจุดฟาร์มตามลำดับ
        🎲 Random: สุ่มเลือกจุดฟาร์ม
    • Threshold: ค่าความแม่นยำในการเปรียบเทียบภาพมินิแมพ (แนะนำคงค่าไว้ที่ 0.9)
    • Select Spot(s) (Farming Spots): *สำคัญมาก* ตรวจสอบว่ามีเครื่องหมายถูก ☑️ ติ๊กเลือกจุดฟาร์มที่คุณต้องการให้มาโครนี้เดินไป (ต้องติ๊กอย่างน้อย 1 จุด เช่น Default)
Macro Step Configuration

📌 ภาพหน้าจอจริง: การตั้งค่า Step #1 (go_favorite), Step #2 (Auto Navigate), และการติ๊กเลือกจุดฟาร์มเป้าหมาย ☑️ Default

📌 Real UI capture: Setting Step #1 (go_favorite), Step #2 (Auto Navigate), and selecting target spot ☑️ Default.

5

ขั้นตอนที่ 5: บันทึกขึ้นระบบคลาวด์ (Save to Cloud) & ใช้งานจริง

Step 5: Save to Cloud (Lossless Sync) & Start Bot

  • เมื่อตั้งค่าพิกัดและมาโครเรียบร้อยแล้ว ให้คลิกปุ่ม ☁️ Save to Cloud ที่มุมบนขวา (หรือกดคีย์ลัดตัว S หรือ Ctrl+S บนคีย์บอร์ด)
  • Once coordinates and macro steps are set, click ☁️ Save to Cloud on the top right (or press S / Ctrl+S).
  • การบันทึกแบบ Lossless Merge: ระบบจะดึง Config ล่าสุดบน Cloud ของคุณมาผสานรวมเข้ากับพิกัดและมาโครใหม่ก่อนส่งบันทึกเสมอ ทำให้การตั้งค่าอื่นๆ ทั้งหมดของบอท (เช่น ค่า HP, สกิลบัฟ, ป้องกันบอส) ปลอดภัย 100% ไม่สูญหาย
  • Lossless Merge Protection: The system retrieves your remote config and merges it with your local changes before uploading, ensuring zero setting loss.
  • เมื่อบันทึกเสร็จสมบูรณ์ ป้ายสถานะจะเปลี่ยนเป็น Synced (สีเขียว) พร้อมข้อความแจ้งเตือน "✅ บันทึกขึ้น Cloud สำเร็จครบถ้วน!"
  • Upon successful upload, the status badge turns Synced (Green) with an alert confirming complete synchronization.
  • เปิดโปรแกรมบอทบนคอมพิวเตอร์ของคุณ แล้วกดเริ่มทำงาน บอทจะดึงพิกัดและมาโครล่าสุดจาก Cloud ไปใช้งานได้ทันที
  • Launch the bot on your PC; it automatically pulls the latest Cloud waypoints and macros to begin farming immediately.
⚡ DEEP-DIVE STEP #1 (สเต็ปคำสั่งพิเศษเข้าแผนที่)

🎯 8.2 เจาะลึกการทำงานของ Step #1 แต่ละคำสั่งในแต่ละแผนที่ (Special Step #1 Entry Actions)

🎯 8.2 Detailed Breakdown of Step #1 Entry Functions by Map

ในการฟาร์มของ Lineage2M แต่ละแผนที่มีวิธีการเดินทางเข้าไปแตกต่างกัน เช่น บางแมพต้องวาร์ปผ่านเมนู Favorite, บางแมพต้องคุยกับ NPC ในเมือง, และบางแมพต้องเลือกชั้นหอคอย ดังนั้น Step #1 ของมาโครจึงเป็นขั้นตอนพิเศษ (Entry Step) ที่ทำหน้าที่ส่งตัวละครจากเมืองเข้าไปในแผนที่เป้าหมาย ก่อนที่ Step #2 (Auto Navigate) จะเริ่มเดินนำทางไปยังจุดฟาร์ม โดยมีรายละเอียดฟังก์ชันทั้งหมดดังนี้:

In Lineage2M, different zones require distinct entry actions (e.g. World Map Favorites, Town NPCs, Dungeon UI floors). Step #1 is the designated Entry Action that transports the character from town into the target zone, before Step #2 (Auto Navigate) walks to the exact farming coordinate.

⭐ 1. ฟังก์ชัน $go_favorite_map(n) หรือ go_favorite (วาร์ปผ่านแผนที่โปรด)

⭐ 1. Function $go_favorite_map(n) (World Map Favorites)

Hotkey: Ctrl+Shift+F8

📍 แผนที่ที่ใช้งาน: The Last Ground (ดินแดนสุดท้าย), Fire Dragon (มังกรเพลิง), หรือจุดฟาร์มบนแผนที่โลกทั่วไปที่คุณบันทึก Favorite ไว้

📍 Applicable Maps: The Last Ground, Fire Dragon, and general world map spots bookmarked in your in-game favorites.

⚙️ กลไกการทำงานของบอท:
1. บอทกดเปิดหน้าต่างแผนที่โลกในเกม (คีย์ลัด M)
2. บอทคลิกแท็บ Favorite (รูปดาว) ที่แถบด้านบนของแผนที่
3. บอทเลื่อนหารายการจุดวาร์ปที่คุณบันทึกไว้ในลำดับที่ n (เช่น ช่องที่ 1, 2 หรือ 3)
4. บอทคลิกปุ่มเทเลพอร์ตสีทองเพื่อวาร์ปตัวละครเข้าสู่แผนที่

⚙️ How it Works:
1. The bot presses M to open the in-game World Map.
2. Clicks the Favorites (Star Icon) tab at the top.
3. Locates your saved bookmark entry index n (e.g. slot 1, 2, or 3).
4. Clicks the golden Teleport button to warp directly into the map.

🔧 การตั้งค่าใน Map Editor:
• ฟังก์ชันใน Dropdown: เลือก ⭐ go_favorite
• ช่องตัวเลข: ใส่ลำดับช่อง Bookmark ในเกม (ค่าเริ่มต้นคือ 1)
• Delay แนะนำ: ตั้งเป็น 5s (เพื่อให้มีเวลา 5 วินาทีในการโหลดเข้าแผนที่ก่อนเริ่มเดิน)

🔧 Configuration: Dropdown: ⭐ go_favorite | Index: 1 | Delay: 5s

In-game World Map Favorites Setup

📌 ภาพหน้าจอจริงในเกม: เปิดแผนที่โลก (M) → คลิกแท็บรูปดาว (Favorites) → ลำดับช่อง Bookmark 1, 2, 3 ทางซ้าย → กดปุ่ม Teleport ทางขวา

📌 Real in-game capture: World Map (M) → Star Tab (Favorites) → Bookmark slot 1, 2, 3 on left → Teleport button on right.

📍 2. ฟังก์ชัน $go_warp(n) (วาร์ปผ่านจุดเทเลพอร์ตประจำแผนที่)

📍 2. Function $go_warp(n) (Map Waypoint Warp)

Hotkey: Ctrl+Shift+F8

📍 แผนที่ที่ใช้งาน: Ancient Battleground (สมรภูมิโบราณ) หรือแผนที่ที่มีจุดเทเลพอร์ตประจำแมพ

📍 Applicable Maps: Ancient Battleground or general zones with standard map teleport waypoint lists.

⚙️ กลไกการทำงานของบอท:
1. บอทเปิดเมนูจุดวาร์ปของแผนที่นั้นๆ
2. บอทคลิกเลือกหมายเลขจุดวาร์ปที่ n ตามรายการของเกม (เช่น จุดที่ 1 หรือ 2)
3. บอทกดยืนยันการวาร์ปเข้าสู่พื้นที่

⚙️ How it Works: Opens map warp list → clicks waypoint index n → confirms teleport.

🔧 การตั้งค่าใน Map Editor:
• ฟังก์ชันใน Dropdown: เลือก 📍 go_warp
• ช่องตัวเลข: ใส่หมายเลขจุดวาร์ป (ค่าเริ่มต้นคือ 1)
• Delay แนะนำ: ตั้งเป็น 5s

🔧 Configuration: Dropdown: 📍 go_warp | Index: 1 | Delay: 5s

🏰 3. ฟังก์ชัน $go_fav_dun(favIndex, floorIndex) (ดันเจี้ยนครูม่า / Favorite Dungeon)

🏰 3. Function $go_fav_dun(favIndex, floorIndex) (Cruma Tower Favorites)

Hotkey: Ctrl+F8

📍 แผนที่ที่ใช้งาน: ดันเจี้ยนหอคอยครูม่า เช่น Cruma#4F, Cruma#5F, Cruma#6F

📍 Applicable Maps: Cruma Tower dungeons (e.g. Cruma#4F, Cruma#5F, Cruma#6F).

⚙️ กลไกการทำงานของบอท:
1. บอทเปิดเมนูดันเจี้ยนในเกม แล้วคลิกไปที่แท็บ Favorites
2. บอทเลือกดันเจี้ยนหอคอยครูม่าในช่องที่ favIndex (1 ถึง 3)
3. บอทคลิกลูกศรเลือกระดับชั้นตามค่า floorIndex (เช่น ชั้น 4, 5 หรือ 6)
4. บอทกดยืนยันเพื่อวาร์ปเข้าสู่ชั้นที่ต้องการ

⚙️ How it Works: Opens Dungeon Menu → Favorites Tab → selects slot favIndex (1-3) → selects floor arrow floorIndex → confirms entry.

🔧 การตั้งค่าใน Map Editor:
• ฟังก์ชันใน Dropdown: เลือก 🏰 go_fav_dun
• ช่องที่ 1 (ช่อง Favorites): ใส่ลำดับช่องดันเจี้ยนในแท็บ Favorite (1-3, ปกติคือ 1)
• ช่องที่ 2 (ชั้น): ใส่ระดับชั้น (เช่น 4 สำหรับ Cruma#4F, 5 สำหรับ Cruma#5F หรือเว้นว่างหากเป็นชั้นล่างสุด)
• Delay แนะนำ: ตั้งเป็น 5s

🔧 Configuration: Dropdown: 🏰 go_fav_dun | Fav Slot: 1 | Floor: 4/5/6 | Delay: 5s

In-game Cruma Tower Favorites Setup

📌 ภาพหน้าจอจริงในเกม: เปิดเมนูดันเจี้ยน → แท็บ Favorites → ลำดับดันเจี้ยน (1, 2, 3) และรายการ Teleport List เลือกระดับชั้น (1F-6F)

📌 Real in-game capture: Dungeon Menu → Favorites Tab → Dungeon slot (1, 2, 3) & Teleport List floor index (1F-6F).

🏢 4. ฟังก์ชัน $go_floor(floorNumber) (เลือกชั้นหอคอยโอหัง / Tower of Insolence)

🏢 4. Function $go_floor(floorNumber) (Tower of Insolence Floors)

Hotkey: Ctrl+F8

📍 แผนที่ที่ใช้งาน: หอคอยโอหัง Tower of Insolence (ชั้น 1 ถึง 6)

📍 Applicable Maps: Tower of Insolence (Floors 1 through 6).

⚙️ กลไกการทำงานของบอท:
1. บอทเปิดหน้าต่างเมนูหอคอยโอหัง
2. บอทเลื่อนและคลิกเลือกชั้นที่ระบุตามค่า floorNumber (1 ถึง 6)
3. บอทกดปุ่มยืนยันเพื่อวาร์ปเข้าสู่ชั้นหอคอยเป้าหมาย

⚙️ How it Works: Opens Insolence Menu → clicks target floor floorNumber (1-6) → confirms entry.

🔧 การตั้งค่าใน Map Editor:
• ฟังก์ชันใน Dropdown: เลือก 🏢 go_floor
• ช่องตัวเลข: ใส่หมายเลขชั้นที่ต้องการเข้า (เช่น 1 สำหรับ Insolence#1, 4 สำหรับ Insolence#4)
• Delay แนะนำ: ตั้งเป็น 5s

🔧 Configuration: Dropdown: 🏢 go_floor | Floor: 1-6 | Delay: 5s

In-game Tower of Insolence Floor Selector

📌 ภาพหน้าจอจริงในเกม: เมนูเลือกชั้นหอคอยโอหัง (Tower of Insolence) → ไอคอนใบวาร์ปเลือกระดับชั้น 1 ถึง 6

📌 Real in-game capture: Tower of Insolence floor selection scrolls → floor numbers 1 through 6.

🧑 5. ฟังก์ชัน $go_npc(type, index) (คุยกับ NPC วาร์ปในเมือง)

🧑 5. Function $go_npc(type, index) (Town NPC Interaction)

Hotkey: Ctrl+F8

📍 แผนที่ที่ใช้งาน: แผนที่ที่ต้องคุยกับ NPC ในเมืองเพื่อเข้าพื้นที่ เช่น Arena (อารีน่า), Demonic Island (เกาะปีศาจ), Harnak (ฮาร์แนค)

📍 Applicable Maps: Zones entered via Town Teleport NPCs (e.g. Arena, Demonic Island, Harnak).

⚙️ กลไกการทำงานของบอท:
1. บอทเปิดแถบรายชื่อ NPC ประจำเมือง
2. บอทค้นหา NPC ตามประเภทที่ระบุใน type (เช่น tp = เทเลพอร์ตเตอร์, bag = คลังเก็บของ, gift = แลกรางวัล) ลำดับที่ index
3. บอทสั่งให้ตัวละครวิ่งไปหา NPC แล้วกดสนทนาเพื่อส่งตัวละครเข้าสู่ดันเจี้ยน

⚙️ How it Works: Opens Town NPC directory → finds NPC by category type (tp, bag, gift) index index → talks to NPC to enter map.

🔧 การตั้งค่าใน Map Editor:
• ฟังก์ชันใน Dropdown: เลือก 🧑 go_npc
• Dropdown ประเภท NPC: เลือก tp (Teleport NPC)
• ช่องตัวเลขลำดับ: ใส่หมายเลข 1
• Delay แนะนำ: ตั้งเป็น 5s

🔧 Configuration: Dropdown: 🧑 go_npc | Type: tp | Index: 1 | Delay: 5s

In-game Town NPC Warp List

📌 ภาพหน้าจอจริงในเกม: แถบรายชื่อ NPC ในเมือง → ปุ่มไอคอนวาร์ป Teleport ลำดับที่ 1, 2, 3, 4

📌 Real in-game capture: Town NPC list → Teleport NPC indices 1, 2, 3, 4.

go_npc Map Editor Config

การตั้งค่า Step #1 เป็น $go_npc('tp', 1) ใน Map Editor

Configuring Step #1 as $go_npc('tp', 1) in Map Editor

Arena Map Setup

ตัวอย่างการตั้งพิกัดจุดฟาร์มใน Arena (อารีน่า)

Example farming spot setup on the Arena map

⚙️ 6. ฟังก์ชัน custom (คำสั่งมาโครที่กำหนดเอง)

⚙️ 6. Option custom (Custom Key or Function)

Custom Keys

📍 การใช้งาน: สำหรับผู้เล่นระดับสูงที่ต้องการระบุปุ่มคีย์ลัดเดี่ยว (เช่น F1, ESC, CTRL+1) หรือคำสั่งมาโครพิเศษเพิ่มเติมด้วยตัวเองก่อนที่สเต็ป Auto Navigate จะทำงาน

📍 Usage: For advanced users needing custom hotkeys (e.g. F1, ESC, CTRL+1) or specialized macros prior to navigation.

⚡ ACTION ZONES (ระบบเรียกใช้มาโครอัตโนมัติตามพื้นที่เดินผ่าน)

⚡ 8.3 คู่มือการตั้งค่า Action Zones (Automated In-Transit Macro Trigger)

⚡ 8.3 Action Zones Configuration Guide (Automated In-Transit Macro Trigger)

Action Zones (พื้นที่แอ็กชันอัตโนมัติ) คือระบบตรวจจับตำแหน่งอัจฉริยะใน Map Editor ที่ช่วยให้คุณกำหนดกรอบหรือวงกลมบนเส้นทางเดิน เมื่อตัวละครกำลังเดินนำทางอัตโนมัติ (Auto Navigate) แล้วก้าวเท้าผ่านเข้ามาในบริเวณโซนนี้ บอทจะ สั่งรัน Macro ที่ผูกไว้ทันที 1 ครั้ง (เช่น การสั่งกดสกิล หายตัว / พรางตัว (Stealth) คีย์ลัด Ctrl+Shift+F7 เพื่อหลบมอนสเตอร์อันตรายหรือผู้เล่นอื่นก่อนจะก้าวเข้าสู่จุดฟาร์มเป้าหมาย)

Action Zones are visual trigger boundaries defined within the Map Editor. While the character is navigating autonomously (Auto Navigate) along its calculated route, crossing into these designated trigger zones immediately executes an assigned Macro sequence (e.g. triggering the Stealth / Invisibility skill via Ctrl+Shift+F7 to bypass aggressive mobs or hostile players right before arriving at your farming destination).

Map Editor Action Zones Full Interface

📌 ภาพหน้าจอจริง: เมนูแท็บ "⚡ Action Zones" ทางด้านซ้าย และการแสดงผลวงกลมขอบเขตเส้นประพร้อมไอคอนสายฟ้า ⚡ [Ctrl+Shift+F7] Zone 1 บน Canvas

📌 Real Map Editor Interface: "⚡ Action Zones" tab on the left panel, and interactive dashed trigger circle ⚡ [Ctrl+Shift+F7] Zone 1 on the canvas.

🎛️ 1. แผงควบคุมและตั้งค่าโซน (Zone Settings Panel)

🎛️ 1. Zone Settings & Step Configuration Panel

Action Zones Settings Panel

ภาพเจาะลึก: แผงควบคุม Shape, พิกัด, Macro Selector และตารางแก้ไขสเต็ปมาโครในตัว

Detail view: Shape selector, coordinates, macro dropdown, and inline step editor

  • ปุ่ม ⚡ Action Zones: อยู่ตรงกลางระหว่างแท็บ Spots และ Macros
  • ⚡ Action Zones Tab: Centered between Spots and Macros tabs.
  • ปุ่ม + New Zone: กดเพื่อสร้างโซนใหม่บนแผนที่ที่เปิดอยู่
  • + New Zone: Click to instantiate a new trigger boundary.
  • Checkbox เปิด/ปิด & ปุ่มลบ: ติ๊กเครื่องหมายถูกเพื่อเปิดใช้งาน หรือกดปุ่ม ลบ สีแดงเมื่อไม่ต้องการ
  • Toggle & Delete: Checkbox enables/disables the zone; red delete button removes it.

🗺️ 2. การแสดงผลและการลากปรับบน Canvas (Interactive Canvas)

🗺️ 2. Interactive Canvas Visualisation

Action Zones Canvas Visualization

ภาพเจาะลึก: กรอบเส้นประวงกลมครอบคลุมทางเดิน นำทางเข้าหาจุดฟาร์ม Default

Detail view: Dashed circular trigger encompassing the corridor leading to the Default spot

  • จุดกึ่งกลางสีฟ้า (Center Dot): สามารถคลิกลาก (Drag & Drop) เพื่อเลื่อนตำแหน่งจุดตรวจจับได้อย่างอิสระ
  • Center Anchor Dot: Click and drag to effortlessly reposition the zone.
  • เส้นประแสดงรัศมี (Dashed Boundary): คลิกลากขอบเพื่อขยายหรือย่อขนาดรัศมีการตรวจจับให้พอดีกับทางเดิน
  • Dashed Radius Ring: Drag edge to scale the detection radius to fit corridor width.
  • ป้ายกำกับโซน: แสดงชื่อโซนและคีย์ลัดที่ผูกไว้ชัดเจน เช่น ⚡ [Ctrl+Shift+F7] Zone 1
  • Zone Badge: Visual tag displaying the active hotkey and zone identifier.

📋 รายละเอียดการตั้งค่าพารามิเตอร์ของ Action Zone (Zone Parameter Breakdown):

📋 Action Zone Parameter Breakdown:

พารามิเตอร์ (Parameter) ตัวเลือก / ค่าที่รองรับ คำอธิบายการทำงาน
รูปทรงพื้นที่ (Shape) วงกลม (Circle) หรือ กรอบสี่เหลี่ยม (Box) เลือกรูปทรงการตรวจจับ: วงกลม เหมาะสำหรับพื้นที่กว้าง ทางแยก หรือรอบจุดวาร์ป / สี่เหลี่ยม เหมาะสำหรับทางเดินตรง ช่องแคบ หรือสะพาน Boundary geometry: Circle (defined by Center X, Y and Radius R) or Box (defined by Center X, Y and Width/Height W/H)
พิกัดศูนย์กลาง & ขนาด Center X, Center Y, รัศมี (R) / W, H ตัวเลขพิกัดจริงบนแผนที่ สามารถพิมพ์กรอกตัวเลขโดยตรง หรือคลิกลากปรับบนจอ Canvas แผนที่ได้แบบเรียลไทม์ Actual coordinates matching in-game map pixels; editable directly via inputs or interactive canvas drag
เรียกใช้ Macro เมื่อตัวละครเข้ากรอบ Dropdown เลือก Macro (เช่น Ctrl+Shift+F7) เลือกชุดคำสั่งมาโครที่ต้องการให้สั่งรันเมื่อก้าวเข้ามาในโซน ระบบมีค่า Default แนะนำเป็น Ctrl+Shift+F7 (สกิลหายตัว Default) Assigns the trigger macro sequence. Defaults to Ctrl+Shift+F7 (Stealth Macro)
Macro Setup (Inline Editor) Key, Delay (ms), + Add Step แก้ไขปุ่มและเวลาดีเลย์ของมาโครได้โดยตรงในหน้านี้ทันที ไม่ต้องสลับไปหน้า Macro Studio สามารถเพิ่ม/ลดสเต็ป และปรับลำดับได้อิสระ Integrated inline macro editor allowing step additions, keystroke remapping, delay adjustments, and reordering
🛡️ กลไกความปลอดภัยอัจฉริยะในการรัน Action Zone (Smart Autonomous Safeguards)
  • Trigger Once per Route (ไม่กดย้ำซ้ำซ้อน): ในระหว่างการเดินนำทาง 1 รอบ เมื่อตัวละครเหยียบเข้าโซนและมาโครถูกสั่งรันแล้ว ระบบจะบันทึกรหัสโซนไว้ใน triggered_nav_zones ทำให้บอทจะไม่สั่งรันมาโครซ้ำอีก แม้ตัวละครจะยังคงเดินอยู่ภายในโซนนั้นจนกว่าจะจบรอบการเดิน
  • Trigger Once per Route: During an active navigation session, once a zone fires its macro, its ID is flagged in triggered_nav_zones, preventing redundant multi-casting while character remains within zone boundaries.
  • รองรับหลายโซนบนแผนที่เดียวกัน (Multi-Zone Support): สามารถกำหนดได้หลายโซน เช่น โซนที่ 1 กดบัฟเร่งความเร็วที่ปากทางเข้า, โซนที่ 2 กดสกิลหายตัวก่อนเลี้ยวเข้าห้องบอส/จุดฟาร์ม
  • Multi-Zone Stacking: Configure multiple distinct triggers across the route (e.g. Zone 1: Speed Buff at entry portal, Zone 2: Stealth skill before entering hostile room).
  • Lossless Cloud Sync 100%: ทุกการตั้งค่าในแท็บ Action Zones จะถูกบันทึกเข้าสู่ navigation_macro_zones ใน config.json และซิงค์ขึ้น Cloud อัตโนมัติเมื่อกด ☁️ Save to Cloud ไม่สูญหายแน่นอน
  • Lossless Cloud Sync: Zone geometries and inline macro parameters automatically serialize into navigation_macro_zones in config.json upon clicking ☁️ Save to Cloud.
📊 QUICK REFERENCE (ตารางสรุปการตั้งค่าทุกแผนที่)

📋 8.4 ตารางสรุปการจับคู่แผนที่และคำสั่ง Step #1 + Hotkey ที่แนะนำ

📋 8.4 Map & Step #1 Action Reference Matrix

ชื่อแผนที่ (Map Name) ฟังก์ชันใน Step #1 Hotkey แนะนำ Standard Config ข้อ 4 Delay แนะนำ
The Last Ground (ดินแดนสุดท้าย) $go_favorite_map(1) Ctrl+Shift+F8 ข้อ 3. เดินในแผนที่โลก 5s
Fire Dragon (มังกรเพลิง) $go_favorite_map(1) Ctrl+Shift+F8 ข้อ 3. เดินในแผนที่โลก 5s
Ancient Battleground (สมรภูมิโบราณ) $go_warp(1) Ctrl+Shift+F8 ข้อ 3. เดินในแผนที่โลก 5s
Tower of Insolence #1-6 (หอคอยโอหัง) $go_floor(1 ถึง 6) Ctrl+F8 ข้อ 2. เดินในหอคอยโอหังฯ 5s
Cruma #4F-6F (หอคอยครูม่า) $go_fav_dun(1, 4/5/6) Ctrl+F8 ข้อ 2. เดินในหอคอยโอหังฯ 5s
Arena (อารีน่า) $go_npc('tp', 1) Ctrl+F8 ข้อ 2. เดินในหอคอยโอหังฯ 5s
Demonic Island (เกาะปีศาจ) $go_npc('tp', 1) Ctrl+F8 ข้อ 2. เดินในหอคอยโอหังฯ 5s
Harnak (ฮาร์แนค) $go_npc('tp', 1) Ctrl+F8 ข้อ 2. เดินในหอคอยโอหังฯ 5s

ข้อ 9. 🗡️ คู่มือการตั้งค่าระบบฟาร์มดาบปีศาจ Zariche (Zariche Farming Setup Guide)

Step 9. 🗡️ Zariche Demon Sword Farming Setup Guide

✨ OVERVIEW & HOW IT WORKS (ภาพรวมการทำงาน)

🗡️ ระบบฟาร์มดาบปีศาจ Zariche อัตโนมัติ (Option 4.2)

🗡️ Automated Zariche Demon Sword Farming (Option 4.2)

ระบบจะช่วยให้บอทคอยเปิดแผนที่ตรวจสอบการเกิดของ ดาบปีศาจ Zariche ตามความถี่ที่กำหนดไว้ (Default: 30 วินาที) เมื่อพบดาบที่มีแสงสว่าง บอทจะทำการวาร์ปไปยังจุดเกิดอัตโนมัติ เปิด Auto Hunt โจมตีมอนสเตอร์รอบดาบ และเปิดเรดาร์ Macro F8 สแกนหาบอส เมื่อบอสปรากฏตัว บอทจะล็อกเป้าหมายที่ช่องบอสในแถบ Scan ทันที และหลังจากกำจัดบอสเสร็จจะรอเก็บไอเทม 10 วินาที หากไม่มีดาบเกิดต่อจะเดินทางกลับจุดฟาร์มเดิม (back_to_farm) อย่างปลอดภัย

The bot automatically opens the world map at specified intervals (Default: 30s) to detect glowing Zariche Demon Swords. Upon detection, it teleports to the location, activates Auto-Hunt against surrounding mobs, and triggers the Macro F8 radar scanner. When the Zariche boss appears, it locks onto the boss in the Scan bar, waits 10s after defeat to collect loot, checks for further active swords, and safely executes back_to_farm to return to your original farming spot.

⚠️ ข้อกำหนดสำคัญที่ต้องตั้งค่าในเกม (In-game Requirements)
⚠️ Critical In-Game Configuration Requirements

เพื่อให้บอทสามารถล็อกเป้าหมายบอส Zariche ได้อย่างถูกต้อง 100% และไม่หลุดไปตีมอนสเตอร์ทั่วไป จำเป็นต้องตั้งค่าในเกมตามหัวข้อ 9.1 และ 9.2 ด้านล่างนี้อย่างเคร่งครัด

For the bot to accurately lock onto the Zariche boss without straying to standard mobs, you must configure in-game settings strictly as described in sections 9.1 and 9.2 below.

🎯 STEP 9.1 (การตั้งค่าเป้าหมายในเกม)

9.1 🎮 การตั้งค่าลำดับความสำคัญเป้าหมาย (Auto-Hunt Target Priority)

9.1 🎮 Auto-Hunt Target Priority Setup

เข้าสู่เมนูในเกม: Settings (การตั้งค่า) > Combat (ต่อสู้) > Targeting (การกำหนดเป้าหมาย) จากนั้นเลื่อนหาหัวข้อ Auto-Hunt Target Priority

Navigate in-game to: Settings > Combat > Targeting, and scroll to Auto-Hunt Target Priority.

Zariche In-Game Targeting Priority Setup

ภาพการตั้งค่า Combat > Targeting > Auto-Hunt Target Priority: เปิดเฉพาะ Priority 1 ส่วนที่เหลือปิดทั้งหมด

Targeting settings: Enable Priority 1 (Scan number) ON, and set all others to OFF.

รายการการตั้งค่า (Option Name) ค่าที่ต้องตั้ง (Required Value) คำอธิบายเหตุผล (Reason & Description)
Priority 1 - Scan number ON (เปิด) ให้ระบบโจมตีอัตโนมัติล็อกเป้าหมายจากการสแกน (บอส Zariche) เป็นอันดับ 1 สูงสุด Forces Auto-Hunt to prioritize scanned targets (Zariche Boss) as highest priority
Priority 2 - Monsters attacking me OFF (ปิด) ปิดเพื่อไม่ให้ตัวละครหลุดโฟกัสไปตีมอนสเตอร์ทั่วไปที่กำลังรุมตีเราขณะบอสเกิด Prevents the character from switching away to mobs attacking during the boss fight
Priority 3 - Quest target OFF (ปิด) ปิดเพื่อไม่ให้ตัวละครวิ่งไปหามอนสเตอร์เควสต์รอบนอก Prevents wandering towards outside quest monsters
Priority 4 - Aggro monsters OFF (ปิด) ปิดเพื่อไม่ให้หลุดเป้าหมายไปยังมอนสเตอร์ดุร้ายรอบข้าง Prevents target switching to surrounding aggressive monsters
📡 STEP 9.2 (การตั้งค่าการสแกนในเกม)

9.2 📡 การตั้งค่าตัวกรองการสแกน (Scanning Filters Setup)

9.2 📡 Scanning Filters Setup

เข้าสู่เมนูในเกม: Settings (การตั้งค่า) > Combat (ต่อสู้) > Scanning (การสแกน) เพื่อกำหนดสิ่งที่ต้องการให้ปรากฏในแถบ Scan List

Navigate in-game to: Settings > Combat > Scanning to configure which targets appear in the Scan List.

Zariche In-Game Scanning Filter Setup

ภาพการตั้งค่า Combat > Scanning: เปิดเฉพาะ Special Monsters (ติ๊กถูก Boss Monsters) และปิด Players กับ Monsters ทั้งหมด

Scanning filters: Special Monsters ON (Boss Monsters checked only), Players OFF, Monsters OFF.

หมวดหมู่ (Category) สถานะ (Status) การตั้งค่าเพิ่มเติม (Sub-settings) เหตุผลสำคัญ (Why it is critical)
Special Monsters ON (เปิด) ☑️ Boss Monsters
⬜ Elite Monsters (เอาติ๊กออก)
เพื่อให้เฉพาะบอส Zariche เท่านั้นที่ปรากฏในแถบ Scan ข้างไอคอนถังขยะ Ensures only Zariche Bosses populate the scan list slot next to the trashcan anchor
Players OFF (ปิด) ปิดตัวเลือกผู้เล่นทั้งหมด ปิดเพื่อไม่ให้ผู้เล่นอื่นหรือศัตรูเข้ามาแย่งช่องในแถบ Scan ทำให้บอทมองไม่เห็นบอส Prevents other players from filling scan slots and obstructing boss detection
Monsters OFF (ปิด) ปิดตัวเลือกมอนสเตอร์ทั่วไปทั้งหมด ปิดเพื่อไม่ให้มอนสเตอร์รอบดาบเข้ามาในแถบ Scan รับประกันว่าแถบ Scan จะขึ้นเฉพาะตอนบอสเกิดจริง 100% Excludes surrounding mobs, guaranteeing the trashcan anchor triggers exclusively on real boss spawn
⚙️ STEP 9.3 (การตั้งค่าบอทและระบบความปลอดภัย)

9.3 ⚙️ การตั้งค่าในบอทและการป้องกันอัจฉริยะ (Bot Option 4.2 & Smart Safety)

9.3 ⚙️ Bot Configuration & Smart Safety Systems

1. การเปิดใช้งานในหน้า Standard Config / Config Editor:

1. Enabling in Standard Config / Config Editor:

  • เปิดสวิตช์ ข้อ 4.2 ฟาร์มดาบปีศาจ Zariche อัตโนมัติ (Auto-Farm Zariche)
  • Turn ON the switch for Option 4.2 Auto-Farm Zariche
  • กำหนด ความถี่ในการตรวจสอบ (Zariche Check Interval): ค่าเริ่มต้น 30 วินาที (ระบบจำกัดห้ามตั้งต่ำกว่า 10 วินาที เพื่อความปลอดภัย)
  • Set Zariche Check Interval (Seconds): Default is 30 seconds (minimum is hard-capped at 10s for safety)

2. ระบบความปลอดภัยอัจฉริยะที่บอททำงานให้อัตโนมัติ (Built-in Safety Protections):

2. Built-in Autonomous Safety Systems:

🌀 Teleport Transition Check

หลังกดยืนยันวาร์ป บอทจะตรวจสอบว่าแถบ HP และ Auto Hunt หายไป 1–3 วินาทีหรือไม่ หากพ้น 7 วินาทีแล้วยังคงเห็นอยู่ ("กดวาร์ปไม่ติด") บอทจะสั่งปิดแผนที่และเริ่มลูปเช็คใหม่ทันที ไม่มีการค้าง

Detects 1-3s disappearance of HP and Auto-Hunt icons. If still visible after 7s ("teleport click unregistered"), it aborts, safely closes the map, and restarts the check loop.

⏱️ 1-Minute Periodic Sword Check

ขณะ Auto Hunt รอการปรากฏตัวของบอส ทุกๆ 1 นาทีบอทจะเปิดแผนที่ตรวจว่าดาบยังอยู่หรือไม่ หากดาบหายไป (บอสตายแล้ว) จะปิด Auto Hunt และเรียก back_to_farm กลับจุดฟาร์มเดิมทันที ไม่ติดค้างที่แมพนั้น

Every 60s while awaiting boss spawn, the bot checks the map. If the sword vanished (boss was slain), it shuts off Auto-Hunt and immediately returns to farm via back_to_farm.

⏰ 10-Minute Timeout Protection

ปรับลดเวลาความปลอดภัยสูงสุดจาก 15 นาที เหลือ 10 นาที (600 วินาที) หากการฟาร์ม Zariche นานเกิน 10 นาที บอทจะถือว่าผิดปกติ สั่งปิด F8, ปิด Auto Hunt และกลับจุดฟาร์มเดิมทันที

Capped at 10 minutes (600s). Exceeding 10 minutes triggers emergency recovery: turns off F8 radar, disables Auto-Hunt, and invokes back_to_farm safely.

🛡️ Auto-Cancel Wrong Exit Dialog

หากมีการกด ESC หรือ Exit ผิดพลาดในหน้าจอ farm จนมีหน้าต่าง "Do you wish to quit the game?" บอทจะตรวจสอบตลอดเวลาทุกๆ 1.5 วินาที และคลิกปุ่ม Cancel ฝั่งซ้ายให้อัตโนมัติ

Monitored continuously every 1.5s in the main loop. If an accidental ESC or Exit produces the "quit the game" dialog, it automatically clicks the left Cancel button.

💖 Group Heal & Buff Grace Period

หากตัวละครกำลังใช้ Group Heal หรือระบบ BUFF (F2) อยู่ บอทจะยืดระยะเวลาเช็ค Zariche ออกไปจนกว่าจะเสร็จสิ้น และบวกเวลาคุ้มกันต่ออีก 5 วินาที เพื่อไม่ให้ขัดจังหวะการฮีล

Postpones Zariche checks whenever Group Heal or Buff (F2) is active, plus an extra 5-second grace period after closing to ensure full party survival.

⚡ Auto Trigger Macro Ctrl+Shift+F12

เมื่อวาร์ปถึงจุดเกิด Zariche บอทจะทำการเรียก Macro Ctrl+Shift+F12 ให้โดยอัตโนมัติ (Default: $found_boss() → $not_found_boss()) ผู้ใช้สามารถปรับแต่งลำดับสกิลหรือสลับอาวุธขณะบอสเกิด/ตายได้ตามต้องการ

Upon teleport landing at Zariche, macro Ctrl+Shift+F12 is autonomously triggered (default: $found_boss() → $not_found_boss()). You can customize weapon swaps or burst skill rotations during boss spawn and defeat.

🗡️ Bottommost Sword Priority

หากตรวจพบดาบ Zariche ส่องแสงพร้อมกันมากกว่า 1 เล่มบนแผนที่ (ไล่จากบนลงล่าง) บอทจะทำการคลิกเลือกดาบเล่มที่อยู่ ล่างสุด (Bottommost) เสมอ

If multiple glowing Zariche swords are detected on the map, the bot prioritizes and clicks the bottommost sword.

ข้อ 10. ⚡ คลังฟังก์ชันมาโครระดับสูง (Advanced Macro Functions Library - $Functions)

Step 10. ⚡ Advanced Macro Functions Library ($Functions)

✨ MACRO FUNCTIONS SYSTEM (สเต็ปคำสั่งฟังก์ชันพิเศษ)

⚡ การทำงานของคำสั่งพิเศษนำหน้าด้วยสัญลักษณ์ $ ใน Macro

⚡ Overview of Special $ Function Calls in Macros

นอกเหนือจากการกดปุ่มคีย์บอร์ดเดี่ยว (เช่น 1, z, F5) แล้ว ระบบ Macro Studio, Map Editor และ Action Zones ของบอทยังรองรับการระบุ ฟังก์ชันคำสั่งพิเศษ (Macro Functions) ที่ขึ้นต้นด้วยเครื่องหมาย $ โดยระบบจะทำการตรวจจับและเรียกใช้ฟังก์ชัน Python ภายในตัวบอทให้โดยอัตโนมัติ ช่วยให้คุณสามารถสร้างมาโครที่มีความฉลาดสูง เช่น การสั่งนำทาง, การรอเงื่อนไขเลือด, การสลับพรีเซ็ต, หรือการบล็อกรอจนกว่าตัวละครจะเดินถึงจุดหมาย

Beyond simple keypresses (e.g. 1, z, F5), the bot's Macro Studio, Map Editor, and Action Zones support Special Macro Functions prefixed with $. The macro engine intercepts these commands and executes internal Python bot functions autonomously. This unlocks advanced automation capabilities such as autonomous navigation, condition-based HP polling, automatic preset swapping, and synchronized destination arrival waits.

📌 รูปแบบไวยากรณ์ (Syntax & Parameters):
📌 Command Syntax & Parameters:
  • ฟังก์ชันไม่มีพารามิเตอร์: เขียนชื่อฟังก์ชันได้โดยตรง เช่น $reload_config หรือ $wait_group_heal_ready()
  • Parameterless Functions: Specify directly, e.g. $reload_config or $wait_group_heal_ready()
  • ฟังก์ชันที่มีพารามิเตอร์: ใส่ค่าในวงเล็บ คั่นด้วยเครื่องหมายจุลภาค , รองรับตัวเลขจำนวนเต็ม (int), ทศนิยม (float), ค่าจริงเท็จ (boolean), และข้อความ (string) เช่น $check_in_position(8), $wait_own_hp_below(0.70), $go_npc('tp', 1)
  • Parameterized Functions: Pass arguments inside parentheses separated by commas, supporting integers, floats, booleans, and strings (e.g. $check_in_position(8), $wait_own_hp_below(0.70), $go_npc('tp', 1)).
  • การหน่วงเวลา (Delay): ในแต่ละ Step ยังคงสามารถกำหนดค่า Delay (เช่น 100ms, 500ms, 5s) ได้ตามปกติ โดยบอทจะรันฟังก์ชันให้เสร็จก่อน แล้วจึงหน่วงเวลาตามที่กำหนดก่อนไป Step ถัดไป
  • Delay Specification: Each step retains its independent Delay setting (e.g. 100ms, 5s); the bot executes the function and then waits for the specified delay before proceeding.
🗺️ GROUP 1: NAVIGATION & IN-TRANSIT (การเดินทางและการนำทาง)

10.1 🗺️ ฟังก์ชันการเดินทางและควบคุมการนำทาง (Navigation Functions)

10.1 🗺️ Navigation & Travel Macro Functions

🎯 $check_in_position(timeout=10)

Highlight New in V2.7.9+

การทำงานโดยละเอียด: เป็นฟังก์ชันที่ทำหน้าที่เป็น Synchronization Gate (ตัวกั้นจังหวะการเดิน) สำหรับมาโครที่ทำงานร่วมกับระบบนำทาง (Auto Navigate) เช่น ใน Action Zone หรือมาโครหลบหนี ฟังก์ชันนี้จะ บล็อกการทำงานของสเต็ปถัดไปไว้ชั่วคราว เพื่อรอจนกว่าตัวละครจะก้าวเดินไปถึงจุดหมายปลายทาง (Destination Reached หรือจุด Spot Center) จริงๆ ก่อน หรือจนกว่าการนำทางจะเสร็จสิ้น
• หากตัวละครเดินถึงจุดหมายอย่างรวดเร็ว (เช่น ใช้เวลาจริงเพียง 2.5 วินาที) บอทจะออกจากฟังก์ชันและเริ่มรันสเต็ปถัดไปทันทีโดยไม่ต้องรอครบเวลา
• หากติดขัดหรือเดินไม่ถึงภายในเวลาที่กำหนด เมื่อครบเวลา timeout (เช่น 8 หรือ 10 วินาที) บอทจะ Time out และปล่อยให้สเต็ปต่อไปทำงานทันที ป้องกันไม่ให้มาโครค้างตลอดไป

Detailed Mechanism: Operates as an intelligent Synchronization Gate during autonomous navigation. It halts execution of subsequent macro steps until the character physically reaches the designated destination spot (verified via NAV_DESTINATION_REACHED or navigation engine completion).
• If destination is reached early (e.g. 2.5s), it unlocks immediately without waiting for the full timeout.
• If obstructed, upon reaching the specified timeout limit (e.g. 8s or 10s), it safely times out and proceeds to the next step, preventing deadlocks.

พารามิเตอร์ (Parameters):
  • timeout (int หรือ float, ค่าเริ่มต้น: 10): เวลารอสูงสุดเป็นวินาที เช่น 8, 10, 15
💡 ตัวอย่างการใช้งานจริงใน Action Zone (มาโครพรางตัวเข้าจุดฟาร์ม):
💡 Real-World Action Zone Example (Stealth Approach Routine):
#1: key = "z", delay = 300ms → ยกเลิกเป้าหมาย/หยุดการต่อสู้ชั่วคราว
#2: key = "1", delay = 100ms → กดสกิลหายตัว (Stealth / Invisibility)
#3: key = "$check_in_position(8)", delay = 50ms → รอให้ตัวละครเดินถึงจุดฟาร์ม (ไม่เกิน 8 วินาที)
#4: key = "2", delay = 100ms → สลับอาวุธหลัก หรือเริ่มเปิดฉากโจมตีทันทีที่ถึงที่หมาย

🧭 $auto_navigate(map_name, route_name="Default", debug=0.9, order_mode="sequence")

การทำงาน: สั่งให้ระบบ Auto Navigate เริ่มต้นประมวลผลคำนวณเส้นทางเดินและหลบหลีกสิ่งกีดขวางบนแผนที่จริง โดยเปรียบเทียบพิกัดแบบ Dynamic กับมินิแมพเพื่อนำพาตัวละครเดินไปยังจุดฟาร์มที่ระบุ มีระบบตรวจจับคำขอซ้อนเพื่อป้องกันการทำงานซ้ำซ้อน

Functionality: Initiates autonomous pathfinding and obstacle avoidance towards specified farming spots. Uses dynamic minimap template matching with concurrency guards.

พารามิเตอร์: map_name (ชื่อไฟล์แผนที่ เช่น "Fire Dragon.jpg"), route_name (ชื่อจุดฟาร์ม เช่น "Default" หรือ "Spot 1"), debug (Threshold ความแม่นยำ เช่น 0.9), order_mode ("sequence" หรือ "random")
ตัวอย่าง: $auto_navigate("Fire Dragon.jpg", "Default", 0.9, "sequence")

⭐ $go_favorite_map(fav_number)

การทำงาน: เปิดแผนที่โลก (World Map คีย์ลัด M) สลับไปที่แท็บรายการโปรด (Favorites รูปดาว) แล้วคลิกเลือกจุดวาร์ปในรายการที่ fav_number เพื่อวาร์ปเข้าสู่แผนที่

Functionality: Opens the World Map (M), switches to the Favorites tab, and executes the teleport for bookmark index fav_number.

พารามิเตอร์: fav_number (int): ลำดับช่อง Bookmark บนแผนที่โลก (1, 2, 3...)
ตัวอย่าง: $go_favorite_map(1)

📍 $go_warp(warp_index)

การทำงาน: เปิดเมนูจุดวาร์ปประจำแผนที่โลกของแผนที่นั้นๆ แล้วคลิกเทเลพอร์ตไปยังหมายเลขจุดวาร์ปที่ warp_index (เช่น Ancient Battleground)

Functionality: Warps to a designated waypoint slot warp_index from the standard zone teleport list.

พารามิเตอร์: warp_index (int): หมายเลขจุดวาร์ปในรายการ (1, 2...)
ตัวอย่าง: $go_warp(1)

🏰 $go_fav_dun(index, target_level=None)

การทำงาน: เปิดเมนูดันเจี้ยน > แท็บ Favorites เลือกช่องดันเจี้ยนลำดับที่ index และคลิกลูกศรเลือกระดับชั้น target_level (เช่น หอคอยครูม่า Cruma#4F, Cruma#5F)

Functionality: Navigates Dungeon Menu → Favorites tab → slot index → selects floor index arrow target_level.

พารามิเตอร์: index (ช่อง Favorites 1-3), target_level (ลำดับชั้น เช่น 4, 5 หรือ 6)
ตัวอย่าง: $go_fav_dun(1, 4)

🏢 $go_floor(floor)

การทำงาน: เปิดหน้าต่างเลือกชั้นหอคอยโอหัง (Tower of Insolence) แล้วคลิกเลือกชั้นที่ระบุตามค่า floor

Functionality: Opens the Tower of Insolence scroll floor menu and clicks target floor number floor.

พารามิเตอร์: floor (int หรือ str): หมายเลขชั้น เช่น 1, 2, 3, 4, 5, 6
ตัวอย่าง: $go_floor(1)

🧑 $go_npc(npc_type, target_index)

การทำงาน: เปิดแถบรายชื่อ NPC ประจำเมือง ค้นหา NPC ตามหมวดหมู่ npc_type ลำดับที่ target_index และสั่งให้ตัวละครวิ่งไปสนทนาเพื่อส่งตัวเข้าสู่แผนที่ (เช่น Arena, Demonic Island, Harnak)

Functionality: Opens town NPC directory, navigates to category npc_type index target_index, and interacts to enter the zone.

พารามิเตอร์: npc_type (หมวด NPC เช่น 'tp'), target_index (ลำดับ NPC เช่น 1)
ตัวอย่าง: $go_npc('tp', 1)
🛡️ GROUP 2: CONDITIONS & SYNCHRONIZED WAITS (การตรวจสอบเงื่อนไข & การรอ)

10.2 🛡️ ฟังก์ชันตรวจสอบเงื่อนไขและการรออัจฉริยะ (Wait & Condition Functions)

10.2 🛡️ Condition Checking & Synchronized Wait Macro Functions

กลุ่มฟังก์ชันนี้ใช้สำหรับ หยุดรอ (Blocking Wait) จนกว่าสถานะในเกมของตัวละครหรือปาร์ตี้จะเป็นไปตามเงื่อนไขที่กำหนด โดยมีระบบตรวจจับการยกเลิกมาโครทันทีเพื่อไม่ให้บอทค้าง

These functions perform synchronous blocking loops until the specified condition (e.g. HP threshold, safe zone, cooldown) is fulfilled, with instant macro-termination safety.

🩸 $wait_own_hp_below(threshold=0.95, condition=None)

การทำงาน: รอจนกว่าหลอด HP ของตัวละครเราจะลดต่ำกว่าเกณฑ์ % ที่ระบุ (ยืนยันติดต่อกัน 3 ครั้ง) จึงจะไปยังสเต็ปถัดไป หากระบุ condition จะต้องตรงเงื่อนไขสถานะนั้นด้วย ถ้ายังไม่ตรงเงื่อนไขจะวนรออยู่ที่สเต็ปนี้ จนกว่าเงื่อนไขทั้ง 2 ข้อจะเป็นจริง

Functionality: Blocks until player HP drops below threshold (verified across 3 consecutive checks). If condition is specified, character must ALSO satisfy the condition (e.g. hunting/town/stand); otherwise it will continue holding and waiting at this step.

พารามิเตอร์:
- threshold (float): % เลือด เช่น 0.60 (60%), 0.30 (30%) หรือตัวเลข 60
- condition (optional string): เงื่อนไขพิเศษควบคู่ ได้แก่ town (ต้องอยู่ในเมือง), hunt (ต้องกำลังล่ามอนสเตอร์ ปุ่ม Auto Hunt เป็นเขียวหรือแดง), stand (ต้องหยุดยืน ปุ่ม Auto Hunt เป็นสีเทา)
ตัวอย่าง:
- $wait_own_hp_below(0.70) → รอเลือดต่ำกว่า 70% ทำงานตามปกติ
- $wait_own_hp_below(0.60, hunt) → วนรอจนกว่า HP < 60% และ Auto Hunt เป็นสีเขียว/แดง จึงจะไปยัง step ถัดไป (ถ้าไม่เข้าเงื่อนไข จะวนรออยู่ที่ step นี้)
- $wait_own_hp_below(0.50, town) → วนรอจนกว่าจะอยู่ในเมืองและเลือดต่ำกว่า 50%

💚 $wait_own_hp_more_than(threshold=0.95, condition=None)

การทำงาน: รอจนกว่าหลอด HP ของตัวละครเราจะฟื้นฟูกลับขึ้นมามากกว่าเกณฑ์ % ที่กำหนด (ยืนยันติดต่อกัน 3 ครั้ง) จึงจะไปยังสเต็ปถัดไป หากระบุ condition จะต้องตรงเงื่อนไขสถานะนั้นด้วย ถ้ายังไม่ตรงเงื่อนไขจะวนรออยู่ที่สเต็ปนี้ จนกว่าเงื่อนไขทั้ง 2 ข้อจะเป็นจริง

Functionality: Blocks until player HP recovers above threshold (verified across 3 consecutive checks). If condition is specified, character must ALSO satisfy the condition; otherwise it will continue holding and waiting at this step.

พารามิเตอร์:
- threshold (float): % เลือด เช่น 0.95 (95%) หรือตัวเลข 95
- condition (optional string): เงื่อนไขพิเศษควบคู่ ได้แก่ town (ต้องอยู่ในเมือง), hunt (ต้องกำลังล่ามอนสเตอร์ ปุ่ม Auto Hunt เป็นเขียวหรือแดง), stand (ต้องหยุดยืน ปุ่ม Auto Hunt เป็นสีเทา)
ตัวอย่าง:
- $wait_own_hp_more_than(0.95) → รอให้เลือดเต็ม 95% ทำงานตามปกติ
- $wait_own_hp_more_than(0.95, town) → วนรอจนกว่า HP > 95% และ ต้องอยู่ในเมืองเท่านั้น ถึงจะข้ามไปต่อ (ถ้าอยู่นอกเมือง จะยังวนรออยู่ที่ step นี้)
- $wait_own_hp_more_than(0.80, stand) → วนรอจนกว่า Auto Hunt เป็นสีเทา (หยุดยืน) และเลือดมากกว่า 80%

👥 $wait_friend_hp_below(threshold=95)

การทำงาน: วนตรวจสอบแถบ HP ของเพื่อนร่วมปาร์ตี้ทุกคน (Party 1, 2, 3) โดยบล็อกรอจนกว่าจะมีเพื่อนคนใดคนหนึ่งมี HP ต่ำกว่าเกณฑ์ % ที่กำหนด

Functionality: Monitors party HP bars (Slots 1-3) and halts until at least one party member's HP drops below threshold.

พารามิเตอร์: threshold (int): % HP เพื่อน เช่น 85 (85%)
ตัวอย่าง: $wait_friend_hp_below(85) → รอให้เพื่อนเลือดลดต่ำกว่า 85% เพื่อสั่งเปิด Group Heal

🤝 $wait_friend_hp_above(threshold=92, timeout=6.0)

การทำงาน: รอจนกว่าเพื่อนทุกคนในปาร์ตี้จะมี HP ฟื้นฟูกลับขึ้นมามากกว่าหรือเท่ากับเกณฑ์ที่กำหนด หรือจนกว่าจะหมดเวลา timeout เพื่อสั่งปิด Group Heal ประหยัด MP

Functionality: Waits until all party members are healed to ≥ threshold or until timeout expires to trigger Group Heal shut-off.

พารามิเตอร์: threshold (int เช่น 92), timeout (float เช่น 6.0 วินาที)
ตัวอย่าง: $wait_friend_hp_above(92, 6.0)

⏳ $wait_group_heal_ready()

การทำงาน: ตรวจสอบสถานะคูลดาวน์ของสกิล Group Heal โดยรอจนกว่าไอคอนสกิลจะสว่างพร้อมใช้งาน จึงปล่อยให้สเต็ปถัดไปกดร่ายสกิล

Functionality: Blocks until the Group Heal skill icon becomes bright and off-cooldown.

ตัวอย่าง: $wait_group_heal_ready

🛡️ $wait_safe_icon(threshold=0.5)

การทำงาน: รอจนกว่าตัวละครจะเข้าสู่เขตปลอดภัย (Safe Zone ในเมือง) โดยตรวจจับไอคอนโล่/สัญลักษณ์ Safe Zone บนหน้าจอเกม

Functionality: Waits until the town Safe Zone icon is detected on screen.

ตัวอย่าง: $wait_safe_icon(0.5)

⚔️ $wait_until_attacked_hidden()

การทำงาน: บล็อกการทำงานจนกว่าสถานะการถูกโจมตี (ไฟแดงรอบจอ/Combat Aggro) จะหายไปทั้งหมด จึงเริ่มทำสเต็ปถัดไป

Functionality: Halts execution until all combat aggro indicators (red combat borders) completely subside.

ตัวอย่าง: $wait_until_attacked_hidden

🎯 $found_boss(timeout=600)

การทำงาน: บล็อกรอจนกว่าจะพบบอส Zariche ปรากฏตัวออกมา โดยตรวจจับการโผล่ขึ้นมาของ รูปไอคอนถังขยะในแถบ Scan เมื่อพบบอสจะส่งค่า True และปล่อยให้สเต็ปถัดไปทำงานทันที (เช่น สลับอาวุธ หรือเปิดสกิลบัฟพิเศษสู้บอส)

Functionality: Blocks until the Zariche boss spawns, verified by the appearance of the trashcan icon anchor in the scan bar. Returns True and proceeds to the next macro step.

พารามิเตอร์: timeout (int, ค่าเริ่มต้น: 600 วินาที หรือ 10 นาที)
ตัวอย่างใน Ctrl+Shift+F12: $found_boss() → สเต็ปต่อไปกด 1 (สลับอาวุธตีบอส)

🎉 $not_found_boss(timeout=600)

การทำงาน: บล็อกรอจนกว่าบอส Zariche จะถูกกำจัดและตายลง โดยตรวจจับว่า รูปถังขยะในแถบ Scan หายไปต่อเนื่องเกิน 3 วินาที เมื่อบอสตายจะส่งค่า True และปล่อยให้สเต็ปถัดไปทำงานทันที (เช่น สลับอาวุธกลับ หรือเตรียมเก็บไอเทม)

Functionality: Blocks until the Zariche boss is defeated, verified by the trashcan icon disappearing from the scan bar for over 3 seconds. Returns True and releases subsequent macro steps.

พารามิเตอร์: timeout (int, ค่าเริ่มต้น: 600 วินาที หรือ 10 นาที)
ตัวอย่างใน Ctrl+Shift+F12: $not_found_boss() → สเต็ปต่อไปกด 2 (สลับอาวุธฟาร์มหลักกลับ)

💤 $do_nothing(seconds=None)

การทำงาน: ใช้สำหรับใส่จังหวะพัก (Sleep / Delay) ในขั้นตอนของ Macro โดยไม่ทำอะไรเลย เหมาะสำหรับการสร้างช่องว่างเวลาระหว่างสเต็ป:
• หากระบุ seconds (เช่น $do_nothing(3.5)): ตัวบอทจะหน่วงเวลาหลับตามจำนวนวินาทีที่ระบุ (ตรวจจับคำสั่งหยุดมาโครทุก 100ms เพื่อความปลอดภัย ไม่ค้าง)
• หากไม่ระบุพารามิเตอร์ ($do_nothing() หรือ $do_nothing): จะผ่านฟังก์ชันทันที โดยปล่อยให้เวลาการหน่วงเป็นไปตามค่า Timeout ของสเต็ปมาโครในหน้า GUI ควบคุมเอง

Functionality: Serves as an intentional idle/sleep pause step within macro execution sequences:
• If seconds is specified (e.g. $do_nothing(3.5)): Sleeps for the exact specified duration with high-frequency stop cancellation checks.
• If called with no arguments ($do_nothing()): Immediately returns, delegating duration timing entirely to the macro step's configured Timeout setting in the GUI.

พารามิเตอร์: seconds (float/int, optional): ระยะเวลาหน่วง (วินาที) หรือเว้นว่างไว้เพื่อใช้ Timeout ของ Macro
ตัวอย่าง: $do_nothing(5) → พัก 5 วินาที หรือ $do_nothing() ควบคู่กับการตั้ง Timeout ใน GUI เป็น 10s
💖 GROUP 3: PARTY & GROUP HEAL (ระบบปาร์ตี้ & ฮีลหมู่)

10.3 💖 ฟังก์ชันควบคุมระบบ Group Heal และการซัพพอร์ตปาร์ตี้

10.3 💖 Group Heal & Party Support Macro Functions

🟢 $ensure_group_heal_on(max_retries=2)

การันตีเปิด Group Heal: ตรวจสอบสถานะการเปิด หากยังไม่เปิดจะกดปุ่มเปิด และตรวจสอบซ้ำให้มั่นใจ 100% ว่าเปิดติดแล้ว โดยไม่กดซ้ำหากเปิดอยู่แล้ว

Guarantees activation of Group Heal mode with state verification; skips if already ON.

ตัวอย่าง: $ensure_group_heal_on

🔴 $ensure_group_heal_off(max_retries=2)

การันตีปิด Group Heal: ตรวจสอบว่าหากระบบฮีลหมู่เปิดอยู่ จะสั่งกดปิดทันที และอัปเดตเวลาปิดเพื่อความปลอดภัยของระบบวาร์ป/เช็ค Zariche

Guarantees Group Heal shutdown; skips if already OFF and timestamps closure for safety grace periods.

ตัวอย่าง: $ensure_group_heal_off

🔄 $toggle_group_heal() / $on_off_group_heal()

สลับสถานะฮีลหมู่: สลับโหมด Auto Group Heal (กดครั้งแรกเปิด ON, กดซ้ำอีกครั้งปิด OFF)

Toggles Auto Group Heal active status (ON ↔ OFF).

ตัวอย่าง: $toggle_group_heal

🪄 $use_group_heal()

กดปุ่มสกิลฮีลหมู่ทันที: สั่งกดคีย์ลัดสกิล Group Heal ตามที่แมปไว้ใน Config (ปกติคือปุ่ม 3) ทันที 1 ครั้ง

Directly sends the mapped Group Heal hotkey (default 3) once.

ตัวอย่าง: $use_group_heal
⚔️ GROUP 4: COMBAT & PRESETS (การต่อสู้ สลับพรีเซ็ต & ไอเทม)

10.4 ⚔️ ฟังก์ชันการต่อสู้ สลับพรีเซ็ตอุปกรณ์ อาวุธ และไอเทม

10.4 ⚔️ Combat, Equipment Presets & Consumables

🛡️ $change_to_preset(preset_number=1, condition=None)

Smart UI Verification & Condition Check

การทำงานโดยละเอียด: สั่งสลับชุดอุปกรณ์/เซ็ตไอเทมในเกม (ช่อง Preset 1, 2 หรือ 3) อัตโนมัติ พร้อมระบบความปลอดภัยและการตรวจสอบเงื่อนไขก่อนสลับ:
1. ตรวจสอบเงื่อนไขพิเศษ (ถ้ามีระบุ): ตรวจสอบว่าตรงกับเงื่อนไขที่กำหนดหรือไม่ (เช่น ต้องอยู่ในเมือง หรือต้องกำลัง Auto Hunt อยู่) หากไม่ตรงเงื่อนไขจะยกเลิกการสลับทันทีเพื่อไม่รบกวนหน้าจอเกม
2. บอทกดเปิดเมนู Preset ในเกม
3. ตรวจสอบขอบปุ่ม Preset ว่าเป็นสีเทาพร้อมกดหรือไม่ (หากกำลังใช้งานอยู่แล้วหรือติดคูลดาวน์ บอทจะข้ามไปกดปิดหน้าต่างทันที ไม่กดย้ำ)
4. ตรวจสอบปุ่มปิดรูป 'X' แล้วคลิกปิดหน้าต่างอย่างสมบูรณ์ รองรับทุก Resolution (FHD/HD) และ HUD Scale (75%/100%)

Detailed Mechanism: Swaps equipment preset sets (Slots 1, 2, or 3) autonomously with condition-based checks and smart button state verification (checks gray border readiness to avoid duplicate clicking) and safely closes the menu via 'X' button recognition across FHD/HD and HUD scales.

พารามิเตอร์:
  • preset_number (int): หมายเลขชุด Preset ที่ต้องการเปลี่ยน (1, 2, หรือ 3)
  • condition (str, ไม่บังคับ): เงื่อนไขพิเศษในการสลับ Preset (หากไม่ระบุจะสลับทันทีเหมือนเดิม):
    • "town" : เปลี่ยน Preset นี้เมื่อตัวละครอยู่ในเมืองเท่านั้น (เช่น $change_to_preset(1, town))
    • "hunt" : เปลี่ยน Preset นี้เมื่อกำลังล่า/ตีมอนอยู่เท่านั้น โดยสถานะปุ่ม Auto Hunt ต้องเป็นสีเขียวหรือสีแดงเท่านั้น (เช่น $change_to_preset(2, hunt))
    • "stand" : เปลี่ยน Preset นี้เมื่อ Auto Hunt เป็นสีเทาเท่านั้น (บอทยืนนิ่ง/ไม่ได้เปิดออโต้ตีมอน) (เช่น $change_to_preset(1, stand))
ตัวอย่างการใช้งาน:
• $change_to_preset(1) - สลับเป็น Preset 1 เสมอ (รูปแบบเดิม)
• $change_to_preset(1, town) - สลับเป็น Preset 1 เมื่ออยู่ในเมืองเท่านั้น
• $change_to_preset(2, hunt) - สลับเป็น Preset 2 เมื่อกำลัง hunt (Auto Hunt สีแดง/เขียว)
• $change_to_preset(1, stand) - สลับเป็น Preset 1 เมื่อ Auto Hunt เป็นสีเทา

🎒 $loot_on / $loot_off

Auto Loot Settings Control

การทำงานโดยละเอียด: ควบคุมการตั้งค่าเปิด/ปิดระบบเก็บของขณะล่า (Loot while hunting) อัตโนมัติ โดยมีขั้นตอนตรวจสอบความแม่นยำสูง 6 ขั้นตอน:
1. เปิดเมนูหลัก: กดปุ่ม Open Menu (ค่าเริ่มต้น: ') และรอจนกระทั่งสไลด์เมนูปรากฏขึ้นทางขวา
2. กดปุ่มตั้งค่า (Settings Gear): คำนวณพิกัดและตรวจจับไอคอนฟันเฟืองด้านล่างสุดของสไลด์เมนู (รองรับทั้ง FHD 1080p, HD 900p, HUD 75% และ HUD 100%)
3. เลือกแท็บที่ 2: คลิกแท็บที่ 2 นับจากด้านบนสุดของแถบซ้าย โดยทำงานแบบอิสระจากภาษาในเกม (Language-independent ไม่ดูข้อความภาษาอังกฤษ)
4. ตรวจจับตำแหน่ง Looting (i): ค้นหาข้อความ/ไอคอนข้อมูล loot while hunting (i) ทางด้านขวาเพื่อระบุแถวการตั้งค่าอย่างแม่นยำ
5. ตรวจสอบสถานะและคลิกปุ่ม: ตรวจสอบความสว่างของปุ่ม (Active vs Inactive) หากต้องการ $loot_on ให้เลือก [ ON ] หากต้องการ $loot_off ให้เลือก [ OFF ] (หากตรงกับสถานะเป้าหมายอยู่แล้วจะไม่กดซ้ำ)
6. ปิดหน้าต่างตั้งค่า: กดปุ่ม Esc เพื่อปิดเมนู หากปิดไม่สำเร็จ จะคลิกที่ปุ่มลูกศรชี้ขวา ->] ที่มุมขวาบนของหน้าจอ
🛡️ ระบบ Retry: ทุกสเต็ปมีระบบตรวจสอบสถานะความสำเร็จ หากยังไม่สำเร็จจะทำการลองใหม่ (Retry) ต่อเนื่อง 10 วินาที โดยกดซ้ำวินาทีละ 1 ครั้ง

Detailed Mechanism: Toggles in-game "Loot while hunting" ON or OFF with a robust 6-step verified UI flow:
1. Open Menu: Presses open menu key (') and verifies slide-out panel appearance.
2. Click Settings: Locates and clicks the gear icon at the bottom of the slide menu across FHD/HD and 75%/100% HUD scales.
3. Select Tab 2: Selects the 2nd tab from the top on the left sidebar (strictly language-independent).
4. Locate Looting Info: Anchors to the loot while hunting (i) setting row.
5. Verify & Toggle: Measures button brightness states; clicks [ ON ] for $loot_on or [ OFF ] for $loot_off with state verification.
6. Safely Exit: Closes settings via Esc key or right-pointing arrow exit button (->]).
🛡️ 10s Retry Guard: Every step includes an automated 10-second retry loop with 1-second intervals if transitions fail.

พารามิเตอร์: ไม่มี (เรียกใช้งานในรูปแบบ Macro Action โดยตรง)
ตัวอย่างการใช้งาน: $loot_off (ปิดเก็บของก่อนลากมอนสเตอร์) → $loot_on (เปิดเก็บของเมื่อเริ่มเคลียร์)

⚔️ $ensure_auto_hunt_on(max_retries=3) / $ensure_auto_hunt_off(max_retries=3)

Idempotent Auto Hunt State

การทำงานโดยละเอียด: ฟังก์ชันรับประกันสถานะ Auto Hunt แบบ Idempotent โดยตรวจจับสถานะจริงของปุ่ม Auto Hunt บนหน้าจอก่อนกดเสมอ:
• ตรวจสอบสีของปุ่ม Auto Hunt (สีเขียว/สีแดง = กำลังเปิด ON, สีเทา = ปิดอยู่ OFF)
• หากสถานะตรงตามที่ต้องการอยู่แล้ว: จะคืนค่าทันที (0ms delay) โดยไม่มีการกดปุ่มซ้ำ เพื่อไม่ให้เกิดปัญหากดเปิดแล้วกลับกลายเป็นปิด
• หากสถานะไม่ตรงตามเป้าหมาย: จะกดปุ่ม Auto Hunt (ค่าเริ่มต้น: C) 1 ครั้ง แล้วรอตรวจสอบสีปุ่มซ้ำ หากยังไม่เปลี่ยนสถานะ จะทำการ Retry ซ้ำสูงสุดตามจำนวน max_retries (ค่าเริ่มต้น 3 ครั้ง)
• รองรับ Alias คำสะกดเดิม: $en_sure_auto_hunt_off() และ $en_sure_auto_hunt_on()

Detailed Mechanism: Idempotently enforces Auto Hunt ON or OFF by inspecting live button color (green/red = active ON, gray = inactive OFF):
• If already in the target state, immediately returns (0ms) without redundant keypresses.
• If state differs, presses keys.auto_hunt (default C) and verifies state transition with up to max_retries (default 3).
• Backwards compatible aliases: $en_sure_auto_hunt_off() and $en_sure_auto_hunt_on().

พารามิเตอร์: max_retries (int, ค่าเริ่มต้น: 3): จำนวนครั้งสูงสุดในการลองกดยืนยันสถานะใหม่
ตัวอย่างการใช้งาน: $ensure_auto_hunt_off() (มั่นใจได้ว่าปิดออโต้แน่นอนก่อนวาร์ป/เดิน) → $ensure_auto_hunt_on() (มั่นใจได้ว่าเปิดออโต้แน่นอนเมื่อถึงจุดฟาร์ม)
คำสั่ง (Function) ปุ่มคีย์ที่เรียกใช้ (Mapped Key) คำอธิบายการทำงาน (Description)
$use_main_weapon keys.use_main_weapon (Default: 2) สั่งสลับกลับมาถืออาวุธหลักทันทีSwitches to primary weapon hotkey
$use_staff_before_frozen keys.use_staff สั่งสลับถืออาวุธไม้เท้า/คทาก่อนร่ายสกิล BurstEquips staff weapon prior to casting frozen burst
$use_frozen_skill keys.use_frozen_skill (Default: 7) เรียกใช้สกิลแช่แข็ง/Frozen Burst บน Thread แยกเพื่อความเร็วสูงสุดFires frozen burst skill on dedicated thread
$use_heal keys.use_heal (Default: 4) สั่งกดสกิลฮีลเดี่ยวทันที 1 ครั้ง (มีระบบป้องกันไม่กดหากติดสถานะ Doom)Casts single heal skill (with Doom infection safety check)
$use_potion keys.use_potion (Default: 5) สั่งกดใช้ยาน้ำฟื้นฟูพลังชีวิตปกติ 1 ครั้งConsumes standard health potion once
$use_high_potion keys.use_high_potion (Default: 1) สั่งกดใช้ยาน้ำระดับสูง (ยาแดงใหญ่) ทันที 1 ครั้งConsumes high-tier health potion once
$use_radar keys.radar (Default: R) สั่งกดเปิด/ปิดเรดาร์สแกนหาเป้าหมายมอนสเตอร์/บอส (🛡️ Safety Guard: จะกดปุ่ม R ก็ต่อเมื่อตรวจพบทั้งหลอดเลือด HP และปุ่ม Auto Hunt บนหน้าจอเท่านั้น หากกำลังโหลดฉาก/วาร์ป/เปิดแผนที่จะข้ามการกดทันที) Toggles target radar scanner (🛡️ Safety Guard: only presses R when both HP bar and Auto Hunt button are visible; automatically pauses during loading/teleport/map screens).
$use_teleport(n=1) keys.teleport (Default: \) สั่งกดใช้ม้วนคัมภีร์เทเลพอร์ตสุ่มตำแหน่งตามจำนวนรอบ nExecutes random teleport scroll n times
$loot_on keys.open_menu (Default: ') สั่งเปิดการเก็บไอเทมขณะล่า (Loot while hunting ON) ผ่านเมนู Settings แท็บที่ 2 พร้อมระบบตรวจสอบ UI 6 ขั้นตอน และ Retry สูงสุด 10 วินาที Enables in-game "Loot while hunting" via Settings Tab 2 with 6-step verified UI flow and 10s retry safety
$loot_off keys.open_menu (Default: ') สั่งปิดการเก็บไอเทมขณะล่า (Loot while hunting OFF) ผ่านเมนู Settings แท็บที่ 2 พร้อมระบบตรวจสอบ UI 6 ขั้นตอน และ Retry สูงสุด 10 วินาที Disables in-game "Loot while hunting" via Settings Tab 2 with 6-step verified UI flow and 10s retry safety
$ensure_auto_hunt_on(max_retries=3) keys.auto_hunt (Default: C) ตรวจจับสีปุ่ม Auto Hunt และเปิดออโต้อย่างแน่นอนแบบ Idempotent (หากเปิดอยู่แล้วจะไม่กดซ้ำให้เสียจังหวะ) Idempotently ensures Auto Hunt is ON via button color detection (skips keypress if already active)
$ensure_auto_hunt_off(max_retries=3) keys.auto_hunt (Default: C) ตรวจจับสีปุ่ม Auto Hunt และปิดออโต้อย่างแน่นอนแบบ Idempotent (หากปิดอยู่แล้วจะไม่กดซ้ำ) [Alias: $en_sure_auto_hunt_off] Idempotently ensures Auto Hunt is OFF via button color detection (skips keypress if already inactive)
⚙️ GROUP 5: SYSTEM & BOT CONTROL (ควบคุมบอท & ยูทิลิตี้)

10.5 ⚙️ ฟังก์ชันควบคุมระบบบอทและความปลอดภัย (System & Bot Control)

10.5 ⚙️ System Utilities & Bot Control Functions

คำสั่ง (Function) พารามิเตอร์ การทำงานและประโยชน์ (How it Works)
$start_escape(reason) reason (str เช่น "Manual") สั่งเริ่มกระบวนการวาร์ปหนีฉุกเฉินกลับเมืองทันทีTriggers emergency escape warp back to town
$toggle_auto_return() ไม่มี สลับเปิด/ปิดสถานะ "กลับไปฟาร์มอัตโนมัติหลังจากหนี"Toggles auto-return to farm after escape
$toggle_check_feud() ไม่มี สลับเปิด/ปิดการตรวจสอบตราสัญลักษณ์สงครามศัตรู FeudToggles enemy Feud badge monitoring
$on_off_bot ไม่มี สลับเปิด/ปิดการทำงานของบอททั้งระบบ (เหมือนกด F1)Toggles master bot on/off state (equivalent to F1)
$on_off_heal ไม่มี สลับเปิด/ปิดระบบปั๊มยาอัตโนมัติToggles auto-potion system on/off
$on_off_fight_back ไม่มี สลับเปิด/ปิดระบบสู้กลับเมื่อถูกผู้เล่นอื่นโจมตีToggles auto fight-back defense system
$on_off_skill_rotation ไม่มี สลับเปิด/ปิดระบบหมุนเวียนสกิลอัตโนมัติToggles auto-skill rotation system
$save_ss(message) message (str ข้อความ Log) จับภาพหน้าจอเกม ณ ขณะนั้น แล้วส่งแจ้งเตือนเข้า Discord WebhookCaptures live screenshot and logs alert to Discord Webhook
$reload_config ไม่มี ดึงค่า Config ล่าสุดจาก Cloud มารีเฟรชในตัวบอทและลงทะเบียนฮอตคีย์ใหม่แบบเรียลไทม์Pulls latest Cloud config and hot-reloads all keyboard hooks live
$open_macro_gui ไม่มี เปิด/ปิดหน้าต่าง Macro GUI ลอยบนหน้าจอ (Draggable Controller)Toggles the floating draggable Macro GUI window