{"id":50606151,"url":"https://github.com/pmbstyle/rox-fishing","last_synced_at":"2026-06-05T23:01:41.603Z","repository":{"id":360083557,"uuid":"1248625641","full_name":"pmbstyle/rox-fishing","owner":"pmbstyle","description":"ROX Next generation fishing bot","archived":false,"fork":false,"pushed_at":"2026-05-24T22:18:59.000Z","size":186,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T00:23:38.284Z","etag":null,"topics":["automation","fishing-bot","python","ragnarok-online","rox"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmbstyle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-24T22:09:37.000Z","updated_at":"2026-05-24T22:19:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pmbstyle/rox-fishing","commit_stats":null,"previous_names":["pmbstyle/rox-fishing"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pmbstyle/rox-fishing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmbstyle%2Frox-fishing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmbstyle%2Frox-fishing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmbstyle%2Frox-fishing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmbstyle%2Frox-fishing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmbstyle","download_url":"https://codeload.github.com/pmbstyle/rox-fishing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmbstyle%2Frox-fishing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33962964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","fishing-bot","python","ragnarok-online","rox"],"created_at":"2026-06-05T23:01:40.801Z","updated_at":"2026-06-05T23:01:41.594Z","avatar_url":"https://github.com/pmbstyle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎣 ROX Autofish Pro\n\n**ROX Autofish Pro** is a modern, high-speed, and reliable auto-fishing bot designed specifically for **Ragnarok X: New Generation**. It features a stunning Premium Dark GUI built with CustomTkinter, neon status indicators, a live visual calibration preview, and a real-time console terminal.\n\nThe bot is designed with ultra-low latency reaction and uses hardware-level input simulation (DirectInput scan codes) to bypass game click-blocking mechanisms.\n\n\u003cp style=\"aling:center\"\u003e\n   \u003cimg src=\"https://github.com/user-attachments/assets/9eb339ab-98cb-47d4-8691-58d6ce3ac840\" /\u003e\n\u003c/p\u003e\n\n## ✨ Features\n\n*   **🖥️ CustomTkinter Premium GUI**: A beautiful, fluid dark theme featuring responsive sliders, segmented selectors, and clear visual organization.\n*   **🎯 Intelligent Auto-Calibration (OpenCV Template Matching)**: The bot automatically detects the exact position of the fishing action button on your screen, regardless of resolution or window size. No manual coordinate input required!\n*   **⚡ Ultra-Fast Reaction (HSV Bite Detection)**: Analyzes the cropped button region 30 times per second. The moment the green marker appears during a bite, the bot sends a click within milliseconds, guaranteeing a 100% catch rate.\n*   **👤 Humanized Interactions**: Randomized delay before casting (ranging from 100ms to 1000ms) and random click coordinate offsets (±8 pixels) prevent bot detection.\n*   **🎥 Real-Time Preview**: An interactive canvas displays the active button region in real-time, allowing you to visually monitor what the bot sees.\n*   **⌨️ Global Hotkeys**: Start (`F5`) and stop (`F6`) hooks run in the background globally—even when the bot window is minimized or you are actively in-game.\n*   **🧪 Test / Simulation Mode**: Allows you to safely test calibration and color detection algorithms on static screenshot files without running the actual game.\n*   **⚙️ Click Mechanisms**:\n    *   *Foreground Mode* (Recommended) — Focuses the game window and executes ultra-fast, hardware-level DirectInput clicks.\n    *   *Background Mode* (Experimental) — Recursively resolves and sends mouse events directly to the emulator's child rendering canvas handles, allowing you to run the bot on the background while using your PC.\n\n---\n\n\n## 🛠️ Requirements \u0026 Installation\n\nThe application requires **Python 3.10+** installed on Windows.\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/pmbstyle/rox-fishing.git\n   cd rox-fishing\n   ```\n\n2. Install all required dependencies:\n   ```bash\n   pip install customtkinter opencv-python pillow pywin32 mss pydirectinput keyboard\n   ```\n\n---\n\n## 🚀 How to Use\n\n\u003e [!IMPORTANT]\n\u003e **Run as Administrator**:\n\u003e If your game client or emulator runs with Administrator privileges (highly common for anti-cheat and emulators), Windows will block any mouse events or hotkeys simulated by lower-privileged programs.\n\u003e \n\u003e To bypass Windows UIPI protections, **you must open your terminal (PowerShell / Command Prompt) as Administrator** before running the bot!\n\n1. Open PowerShell / Command Prompt as **Administrator**.\n2. Run the application:\n   ```bash\n   python main.py\n   ```\n3. Select your game window (**Ragnarok X**) from the dropdown menu at the top.\n4. Click **CALIBRATE BUTTON** to allow the bot to locate the action button.\n5. Press **F5** (or click **START**) to begin auto-fishing.\n6. Press **F6** (or click **STOP**) at any time to immediately halt the bot.\n\n---\n\n## ⚙️ Configuration Parameters\n\n*   **Click Random Offset** — Radius in pixels for randomized click variance (prevents pixel-point pattern detection).\n*   **Cast Click Delay** — Range of randomized delay before casting the fishing rod.\n*   **Green Pixel Sensitivity** — Threshold for green pixel triggers (lower values trigger catch faster on early bite frames).\n*   **Click Mechanism Mode**:\n    *   *Foreground* — Standard DirectInput click. Brings the window to the front, clicks, and returns the cursor to its original position.\n    *   *Background* — PostMessage click. Emulates clicks silently on the background without interrupting your mouse cursor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmbstyle%2Frox-fishing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmbstyle%2Frox-fishing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmbstyle%2Frox-fishing/lists"}