tellomichmich / PokeNoxBot

Slow but safe Pokemon GO Bot
23 stars 19 forks source link

[FEATURE] Could it be possible to support different emulators? #44

Open Dodo111 opened 8 years ago

Dodo111 commented 8 years ago

NOT an actual issue, pls delete if inappropriate -

Nox reportedly doesn't do a great job at emulating an actual Android phone whereas other emulators such as MeMu purportedly fare much better in such task.

As I understand it, the bot currently uses python to initiate commands through Nox's adb interface - could the same be done for MeMu?

http://www.memuplay.com/blog/index.php/2016/04/01/how-to-manipulate-memu-thru-command-line/

I'm guessing it's using android debug bridge just like nox :o I hope it's not inappropriate of me to ask :)

EDIT: Here's much more detailed documentation: http://www.memuplay.com/blog/wp-content/uploads/2016/02/MEmu-Command-Line-Management-Interface-Version-4.3.20_OSE.pdf

tellomichmich commented 8 years ago

Mmmm, this look like just a clone of Nox... I think this could be possible, but what is the real advantage of Memu over Nox ?

Dodo111 commented 8 years ago

AFAIK:

the API is sending all sorts of hardware information to Niantic about the phone model, board manufacturer, device ID and so on. This data is used (or can be used) by Niantic to possibly ban people and/or identify people using emulators such as bluestacks, nox etc.

Now you can easily fake device ide on nox with methods such as this:

https://www.reddit.com/r/pokemongodev/comments/4y3u15/players_using_emulators_like_nox_be_safeer_by/

but this still won't do anything to hide the kernel name (which comes up as nox-ubuntu or something) and it still doesn't provide the app with sensor data (which is why you will get a popup about the orientation of the phone not being detected for augmented reality mode when playing on emulators).

I was hoping such sensor data and/or hiding that kernel could somehow be possible in the future :)

joshk6656 commented 8 years ago

Instead of trying to support unofficial emulators, why not just support the official android emulator?

https://developer.android.com/studio/run/emulator-commandline.html

This supports adb and can also change location via a command line command.

Dodo111 commented 8 years ago

I wonder if you could feed fake GPS satellite fix data into it from a list :o