• This repository has been archived on 06/Mar/2018
  • Stars
    star
    412
  • Rank 104,355 (Top 3 %)
  • Language
    Python
  • Created about 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pokemon GO iOS GPS Emulator - NO Jailbreak needed, lets you play the game on your Mac :)

Pokemon GO GPS Emulator with Built-In Pokemon/Pokestop/Gym Map

Merged with [PokemonMap] (https://github.com/AHAAAAAAA/PokemonGo-Map), we now have a full interactive spoofer plus map of the nearby pokemons.

This project uses Xcode Debug mode Simulating a Location at Runtime to spoof GPS locations for non-jailbroken iOS devices. This allows players of Pokemon GO to send movement commands over a computer as opposed to doing the actual walking.

Warning: Improper Use of this Tool Will Get You Banned!

As reported on reddit, spoofing your GPS coordinates in game could get you banned. Anecdotally, when you change your GPS coordinates drastically in a short period of time (say NYC to SF), you will be soft banned for anywhere between 10 mins to 3 hours. However, there have not been cases of permanent ban, so do this at your discretion. My guess is that the Niantic servers compute a delta distance over delta t and sets a threshold on the speed. Anything beyond the threshold will get your banned.

Workaround

The latest repo has a startup routine that sets your startup location to be your current location. This would save you the hassle of looking up your GPS coordinates. The idea is you want to be as close to your current location as possible to not exceed the threshold. Also shutdown all background apps and refrain from fighting in a gym. The OS would shutdown the spoofing app when there's limited resources, causing you to teleport back to your original location.

Main Components

System Requirement

  • Xcode installed (Obviously you need a Mac, an Apple Developer Account is not needed if you have iOS 9 and above)
  • Any iOS device with Pokemon GO installed
  • Google Chrome as your browser

Installation Instructions

Start web servers

git clone https://github.com/huacnlee/PokemonGoMove.git
cd PokemonGoMoveAndMap/map
sudo easy_install pip # If you do not have pip
sudo pip install -r requirements.txt
sudo gem install sinatra
python example.py -a google -u [gmail_address] -p [gmail_password] -l "997 Marine Drive, San Fran, CA" -st 5 -ar 2 -dp -dg

See the Map Readme if you have any questions regarding the python arguments above. You should see the following debug message:

[-] register_background_thread called
[-] register_background_thread: not running inside Flask so not starting thread
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
 * Restarting with stat
[-] register_background_thread called
[-] register_background_thread: initial registration
[+] Locale is en
 * Debugger is active!
[+] Getting initial location
 * Debugger pin code: 274-525-967
[!] Your given location: 997 Marine Drive, San Fran, CA
[!] lat/long/alt: 37.4029581 -121.9272423 0.0
[!] Google login for: [email protected]
[+] RPC Session Token: eyJhbGciOiJSUzI1NiIsIZ ...
[+] Received API endpoint: https://pgorelease.nianticlabs.com/plfe/40/rpc
[+] Login successful
[+] Username: Derderyan
[+] You started playing Pokemon Go on: 2016-07-13 17:24:40
[+] POKECOIN: 0
[+] STARDUST: 6100
[-] looping: step 1 of 25
[+] Searching pokemons for location 37.4029581 -121.9272423

This will start the map server with your credentials, you can look at additional parameters in the [PokemonMap repo] (https://github.com/AHAAAAAAA/PokemonGo-Map) if you would like to ignore certain pokemons, change distance, etc. On your browser, localhost:5000 will look like the following:

Now in a separate terminal, you need to start the move server

cd PokemonGoMoveAndMap
./start-web 

You should see the debug messages below:

== Sinatra (v1.4.7) has taken the stage on 3001 for development with backup from Puma
Puma starting in single mode...
* Version 3.4.0 (ruby 2.3.1-p112), codename: Owl Bowl Brawl
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://localhost:3001
Use Ctrl-C to stop

Now in your browser go to http://localhost:3001. The default location set by the move server will be based on your IP, so it will not be very accurate. Now go ahead and enter the address, to the address you set the map originally. See screencap below:

Now your two servers are completely sync'd.

Open foo.xcodeproj

Connect your iOS device and run the project. Remember in to turn simulate location on. Very important: Debug->Simulate Location->PokemonLocation is checked, otherwise it will not work.

For the very first time of running the project, you will need to allow add terminal to be accessible. System Preferences > Security & Privacy > Privacy > Accessibility > Terminal (checked)

Go back to localhost:3001

You can now interact with the webpage (try press left, up, right, down arrow keys on your keyboard) and the AppleScript will transmit the new GPS signal to the iOS device. Notice that the Pokemon map will also be updated but you will need to scroll to re-center the map.

Start Playing!

  • Enter an address
  • Or enter GPS coordinates
  • Press the arrow keys on the keyboard to move around
  • Or move the map on the top right corner to move around
  • Or click on the map on the top right corner to a location you want to walk to
  • Look at all the pokemons, pokestops, gyms around you on the map at the bottom right corner

Check if Pokemon Go servers are down

Sometimes you are wondering if you got banned or the servers are down. Check via this [link] (http://www.mmoserverstatus.com/pokemon_go)

Other references

  • Pokemon Rarity Rare

More Repositories

1

rails-settings-cached

Global settings for your Rails application.
Ruby
1,005
star
2

flora-kit

💐 基于 shadowsocks-go 做的完善实现,自动网络分流,完全兼容 Surge 的配置文件。
Go
898
star
3

autocorrect

A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).
Rust
887
star
4

redis-search

Deprecated! High performance real-time prefix search, indexes store in Redis for Rails application
Ruby
712
star
5

rucaptcha

Captcha Gem for Rails, which generates captcha image by Rust.
Ruby
686
star
6

quora

Quora.com like project with Ruby on Rails (不再维护)
JavaScript
684
star
7

init.d

⚙️ Batch scripts for Rails production environment install on Ubuntu Server.
678
star
8

bluedoc

An open-source document management tool for enterprise self host.
Ruby
626
star
9

social-share-button

Helper for add social share feature in your Rails app. Twitter, Facebook, Weibo, Douban ...
CoffeeScript
581
star
10

imax.im

🎬 Source code of IMAX.im
Ruby
366
star
11

mediom

Forum web application, an example for from Rails to Go (Revel)
Go
355
star
12

jquery.qeditor

This is a simple WYSIWYG editor with jQuery.
CoffeeScript
259
star
13

carrierwave-aliyun

阿里云 OSS Ruby 上传组件,基于 Carrierwave
Ruby
195
star
14

auto-correct

Automatically add whitespace between CJK (Chinese, Japanese, Korean) and half-width characters (alphabetical letters, numerical digits and symbols).
Ruby
142
star
15

activestorage-aliyun

Wraps the Aliyun OSS as an Active Storage service.
Ruby
131
star
16

sails

Create a Thrift Server use like Rails
Ruby
71
star
17

turbolinks-prefetch

Turbolinks extends for prefetch links to speeds up your website.
JavaScript
70
star
18

personlab

我博客的源代码,这个代码较老,不推荐拿来学习
Ruby
69
star
19

vimmate

Custom vim like Textmate for Ruby on Rails development
Vim Script
69
star
20

gpui-component

A UI components write in GPUI.
Rust
67
star
21

mongoid_auto_increment_id

Override id field to MySQL like auto increment for Mongoid.
Ruby
65
star
22

hello-go

入门 Go 编写应用
Go
57
star
23

pasite

Share your sources code on the web, see the http://pasite.org
Ruby
55
star
24

zed-theme-macos-classic

A macOS native style theme for Zed, let it same like native app in macOS.
JavaScript
49
star
25

sql-builder

A simple SQL builder for generate SQL for non-ActiveRecord supports databases
Ruby
36
star
26

rails-activestorage-example

Rails use Active Storage the right way
Ruby
30
star
27

redmine-theme-innerboard

Innerboard theme for Redmine
26
star
28

cocoaout

Auto build and release tool for Cocoa projects.
Ruby
25
star
29

enumize

Extend ActiveRecord::Enum for add more helpful methods.
Ruby
24
star
30

jquery.lazyimg

Image lazy load plugin for jQuery, fork from jquery.unveil to improve performance with huge DOMs.
CoffeeScript
23
star
31

gitlab-mail-receiver

The way of allow your GitLab support Email receive and parse the email content, and find Issue/MergeRequest to create reply.
Ruby
23
star
32

redis-search-example

An example for use redis-search gem
JavaScript
23
star
33

ip-location

通过淘宝 IP 库查询 IP 所在地域位置 http://ip.taobao.com
Ruby
18
star
34

mongoid_taggable_on

Taggable on custom fields for Mongoid
Ruby
16
star
35

vscode-macos-classic.theme

macOS Classic theme for Visual Studio Code
Makefile
15
star
36

backup-aliyun

Aliyun OSS storage with Backup
Ruby
12
star
37

jdialog

a jQuery popup window plugin
JavaScript
12
star
38

html-pipeline.cr

HTML processing filters and utilities for Crystal.
Crystal
11
star
39

vue-rails-example

Use Vue.js in Rails 6 example
Ruby
9
star
40

actiontext-lite

Lite version of ActionText
Ruby
7
star
41

autocorrect-action

GitHub action for use AutoCorrect as lint
Shell
6
star
42

zed-extension-action

GitHub Action for automatically bump Zed Extensions version after a release.
JavaScript
6
star
43

docker-rails

Deploy Rails via Docker example
Ruby
5
star
44

booklib

php + Codeigniter Library management tool
PHP
4
star
45

vscode-blackboard-plus.theme

Visual Studio Code - Blackboard Plus Theme
4
star
46

zed-csv

CSV support for Zed
Rust
4
star
47

remarkdown

This is extends of Markdown lib from Crystal Stdlib for Support Markdown GFM.
Crystal
4
star
48

huacnlee.github.io

Ruby
3
star
49

vscode-autocorrect

AutoCorrect for VS Code
TypeScript
3
star
50

sidekiq-activerecord-shard

Sidekiq middleware to supports ActiveRecord 7 shard
Ruby
3
star
51

autocorrect-idea-plugin

AutoCorrect Plugin for IntelliJ IDEA
Kotlin
2
star
52

auto-booking-park

Shell
2
star
53

jselectdate

jQuery date choice control with dropdown list
JavaScript
2
star
54

capistrano-upload-configs

Capistrano plugin for Upload local config files to remote, and create soft link.
Ruby
2
star
55

zed-autocorrect

AutoCorrect for Zed
Rust
2
star
56

micro-web-simple

Go
1
star
57

jimagelink

模拟yupoo的缩略图上的小图标效果的jQuery插件
JavaScript
1
star
58

jcaches

client side cache with Javascript
JavaScript
1
star
59

yjs-server

JavaScript
1
star
60

Light-Classic.tmTheme

Improve of TextMate Light Theme from Mac Classic
1
star