- Information :
As bots are down at the moment, i'd like to share a script I wrote few weeks ago when there were no bots around...
It is based on an app which can simulate Tap/Touch behavior by finding pixel color so literally it can do almost everything you can with your phone. But as a consequence it is not productive (something like 10~15k xp/h, and 200+ pokestops/h), comparing with any of the bot on forum which talking directly to api instead of simulating. It can do only what you asked, and give you some supply on the pokeballs for sniping, so say, better than going outside and catch'em all on your own.
- Edit :
GMT+10 12:33pm Quick fix on the missing pg-nox0723: I upload the code here for you guys to review https://github.com/icdance/pkmngoanj...ter/pg-nox0723
GMT+10 13:20pm add some pics for the macro app.
GMT+10 21:57pm add basic configuration info on how to disable catch/ change pokeball during catch/ configure the amount of pokeball/potion to keep.
GMT+10 01:43am it seems lots of you have successfully set it up, I will leave it as it is now while I am looking into some new features:)
- This is how it looks like
catching pokemon: https://youtu.be/i-c1b6sbzfs
bag management: https://youtu.be/lufJ48ALTH0
- How it works :
I pre-set all the locations in fake-gps which it will visit and all the coords where the pokestop is to tap. like us, it will first set the location in fake-gps and then come back to the game. farm pokestop. After that, it will search the screen to match the pixel color with color which pokemons has. once it find it will throw balls and catch it(or flee..). when it spin the pokestop, if there is a sign that your bag is full, it will start clean the bag according to the settings within the file. meanwhile, it can handle most error to make itself running smoothly.
- Features :
a. auto farm predefined pokestops.
b. auto find and catch pokemon.
c. auto managing your bag.
d. 24/7.
e. configurable.
- Issues :
a. it won't catch all the pokemon on screen, say catch about 80%.
b. these predefined pokestops are around where I live, as a result, it will teleport you to Rhodes,.Sydney, which may cause you softbanned, if so, unban youself by spinning the pokestops.
c. not a real issue but kind of complicated to set up all the stuff.
- Requirements :
a. rooted Android device / Nox.
b. fake gps / lucky patcher / gravitybox / titanium backup
c. the simulating app/apk is called mobileAnjian. it is in Chinese as I can't find any alternative. it is an identical app comes with Nox but I have no idea how to use that one.
- Preparation :
a. open Nox setting from top right corner and turn "Root" in "General Tab" to "On"
b. in "Advanced Tab", set "Startup Setting" to "Phone" and "720x1280" , save changes and reboot if it is asked to.
c. login your google account and turn off app auto update with wifi in Play Store.
d. install Lucky patcher and after that, use lucky patcher to install fake gps as system-app
e. install Xposed if you don't have, then GravityBox [KK]
f. install Titanium backup and then copy TitaniumBackup folder to /storage/sdcard0 in Nox
g. use Titanium Backup to restore data for fake-gps and GravityBox (if you have )
h. use Titanium Backup to restore App and data for mobileAnjian, which has a blue icon and shows some Chinese characters ending with "3.0.1"
i. copy two .txt files to your Nox shared folder: \mnt\shared\Other
j. check everything above is in working condition, specifically, fakegps has coords in favourite list, double click home button can lunch fake-gps. if you double click home button doesn't work that means your gravitybox is not functional, you really need get it work before proceed.
- Start scripts :
a. run the blue icon app in chinese.
b. click the blue icon.
c. click pg-nox0723 then click green play button it will minimize itself. Edit: it seems titanium backup didn't backup my scripts. you need go to https://github.com/icdance/pkmngoanj...ter/pg-nox0723 and copy the code. then click the blue plus button to paste it there. then save and load.
d. run the game
e. click the play button to start the macro.
All done.
- Configuration :
a. pokeballs/potions keep option: line 21 and 22
A = Array(1, 1, 1, 1, 1, 1, 1, 0, 1) // 0: it will not look up the amount and keep all, 1: it will check the amount you set. in this case it will keep all ultraball
Ka = Array(200, 0, 0, 50, 0, 0, 0, 200, 80) // amount to keep (Maxpotion, Potion, Super, Hyper, Reave, Pokeball, Greatball, Ultraball, Berry)
b. whether to change ball during catch: line 328-330
remove the "//" to enable
catch = 3 // change the digit to set when to switch to ultra ball/great ball, 3 means at the 3rd time.
c. disable catching / farm pokestop only: line 600-673
add "//" to disable catch function

All files needed : https://mega.nz/#!mQlBhbxS!mt7dNd_94...GIr5bxUpaFdjVA
I understand it is a simple macro but quite long list to configure it to work. Maybe add some features to auto walk instead of predefined locations to make it easy to use while the bot are down, may not intend to maintain it for a long term.
at last, thanks for the developers and all those who contribute to their wonderful work to make it happen.
Q&As :
a. why not backup the whole Nox vm?
A: Backup the whole vm is tested not working, xposed/gravitybox/fakegps is not usable. and it is 1.7G... I didn't find a easy way other than this so far...
b. how to copy and paste the code to the blue icon app?
A: if you cant edit directly from nox, copy&paste the code to an .txt, then open this txt in your nox, copy,paste and save.
c. why my location always jump to the original locate when i running?
d. why the game disappear after the bot start?
A: it should have to. it is trying to lunch fake-gps app. if it jump to your desktop that means your gravitybox is not working. read the instruction.
e. how to navigate to the folder in Nox?
A: install es explorer to edit/navigate folders.