Coder Social home page Coder Social logo

pokemongof / pokemongo-bot Goto Github PK

View Code? Open in Web Editor NEW
3.8K 3.8K 1.5K 12.74 MB

The Pokemon Go Bot, baking with community.

License: MIT License

Python 71.24% HTML 0.45% JavaScript 25.33% CSS 0.12% Shell 0.72% Batchfile 2.13%
automation bot docker mqtt pokemon pokemongo pokemongo-bot pokemongof pokestops python script slack telegram

pokemongo-bot's People

Contributors

alexyaoyang avatar anakin5 avatar askovpen avatar brantje avatar breezero avatar cmezh avatar davidakachaos avatar dba2016 avatar dextrotip avatar douglascamata avatar eggins avatar fredrik-hellmangroup avatar gobberwart avatar goedzo avatar gofmaster avatar javajohnhub avatar jcolomar avatar julienlavergne avatar merlionrock avatar mjmadsen avatar nbq avatar pogarek avatar rawgni avatar sohje avatar solderzzc avatar tejado avatar th3w4y avatar thesavior avatar walaoaaa1234 avatar xairooo 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  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

pokemongo-bot's Issues

Run Error

Traceback (most recent call last):
File "pokecli.py", line 32, in
import requests
ImportError: No module named requests

No Spinning

Pokebot not spinning, just get

This is PokeStop
dont keep search the fort before have a way to check items
need a rest
{'spawn_points': [{'latitude': 53.136330253680725, 'longitude': 8.213005417302703}, {'latitude': 53.13572059455336, 'longitude': 8.21203219109674}, {'latitude': 53.135303397687196, 'longitude': 8.214389277013524}, {'latitude': 53.13643613496355, 'longitude': 8.212698720545184}, {'latitude': 53.134965451871125, 'longitude': 8.213159216305451}, {'latitude': 53.13697820218987, 'longitude': 8.213425964846731}, {'latitude': 53.13672047647111, 'longitude': 8.214702645753663}, {'latitude': 53.136712816646046, 'longitude': 8.214813192140985}, {'latitude': 53.13574090778001, 'longitude': 8.214182327168299}, {'latitude': 53.13663891080483, 'longitude': 8.213436777140737}, {'latitude': 53.13680472705303, 'longitude': 8.213486643534916}, {'latitude': 53.13672181888559, 'longitude': 8.213461710275894}, {'latitude': 53.13532137169679, 'longitude': 8.211686476134194}, {'latitude': 53.13678806444527, 'longitude': 8.214948676275343}, {'latitude': 53.134716733587275, 'longitude': 8.213084423116486}, {'latitude': 53.135281761172614, 'longitude': 8.213480021247122}, {'latitude': 53.13688763530713, 'longitude': 8.213511576917801}, {'latitude': 53.134799639595215, 'longitude': 8.213109354055629}, {'latitude': 53.13448965680384, 'longitude': 8.213918856864142}, {'latitude': 53.13654834435374, 'longitude': 8.21352238819746}, {'latitude': 53.136480753206996, 'longitude': 8.213276367622168}, {'latitude': 53.13591571571464, 'longitude': 8.212880760856752}, {'latitude': 53.13635955289103, 'longitude': 8.213804152871013}, {'latitude': 53.135220491469624, 'longitude': 8.214364341944401}, {'latitude': 53.135751220957616, 'longitude': 8.211590035275654}, {'latitude': 53.136631252308135, 'longitude': 8.213547321535083}], 's2_cell_id': 5167562853275664384L, 'current_timestamp_ms': 1469084402550L, 'forts': [{'last_modified_timestamp_ms': 1467338436100L, 'enabled': True, 'longitude': 8.212092, 'latitude': 53.136486, 'type': 1, 'id': u'18fc03832066497483a2019f2ab0d958.16'}, {'last_modified_timestamp_ms': 1467338436100L, 'enabled': True, 'longitude': 8.21158, 'latitude': 53.134651, 'type': 1, 'id': u'56fa0096a301462380980e462572924f.16'}, {'last_modified_timestamp_ms': 1468596553846L, 'enabled': True, 'longitude': 8.214112, 'latitude': 53.135139, 'type': 1, 'id': u'5a525fd90b354f6f8cad8502f2ee6f09.16'}, {'last_modified_timestamp_ms': 1469037048260L, 'enabled': True, 'longitude': 8.214065, 'latitude': 53.136425, 'type': 1, 'id': u'ebf75743b4eb4cf0b26ca60b49b6f202.16'}, {'last_modified_timestamp_ms': 1469028291758L, 'enabled': True, 'longitude': 8.215009, 'latitude': 53.136726, 'type': 1, 'id': u'f99ee79119c944c9b8d30e60703d4a3d.16'}]}

