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

Looping "Something rustles nearby!" no Pokemon appear #1122

Closed
kaoztheory opened this issue Jul 27, 2016 · 27 comments
Closed

Looping "Something rustles nearby!" no Pokemon appear #1122

kaoztheory opened this issue Jul 27, 2016 · 27 comments
Labels

Comments

@kaoztheory
Copy link

Expected Behavior

Pokemon should appear after Something rustles nearby!

Actual Behavior

[2016-07-27 00:22:36] [#] Something rustles nearby!
[2016-07-27 00:23:08] [#] Something rustles nearby!
[2016-07-27 00:23:41] [#] Something rustles nearby!
[2016-07-27 00:24:23] [#] Something rustles nearby!
[2016-07-27 00:25:05] [#] Something rustles nearby!
[2016-07-27 00:25:48] [#] Something rustles nearby!
[2016-07-27 00:26:19] [#] Something rustles nearby!
[2016-07-27 00:26:43] [#] Something rustles nearby!
[2016-07-27 00:27:04] [#] Something rustles nearby!
[2016-07-27 00:27:27] [#] Something rustles nearby!
[2016-07-27 00:27:48] [#] Something rustles nearby!
[2016-07-27 00:28:09] [#] Something rustles nearby!
[2016-07-27 00:28:22] [#] Something rustles nearby!

Steps to Reproduce

Using master build

Other Information

OS: Windows 10
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

Note spins working fine.

@bradhuffman
Copy link

Same.

@cadebrown
Copy link

Try recopying the example config, and only change the username, password, and apikey
Leave all the pokemon stuff alone.

@kaoztheory
Copy link
Author

Trying sec

@bradhuffman
Copy link

I did have to modify
def i2f(int): return struct.unpack('<d', struct.pack('<Q', int))[0]

to
def i2f(int): return struct.unpack('<d', struct.pack('<d', int))[0]

in utils.py to get bot to run.

@kaoztheory
Copy link
Author

same

@cadebrown
Copy link

Then you guys should upgrade to the latest version

@bradhuffman
Copy link

Also,
spawnpoint_id = self.pokemon['spawnpoint_id']
to
spawnpoint_id = self.pokemon['spawn_point_id']
in pokemon_catch_worker.py

@kaoztheory
Copy link
Author

Dev version?? Copied new config didn't work either

@cadebrown
Copy link

The dev branch

@bradhuffman
Copy link

Dev branch kept flaking on the location I tried to give it. Any secrets there?

@kaoztheory
Copy link
Author

Same

@bradhuffman
Copy link

[23:39:42] PokemonGO Bot v1.0 [23:39:42] No config argument specified, checking for /configs/config.json [23:39:42] Configuration initialized [23:39:43] [23:39:43] Location Found: 30.5508,-89.0110 [23:39:43] [x] The location given using -l could not be parsed. Checking for a cached location. [23:39:43] [x] Parsing cached location... No cached Location. Please specify initial location.

@bradhuffman
Copy link

Any ideas?

@krypttr
Copy link

krypttr commented Jul 27, 2016

Same problem on dev branch

@TheHaliax
Copy link

TheHaliax commented Jul 27, 2016

try doing this
before:
self.api.encounter(encounter_id=encounter_id, spawn_point_id=spawnpoint_id,
player_latitude=player_latitude, player_longitude=player_longitude)

after:
self.api.encounter(encounter_id=encounter_id, spawnpoint_id=spawnpoint_id,
player_latitude=player_latitude, player_longitude=player_longitude)

it brings up an error when trying to catch but it actually tries to catch instead of just rustling.
error is as follows

[2016-07-27 04:56:15] [#] Something rustles nearby!
[2016-07-27 04:56:15] A Wild Kingler appeared! [CP 129] [Potential 0.8]
[2016-07-27 04:56:15] IV [Stamina/Attack/Defense] = [14/7/15]
Traceback (most recent call last):
File "./pokecli.py", line 220, in
main()
File "./pokecli.py", line 211, in main
bot.take_step()
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 36, in take_step
self.stepper.take_step()
File "/home/ubuntu/workspace/pokemongo_bot/stepper.py", line 62, in take_step
self._work_at_position(position[0], position[1], position[2], True)
File "/home/ubuntu/workspace/pokemongo_bot/stepper.py", line 139, in _work_at_position
self.bot.work_on_cell(cell, position, pokemon_only)
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 63, in work_on_cell
if self.catch_pokemon(pokemon) == PokemonCatchWorker.NO_POKEBALLS:
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 190, in catch_pokemon
return_value = worker.work()
File "/home/ubuntu/workspace/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 98, in work
if not self.should_capture_pokemon(pokemon_name, cp, pokemon_potential, response_dict):
File "/home/ubuntu/workspace/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 292, in should_capture_pokemon
catch_config = self._get_catch_config_for(pokemon_name)
File "/home/ubuntu/workspace/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 333, in _get_catch_config_for
catch_config = self.config.catch.get(pokemon)
AttributeError: 'Namespace' object has no attribute 'catch'

@kaoztheory
Copy link
Author

likely has to do with the spawnpoint issue?

@bradhuffman
Copy link

Seems to be some inconsistencies in the naming.

@VictorChen
Copy link
Contributor

looks like this commit broke it: 6a28333

@TheHaliax
Copy link

sorry i'm not really good with github but my above change and doing this #1121

returns this
[2016-07-27 05:23:25] [#] Something rustles nearby!
Traceback (most recent call last):
File "./pokecli.py", line 220, in
main()
File "./pokecli.py", line 211, in main
bot.take_step()
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 36, in take_step
self.stepper.take_step()
File "/home/ubuntu/workspace/pokemongo_bot/stepper.py", line 62, in take_step
self._work_at_position(position[0], position[1], position[2], True)
File "/home/ubuntu/workspace/pokemongo_bot/stepper.py", line 139, in _work_at_position
self.bot.work_on_cell(cell, position, pokemon_only)
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 63, in work_on_cell
if self.catch_pokemon(pokemon) == PokemonCatchWorker.NO_POKEBALLS:
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 190, in catch_pokemon
return_value = worker.work()
File "/home/ubuntu/workspace/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 31, in work
response_dict = self.create_encounter_api_call()
AttributeError: 'PokemonCatchWorker' object has no attribute 'create_encounter_api_call'

@kaoztheory
Copy link
Author

reinstall of latest dev fixed it guys...FYI

@VictorChen
Copy link
Contributor

@kaoztheory still does not work

@bradhuffman
Copy link

Master appears to be working for me now. Did a git pull, then pip install
-r requirements.txt

On Wed, Jul 27, 2016 at 12:40 AM, Victor notifications@github.com wrote:

@kaoztheory https://github.com/kaoztheory still does not work


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1122 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAknJ6arZQxJYO_MRhlwo4B4W2LAeGkYks5qZu9ggaJpZM4JV00W
.

@SimpleVictor
Copy link

Yeah dev isn't working still. Master is though

@aTadTasty
Copy link

aTadTasty commented Jul 27, 2016

this is the latest dev i can get working as of right now. db5b719

small issue with this one i posted is:

[01:53:00] A Wild Growlithe appeared! [CP 17] [Potential 0.53]
[01:53:00] IV [Stamina/Attack/Defense] = [8/14/2]
[============================== ] 77%[01:53:07] Something rustles nearby!
[01:53:07] A Wild Growlithe appeared! [CP 17] [Potential 0.53]
[01:53:07] IV [Stamina/Attack/Defense] = [8/14/2]
[================================== ] 86%[01:53:13] Something rustles nearby!
[01:53:14] A Wild Growlithe appeared! [CP 17] [Potential 0.53]
[01:53:14] IV [Stamina/Attack/Defense] = [8/14/2]
[====================================== ] 96%
[01:53:17] Something rustles nearby!
[01:53:17] A Wild Magikarp appeared! [CP 145] [Potential 0.56]
[01:53:17] IV [Stamina/Attack/Defense] = [15/10/0]
[01:53:20] Scanning area for objects....
[01:53:20] Walking from (40.7675254, -73.97066) to [40.7693254, -73.97066] 0.20km
[ ] 0%[01:53:23] Something rustles nearby!
[01:53:23] A Wild Magikarp appeared! [CP 145] [Potential 0.56]
[01:53:23] IV [Stamina/Attack/Defense] = [15/10/0]
[=== ] 9%[01:53:31] Something rustles nearby!
[01:53:31] A Wild Magikarp appeared! [CP 145] [Potential 0.56]
[01:53:31] IV [Stamina/Attack/Defense] = [15/10/0]
[======= ] 19%[01:53:38] Something rustles nearby!
[01:53:39] A Wild Pinsir appeared! [CP 1349] [Potential 0.09]
[01:53:39] IV [Stamina/Attack/Defense] = [0/2/2]
[01:53:42] Using Ultraball (chance: 32.13%)... (14 left!)
[01:53:43] Captured Pinsir! [CP 1349] [0/2/2]
[=========== ] 29%[01:53:51] Something rustles nearby!
[01:53:51] A Wild Magikarp appeared! [CP 145] [Potential 0.56]
[01:53:51] IV [Stamina/Attack/Defense] = [15/10/0]
[=============== ] 38%[01:53:57] Something rustles nearby!
[01:53:57] A Wild Magikarp appeared! [CP 145] [Potential 0.56]
[01:53:57] IV [Stamina/Attack/Defense] = [15/10/0]

and no 1.1 will not work with the latest dev.

@VictorChen
Copy link
Contributor

this is now fixed: #1137

@elicwhite
Copy link
Contributor

Should be fixed in 72b1218

@fredrik-hellmangroup
Copy link
Contributor

Should be fixed in 72b1218

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

No branches or pull requests

10 participants