Skip to content

Latest commit

 

History

History
182 lines (150 loc) · 10.8 KB

README.md

File metadata and controls

182 lines (150 loc) · 10.8 KB

The bot will always be free and I will update it as long as this method is viable. I've spent many hours creating the PTCGPB, and if it’s helped you complete your collection, consider buying me a coffee to keep me going and adding new features! https://buymeacoffee.com/aarturoo

Thanks for your support, and let’s keep those god packs coming! 😄

If you're having issues check the common issues section after the guide.

Arturo's Pokemon Trading Card Game Pocket Bot v5.0.1

Special thanks to all contributors! Thanks to everyone else who has helped test or has contributed their suggestions to make the bot better!

What does this do?

  • Rerolls accounts to 26 cards in under 3 mins from account creation to deletion stopping an instance if it gets a god pack.
  • It can now run behind windows in the background (not minimized) and does not take control of your mouse or keyboard!
  • Universal language support! It should work with any language!
  • Gif of a bot run: https://i.imgur.com/DfqAp7c.gif

What do I need?

How can I get it working?

Step 1: Install the necessary programs

  • AutoHotKey
  • Global MuMu Player (Leave the default folder install)

Step 2: Set-Up MuMu Player

  • Install
  • Recommended Settings (Bold = Must have)
    • CPU: 2
    • RAM: 2
    • Less resource usage
    • Forced use of discrete graphics
    • Custom: 540 x 960 220 dpi
    • Screen brightness: 50
    • Screen style: Common
    • FPS: 60
    • Do not turn on the FPS display
    • Close system sound
    • Uncheck: Keep running in the background
    • Check: Enable Root Permissions
    • Exit directly
  • Clone and then name your instances "1", "2", "3", "4", etc. without the quotes. NOTHING ELSE! JUST THE NUMBER!
    • You can clone them after doing step 3.
    • Make sure there are no other instances named the same even if they aren't running!
  • The very first instance in the multi-instance window is incompatible. just name another one 1.

Step 3: Install PTCGP

  • PTCGP Speed Mod[Download]
    • Thanks to nowhere_222 from the platinmods forum.
  • Drag and drop into your MuMu instance
  • Do not move the app from where it is placed on the home screen.
  • Manually open the game.
  • Click the "PM" logo in top left > cog wheel > save preferences > cog wheel > minimize
  • Go through the game until it finishes downloading the initial ~600 mb download

Step 4: Windows settings

  • Change scale to 125% or 100% in your windows settings. > Press windows key > Type "display settings" > Look for the scale setting and change it to 100% or 125% for all of your monitors.
  • all windows color filters off
  • HDR off

Step 5:

  • Download the Bot zip
  • Extract it by Right clicking the zip > extract

Step 6:

  • Run PTCGPB.ahk as administrator
  • On first run after pressing start you will be prompted for super user access in each instance. Select to allow forever. If you are not prompted make sure you have root settings enabled then try again.
    • If you do not do this then your god pack accounts won't be saved!

Step 7: Input your script settings

  • Number of instances you are running
  • Pack you want to open
  • Delay in between actions
  • Time Zone: The time the game "changes date." 1 AM EST so convert that to yours.
  • Name: What to name the account. Leave blank for a random pokemon name.
  • Instances per row: How many instances per row
  • Netease Path: If you didn't change your path upon installation leave it. Otherwise input the path.
  • Speed: This is what game speed you want to run at if you have the new speed mod.
    • 2x will run at 2x throughout the whole game
    • 1x/2x and 1x/3x will switch to 1x speed at parts that it is difficult to advance like when swiping or going through the starting cinematic then switch to 2x or 3x speed for the rest
  • Scale: Select your pc scale % setting
    • Currently only 100 and 125 scale are supported
  • Monitor: Select which monitor you'd like it to run on. Try to start the mumu instances in the correct monitor to prevent issues
  • Swipe Speed: The duration of the swipe. Increase/decrease it if it's not swiping well on your system.
  • God Pack: Whether you want it to pause, close the instance or continue. God pack account data is now saved as a XML, so it's possible to continue to keep using the instance and then inject it later when needed.
  • Discord ID: if you're going to use webhooks to send yourself messages add your discord id so you are pinged. Not your username, but your numerical discord ID.
  • Discord Webhook url: your discord's server webhook URL. Create a server in discord > create any channel > click the edit channel cog wheel > integrations > create a webhook > click on the webhook created > copy webhook url. That is what goes here.
  • Send XML via webhook: Send the account XML file through webhook. In order to enable this add sendXML=1 to the bottom of your .ini file
  • Account Deletion: Select the method to delete the account. File method deletes the XML file and then closes/reopens the game. This should be more efficient. Clicks method will simulate clicking and deleting the account through the Menu. Use this if for some reason your game takes a long time starting up.
  • Arrange windows button: Arranges the windows in rows/columns
  • Click Start in the center of the gui to start the bot!