No Pokemon

It doesn't seem to be catching Pokemon, only spinning pokestops and getting EXP.

Walking speed bugged?

So i set the speed -w 4.40 and got this in console
This is PokeStop
distant is 43.8958391159m
need setup the postion to farming fort
((xxx, xxx, 0.0), xxxxxxxxxxxxxxxxxxxxxxxxxxx')
Walking from (xxx, xxx) to (xxx, xxxx) for approx. 95.0sec

If i am correct speed of walking should be low right?

How to watch Bot

My pokemon are not showing up in my Pokedex?

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

The above is taken from the README. Is it possible to watch the bot operate?

Trying to catch pokemons without pokeballs in inventory

Seems like bot tries to catch pokemons even without any pokeballs in inventory.

When this happens, "CATCH_POKEMON" structure is empty (no status) and bot tries to keep going. For now I locally added sys.exit(0) when this happens but it should probably start collecting pokeballs for some time instead.

Sadly it doesn't automatically switch to pokestop spinning mode. When running in spinning mode it doesn't catch any pokemons.

Getting error on latest download

when trying to login I get this, it worked before I updated the files.

Traceback (most recent call last):
File "C:\PokemonGo-Bot-master\pokecli.py", line 38, in
ssl._create_default_https_context = ssl._create_unverified_context
AttributeError: 'module' object has no attribute '_create_unverified_context'

[suggestion] Use great balls when encounter higher CP pokemons

Hey so i just had an idea, Why don't you make a code that uses great balls when bot encounter higher set amount of CP of a pokemon lets say bot saw a pokemon of CP 1000 let the bot through a normal ball first. if fails then try a great ball if it again fails then through a raspberry and a greatball until its captured. :)

Connexion failed

Hello,

I tried to log on replacing "python2 pokecli.py -a ptc -u tejado -p 1234 --location "New York, Washington Square" by my IDs but I have an error, my login and password yet they are ok, I don't understand :(

thanks in advance

x

x

crash when finding nidoran

When it tries to print the name of the pokemon Nidoran in the terminal it crashes ( there is a wierd symbol in the name )

nidoran is id 29 and 32

edit:
this was an older version my bad

Freeze/Hangup issue

Seems to stop for a bit whenever it encounters this:

2016-07-21 00:49:19,890 [ pgoapi] [ INFO] Create new request...
2016-07-21 00:49:19,891 [ pgoapi] [ INFO] Adding 'GET_INVENTORY' to RPC request
2016-07-21 00:49:19,892 [ pgoapi] [ INFO] Execution of RPC
2016-07-21 00:49:20,081 [ pgoapi] [ INFO] Cleanup of request!

Is this an issue with rpc latency or..?

[Idea] Smooth walking instead of teleporting

We can move at 2 Meters per second (which would count into egg hatching), more would be okay too (but would be too fast for egg hatching). Teleporting is just too dangerous, so walking should be implemented.

Typo in the install guide README.md

Please fix the small typo in side the

1. Install all requirements for the project usingpip install -r ./requirements.textto1. Install all requirements for the project using pip install -r ./requirements.txt :)
Also the numbering does not work

Great Balls not getting used

I only had great balls in my items and I couldn't catch any pokemon. After I grab some regular pokeballs from the pokestops I was able to catch pokemons again.

Pokemons are invisibles and runnig away?

First, I thnig it is improtant to to say im not a programmer.
Now, I have used the bot on a level 2 player, I don't know if this related, but it seems that every pokemon run away from me.

Also, in the top left hand corrner it says that I have 8 pokemons but I can see them.

screenshot_20160721-165657


screenshot_20160721-165719

Help?

bot could not catch pokemons

i start script with -c 9, but all pokemon run out from me within two hours.
pokestop used normally
someone has this problem ?
how to solve it ?

Endless Exchange

Something rustles nearby!
A Wild Drowzee appeared! [CP246]
Captured Drowzee! [CP246]
A Wild Drowzee appeared! [CP361]
Captured Drowzee! [CP361]
looping: step 2 of 100
steplimit: 100 x: 1 y: 0 pos: 1 dx: 1 dy 0
(53.1406631, 8.216335599999999, 0)
looping: step 3 of 100
steplimit: 100 x: 1 y: 1 pos: 1 dx: 0 dy 1
(53.1406631, 8.218835599999998, 0)
looping: step 4 of 100
steplimit: 100 x: 0 y: 1 pos: 1 dx: -1 dy 0
(53.1381631, 8.218835599999998, 0)
Something rustles nearby!
A Wild Pidgey appeared! [CP155]
[-] Attempted to capture Pidgey - failed.. trying again!
Captured Pidgey! [CP155] - exchanging for candy
Exchanged successfuly!
Exchanged successfuly!
Exchanged successfuly!
Exchanged successfuly!
Exchanged successfuly!
Exchanged successfuly!
Exchanged successfuly!

