GithubHelp home page GithubHelp logo

heiix / pokemongo-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pokemongof/pokemongo-bot

0.0 2.0 0.0 1.18 MB

The Pokemon Go Bot script, baking with community.

Python 82.49% HTML 17.51%

pokemongo-bot's Introduction

PokemonGo-Bot - a pokemon script that can catch pokemons and spin the pokestops.

Project chat

Slack Status

We use Slack as a web chat. Click here to join the chat!

Features:

  • Search Fort(Spin Pokestop)
  • Catch Pokemon
  • Release low cp pokemon
  • Walking as you
  • Use the ball you have to catch, don't if you don't have

To-Do:

  • Google Map API key setup
  • Show all objects on map
  • Limit the step to farm specific area for pokestops
  • Pokemon transfer filter
  • Drop items when bag is full
  • Pokemon catch filter
  • Hatch eggs
  • Incubate eggs
  • Evolve pokemons
  • Use candy
  • Code refactor

Installation

Requirements (click each one for install guide)

Protobuf 3 installation

  • OS X: brew update && brew install --devel protobuf
  • Windows: PLEASE CONTRIBUTE
  • Linux: PLEASE CONTRIBUTE

Installation

$ git clone -b master https://github.com/PokemonGoF/PokemonGo-Bot $ cd PokemonGo-Bot $ virtualenv . $ source bin/activate $ pip install -r requirements.txt

Develop PokemonGo-Bot

$ git clone -b dev https://github.com/PokemonGoF/PokemonGo-Bot $ cd PokemonGo-Bot $ virtualenv . $ source bin/activate $ pip install -r requirements.txt

Google Maps API (Code is not done yet)

Google Maps API: a brief guide to your own key

This project uses Google Maps. There's one map coupled with the project, but as it gets more popular we'll definitely hit the rate-limit making the map unusable. That said, here's how you can get your own and replace ours:

  1. Navigate to this page
  2. Select 'Create a project' in the dropdown menu.
  3. Wait an eternity.
  4. Click 'Create' on the next page (optionally, fill out the info)
  5. Copy the API key that appears.
  6. After the code done, will update here how to replace.

Usage

usage: pokecli.py [-h] -a AUTH_SERVICE -u USERNAME -p PASSWORD -l LOCATION [-w] [-d] [-t] [-c] [-m]

optional arguments:
  -h, --help                                    show this help message and exit
  -a AUTH_SERVICE, --auth_service AUTH_SERVICE  Auth Service ('ptc' or 'google')
  -u USERNAME, --username USERNAME              Username
  -p PASSWORD, --password PASSWORD              Password
  -l LOCATION, --location LOCATION              Location (Address or 'xx.yyyy,zz.ttttt')
  -lc, --use-location-cache                     Bot will start at last known location
  -w SPEED,  --walk SPEED                       Walk instead of teleport with given speed (meters per second max 4.16 because of walking end on 15km/h)
  -m MODE, --mode MODE                          Set farming Mode for the bot ('all', 'poke', 'farm')
  --maxstep MAX_STEP                            Set the steps around your initial location(DEFAULT 5 mean 25 cells around
  your location)
  --initial-transfer                            Start the bot with a pokemon clean up, keeping only the higher CP of each pokemon. It respects -c as upper limit to release.
  -c CP, --cp                                   Set the CP to transfer or lower (eg. 100 will transfer CP0-99)
  -d, --debug                                   Debug Mode
  -t, --test                                    Only parse the specified location

Command Line Example

Pokemon Trainer Club (PTC) account:
$ python2 pokecli.py -a ptc -u tejado -p 1234 --location "New York, Washington Square"
Google Account:
$ python2 pokecli.py -a google -u tejado -p 1234 --location "New York, Washington Square"

FAQ

Losing Starter Pokemon and others

You can use -c 1 to protect your first stage low CP pokemon.

Does it run automatally?

Not yet, still need a trainer to train the script param. But we are very close to.

Set GEO Location

It works, use -l "xx.yyyy,zz.ttttt" to set lat long for location. -- diordache

FLEE

The status code "3" corresponds to "Flee" - meaning your Pokemon has ran away. {"responses": { "CATCH_POKEMON": { "status": 3 } }

My pokemon are not showing up in my Pokedex?

Finish the tutorial on a smartphone. This will then allow everything to be visible.

How can I maximise my XP per hour?

Quick Tip: When using this script, use a Lucky egg to double the XP for 30 mins. You will level up much faster. A Lucky egg is obtained on level 9 and further on whilst leveling up. (from VipsForever via /r/pokemongodev)

Requirements

  • Python 2
  • requests
  • protobuf
  • gpsoauth
  • geopy
  • s2sphere
  • googlemaps
  • pgoapi
  • haykuro To install the pgoapi use pip install -e git://github.com/tejado/pgoapi.git#egg=pgoapi

Contributors (Don't forget add yours here when you create PR:)

eggins -- The first pull request :) crack00r ethervoid Bashin tstumm TheGoldenXY Reaver01 rarshonsky earthchie

Credits

The works are based on the Pokemon Go API

tejado many thanks for the API Mila432 for the login secrets elliottcarlson for the Google Auth PR AeonLucid for improved protos AHAAAAAAA for parts of the s2sphere stuff

Donation

Bitcoin Address: 1PJMCx9NNQRasQYaa4MMff9yyNFffhHgLu

Donate

pokemongo-bot's People

Contributors

douglascamata avatar gofmaster avatar tejado avatar eggins avatar jtdroste avatar dominicgunn avatar necrozis avatar solderzzc avatar bashin avatar mzupan avatar samuelteixeiras avatar haykuro avatar berserkerjp avatar nbcsteveb avatar adaptcharm avatar ckrmml avatar brantje avatar mordana avatar techedlaksh avatar boren avatar byang14 avatar klohto avatar maximum-throwaway avatar readmecritic avatar rubengm avatar simbazhang2016 avatar gitter-badger avatar crack00r avatar joshk6656 avatar millejosh avatar

Watchers

James Cloos avatar  avatar

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.