SikuliX/OculiX inspired bot for Firestone - Idle Clicker
With my history into botting for various reasons (eggdrop/sikuli/greasemonkey/idlerpg (irc)/multirpg (irc) in my brain and the game actually allowing botting, I simply couldn't resist the temptation. While writing around happily I noticed some strange behaviour in sikulix, stuff missmatching etc, I had 2.0.4 running and thought, hey, let's update...
But sadly, new OculiX IDE looking shiny on my desktop, getting frustrated by the IDE itself (I mean c'mon, 2 ways to close a tab??), I noticed that old time bugs still didn't disappear. So I turned to Gemini AI. What came out of this extensive collaboration is what you are seeing here.
- Pure python using cv2, pyautogui, mss, pydirectinput amongst other imports.
- Requires the game running fullscreen on the primary monitor at 1920x1080 resolution.
- Internal timeout mechanisms to reduce cpu load by skipping tasks that are surely not going to appear for a while.
- Verification of task images before clicking.
- Ollama support (llama3.2(-vision)) preffered as it already knows the game and is fast and small.
- Auto maximize and disable gamebar on crazygames
- Caputres F5/Esc keypress in order to pause the bot
- Experiments (3 minutes before end for free)
- Transmute
- Opening chests
- Quests
- Talents
- Engineer:
- Pick up tools
- Firestone research:
- Claim finished tasks
- Start new researches
- Train guardians
- Enlighten guardians
- Evolving guardians
- Chaos of Rift upgrades
- Arcane Crystal:
- Spending a maximum of 5 pickaxes per run
- Awakening
- Bank:
- Perform max bank deposit
- Visit treasury
- Visit bank log
- Claim Locker rewards
- Chaos Rift:
- Fight monster
- Supplies
- Forbidden Knowledge:
- Perform upgrades and recruiting
- Guild expeditions
- Guild hall:
- Guild log
- Battle pass
- Mail:
- Claiming rewards
- Deleting claimed messages
- Upgrade heroes when possible
- On (re)start/empower, the upgrade multiplier is enforced to a configurable value
- Claim finished tasks (3 minutes before end for free)
- Pick new tasks in the order defined in config
- Campaign Battles:
- Pick up the loot
- Run daily liberation missions
- Pirates price
- Daily rewards
- Mystery box
- Scarab Game:
- Play the game
- Pickup scarab token
- Pickup pharao's vault
- Pickup scarab milestones
- Tavern Game:
- Play the game (spending a max of 10 tokens per run)
- Convert beer to tokens
- Collect when configurable percentage has been reached
- Below transmute (not yet unlocked)
- Arena of kings
- Engineer:
- Read selected crew setup (for Arena of kings)
- Garage:
- Upgrades
- Blueprints
- Rarity
- Index machines (for Arena of kings)
- Sell items
- Exotic upgrades
- Emblem market
- Tree of Life
- Equipment unlocking
- Gear enchanting
- Jewel enchanting
- Seals of power
- Hero rarity
- Meteorite Research
- Events
- Kill miner/dragons so they disappear quicker
- Campaign:
- Select battles
- anything
- Mercenaries
- Ancient artifacts:
- Upgrade
- Rarity
- Ensure you have at least Python 3.10 installed
- Install Tesseract
- Ensure python and tesseract are in your PATH
- Then:
git clone https://github.com/key2peace/firestone-bot.git
cd firestone-bot
pip install -r requirements.txt
- Run the code:
cd firestone-bot/src
python main.py
- Start the game and go full-screen
- When ready, press the Scroll-Lock key.
- If things go wrong -> Scroll-Lock
This code is released under the MIT License, for more details, see License All trademarks are property/copyright of their respected owners.