def work_stop(local_ses,new_rcp_point): proto_all=logic.all_stops(local_ses) all_stops=api.use_api(new_rcp_point,proto_all) maps = pokemon_pb2.maps() maps.ParseFromString(all_stops) data_list=location.get_near(maps) data_list = sorted(data_list, key = lambda x: x[1]) if len(data_list)>0: print '[+] found: %s Pokestops near'%(len(data_list)) if local_ses is not None and data_list is not None: print '[+] starting show' if multi: a,b=split_list(data_list) p = Process(target=work_half_list, args=(a,local_ses.ses,new_rcp_point)) o = Process(target=work_half_list, args=(a,local_ses.ses,new_rcp_point)) p.start() o.start() p.join() o.join() print '[!] farming done..' else: for t in data_list: if config.debug: print '[!] farming pokestop..' work_with_stops(t,local_ses.ses,new_rcp_point) else: walk_random() work_stop(local_ses,new_rcp_point)
def work_stop(local_ses, new_rcp_point): proto_all = logic.all_stops(local_ses) all_stops = api.use_api(new_rcp_point, proto_all) maps = pokemon_pb2.maps() maps.ParseFromString(all_stops) data_list = location.get_near(maps) data_list = sorted(data_list, key=lambda x: x[1]) if len(data_list) > 0: print '[+] found: %s Pokestops near' % (len(data_list)) if local_ses is not None and data_list is not None: print '[+] starting show' if multi: a, b = split_list(data_list) p = Process(target=work_half_list, args=(a, local_ses.ses, new_rcp_point)) o = Process(target=work_half_list, args=(a, local_ses.ses, new_rcp_point)) p.start() o.start() p.join() o.join() print '[!] farming done..' else: for t in data_list: if config.debug: print '[!] farming pokestop..' work_with_stops(t, local_ses.ses, new_rcp_point) else: walk_random() work_stop(local_ses, new_rcp_point)
def main(): session_606=base64.b64decode('CAEQtICAgNDxw/1ZMgYIBhICCAGiBppdCrUCCICAgIDU6uPYRxDi4Yby3yoaQgojMWI2Nzg3M2E3YmQzNDNiZGIzNWIwODkyYmY0YTFhYWEuMTYQmpSjodoqGd44Kcx7ykpAIXGsi9to6CNAQAFIARpCCiMzYzQxM2YyYmYzOTM0YmI4OWUyMGQ4NDE4ODMzYjA0OS4xNhC76YHs3yoZCYuKOJ3KSkAhvyhBf6HnI0BAAUgBGkIKI2JkZDgyMzY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DFhYWM5NWMwYjA1MWQzZWMwODhhOTMwogYCCAGiBhIIARIOCJzsgvLfKhCc7ILy3yqiBgIIAaIGKhIoMDVkYWY1MTYzNWM4MjYxMWQxYWFjOTVjMGIwNTFkM2VjMDg4YTkzMA==') maps = pokemon_pb2.maps() maps.ParseFromString(session_606) for cell in [maps]: for block in cell.b: for obj in block.c: for stop in obj.p: print stop.t.type
def work_stop(local_ses, new_rcp_point): proto_all = logic.all_stops(local_ses) all_stops = api.use_api(new_rcp_point, proto_all) maps = pokemon_pb2.maps() maps.ParseFromString(all_stops) if show_pok: data_list = location.get_near_p(maps) if len(data_list) > 0: print '[!] found %s pokemon near you' % (len(data_list), ) for idx, pok in enumerate(data_list): print '[!]:%s Type:%s its %s m away' % ( idx, pok[0], pok[len(pok) - 1], ) #if pok[0] < 22: #if pok[len(pok)-1] < 20: catch_prot = logic.catch_it(local_ses.ses, pok) tmp_api = api.use_api(new_rcp_point, catch_prot) #exit() walk_random() walk_random() time.sleep(2) else: data_list = location.get_near(maps) data_list = sorted(data_list, key=lambda x: x[1]) if len(data_list) > 0: print '[+] found: %s Pokestops within %s m' % ( len(data_list), config.distance, ) if local_ses is not None and data_list is not None: print '[+] starting show' if multi: a, b = split_list(data_list) p = Process(target=work_half_list, args=(a, local_ses.ses, new_rcp_point)) o = Process(target=work_half_list, args=(a, local_ses.ses, new_rcp_point)) p.start() o.start() p.join() o.join() print '[!] farming done..' else: for t in data_list: if config.debug: print '[!] farming pokestop..' work_with_stops(t, local_ses.ses, new_rcp_point) else: walk_random() work_stop(local_ses, new_rcp_point)
def work_stop(local_ses,new_rcp_point): proto_all=logic.all_stops(local_ses) all_stops=api.use_api(new_rcp_point,proto_all) maps = pokemon_pb2.maps() maps.ParseFromString(all_stops) data_list=location.get_near(maps) data_list = sorted(data_list, key = lambda x: x[1]) print '[+] found: %s Pokestops within %s m'%(len(data_list),config.distance,) if local_ses is not None and data_list is not None: print '[+] starting show' for t in data_list: print '[!] farming pokestop..' work_with_stops(t,local_ses.ses,new_rcp_point)
def work_stop(local_ses,new_rcp_point): proto_all=logic.all_stops(local_ses) all_stops=api.use_api(new_rcp_point,proto_all) maps = pokemon_pb2.maps() maps.ParseFromString(all_stops) if show_pok: data_list=location.get_near_p(maps) if len(data_list)>0: print '[!] found %s pokemon near you'%(len(data_list),) for idx, pok in enumerate(data_list): print '[!]:%s Type:%s its %s m away'%(idx,pok[0],pok[len(pok)-1],) #if pok[0] < 22: #if pok[len(pok)-1] < 20: catch_prot= logic.catch_it(local_ses.ses,pok) tmp_api=api.use_api(new_rcp_point,catch_prot) #exit() walk_random() walk_random() time.sleep(2) else: data_list=location.get_near(maps) data_list = sorted(data_list, key = lambda x: x[1]) if len(data_list)>0: print '[+] found: %s Pokestops within %s m'%(len(data_list),config.distance,) if local_ses is not None and data_list is not None: print '[+] starting show' if multi: a,b=split_list(data_list) p = Process(target=work_half_list, args=(a,local_ses.ses,new_rcp_point)) o = Process(target=work_half_list, args=(a,local_ses.ses,new_rcp_point)) p.start() o.start() p.join() o.join() print '[!] farming done..' else: for t in data_list: if config.debug: print '[!] farming pokestop..' work_with_stops(t,local_ses.ses,new_rcp_point) else: walk_random() work_stop(local_ses,new_rcp_point)
def work_stop(local_ses,new_rcp_point): proto_all=logic.all_stops(local_ses) all_stops=api.use_api(new_rcp_point,proto_all) maps = pokemon_pb2.maps() try: maps.ParseFromString(all_stops) except: work_stop(local_ses,new_rcp_point) if show_pok: data_list=location.get_near_p(maps) if len(data_list)>0: print '[!] found %s pokemon near you'%(len(data_list),) for idx, pok in enumerate(data_list): print '[!] %s Type:%s its %s m away'%(idx,pok[0],pok[len(pok)-1],) #if pok[0] < 22: #if pok[len(pok)-1] < 45: lat1=location.l2f(location.get_lat()) lot1=location.l2f(location.get_lot()) lat2=location.l2f(pok[1]) lot2=location.l2f(pok[2]) #print location.l2f(lat1),location.l2f(lot1),location.l2f(lat2),location.l2f(lot2) if (lat1>lat2): while(lat1<lat2): lat1=lat1-0.000095 location.set_lat(lat1) location.set_lot(lot1) info_prot= logic.get_info(local_ses.ses,pok) tmp_api=api.use_api(new_rcp_point,info_prot) time.sleep(2) else: while(lat1<lat2): lat1=lat1+0.000095 location.set_lat(lat1) location.set_lot(lot1) info_prot= logic.get_info(local_ses.ses,pok) tmp_api=api.use_api(new_rcp_point,info_prot) time.sleep(2) if (lot1>lot2): while(lot1>lot2): lot1=lot1-0.000095 location.set_lat(lat1) location.set_lot(lot1) info_prot= logic.get_info(local_ses.ses,pok) tmp_api=api.use_api(new_rcp_point,info_prot) time.sleep(2) else: while(lot2>lot1): lot1=lot1+0.000095 location.set_lat(lat1) location.set_lot(lot1) info_prot= logic.get_info(local_ses.ses,pok) tmp_api=api.use_api(new_rcp_point,info_prot) time.sleep(2) catch_prot= logic.catch_it(local_ses.ses,pok) tmp_api=api.use_api(new_rcp_point,catch_prot) print "[+] catched pok..." #else: # print '[-] too far away' #exit() walk_random() walk_random() time.sleep(2) else: data_list=location.get_near(maps) data_list = sorted(data_list, key = lambda x: x[1]) if len(data_list)>0: print '[+] found: %s Pokestops near you'%(len(data_list),) if local_ses is not None and data_list is not None: print '[+] starting show' if multi: a,b=split_list(data_list) p = Process(target=work_half_list, args=(a,local_ses.ses,new_rcp_point)) o = Process(target=work_half_list, args=(a,local_ses.ses,new_rcp_point)) p.start() o.start() p.join() o.join() print '[!] farming done..' else: for t in data_list: if config.debug: print '[!] farming pokestop..' work_with_stops(t,local_ses.ses,new_rcp_point) else: walk_random() work_stop(local_ses,new_rcp_point)