KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
pixelsbot
★ 24
Open GitHub ↗
Farm Bot for pixels.xyz game
Download README (.md)
Explore Similar Repositories
qq-farm-bot
:
QQ经典农场机器人(安全增强版)
qq-farm-bot
:
qq经典农场
fintopio-airdrop-bot
:
An automation bot to complete tasks, check in daily, and farm on Fintopio for airdrop rewards.
qq-farm-bot
:
基于 NodeJS + Vue 3 的 QQ/微信经典农场小程序自动化脚本。通过分析小程序 WebSocket 通信协议(ProtocolBuffers),实现全自动农场管理,支持多种植策略、好友互动、任务系统等功能。
BloonsTD6Bot
:
BTD6 bot to farm instant monkeys during time-limited events.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
pixelsbot
?
Download (.md)
# THIS REPOSITORY IS NOT MAINTAINED ANYMORE I'm not updating this project anymore, but feel free to fork or pull request. # Farm Bot for pixels.xyz game This is a farm bot for pixels.xyz [For education purpose only] This will plant seeds and watering, wait for xx seconds and harvest for you infinity loop. Not yet imprement for official released (still looking for the best solution) You can go to your own farm or free farm plots at the north map (only 4 plots) and use popberry for starting. Then after you get enough money, you can get yourself own land and soils to have more plots to plant. # Requirements - Installed Python 2.7+ (https://www.python.org/downloads/) - OS: Windows 10 recommended # How to run 1. Install Python if you don't already installed. 2. Clone the repository to a folder on your PC. 3. Open Powershell and go to the folder that you extracted from step 2 4. Run this command in Powershell to install required libraries ```bash pip install -r requirements.txt ``` 5. Copy config.txt.default to config.txt file 6. Copy sample.default to sample folder 7. Captured your Pixels game screen and crop it just like sample images on each one (avatar.png will use your avatar with least background). 8. Start the bot by double click at pixelsbot.py or use command python pixelsbot.py in Powershell (You need to open the game at maximized on this step). 9. If it not doing right, you need to adjust configurations in config.txt to fir your screen. (You need to change the values and try few times until it works) This should be one time work. 10. If you want to stop you just open something to hide the game screen and close your running script window. ** You need to walk your avatar to be in range to farm (currently won't walk to the plots automatic) ** Don't forget to replace your sample folder with the new sample.default (You can copy only subfolder and files that you don't have in your sample folder) # Configuration There are default configurations that suit my screen, but you can adjust to suit your screen. Adjust values inside config.txt file to suit your screen and run bot smoothly. | Name | Description | Type | Default | Options | | --- | --- | --- | --- | --- | | PLANT_TYPE | Which plant to use | Option | popberry | popberry, carrot, butterberry, grainbow | | START_MAP_WALK_DIR | To move when start the new map in which direction | Option | down | down, up, left, right | | START_MAP_WALK_STEP | How many seconds will you walk at the start of the new map | Second | 0.1 | | | WARP_NEAR_DECISION | How many screen pixels to decide that you are near the warp enough to be able to go through it | Pixel | 150 | | | WARP_NEAR_STEP | How many seconds for each walk try to go to the warp | Second | 0.3 | | | WARP_NEAR_TRY_LIMIT | Maximum times to try to go to warp | Count | 100 | | | EMPTY_CONFIDENCE | Percentage confidence to find matching empty.png image on screen | Percentage | 0.6 | | | GROW1_CONFIDENCE | Percentage confidence to find matching grow1.png image on screen | Percentage | 0.8 | | | GROW2_CONFIDENCE | Percentage confidence to find matching grow2.png image on screen | Percentage | 0.8 | | | FULL_CONFIDENCE | Percentage confidence to find matching full.png image on screen | Percentage | 0.75 | | | DRY_CONFIDENCE | Percentage confidence to find matching dry.png image on screen | Percentage | 0.75 | | | ROTTEN_CONFIDENCE | Percentage confidence to find matching rotten.png image on screen | Percentage | 0.8 | | | ROTTEN2_CONFIDENCE | Percentage confidence to find matching rotten2.png image on screen | Percentage | 0.9 | | | FERTILIZE_CONFIDENCE | Percentage confidence to find matching fertilize.png image on screen | Percentage | 0.9 | | | WARP_CONFIDENCE | Percentage confidence to find matching warp.png image on screen | Percentage | 0.7 | | | AVATAR_CONFIDENCE | Percentage confidence to find matching avatar.png image on screen | Percentage | 0.9 | | | AVATAR2_CONFIDENCE | Percentage confidence to find matching avatar2.png image on screen | Percentage | 0.9 | | | REFILL_AMOUNT_PER_MAP | How many times to refill energy on each map | Count | 10 | | | WAIT_DURATION_AFTER_WARP | How many second to wait after warp | Second | 10 | | | WAIT_DURATION_AFTER_WATER | How many second to wait after water | Second | 60 | | | MOVEMENT_DURATION | How many second to move mouse from one position to another (For smooth movement) | Second | 0.3 | | | RANDOM_CLICK_SIZE | To prevent bot detection it will slightly random click position | Pixel | 5 | | | WALK_TO_ENABLED | (Alpha) Enable walk to target (plant, watering, harvest, fertilize) before do the action to prevent too far from target | Enable | 0 | 0,1 | | KEY_SHORTCUT_ENABLED | (Alpha) Enable use key shortcut to select tools instead of click on screen (This will be faster to do actions but need some specific config) | Enable | 0 | 0,1 | | KEY_SHORTCUT_WATERING | (Alpha) Shortcut key of the watering can (position of watering can in your inventory) | Number | 1 | 1-6 | | KEY_SHORTCUT_SCISSOR | (Alpha) Shortcut key of the scissor (position of scissor in your inventory) | Number | 2 | 1-6 | | KEY_SHORTCUT_SEED | (Alpha) Shortcut key of the seed (position of seed in your inventory) | Number | 3 | 1-6 | | KEY_SHORTCUT_FRUIT | (Alpha) Shortcut key of the fruit (position of fruit in your inventory) | Number | 4 | 1-6 | | KEY_SHORTCUT_FERTILIZE | (Alpha) Shortcut key of the fertilize (position of fertilize in your inventory) | Number | 5 | 1-6 | # Remarks - This bot is created very quickly and might have some glitchs or bugs. - If you would like to donate me that will be really appreciated. You can send ETH, DAI, USDT, USDC to this crypto currency wallet below: 0xbf20064C795362e7A87F6d21fe3C57Bd99e4a9A5 # Changelog ## v 0.0.12 + Added grainbow type sample image + You can now config PLANT_TYPE to grainbow + You can now config to use shortcut key to select tools instead of click on screen (Alpha) + Added `WALK_TO_ENABLED`config + Added `KEY_SHORTCUT_ENABLED`config + Added `KEY_SHORTCUT_WATERING`config + Added `KEY_SHORTCUT_SCISSOR`config + Added `KEY_SHORTCUT_SEED`config + Added `KEY_SHORTCUT_FRUIT`config + Added `KEY_SHORTCUT_FERTILIZE`config ## v 0.0.11 + Added popberry type sample image + Added butterberry type sample image + You can now config PLANT_TYPE to popberry or butterberry + Added watering system + Added dry.png sample image + Added `DRY_CONFIDENCE` config + Added `WAIT_AFTER_WATER` config + Added `MOVEMENT_DURATION` config - Disabled warp to next farm ## v 0.0.10 + Update support new version + Update avatar locate instead of name + Added avatar.png sample image + Added avatar2.png sample image + Added `AVATAR_CONFIDENCE` and `AVATAR2_CONFIDENCE` configs ## v 0.0.9 + Added plant type gold + Added `PLANT_TYPE` and `ROTTEN2_CONFIDENCE` configs ## v 0.0.8 + Added slight random click feature + Added `RANDOM_CLICK_SIZE` configs ## v 0.0.7 + Added rotten.png sample image + Added clean rotten out when harvest ## v 0.0.6 + Added `WAIT_DURATION_AFTER_WARP` configs ## v 0.0.5 + Added config file and sample default + Added `START_MAP_WALK_DIR` and `START_MAP_WALK_STEP` configs + Fixed error when character not found ## v 0.0.4 + Added fertilize bot to loop harvest, plant, fertilize, refill energy on the same map until run out of fertilize + Added sameple images of fertilize, grow1, grow2 ## v 0.0.3 + Added walk to warp feature to find most right warp on the screen and walk toward it ## v 0.0.1 + Inital project