Step 8: Click Start

  • Allow adb to run and through the firewall if it asks you

Step 9: Find god packs

  • Your bot should be running

GP Test button: This is so you can verify if a god pack is alive or not. Press the button or F8 and the bot will stop after the wonder pick tutorial ready to add an account. After you manually add and verify it press F8 again and the bot will delete the account data and start over. If you need more attempts then you can press F8 another time for it to stop again.

Extract and Inject Accounts: In the Accounts folder you will find an inject and extract ahk script. This is so you can inject or extract XML data which is where the accounts log-in info is saved. Run it and input the required info.

Common Issues

XML file not saving

  • Make sure you enable root in your emulator settings
  • Also, when you first run the bot after pressing start it will prompt you for super user access. Select to allow forever.

Invalid port or failed to launch 1.ahk

  • Your mumu folder path is different from the typical default path so find where it installed. Mine is in: C:\Program Files\Netease and this would be what i would paste there
  • Skip using the very first instance in the mumu multi instance window. i think the config file for that one is different so my script cant get its port
  • Make sure you don't have other instances of mumu named the same even if they're not running.
  • Make sure there are no spaces leading to the bot's directory in the folder path
  • Unblock security in the ptcgpb properties: IMAGE

Error 0x800700E8

  • If it happens after already being able to click then one of the terminal windows may have been closed try restarting.
  • Your window names might be wrong
  • Make sure you allow adb when you run it. If you disallowed it or never got the prompt restart pc and try again
  • Make sure there is no spaces leading to the bot's directory in the folder path

Black bars when switching from scale 100/125

  • Try again/reload the bot and it should fix itself. It sometimes happens on the first try.

Platin.png

  • Make sure DPI is 220 in mumu
  • Make sure the new mod is installed
  • Reset the mumu display and font to default
  • Untick keep running in background in the mumu app settings.

One of my AHK is no longer running how do i restart it?

  • bot folder > scripts > double click the one that stopped

It doesn't do anything/Stuck Arranging windows

  • Make sure you named your instance just the number "1", "2", "3", etc. and not "MuMu Player 1", "MuMu Player 2", etc.
  • Make sure you don't have other instances named the same even if they're not running.
  • The very first mumu instance in the list with the lock can't be used.

Clicking top right at "Country or Menu"

  • MuMu's emulator resolution must be 540x960 with 220dpi
  • Windows scale needs to be set to 125% in your windows display settings. If you have multiple monitors then all of them need to be set to 125%
  • HDR needs to be off
  • Resolution is incorrect in mumu settings
  • Don't press MuMu's align window button
  • Don't resize the instances manually the script does it
  • Mumu screen style setting must be set to common
  • Doesn't work if you have a 4k resolution you have to scale it down to 1440p
  • You input the incorrect number of instances
  • Mumu's brightness needs to be 50
  • AMD graphics driver: disable graphics enhancement
  • Make sure your instances are named 1, 2, 3, 4 etc. Just the number, counting starting from 1. Nothing else.
  • Turn off windows color filters

"Cannot find source image"

  • You need to extract from the .zip first

I get stuck at naming or OK

  • Make sure dpi is set at 220 in the mumu settings.

Having issues swiping packs

  1. If you are having issues swiping on the 2x speed setting you can try switching to 1x/2x or 1x/3x where it will swipe at 1x speed then switch. You need the newest mod version in the set up guide
  2. Play around with the new swipe speed setting. This is going to be through trial and error, but you can put in a little work to get it working better for you..
  3. People have been reporting better swiping if they match mumu's fps to their monitor's fps.
  4. Run fewer instances or try increasing your CPU cores in mumu

False positive god packs found If the second card in your false positive GP is not a common border then there is something that is making your colors different. Double check the following:

  • HDR off in windows
  • Color filters off in windows
  • Common screen style in mumu
  • Brightness on 50 in mumu

If all of that is fine then you can set the false positive setting to yes in the bot set up.

Why are false positives happening? Am I missing out on god packs?

  • There are 2 reasons this can happen. 1. there is a split second delay between getting to the opening screen and the cards being shown or 2. There is something different somewhere with your color settings so it detects other card borders as common. Changing the false positive setting to yes addresses both of these.
  • No, you're not missing out on god packs. This is because the bot detects the common borders to skip the cards. If no common borders are detected then it flags it as a god pack and as a result false negatives should be impossible unless you're running with high image search variation like it was doing in prior versions

If none of this solves your issue then restart your PC and try again.