For nubs.

Hello There smarter ppl than me.

I'm dumb for programming,can anyone write a guide how to make this work for nuubs like me?

I'm at the part where i installed python,and wanted to start pokecli but it just popps and doesn't stay to let me write stuff in it.

Halp pls.
Thanks for it in forward.

[Suggestion] Add an argument for more precise prints

I'm going to try to make it by myself, but I don't know if I can succeed so I'll still leave it here:

Basically, instead of having everything printed out, add an argument to shorten it (Only shows "Captured %POKEMON% [CP XXX]" or "Pokestop %NAME% visited, found %ITEMS%")

Need help please: AttributeError: 'module' object has no attribute '_create_unverified_context'

I installed python 2.7 and runned pip install. Now i got an AttributeError and i have no ideas to handle it. Can anybody please help me?

E:\Pokemon GO\PokemonGo Bot\PokemonGo-Bot-master>python pokecli.py -a ptc -u USERNAME -p PASS --location "Berlin, Potsdamer Platz"
Traceback (most recent call last):
  File "pokecli.py", line 38, in <module>
    ssl._create_default_https_context = ssl._create_unverified_context
AttributeError: 'module' object has no attribute '_create_unverified_context'

Pokemons ran away

Hello, only I have problem, that all pokemons ran away? (I can see this in Journal in app)

Report at the end of script

It would be nice to get a report when the script is interrupted (Control+C) pressed, for example. BTW, can the script be stopped by user wish in a different way?

Use lat/long/alt as location

Hello, perhaps it is possible to use lat/long/alt as a location. This way it is easier to make a precise location to get specific pokemons.

[Suggestion] Add more events to console

Please, add events to show in console like...
A Wild %POKEMON% appeared! Trying to capture... [CP %CP%]
Capturing...
Captured %POKEMON%, Pokeballs used %POKEBALLS%.
Captured %POKEMON%, Pokeballs used %POKEBALLS%, CP is too low, exchanging.
Yoy received %AMOUNT% %POKECANDY% of %POKEMON% and %STARTDUST% star dust.
%POKEMON% run away!
Searching pokemons nearby...
Found a pokestop. Trying to get the items.
You get:
%AMOUNT% %ITEM%
%AMOUNT% %ITEM%
%AMOUNT% %ITEM%
Your bag have %ITEMSINBAG%/%MAXBAGCAPACITY%.
Your bag is full!!!
The pokestop is disabled, skipping.
You level up!! Level %LEVEL%, exp to level up again %RESTEXP%.
You are running out of pokeballs!

Sorry for my bad english

Get banned

Hello Community, I am aware of botting isn´t a good thing in PokemonGo, but i live in a rual area in Germany without any good Pokemons,only Pokemon aviable here are Rattata and the Pidgion Pokemon,so i took a look at https://www.reddit.com/r/pokemongodev/comments/4tv0er/open_source_fully_functioning_bot_for_farming_and/ and found some bots, for farming Pokestops and catching Pokemon in any location i want..

And the result was a Ban last Night...

http://imgur.com/a/SA3gg

My Hardware:

iPhone 5s without jailbreak

I run the Bot in total maybe 2hours. My fakelocation was only 1 hour from my real location located. As precaution i logged in my App only after the bot stopped for at least an hour,so i dont get banned but it didnt worked out..

Can't start the bot / Discord?

Just updated the Bot, it shows the following error:

Traceback (most recent call last):
File "pokecli.py", line 38, in
ssl._create_default_https_context = ssl._create_unverified_context
AttributeError: 'module' object has no attribute '_create_unverified_context'

Can you add the link to discord in the readme?

Suggestions

Incubate eggs - free Pokemons
Human walking logic - for eggs
Use Stardust for level Pokemons
Use Candy on 50+ for level pokemons

Spam: CATCH_POKEMON "status": 3

Sometimes it spams this for over 5minutes, then i have to break the script, and start again

