Closed Annelol closed 8 years ago
edit: Still working for me, but others seem to have that problem as well. I literally tried using the freshly downloaded tool and then using the same accounts and same location as one of them and it worked while it came up as empty for them.
Okay so everyone with that problem is invited to set the variables in line 103, 105 and 120 to a) 'time_hb = 10 tries = 5 locktime = 0.1 b) 'time_hb = 15 tries = 6 locktime = 0.2
b is more extreme than a, let's see if that makes it work. Also how would you guys describe the quality and speed of your internet connection in general?
will try with those variables and report back, internet connection shouldnt be a problem for me since its hosted on a VPS
No luck with either scenario a or b, still comes up empty
no luck for me either. For me it stops at...
[+] Distributing 2107 locations to 40 threads.
[+] Run #1, Time: 10:48:42, ID: 0, Location: (#), Interval: 900 s
... and doesn't even show Finished blablabla
I'm on ADSL @ around 10mbps.
I also tried a and b with several minutes between each try and also coming up empty.
Internet connection is extremely reliable, never drops out. Also hovering around 10mbps ADSL. As mentioned earlier, other mapping tools return pokemon in the same area, same accounts, same computer/internet connection.
@hanscts you're probably not seeing % complete because it takes so long for the 40 workers to hit 2% of 2107 locations. Make your radius much smaller for testing purposes (and you might as well use less workers too)
It doesn't stop, it's just slow with the a and b settings. But anyway, doesn't seem like they work. @hanscts are you using it on a VPS or some cloud server as well?
An idea, that just came to mind is, which altitude are you guys using? I just tested it with 0 and it came up empty. I think pgoapi normally overwrites a zero altitude automatically with something, so that could explain it.
I was using 0 alt. Will try another value.
Mine is a home internet connection.
Oh my god it works. Showing pokemon again. (I tried 12)
I tried with altitude 0, 3, 5 and 10 (I think 10 is the actual altitude of the lat/lng Im using) all came up empty
edit: 12 doesnt work for me either ;)
@c00ni I changed range to smaller value and can see scan %. @seikur0 I'm using a home connection. tried a few different altitudes, including 12, still nothing. spawn0.txt is not growing at all.
Okay so it can handle an altitude of 0 now, I'd still advise you to use a more non-suspicious one though ;) I'll keep looking into it, Annelol and hanscts.
@seikur0 do you think it's related to encrypt.so? This is the only file that is potentially different between all of us.
I made a new branch, bugfix-test, and changed the uk6.py file in that, so it puts out the hexed location values. I think it's that function again. Can you guys give me some output of that? I want the lines, that start with "DEBUG: "
I don't think it's related to encrypt.so, it gives an error if it's the wrong one for your setup.
Could it be, that it was the zero altitude for both of you guys as well and right now your IPs got soft-banned for 15-30 minutes because of too many tries? It may help to wait 30 minutes instead of doing anything.
I was having the same issues and I tried using an altitude of 12 and it worked for me. I didn't use the bug-fix branch.
One customer less to serve :D
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "main0.py", line 732, in run
h = heartbeat(location, self.account)
File "main0.py", line 547, in heartbeat
response = get_profile(1, location, account, m1)
File "main0.py", line 497, in get_profile
response = api_req(location, account, account['api_url'], account['access_token'], req, useauth=account['auth_ticket'])
File "main0.py", line 407, in api_req
sig.location_hash1 = generateLocation1(ticket_serialized, location[0], location[1], location[2])
File "/home/user/bin/PGO-mapscan-opt-bugfix-test/uk6.py", line 43, in generateLocation1
locationBytes = d2h(lat) + d2h(lng) + d2h(alt)
File "/home/user/bin/PGO-mapscan-opt-bugfix-test/uk6.py", line 35, in d2h
sys.stdout.write('DEBUG: ' + hex_str + '\n')
NameError: global name 'sys' is not defined
EDIT: same error for all threads
Forgot that import, sry. Retry with the updated one. Also there is no need to use many accounts for this tests, just 1-4 would be enough.
how many lines do you need? don't want to wall spam... :) the below is just half of what appeared before "Finished 2%"
DEBUG: c042e7a28e792bc5
DEBUG: 406224ce2800130
DEBUG: 402a00000000000
DEBUG: c042e7a28e792bc5
DEBUG: 406224ce2800130
DEBUG: 402a00000000000
Okay, these look fine. At least that's working I guess :P (I'll shorten your comment for better readability.)
edit: Have you tried not doing anything for 30 minutes and then retrying?
not yet. i'll stop everything for 30mins from now and report back.
Same problem here. Made a few new accounts to rule out a soft ban and still can't find any pokemon (also spawns file remains empty).
It the error message for banned IP still there?
The ip gets soft-banned not the accounts.
whoops this would make sense... I will try it again in an hour or so.
Thanks for your help and all :)
Okay, I hope this'll fix it!
if you connect to VPN before starting the server it would be on different IP.
edit: just tried through VPN. Still nothing.
I waited about an hour and 15 minutes before trying again with the debug branch
edit by seikur0: output removed for visibility
Yeah these lead to nothing, is it working now Annelol? Switch back to the main branch.
No, still no pokemon found =(
Okay, give me the coordinates.
"coordinates":{"lat": 52.027892,"lng": 5.556565,"alt": 12}
but also tried with other coordinates in the same city, and even in a completely different country
Ok, I tested another map (https://github.com/favll/pogom) and it works, so I can definitely rule out an IP ban.
nudl3r are you on the newest update? The version before had an issue with altitudes of 0.
Annelol I'll try these coordinates in ~20 minutes. Maybe I can find something about it :/
update: just retried and still nothing.
Yes, I am on the latest update.
Mine is running, map loaded, but no pokemon
@Annelol: I tried your location and there is nothing wrong with it, lots of pokemon around for me :/ Can you try doing an ip reconnect and then making a completely new account and using only that for one scan? (You can run it with the '-tos' Parameter to make it accept the tos, so it should work.)
I have a static ip from the vps hosting, but I did try a new account, did not resolve the issue =( still only 'finished x%' messages nothing else.
Okay, can you try that other map nudl3r mentioned: https://github.com/favll/pogom on that vps? If it's the same as in no pokemon get found, then that ip is banned.
That map works fine, finds pokemon and everything
Well it's working for most users with the new updates. And if you're up to date I really don't have an idea, how to help you.
As an update I tried running it on a vps as well and didn't get pokemon. I'll compare pogoapi and my lightweight version tomorrow side by side to see why.
I believe they've banned certain popular VPS providers like Digitalocean and Linode. You might have more luck running one from a less known company.
I used a proxy, but it may be the case, that I got a soft-banned one. Tomorrow I can say more about this.
Just woke up and pull the latest code to try again. Still returning nothing. :( Not sure what else I can try.
I think it has to do with banning. I accidentally ran two occuracnes at once today and was banned after. Now I can't scan for more than an hour without being hit with a ban.
It doesnt have to do with banning, I havent been able to scan with this program at all since unknown6, other maps work fine with the same accounts and ip
Well I tried directly with pogoapi and it didn't find any pokemon as well on pythonanywhere vps.
I can't create a situation, in which one tool works and mine not, so I can't investigate this at all.
Annelol, if other tools are working on your vps, would you give me access to your vps, so I can test stuff?
@seikur0 I can give you access to my server as well, if you want. Just message me what you need (default linux user? root access?).
I need to be able to run my tool and another one (in python) that's working for you side by side, so if you could prepare that it would be good. Then also some good gui editor with python syntax recognition. Default linux user should be enough. Is that possible? xD
Sent you a message on reddit =)
No errors, but no pokemons either