spawnScan
spawnScan copied to clipboard
Never works due to map errors
I can run 37 accounts on my computer for maps for hours with no problems. Try 28 accounts on this scanner and I get this: http://pastebin.com/gV6HGHe2
Make sure all those accounts have accepted the TOS
I knew one of the accounts had an issue, but I couldn't tell which one. I was hoping it would just compensate.
Corrected the issue, still errored out in the middle of the night. http://pastebin.com/YK0cpXj8
your ip might be banned
If they banned my IP then they will ban anyone else IP who uses this. My IP was not banned before starting the scan and I had nothing else running except this scan.
I get these same errors as well,. All accounts used work in other maps, all TOS accepted. =(
Same issue here.
I haven't noticed much change to this thread but I think I found something useful. When running the scanner I can get about 30 minutes in (about to start fourth pass), and my tokens expire for the game resulting in the errors previously posted. Using the same IP and accounts I can close out and immediately restart and start receiving good data again. I was looking over the code and see that the exception handling basically just throws the flag that we're no longer connected to the server but does not attempt to try and relog the account that was disconnect. Sadly I am not knowledgeable enough to change this myself but I think if after each pass you were to log out and log back in the issue would diminish significantly. Obviously this may result in a few spawn points being missed but it would allow the code to complete and create the json files. The other option would be to output the json files after each iteration and just increment the outputs by 1 (spawns.json, spawns2.json...ect) and code a merger at the end. edit: Typos
is anyone still wanting a fix for this?
I've moved on and gave up on this. Go maps have already implemented it.
I added the same login request to line 142 and 151 in spawn.py with an if statement so it only starts doing it after the second pass, but this seems to be fixing the problem for me on any scan that is 1hr. Haven't done much testing beyond that since I had been getting errors before I just started to break it down into smaller components.
if j > 1: print 'Attempt token update for worker {}'.format(wid) api = pgoapi.PGoApi(provider=config['auth_service'], username=config['users'][wid]['username'], password=config['users'][wid]['password'], position_lat=0, position_lng=0, position_alt=0) api.activate_signature(utils.get_encryption_lib_path()) time.sleep(2) api.get_player()
I got the same issue and don't have any idea on how to fix it @Calajren can you maybe upload your working spawn.py? or just copy the code into pastebin? I could try that one then
Sorry I haven't been on this since I was able to get the areas I wanted. All I managed to do was re-request the token before it expired during each sleep iteration. That seemed to keep the program running. I would say that with the new ban waves that have been coming though all of the accounts that were used to build my database were banned within a week. Here is a picture of the code I added to get mine up and running.