Skip to content
Projects

About

End Field automation based on ok-script

Productivity & Automation

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
+4
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_en.md

Original

ok-ef game automation tool logo

Downloads

downloads

ok-ef

An image-recognition-based automation tool for End Field, some actions support background mode (partial support; keyboard-operated actions are not supported), developed with ok-script.
Automates parts of End Field via screen recognition and simulated user inputs.

Operates by simulating Windows user input. No memory reading, no file modification.

Official Website: https://alicejump.github.io/ok-end-field/ (bilingual docs, feature guides, development & maintenance)

Platform GitHub release Total downloads Discord Website/Docs

中文说明 | English Readme


Demo & Tutorial:

YouTube


⚠️ Disclaimer

This software is an external assistance tool intended to automate parts of End Field. It interacts with the game by simulating normal user interface operations and complies with relevant laws and regulations. The project aims to reduce repetitive actions, does not break game balance or provide unfair advantages, and never modifies any game files or data.

This software is open-source and free for personal learning and communication only. Commercial or profit-oriented use is prohibited. The development team reserves the right of final interpretation. Any issues arising from use of this software are unrelated to the project or its developers.

According to the official fair-operation statement for End Field:

The use of any third-party tools that disrupt gameplay is strictly prohibited. We will severely penalize the use of cheats, accelerators, bot scripts, macro tools, etc. This includes but is not limited to auto-farming, skill acceleration, invincibility, teleportation, or game data modification. Once verified, we may take actions including but not limited to deducting illegal gains, freezing, or permanently banning accounts.

By using this software, you acknowledge that you have read, understood, and agreed to the above statement and assume all potential risks.

🚀 Quick Start

  1. Download the installer: From GitHub Releases, download the latest ok-ef-win32-Global-setup.exe installer.
  2. Install: Double-click ok-ef-win32-Global-setup.exe and follow the setup wizard.
  3. Run: Launch ok-ef from the desktop shortcut or Start Menu after installation.

📥 Download Sources

  • GitHub: Official release page with fast global access. (Download the setup.exe installer, not the Source Code archive)
  • Mirrorchyan: China mirror (may require a CD-KEY purchase).
  • Baidu Pan: Free download.
  • Quark Drive: Free download.

Runtime Requirements & Recommendations

  • OS: Windows
  • Game resolution: 16:9 at 1600×900 (900P) or above required; lower than 900P is not guaranteed to work
  • Language: some features currently support Simplified Chinese only
  • Privilege: run as Administrator recommended (required for source mode)
  • Path: prefer pure-English install/runtime path
  • Frame rate: stable 60 FPS recommended for combat and navigation tasks

Documentation


🎮 Feature Overview (by task type)

One-time tasks (manual click to run)

  • Daily Task: gift giving, outpost exchange, delivery handling, market trading, stamina farming, reward claim, and more
  • Stamina Farming: normal/high-tier stages, danger stages, heavy energy nodes, skill timeline support
  • Delivery Commission Pickup: filter by ticket type + reward range and auto pickup
  • Auto Delivery: Wuling delivery automation for 73.1k/79.8k/119k/159k/163k ticket targets
  • Warehouse Transfer: cross-warehouse batch transfer for selected items
  • Demo Draw: repeat draws at the demo platform until the level-change condition is met
  • Yingtuo Monument: complete all currently available normal stages
  • 启动一次游戏,120s后自动关闭: exact registered visible task name; scheduled pre-launch/check task. The 120s is the timeout for reaching the main screen; actual default behavior waits 15 seconds after reaching it, then exits
  • Realtime Detection: loop YOLO detection for model debugging
  • Test and Diagnosis: development and framework diagnostic tools

PeriodicScreenshotTask and other debug/test tasks are registered in the one-time task list. The former Graduation Essence task has been removed.

Trigger tasks (background loop detection, partial support)

  • Auto Combat: battle-state detection and automatic skill release
  • Auto Interaction: auto skip dialog + auto click teleport
  • Auto Pickup: whitelist pickup + blacklist filtering
  • Item Navigation: item gathering point navigation driven by the shared world.pose runtime state

Scheduled tasks

  • Daily Task, Auto Delivery, Yingtuo Monument, and 启动一次游戏,120s后自动关闭 declare built-in scheduling support
  • Windows Task Scheduler can also invoke any registered one-time task by its list index

🔧 Troubleshooting

If you encounter issues, check the following in order:

  1. Install path: Install under a pure English path (e.g., D:\Games\ok-ef). Avoid C:\Program Files or folders with non-ASCII characters.
  2. Antivirus: Add the install directory to your antivirus (including Windows Defender) allow-list to avoid deletion/quarantine.
  3. Display settings:
    • Disable all GPU filters (such as NVIDIA Game Filter) and sharpening features, unless certain features specifically require them.
    • Use the game’s default brightness settings.
    • Disable overlays (MSI Afterburner, FPS counters, etc.).
  4. Custom keybinds: If you changed in-game keybinds, sync them in ok-ef settings. Only listed keys are supported.
  5. Software version: Ensure you’re running the latest ok-ef release.
  6. Game performance: Keep the game at a stable 60 FPS. If unstable, lower graphics or resolution.
  7. Disconnects: If frequent, launch the game manually for 5 minutes before running this tool, or re-login directly after disconnect without exiting the game.
  8. Get help: If all above fails, submit a detailed error report via the community channels.
  9. Game/Software language: Some features support Simplified Chinese only.

🛠 Maintenance Zone

Maintenance Documentation

Document Description
Auto Delivery Area Maintenance Workflow Use when adding or adjusting delivery areas; explains how to maintain area data, template resources, and validation steps
Daily Gift Maintenance Workflow Use when adding character contacts or gift-giving features; explains how to add character data and contact templates
Master Data Maintenance Workflow Use when adding or adjusting game regions, stages, or product data; explains maintenance methods for all world data structures

💻 Developer Zone

Developer Documentation

Document Description
Quick Start Guide (QUICKSTART.md) Minimal workflow to run from source, launch the software, and create trigger/one-time tasks
Development Guide (DEVELOPMENT.md) Architecture, repository structure, task registration, testing, and release workflow
API Reference (API.md) Detailed API docs for BaseEfTask, Mixin, ScreenPosition, KeyConfigManager, and more
i18n & OCR Configuration Runtime locale, language JSON, OCR matching, and text-fix workflow
Keyboard System (键盘操作体系.md) Hotkey mapping, key binding conventions, and send_key exception list

Run from source (Python)

This project supports Python 3.12 only. Run CMD, PyCharm, or VSCode as Administrator. Dependencies are managed with uv (install uv first).

# If your first clone did not include submodules, initialize them first
git submodule update --init --recursive

# Create the virtual environment and install/update dependencies
uv sync

# Run Release version
uv run python main.py

# Run Debug version
uv run python main_debug.py

Command-line arguments

You can auto-start tasks via CLI:

CLI arguments are parsed by the underlying ok-script launcher. The project entry point main.py passes task configuration from src/config.py.

# Start after automatically executing the 1st task 'Daily Task' and exit upon completion
ok-ef.exe -t 1 -e
  • -t or --task: Automatically run the Nth task. 1 is the first task in the list src/config.py onetime_tasks, which is Daily Task.
  • -e or --exit: Exit automatically after the task completes.

Development debug & tests

# Run all scripts under tests/ (PowerShell)
./scripts/testing/run_tests.ps1

# Or run unittest case-by-case
python -m unittest tests/TestGameWindow.py

For OCR/template/color-recognition features, prefer debugging with main_debug.py and inspect logs/screenshots for faster diagnosis.

💬 Join Us

This project is built on ok-script, which is easy to maintain. Developers are welcome to build their own automation projects with ok-script.

🔗 Projects using ok-script

❤️ Sponsors & Acknowledgements

Contributors

Sponsors

Acknowledgements

Explore related projects

Loading…