Giter Club home page Giter Club logo

pokemeow-autoplay's Introduction

PokéMeow autoplay

This application is designed to automate the process of catching Pokemons in the popular Discord game, PokéMeow Utilizing Selenium and ChromeDriver.

image

Captcha solver

⚠️RapidApi service is no longer working.⚠️ To get local captcha solver you should get this running https://github.com/qqqwda/pokemeow-captcha-api and then change in config.ini

predict_captcha_url=http://localhost:5000/predict

Main Features

Wailord Gyarados Wailord

  • Hunting/Pokemon: ;p
  • Fishing: ;f 🎣
  • Battle: ;battle npc 1 (Recommend set Wailord lvl. 100) ;team set wailord 1
  • Explore: ;explore grass/fire 🗺️ (⚠️This feature is only for Pokémeow patreons! This is still in beta, might change in the future and EXPECT BUGS)
  • Captcha solver: captcha solver currently boasts around a 90% accuracy rate 🎯.

Extra Features

  • Inventory check: ;inv 🎒
  • Hatch Egg: ;egg hatch / ;egg hold image
  • Lootbox Open: ;lb all image
  • Quest reroll: ;q r {quest_id} 🔄 (reroll until is a catching related quest)
  • Screenshots: When finding a Shiny/Golden/Legendary it will take a screenshot 📷 and save it in screenshot folder (Set to True ENABLE_RUN_PICTURES to Enable)

Future Features

  • Research: ;res / ;res ex 🔍
  • Catchbot: ;cb run / ;cb
  • Release: ;release duplicates 🗑️
  • Daily: ;d
  • Swap: ;swap {pokemon_name}

Commands

  • Press Enter in console to resume program.
  • Press 'p' in console to PAUSE program.
  • Press 's' in console to SHOW SESSION STATISTICS.
  • Press 'b' in console to Enable/Disable BATTLE Task: ;battle npc 1.
  • Press 'f' in console to Enable/Disable FISHING Task: ;f.
  • Press 'h' in console to Enable/Disable HUNTING/CATCHING Task. ;p.
  • Press 'e' in console to Enable/Disable EXPLORE Task. ;explore fire/grass.

Click on this image or https://www.youtube.com/watch?v=ZH7YryYCqg4

🚀 Setup Instructions

Install Python >= 3.9

Get your API-KEY 🔑: PokeMeow Captcha Solver

Edit the run_account_example.bat (You can use Email and Password or Discord token):

pip install -r requirements.txt
set SESSION_NAME=account1
set [email protected]
set PASSWORD=strongpassword
set CHANNEL=https://discord.com/channels/id/channel
set API_KEY=RAPID-API-KEY
set DISCORD_TOKEN=DISCORD-TOKEN
set ENABLE_AUTO_BUY_BALLS=True
set ENABLE_AUTO_RELEASE_DUPLICATES=False
set ENABLE_AUTO_EGG_HATCH=True
set ENABLE_AUTO_LOOTBOX_OPEN=True
set ENABLE_AUTO_QUEST_REROLL=True
set ENABLE_FISHING=False
set ENABLE_BATTLE_NPC=False
set ENABLE_HUNTING=True
set ENABLE_EXPLORING=False
set ENABLE_CHROME_HEADLESS=True
set ENABLE_RUN_PICTURES=False
py main.py %0
pause
  • ENABLE_AUTO_BUY_BALLS enables ;s b {ball id} {ball amount}

  • ENABLE_AUTO_RELEASE_DUPLICATES TODO

  • ENABLE_AUTO_EGG_HATCH enables ;egg hold ;egg hatch when checks inventory

  • ENABLE_AUTO_LOOTBOX_OPEN enables ;lb all when it reaches 10 lootboxes or more

  • ENABLE_AUTO_QUEST_REROLL enables ;quest reroll [id] (Will reroll until a hunting quest related)

  • ENABLE_FISHING enables ;f

  • ENABLE_BATTLE_NPC enables ;battle npc 1

  • ENABLE_HUNTING enables main feature ;p

  • ENABLE_EXPLORING enables explore feature ;explore grass/fire

  • ENABLE_CHROME_HEADLESS enable this for better performance, if you enable this, the chromedriver will run in headless mode (Recommended)

  • ENABLE_RUN_PICTURES enable this if you want to save an image of every Legendary, Shiny or Golden that you caught, the image will be saved in screenshots folder

    Setup your settings config.ini

    [settings]
    rarity_emoji={
        "Legendary": "🔮", 
        "Shiny": "✨", 
        "Super": "★", 
        "Super Rare": "★ ★", 
        "Rare": "★", 
        "Uncommon": "♦",
        "Common": "●"
         }
    
    rarity_pokeball_mapping={
        "Legendary": "masterball",
        "Shiny": "masterball",
        "Super": "ultraball",
        "Super Rare": "ultraball", 
        "Rare": "greatball", 
        "Uncommon": "pokeball", 
        "Common": "pokeball"
        }
    
    pokemon_pokeball_mapping = {
        "Shieldon": "greatball",
        "Machoke": "greatball",
        "Magikarp": "greatball"
        }
    
    fishing_ball = greatball
    
    hunt_item_ball = ultraball
    
    fishing_shiny_golden_ball = masterball
    
    driver_path = webdrivers\Chrome\chromedriver.exe
    
    predict_captcha_url=https://pokemeow-captcha-solver.p.rapidapi.com/predict
    
    

To run just double click on run_account_example.bat file

Do you want to add another account?

Create another run_account_example_2.bat file

Get Discord Token Script

(webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()

⚠️ Disclaimer

Please note, while this bot is designed to automate tasks within PokeMeow, users are encouraged to use it responsibly and in accordance with the game's terms of service. The developer of this bot assumes no responsibility for any bans or penalties that may result from the use of this bot. Users should be aware of PokeMeow's rules and use the bot at their own risk.

pokemeow-autoplay's People

Contributors

loxonq avatar qqqwda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dong6968

pokemeow-autoplay's Issues

issue with create file/save user data

image
Hello, there is an issue. After a while, this error occurs. I don't know if it's important or not, but I thought I should report it just in case. The script has been running for 11 hours and I've captured more than 3500 Pokémon.

Logo for you script

Prototype
Hello, here is a small logo for your script so I don't know if you will be able to integrate it somewhere but here it is as a gift to thank you, if ever there are details or another idea that you would like, don't hesitate.
I put Auto Meow rather than pokemeow-autoplay, it was more aesthetic and nice. 1024*1024 pixel

Issue with Inventory

image_2024-05-19_073959444

�[32m05/17/2024 08:17:18 PM - [BlacKK] - Checking second page of inventory...�[0m
�[31m05/17/2024 08:17:19 PM - [BlacKK] - An error occurred while getting the inventory JSON: invalid literal for int() with base 10: 'X'�[0m
�[32m05/17/2024 08:17:19 PM - [BlacKK] - ❌Failed to get inventory.�[0m

There seems to be an error with the inventory due to the mega bracelet which returns a value of X. This results in the bot no longer executing the ';quest' command.

local captcha

Why don't you try solving captcha locally. I saw someone do it, I think you can try it

mix feature

can you add a feature that can mix between cath fish and battle ,i think it will keep the account hard to be banned

Battle config

Is there any way for me to change the battle to another npc?

Installation Doubt

C:\Users\prabh\Desktop\pokemeow-autoplay-develop>py main.py "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\run_account_example.bat"
Traceback (most recent call last):
File "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\main.py", line 1, in
from instances.bot_instance import bot, logger, driver, catch_statistics, settings
File "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\instances\bot_instance.py", line 1, in
from bot import Bot
File "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\bot.py", line 3, in
from commands.explore import Explore
File "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\commands\explore.py", line 1, in
from bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'

C:\Users\prabh\Desktop\pokemeow-autoplay-develop>pip3 install beautifulsoup4
Requirement already satisfied: beautifulsoup4 in c:\users\prabh\appdata\local\programs\python\python311\lib\site-packages (4.10.0)
Requirement already satisfied: soupsieve>1.2 in c:\users\prabh\appdata\local\programs\python\python311\lib\site-packages (from beautifulsoup4) (2.5)

Even after doing the above i get the same issue

C:\Users\prabh\Desktop\pokemeow-autoplay-develop>set ENABLE_CHROME_HEADLESS=True

C:\Users\prabh\Desktop\pokemeow-autoplay-develop>set ENABLE_RUN_PICTURES=False

C:\Users\prabh\Desktop\pokemeow-autoplay-develop>py main.py "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\run_account_example.bat"
Traceback (most recent call last):
File "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\main.py", line 1, in
from instances.bot_instance import bot, logger, driver, catch_statistics, settings
File "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\instances\bot_instance.py", line 1, in
from bot import Bot
File "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\bot.py", line 3, in
from commands.explore import Explore
File "C:\Users\prabh\Desktop\pokemeow-autoplay-develop\commands\explore.py", line 1, in
from bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'

Captcha Issue and addition of Event Pokemons

Request

When the program encounters a captcha it says "Waiting for you to solve captcha" and even if you solve it, it keeps spamming it in the program. I kindly request you to fix that and add a automatic captcha solver to this code.

Improvement

  1. The code needs a improvement like randomized time to type ";p", you can do sleep_time = random.uniform(12, 17).

Because without this randomized time it will keep encountering more and more captchas.

  1. One more thing is to edit the code for Event Exclusives, Goldens and Pokemon with held items.

Resets itself after every fish Caught

Seems like everytime i catch a fish the bot gives me an error code then resets itself by saying "Continuing to play" Delaying my bot for a good 15 seconds each time i catch a fish. Started happening out of nowhere. here is the error:

Pokemeow fish error

I never edited any files aside from the ./bat file to enable/disable fishing

I blurred out my Username in the files hence is why its censored.

Feature proposal

Hello, I am not sure if this will be relevant, but having the option to choose the language in which the script returns information or even for screenshots and other features would be great. Of course, this would be with the help of a volunteer for the language part. I can assist with translations into French myself. However, if this proposal doesn't interest you but you are open to suggestions, I might have other ideas. :)

api key

image
can you help me with this problem

issue or feature ? with explore

Hello, it's me again :) Is it possible to set up an automatic deactivation of the exploration once the exploration limit message is reached?
�[31m05/23/2024 08:34:25 PM - [BlacKK] - 🗺️ Something happened...�[0m
�[31m05/23/2024 08:34:25 PM - [BlacKK] - @luka
;explore grass
PokéMeow
APP
Aujourd’hui à 20:34
Uh oh! You have reached the daily ;explore limit! The beta test allows for 4,000 steps per day.
The limit will reset on 24 mai 2024 06:00�[0m

RapidAPI Sometimes not sending response

Howdy, There seems to be another bug issue i keep having. I gotta watch the bot as it hunts and fishes for whenever the captcha pops up. And when it does sometimes it won't send a response and time itself out, leaving me to have to jump in and complete it so i dont get banned. I will post a picture below:


pokemeow bot trouble 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.