這不是單純的bug, 是用第三方api搞出來的(pgoapi ), 必鎖.
已經一段時間了, 不知道還能不能用,下面有放蛋的source code 懂得可以自己去試
import os
import sys
import json
import time
import pprint
import logging
import getpass
import argparse
# add directory of this file to PATH, so that the package will be found
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
# import Pokemon Go API lib
from pgoapi import pgoapi
from pgoapi import utilities as util
log = logging.getLogger(__name__)
def main():
# instantiate pgoapi
api = pgoapi.PGoApi()
startLat = 40.757001
startLon = -74.001953
# set player position on the earth
#set lat and lon
api.set_position(startLat, startLon, 0.0)
#set login info, using ptc
api.login("ptc", "username", "password")
#required, sets signature, encrypt.dll for 32bit python install, encrypt64.dll for 64bit python install
api.activate_signature("encrypt64.dll")
#print response_dict
time.sleep(1)
count = 1
while count <= 100:
gymTest2 = api.fort_deploy_pokemon(fort_id = "57e956d492a34f23a139b1356dc47a97.16", pokemon_id = 6666666, player_latitude = startLat, player_longitude = startLon)
print gymTest2
time.sleep(1)
count = count + 1
if __name__ == "__main__":
main() |