2016-07-21 08:58:59,619 [ pgoapi] [ INFO] Create new request...
2016-07-21 08:58:59,621 [ pgoapi] [ INFO] Adding 'CATCH_POKEMON' to RPC request including arguments
2016-07-21 08:58:59,622 [ pgoapi] [ INFO] Execution of RPC
2016-07-21 08:58:59,943 [ pgoapi] [ INFO] Cleanup of request!
Response dictionary:
{
"unknown2": 8145806132888207460,
"direction": 1,
"auth_ticket": {
"expire_timestamp_ms": 1469086143667,
"start": "5CpLERrRb5ZQphR+vw0n61XTQVlM9W4moeUCvFyeXYm2GzFQ5ZIN0Hkb2+MkOMjxo1ZpP4GIO/CM\nGTLDv46bbQ==\n",
"end": "2Cx/pEQjUoR2E5zicpeWLw==\n"
},
"responses": {
"CATCH_POKEMON": {
"status": 3
}
}
}

Refactor script to use objects

A big refactor is necessary to begin to add more complex features, before the code gets too messy.

I'm working on it and will need feedback on my fork soon.

Bot stops capturing pokemons once the server gets laggy

Testing the bot right now, a time when the Server must be busy,

The bot finds pokemons and a message like
"A Wild Spearow appeared! [CPXXX]"
is printed out. But instead of being followed by either :
"Attempted to capture Spearow - failed.. trying again" OR "Captured Spearow!"
It is followed by another Pokemon encounter

"A Wild Spearow appeared! [CPXXX]"
"A Wild Weedle appeared! [CPXXX]"

My wild guess is that it is the "freezing pokeball" phenomenon that happens on the app as well..

I'm new to the code so I'm not sure about what's happening here but I guess in that situation we should stay on the same spot until the pokemon is captured or goes away instead of moving on with the pokemon still there ?

Also I think those messages should all be logged with a time and I would love to do it :)

Make starred Pokemon stay in your inventory

Testing this out, found out that it grinded all my pokemon into candy that didn't meet my CP threashold, even the pokemon I had in my inventory, not just the pokemon I caught while running the bot.

unable to install : protobuf-to-dict

When i do pip install -r requirements.txt

everything works until the last (proto-to-dict) and i have this error at the end :

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/g0/q9t3hxlj6r31jtshpx4qz1gw0000gn/T/pip-build-GIODRf/protobuf-to-dict/

i also tried to install directly proto-to-dict but have same issue

sudo -H pip install protobuf-to-dict

Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-w7f2vQ/protobuf-to-dict/

i already have installed Python 2.7 and did a brew update and install thing in the readme.

Since proto to dict didn't install, i got an error at launch of the bot :

File "pokecli.py", line 32, in
import requests
ImportError: No module named requests

any idea ?

ImportError: No module named googlemaps

Tried running the command

pokecli.py -a ptc -u ****** -p ****** -l "XX.xxxxxx -XX.xxxxxx"

and got this error

Traceback (most recent call last):
File "C:\Users\Daniel\Desktop\Pokemon GO\AutoPokestop\pokecli.py", line 34, in

import working
File "C:\Users\Daniel\Desktop\Pokemon GO\AutoPokestop\working.py", line 3, in

import googlemaps
ImportError: No module named googlemaps

What am I doing wrong?

No Pokémon in Party

I've run the bot a while and i used it with "-c 0" to get every pokemon in my party.
Or do i just have to leave "-c" off for catching
On the "Pokémon" tab in the game i see there are 9 bot nothing is displayed.

All i get is fleeing?

Once i stopped the first run, then all i get now is:
{"responses": { "CATCH_POKEMON": { "status": 3 } }

I know it means flee, though it's the only response i get..

2016-07-21 10:38:15,938 [ pgoapi] [ INFO] Create new request... 2016-07-21 10:38:15,938 [ pgoapi] [ INFO] Adding 'CATCH_POKEMON' to RPC request including arguments 2016-07-21 10:38:15,939 [ pgoapi] [ INFO] Execution of RPC 2016-07-21 10:38:16,266 [ pgoapi] [ INFO] Cleanup of request! Response dictionary: { "unknown2": 8145806132888207460, "direction": 1, "auth_ticket": { "expire_timestamp_ms": 1469092097186, "start": "eDgMNcKL0UfQYKMgEnJ+2Yc79f1LDlaMprhis528FM8uhgDa9dO1+PlHpN9HLjgwZHsiEOOysPX/\n+NAm6G7c+Encp0cRqg1X5umhT7+bhLo=\n", "end": "V5J3qbUWRy8AwL8XoSzCZA==\n" }, "responses": { "CATCH_POKEMON": { "status": 3 } }

Releasing pkmn takes a long time

Running without spinstop and it seems that releasing low CP pkmn takes a long amount of time to resolve. Is this intentional?

Long walking times

What variables are you guys setting for your walk speed?/what is the max speed to hatch eggs?

I'm currently running 5.0 and I'm getting 1-2 min walk times between captures which seems excessive.

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.