Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot not catching pokemon, spin forts or moving at all #4444

Closed
Faralax opened this issue Aug 21, 2016 · 16 comments
Closed

Bot not catching pokemon, spin forts or moving at all #4444

Faralax opened this issue Aug 21, 2016 · 16 comments

Comments

@Faralax
Copy link

Faralax commented Aug 21, 2016

Expected Behavior

Bot should work normally (catch pokemon, spin stops, renamy pokes, release).

Actual Behavior

Bots login normally then doesnt move or do anything, doesnt throw any error message.

config.json
http://pastebin.com/ibbbgiV9

Output when issue occurred

Stay on place and move a little for a while

Steps to Reproduce

Run bot

Other Information

OS:
Windows
Branch:
Master up to date commit

Edit: I fixed the no moving and forts spin problems, still not able to catch pokemon
Edit2: Adding "catch_above_ncp": 0 to the catch part of the config fixed the no catching pokemon problem, What does ncp means anyways?

@oralunal
Copy link
Contributor

Same situation here:

2016-08-21 09:21:30,867 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
2016-08-21 09:21:30,868 [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
2016-08-21 09:21:30,868 [PokemonGoBot] [INFO] [location_found] Location found: 22.2856,114.1502 (22.2856, 114.1502, 0.0)
2016-08-21 09:21:30,871 [PokemonGoBot] [INFO] [position_update] Now at (22.2856, 114.1502, 0)
2016-08-21 09:21:30,872 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-21 09:21:32,832 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-21 09:21:33,519 [PokemonGoBot] [INFO]
2016-08-21 09:21:33,520 [PokemonGoBot] [INFO] --- xXx ---
2016-08-21 09:21:33,525 [PokemonGoBot] [INFO] Level: 23 (Next Level: 122055 XP) (Total: 437945 XP)
2016-08-21 09:21:33,528 [PokemonGoBot] [INFO] Pokemon Captured: 1127 | Pokestops Visited: 2243
2016-08-21 09:21:33,532 [PokemonGoBot] [INFO] Pokemon Bag: 23/250
2016-08-21 09:21:33,533 [PokemonGoBot] [INFO] Items: 234/350
2016-08-21 09:21:33,536 [PokemonGoBot] [INFO] Stardust: 132852 | Pokecoins: 0
2016-08-21 09:21:33,539 [PokemonGoBot] [INFO] PokeBalls: 0 | GreatBalls: 0 | UltraBalls: 150 | MasterBalls: 0
2016-08-21 09:21:33,542 [PokemonGoBot] [INFO] RazzBerries: 30 | BlukBerries: 0 | NanabBerries: 0
2016-08-21 09:21:33,546 [PokemonGoBot] [INFO] LuckyEgg: 2 | Incubator: 0 | TroyDisk: 5
2016-08-21 09:21:33,549 [PokemonGoBot] [INFO] Potion: 0 | SuperPotion: 0 | HyperPotion: 10 | MaxPotion: 0
2016-08-21 09:21:33,552 [PokemonGoBot] [INFO] Incense: 5 | IncenseSpicy: 0 | IncenseCool: 0
2016-08-21 09:21:33,555 [PokemonGoBot] [INFO] Revive: 30 | MaxRevive: 0
2016-08-21 09:21:33,558 [PokemonGoBot] [INFO]
2016-08-21 09:21:33,559 [PokemonGoBot] [INFO] Found encrypt_64.dll! Platform: win32 Encrypt.so directory: C:\Users\oralu\Desktop\pokebot\PokemonGo-Bot
2016-08-21 09:21:33,563 [PokemonGoBot] [INFO]
2016-08-21 09:21:34,625 [SleepSchedule] [INFO] [next_sleep] Next sleep at 2016-08-21 23:12:50.626000
2016-08-21 09:21:34,960 [PokemonGoBot] [INFO] [bot_start] Starting bot...
2016-08-21 09:21:35,480 [CollectLevelUpReward] [INFO] [level_up_reward] Received level up reward: []
2016-08-21 09:21:55,019 [PokemonGoBot] [INFO] [api_error] Server is throttling, reconnecting in 30 seconds

@ghost
Copy link

ghost commented Aug 21, 2016

Same problem on Ubuntu 16.04 Server and Ubuntu 16.04 Desktop.
Logs http://pastebin.com/ydVWKrYE

@ghost
Copy link

ghost commented Aug 21, 2016

Another log with debug: true
http://pastebin.com/1hhiKq79

@oralunal
Copy link
Contributor

I've reset the modem and it's fine..

@SteinX
Copy link

SteinX commented Aug 21, 2016

Probably same issue for me.

Config file: http://pastebin.com/qWBaXJeJ
Log: http://pastebin.com/wauf88Vy

At the last of log, we can see clearly that "Encountered 3 pokemon", but no attempt has been done to catch them.

@Ogalababa
Copy link

Maybe you got ban. Try to login with your phone and test.

@oralunal
Copy link
Contributor

oralunal commented Aug 21, 2016

Notice: Disable your navigation and use Mobile Data not the Wi-Fi you are botting before testing with your phone.

@ghost
Copy link

ghost commented Aug 21, 2016

Ogalababa, which type of ban? If it permanently banned, we would not have log in, see inventory, see other Pokémon. But no, we can login and see inventory and Pokemons around.

@SteinX
Copy link

SteinX commented Aug 21, 2016

@Ogalababa I tested with my phone, it works fine. (I can both spin the pokestop and capture the pokemon around me)
@oralunal I tried to share the cellular data of my phone to the PC to launch the bot, it doesn't change anything.

Perhaps i should have mentioned that the bot of version of this Friday did work for me. However once i pulled the latest version, it didn't work any more. I'm not so sure whether it's the problem of account or the problem of bot. I will try to reverse the version to do some further test.

@SteinX
Copy link

SteinX commented Aug 21, 2016

May be i found something.

It is after the commit 35d8299 which makes the part of capture doesn't work for me, in which a default value is added to prevent the bot from considering all pokemon as VIP

And you can resolve this problem by simply specifying all the option: catch_above_ncp, catch_above_cp, catch_above_iv in the catch section.
For example

"catch": {
    "any": {"catch_above_cp": 0, "catch_above_iv": 0, "catch_above_ncp": 0, "logic": "and"}
}

@ghost
Copy link

ghost commented Aug 21, 2016

SteinX, thank you very much for your feedback. But sadly it's didn't help in my case. :( Can you check, maybe I wrote something incorrect, please? http://pastebin.com/vHhx18wm

@SteinX
Copy link

SteinX commented Aug 21, 2016

@WoolF911 According to your log, your case is quite different to mine, since your bot can still try to catch the pokemon, it may just have some problem with the request. I noticed that you are using the websocket sever which is functionality i haven't used, maybe you can make a try to disable it to see if it works.

@ghost
Copy link

ghost commented Aug 21, 2016

@SteinX, it did not affect this error - I still have same error when the websocket is true and when it's false.

@developerllazy
Copy link
Contributor

i have similar issue, i tried to reboot my router and get a new ip. Seem the issue went away.

@Faralax
Copy link
Author

Faralax commented Aug 22, 2016

@SteinX "catch_above_ncp": 0, This line actually fixed the bot thank you. This line wasnt documented in the config example, we need better documentation when they implement changes to the configs.

@hogendoorn
Copy link

Did it for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants