Code Monkey home page Code Monkey logo

openpogobot's Introduction

OpenPoGoBot

Build Status Build status codecov Dependency Status

A quick note:

This is a fork of the project PokemonGo-Bot by PokemonGoF.

The goal of this fork is to progress the bot in an organized manner, and to promote a clean and functional codebase. As a result, OpenPoGoBot will be more reliable and secure than PokemonGo-Bot.


Table of Contents

Contributing

See CONTRIBUTING.md

Features

  • Spin Pokestops
  • Catch Pokemon
  • Release low cp pokemon
  • Walk to a location
  • Catch nearby pokemon when you have pokeballs available
  • Switch between catching pokemon and farming pokestops automatically
  • Filter certain pokemon
  • Use superior ball types when necessary
  • When out of normal pokeballs, use the next type of ball unless there are less than 10 of that type, in which case start automatically farming pokestops
  • Bot Navigation via Google Directions API
  • Incubate eggs

Installation

Requirements

Encrypt shared library

With the changes to the API on 3 August 2016, API map requests are required to have a Signature field in the request body. This requires that the encrypt shared library is in the bot directory, as it is needed to encrypt one of the fields.

You will need to either find encrypt.c or the appropriate shared library for your system. The bot will automatically attempt to load the following filenames; another filename can be specified using config options as described below. We can not distribute encrypt.c for legal reasons. Check pgoapi.com.

  • OS X: libencrypt-darwin.so
  • Windows: encrypt.dll
  • Linux: libencrypt.so

To build the shared library for Windows, run lib/build_dll.bat, rename the resulting binary to encrypt.dll and move to the bot folder.

To build the shared library for OS X or Linux, in the lib folder run make, rename the resulting binary as needed and move to the bot folder.

Note that if you are running a 32-bit version of Python, you must have a 32-bit version of the library, and vice versa for 64-bit. On Windows, failure to do so will result in WindowsError: [Error 193] %1 is not a valid Win32 application.

Protobuf 3 installation

  • OS X: brew update && brew install --devel protobuf
  • Windows: Download protobuf 3.0: here and unzip bin/protoc.exe into a folder in your PATH.
  • Linux: apt-get install python-protobuf

Install

git clone --recursive https://www.github.com/OpenPoGo/OpenPoGoBot
cd OpenPoGoBot
virtualenv env

## For Linux Users
source env/Scripts/activate
## For Windows Users
env/Scripts/activate.bat

pip install -r requirements.txt

Usage

$ python pokecli.py [path to config yml]

What happened to the command line arguments?! The command line arguments have been removed in favour of yml config files.

Command Line Example

$ python pokecli.py config/config.yml

Bot Configuration via JSON

To load arguments for the bot from a JSON file, use the --config-json argument with the name of a file. Any other command line arguments specified will override the parameters specified in the loaded JSON file.

Example - this will load config.json but use cp=1000 and iv=0.7 even if already defined in config.json:

$ python2 pokecli.py --config-json config.json -cp 1000 -iv 0.7

JSON Options

Advance Releasing Configuration

To edit the pokemon release configuration, copy the file release_config.json.example and rename it to release_config.json

Edit this file however you want, but keep in mind:

  1. Pokemon names should always be capitalized and are case-sensitive
  2. The any configuration effects every pokemon

FAQ

What's IV ?

Here's the introduction

Losing Starter Pokemon and others

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

Set GEO Location

Use either -l "lat, long" or --location "lat, long"

Google login issues (Login Error, Server busy)?

Try to generate an app password and set is as

-p "<your-app-password>"

This error is mostly occurs for those who using 2 factor authentication but either way for the purpose of security would be nice to have a separate password for the bot app.

FLEE

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

Why aren't my pokemon showing up in my Pokedex?

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

Where's --mode/-m?

Now, instead of using --mode you need to exclude plugins. If you don't want to catch pokemon, exclude the catch_pokemon plugin (-ep catch_pokemon), and if you don't want to farm pokestops just exclude the spin_pokestop plugin (-ep spin_pokestop). Alternatively, you can modify your configuration JSON file to do the same thing.

How can I have the bot ignore certain pokemon?

Create the following filter

./data/catch-ignore.yml

Its a yaml file with a list of names so make it look like

ignore:
  - Pidgey
  - Rattata
  - Pidgeotto
  - Spearow
  - Ekans
  - Zubat

How do I use the map?

Socket Plugin

The socket plugin exposes a server on port 8000 that allow communication to your browser. Once launched, just to to http://openpogoui.nicontoso.eu to show progress on a map. You can then click on settings (lower right) to modify map settings.


Plugins

Here are the available plugins:

Plugins
collect_rewards
catch_pokemon
egg_incubator
recycle_items
spin_pokestop
transfer_pokemon
socket

Testing

Please see the testing documentation on how to run and write the tests.

Credits

openpogobot's People

Contributors

1karu5 avatar ajurna avatar andythorne avatar dbmurphy avatar epicblood avatar gary-bot avatar hanseartic avatar hoov avatar jtdroste avatar kazyka avatar meyer9 avatar nicoschmitt avatar oralunal avatar particle6 avatar philippheuer avatar saturate avatar tegob avatar tehp avatar torvitas avatar wchill avatar x1024 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openpogobot's Issues

Config mode and bot behavior

Expected Behavior

If i set mode in config to "all", i expect that the bot wont change it.

Actual Behavior

If my bag is full, the bot changes mode to "poke" (https://github.com/OpenPoGo/OpenPoGoBot/blob/64768648983982a4981d2af28128201372b71420/pokemongo_bot/cell_workers/seen_fort_worker.py#L88) and just catches pokemon until there are no pokeballs left.
Without pokeballs it will change to "farm" (https://github.com/OpenPoGo/OpenPoGoBot/blob/69a376bbf0cec29536a8d466ce4db11949ee7d89/pokemongo_bot/cell_workers/pokemon_catch_worker.py#L139) and the bot will only farm.

BetterBehavior

I think it should clean the inventory as set with item_filter on full bags. And it should farm only to get a few balls if there are none and start catching pokemons after that.

No pokeballs of type cause item count field to be missing

Expected Behavior

If a user has no pokeball of a type such as great balls, it should report 0.

Actual Behavior

The code will fault on the 'count' key missing as the item_id is present but not count with no inventory.

Steps to Reproduce

Log into the app trash all balls of a type
Start app when it tries to count the balls it will get:

Traceback (most recent call last):
  File "pokecli.py", line 242, in <module>
    main()
  File "pokecli.py", line 230, in main
    bot.start()
  File "/Users/dmurphy/Desktop/PokeGo/dbmurphy-OpenPoGoBot/pokemongo_bot/__init__.py", line 55, in start
    self._setup_api()
  File "/Users/dmurphy/Desktop/PokeGo/dbmurphy-OpenPoGoBot/pokemongo_bot/__init__.py", line 225, in _setup_api
    balls_stock = self.pokeball_inventory()
  File "/Users/dmurphy/Desktop/PokeGo/dbmurphy-OpenPoGoBot/pokemongo_bot/__init__.py", line 307, in pokeball_inventory
    item_count = int(item_data['count'])
KeyError: 'count'

This can be corrected by adding a check for the key just prior to using it.

Other Information

OS: OSX
Git Commit: d130493

Does not exit on SIGINT if web client is connected

Expected Behavior

Bot exits when SIGINT is fired.

Actual Behavior

Exiting PokemonGo Bot is printed but nothing happens until all clients connected to the web server plugin exit.

Steps to Reproduce

  • After the web plugin is loaded, open up the webview in a browser
  • Without closing browser, send SIGINT with Ctrl+C or some other method

Can probably be fixed by firing an event when the bot is going to shut down, allowing plugins to clean up their state. Alternatively, force the program to exit by installing a SIGINT handler.

Transition to only support Python 3.5

Mostly for typing and being more organized. I think we need to eventually transition to only support python 3.5.

Please up/down vote this post for your decision.

Bot thinks you are softbanned when you are not and closes

Expected Behavior

OpenPoGoBot will try to spin, if it can't it should walk away and not try to spin that for at least 5 mins.

Actual Behavior

OpenPoGoBot Spins the same Stop multiple times, reports that you are softbanned, and closes

Steps to Reproduce

Run OpenPoGoBot and wait for it to spin a Stop

Other Information

Also reported here: #42
OS: Windows/Linux
Git Commit: Happening on latest commit: db376bb

Contributing Standards

Right now this will be a brain dump...apologize for the lack of structure.

  • All work must be done via PR's - even if done by a maintainer
  • All PRs must get two approvals/:+1: from@OpenPoGo/maintainers before merging
  • All PRs must pass pep8 standards (this will be checked automatically)
  • All PRs must pass CI
  • One PR per feature
  • All PR commits must be concise and squashed (done via the contributor)
  • All PRs should be merged via rebase

Ignore list not working

Expected Behavior

After adding ./data/catch-ignore.yml, the bot should run fine and ignore the pokemons listed

Actual Behavior

The bot crashes with the following error:

[2016-07-25 14:54:26] [x] Starting PokemonGo Bot.... Traceback (most recent call last): File "pokecli.py", line 182, in <module> main() File "pokecli.py", line 173, in main bot.take_step() File "d:\pokemon\Bot\PokemonGo-Bot\pokemongo_bot\__init__.py", line 40, in take_step self.stepper.take_step() File "d:\pokemon\Bot\PokemonGo-Bot\pokemongo_bot\stepper.py", line 40, in take_step self._work_at_position(position[0], position[1], position[2], True) File "d:\pokemon\Bot\PokemonGo-Bot\pokemongo_bot\stepper.py", line 101, in _work_at_position self.bot.work_on_cell(map_cells, position, pokemon_only) File "d:\pokemon\Bot\PokemonGo-Bot\pokemongo_bot\__init__.py", line 43, in work_on_cell self._remove_ignored_pokemon(map_cells) File "d:\pokemon\Bot\PokemonGo-Bot\pokemongo_bot\__init__.py", line 68, in _remove_ignored_pokemon if pokemon_name in ignores: NameError: global name 'ignores' is not defined

Steps to Reproduce

  1. Add ./data/catch-ignore.yml
  2. Add the sample content to it
  3. Run the bot

Other Information

OS: Windows 10
Git Commit: 65f0fb8

Remove all try/catch checks for properties and replace with .get('prop_name', {})

Remove all try/catch checks for properties and replace with .get('prop_name', {})

try:
    inventory_items = response_dict['responses']['GET_INVENTORY']['inventory_delta']['inventory_items']
    for item in inventory_items:
        # print('item {}'.format(item))
        if 'inventory_item_data' in item:
            item_data = item['inventory_item_data']
            if 'pokemon_data' in item_data:
                pokecount += 1
            if 'item' in item_data and 'count' in item_data['item']:
                itemcount += item_data['item']['count']
except KeyError:
    pass

Avoid walking on water

Currently the bot walks on water which can be problematic.

Ideally the bot should avoid waterways by using Google Maps directions API to navigate to the correct location.

Feature: Give list of locations

Expected Behavior

Currently the bot will walk to random locations in a given range, it could be great to provided an ordered list/dict or locations you want to visit.

--location "53.3468069,-6.2589212" --destionations=destionations.js

destionations.js

destionations = [ 
"53.3457565,-6.2604233"
"53.3448982,-6.2632986"
"53.3442321,-6.2640496"
"53.3430407,-6.2645432"
"53.3444627,-6.2595864"
"53.3444243,-6.2530418"
"53.3422721,-6.2534495"
"53.3434507,-6.2594899"
]

This would let people map out their favorite locations within a locale to have the bot visit.

I am looking at writing a Pokemon history system that could then scan the areas for Pokemon noticed ( similar to pokevision.com but with history). Over time this would also let the bot be able to have time-based logic such as be @ gps X at 12:20-12:34 to try and get a spawn. Obviously this could use more refinement but initially just being able to have a walk list in the bot would be great.

Badly formatted colored log messages

Expected Behavior

All logs use the same format, regardless of color

Actual Behavior

Colored (non-default) log messages do not have the brackets around the date, making the line badly formatted

Bug image

Steps to Reproduce

Uh... I think it's pretty straight-forward.

Other Information

OS: Windows 10
Git Commit: e014532

Automatic evolutions

There should be a flag called --evolve-pokemon which enables automatic evolutions of Pokemon.
When the flag is active, whenever the player acquires enough candy to evolve a pokemon, it should evolve the highest CP pokemon. This can also be paired with --initial-evolve which iterates over all of the of the current pokemon and evolves any that can be evolved. The default for these two arguments should be False.

Bot does not write location-*username*.json to Web directory

Expected Behavior

location-username.json in web directory

Actual Behavior

file not found which causes web page to not work

Steps to Reproduce

start bot
start webserver
observe directory contents and webserver console

Other Information

OS: Windows 10
Git Commit: Newest as of 12:25 AM EST July 26, 2016 (Master)

Automated bot testing with Travis

Currently Travis only runs pep8 and exits. It might make sense for us to create one or more dummy accounts with various different input parameters and run the bot for a few minutes in the Travis build to make sure the bot at least has baseline functionality working.

This will most likely miss edge cases/unexpected behavior, but it'll give additional confirmation that the codebase will run successfully.

Obviously login credentials should be encrypted, but this will not work for PRs from 3rd party forks (though it will work for branches in this repo). Even with this limitation, it might be worthwhile. Thoughts?

Cloud providers have been blocked from accessing Niantic's API, however unit testing and mocks can be used instead.

Login server busy

Expected Behavior

On login i should be able play

Actual Behavior

I get login servers busy non stop

Steps to Reproduce

Use config.json

Other Information

OS: Ubuntu 14.04
Git Commit: Newest

pull on master, import issue

Hi there,

After pulling latest from main I get :

Traceback (most recent call last):
File "./pokecli.py", line 37, in
from pokemongo_bot import logger
File "/root/OpenPoGoBot/pokemongo_bot/init.py", line 14, in
from pokemongo_bot import logger, cell_workers, human_behaviour, item_list, stepper
File "/root/OpenPoGoBot/pokemongo_bot/cell_workers/init.py", line 4, in
from pokemongo_bot.cell_workers.seen_fort_worker import SeenFortWorker
File "/root/OpenPoGoBot/pokemongo_bot/cell_workers/seen_fort_worker.py", line 7, in
from pokemongo_bot.utils import format_time, f2i
File "/root/OpenPoGoBot/pokemongo_bot/utils.py", line 10, in
from api.worldmap import PokeStop
File "/root/OpenPoGoBot/api/init.py", line 6, in
from pgoapi.exceptions import ServerSideRequestThrottlingException # type: ignore
ImportError: cannot import name ServerSideRequestThrottlingException

Crash with initial-transfer enabled and pokemons not available

Expected Behavior

The bot should start without crash when -it is given as option but certain pokemons are not available.

Actual Behavior

$  ./pokecli.py -j config.json -lc -it -cp 200
{'username': u'[email protected]', 'max_steps': 100000, 'recycle_items': True, 'initial_transfer': True, u'evolve_all': True, u'item_filter': {u'201': {u'keep': 30}, u'701': {u'keep': 100}, u'1': {u'keep': 50}, u'102': {u'keep': 30}, u'103': {u'keep': 30}, u'101': {u'keep': 10}}, 'distance_unit': u'km', 'exclude_plugins': [u'web'], 'auth_service': u'google', 'walk': 4.16, 'debug': False, 'json': 'config.json', 'test': False, 'location': u'54.179776, 7.889137', 'ign_init_trans': '', 'location_cache': True, 'cp': 200, 'password': u'***', 'gmapkey': u'XXX', 'pokemon_potential': 0.7, 'mode': u'all'}
…
[2016-07-29 10:59:20] [x] Initial Transfer.
[2016-07-29 10:59:20] [x] Will NOT transfer anything above CP 200 or these ['']
Traceback (most recent call last):
  File "./pokecli.py", line 240, in <module>
    main()
  File "./pokecli.py", line 228, in main
    bot.start()
  File "~/OpenPoGoBot/pokemongo_bot/__init__.py", line 55, in start
    self._setup_api()
  File "~/OpenPoGoBot/pokemongo_bot/__init__.py", line 250, in _setup_api
    worker.work()
  File "~/OpenPoGoBot/pokemongo_bot/cell_workers/initial_transfer_worker.py", line 23, in work
    pokemon_groups = self._initial_transfer_get_groups()
  File "~/OpenPoGoBot/pokemongo_bot/cell_workers/initial_transfer_worker.py", line 57, in _initial_transfer_get_groups
    inventory_dict = inventory_req['responses']['GET_INVENTORY']['inventory_delta']['inventory_items']
KeyError: 'GET_INVENTORY'

Steps to Reproduce

Start bot with -it, stop it and immediately start second time with -it.

Other Information

OS: OSX Yosemite (python 2.7.11 and python 3.5.2)
Git Commit: d61d555

Bot not writing to inventory, catchable and location json files

Expected Behavior

Bot write to inventory, catchable, and location json files inside the web folder

Actual Behavior

Bot is not writing to the inventory, catchable and location json files located in the web folder anymore

Steps to Reproduce

Run like normal

Other Information

OS: Debian 8
Git Commit:

Release Config Implemented?

The Read Me talks about the release config. Does this feature work here? If not, maybe we should remove it from the Read Me until it is ported over.

Inventory Not Filtering/Recycling

Expected Behavior

Filter items on login based on config.json file.
Recycle items from stop when item is over limit specified in config.json file.

Actual Behavior

Not filtering or recycling

Steps to Reproduce

Normal play

Other Information

OS: OSX
Git Commit: Master - latest pull from 7/31/16

Lint JS

Much of the projects JavaScript needs linting.

Refactor of Bot Object

This is going to be dirty ticket.

  • Create a user object to contain information about the logged in user
  • Create a plugin subsystem to call before/after a cell_worker
  • Create the ability to make different stepper algos
  • Bot object will only be responsible for setting up the API, and a few other objects
  • Bot object will be moved to a different file, rather than init

Have command line parameters take priority over JSON

This is definitely open for discussion. I'm personally a fan of removing JSON configuration files and going back to command line parameters. At least give command line priority over JSON (So you can use both but if there's a conflict command line is used).

Don't require config.json

Currently, the bot requires a config.json, otherwise it crashes with
AttributeError: 'Namespace' object has no attribute 'recycle_items', as you can't provide recycle_items via the command line. Ideally, recycle_items should be initialized as empty (so to avoid crash if not supplied).

Egg Hatching

Suggested improvement

RPC understands about incubators as such we could do two things:

  1. SeenFortWorker, could check if any eggs have hatched
  2. WalkTowardsFortWorker can add an egg to an empty incubator and then this class would let it mature.

This will allow better use of eggs, and the ability to get more rare Pokemon we normally would miss out on in the bot system.

Force exit upon arriving at Pokestop

Upon arriving at a Pokestop I will get


[2016-07-27 16:19:45] [#] Finished walking
[2016-07-27 16:19:45] [#] Arrived at Pokestop
Traceback (most recent call last):
File "pokecli.py", line 240, in
main()
File "pokecli.py", line 233, in main
bot.take_step()
File "/home/frank/newshit/OpenPoGoBot-master/pokemongo_bot/init.py", line 65, in take_step
self.stepper.take_step()
File "/home/frank/newshit/OpenPoGoBot-master/pokemongo_bot/stepper.py", line 39, in take_step
self._work_at_position(position[0], position[1], True)
File "/home/frank/newshit/OpenPoGoBot-master/pokemongo_bot/stepper.py", line 107, in _work_at_position
self.bot.work_on_cell(cell, pokemon_only)
File "/home/frank/newshit/OpenPoGoBot-master/pokemongo_bot/init.py", line 104, in work_on_cell
walk_worker.work()
File "/home/frank/newshit/OpenPoGoBot-master/pokemongo_bot/cell_workers/walk_towards_fort_worker.py", line 49, in work
logger.log(u"[#] Now at Pokestop: " + fort_name)
File "/home/frank/newshit/OpenPoGoBot-master/pokemongo_bot/logger.py", line 29, in log
print(output)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 43-46: ordinal not in range(256)

pgoapi not working?

After updating today when I try to start the bot I get this repeating over and over. I log in with a google account and everything was working fine before.

[2016-07-30 13:32:27] [+] Login to Pokemon Go successful.
[API] Token has expired, attempting to log back in...
ERROR:pgoapi.pgoapi:Login failed - unexpected server response!
[API] Failed to login. Waiting 15 seconds...
ERROR:pgoapi.pgoapi:Login failed - unexpected server response!
[API] Failed to login. Waiting 15 seconds...

Estimated time to walk to pokestop should be based on distance.

Expected Behavior

Estimated time to walk to pokestop should be based on distance.

Actual Behavior

Time seems random.

[2016-07-26 13:48:36] [#] Found fort $ at distance 0.05km
[2016-07-26 13:48:36] [#] Need to move closer to Pokestop
[2016-07-26 13:48:36] [#] Walking from ($, $) to ($, $) for approx. 1.43 minutes

Cleanup of dict accessing

Currently the Bot object inside of init is just...terrible when accessing dicts. This is the first quality of life fix we need to change.

Better structure of pathing and stepping

So I'm finding the bot's structure a little all over the place:

  • pokecli invokes the bot
  • bot then passes straight throught to the stepper
  • the stepper gets a list of cell ids and calls the bot back
  • which then calls workers when it wants
  • the walk_towards_fort_worker then calls the stepper back again and we go around in circles until all the stop have been visited.

While it works, it makes modifying workers and pathing more difficult as there is worker logic in the bot and pathing logic in both the bot and the workers.

I've been working on a way to solve it, and i've come up with this:

  • A Mapper component will handle map-only functions, like fetching cell IDs from a lat/long coord.
  • All movement will be handled by a Navigator. The Navigator is responsible for choosing where the bot will go. For now, we will have a FortNavigator that will visit forts, but any Navigator can be easily created, for example something like a WaypointNavigator that will walk a pre-set path.
  • All pathing (that is HOW you get to the point (coords) a Navitgator has choosen) will be done by PathFinders. Examples we have now would be a GoogleDirectionsPathFinder, which uses the google directions api, and DirectPathFinder, which goes directly there.
  • The Stepper now ONLY handles moving the bot and tracking it's current and origin locations.
  • Workers now self contained and are passed a Cell instance and are to work only on this Cell. An array of all Workers is kept in the bot

So, the flow would look more like this:

It makes more sense to me this way, and keeps all the components de-coupled.

Any thoughts?

Can't get web.

Expected Behavior

Actual Behavior

cloning into 'web'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:OpenPoGo/OpenPoGoWeb.git' into submodule path 'web' failed

Steps to Reproduce

git submodule init
git submodule update

Other Information

OS:
Git Commit:

Web interface overhaul

We'll be overhauling the web interface.

[ ] Should use better storage method of game state
[ ] Should use AngularJS instead of jQuery

response_dict should be None checked

Expected Behavior

if response_dict is None, then don't try to access properties.

Actual Behavior

tries to access properties when response_dict is None.

Setup CI tests

All PRs should be tested for style/pep8/pylint via Jenkins or some other CI

Bot's incorrect "walking"

Expected Behavior

Bot walks smoothly

Actual Behavior

Bot moves too fast or teleports causing softban and crashes

PoGo bot (Not my screenshot but in my case it's the same as this)
image

PokemonGoF Bot
image

Walk speed on both bots are 4

Other Information

OS: Mac OS
Git Commit: 65f0fb8

Map isn't working can anyone help.

Map to show player sprite and follow movement

Dropping me in Luxembourg City but the logs are still working but not auto scrolling.

also getting these errors in Terminal.

snip20160730_6

Run OpenPoGoBot from folder using

python2 pokecli.py -a ptc -u USER -p PASS --location "51.640513, -2.678127"

I'm new to all this so please bare with me.

crash after startup

Please see stack trace:

[2016-07-29 03:08:21] [#] -- Level: 12
[2016-07-29 03:08:21] [#] -- Experience: 70360
[2016-07-29 03:08:21] [#] -- Experience until next level: 4640
[2016-07-29 03:08:21] [#] -- Pokemon Captured: 177
[2016-07-29 03:08:21] [#] -- Pokestops Visited: 143
[2016-07-29 03:08:21] [x] Initial Transfer.
[2016-07-29 03:08:21] [x] Will NOT transfer anything above CP 500 or these ['']
Traceback (most recent call last):
File "./pokecli.py", line 240, in
main()
File "./pokecli.py", line 228, in main
bot.start()
File "/root/OpenPoGoBot/pokemongo_bot/init.py", line 55, in start
self._setup_api()
File "/root/OpenPoGoBot/pokemongo_bot/init.py", line 250, in _setup_api
worker.work()
File "/root/OpenPoGoBot/pokemongo_bot/cell_workers/initial_transfer_worker.py", line 23, in work
pokemon_groups = self._initial_transfer_get_groups()
File "/root/OpenPoGoBot/pokemongo_bot/cell_workers/initial_transfer_worker.py", line 57, in _initial_transfer_get_groups
inventory_dict = inventory_req['responses']['GET_INVENTORY']['inventory_delta']['inventory_items']
KeyError: 'GET_INVENTORY'

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.