You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
Since the last issue was closed and I was unable to resolve my ignorance, I shall ask again...
I cannot get it to set avatar, (codename also seems to fail probably my ignorance)
Since the last issue was closed and I was unable to resolve my ignorance, I shall ask again...
I cannot get it to set avatar, (codename also seems to fail probably my ignorance)
You can bypass avatar by just sending the next tutorial stage packet:
http://i.imgur.com/80tcsee.jpg
Code:
from pgoapi.protos.POGOProtos.Data import Player_pb2
from pgoapi.protos.POGOProtos import Enums_pb2
api = pgoapi.PGoApi()
api.set_position(0,0,0) #i set correct position but don't want people to know my location
time.sleep(2)
if not api.login('ptc', username=username, password=password):
sys.exit(1)
print('Successful login...')
time.sleep(2)
pa = Player_pb2.PlayerAvatar()
pa.skin = 2
pa.hair = 2
pa.shirt = 2
pa.pants = 2
pa.hat = 2
pa.shoes = 2
pa.gender = Enums_pb2.MALE
pa.eyes = 2
pa.backpack = 2
request = api.create_request()
request.set_avatar(player_avatar=pa) # have also tried pa.SerializeToString()
print(request.call())
The text was updated successfully, but these errors were encountered: