Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

PTC Account #1258

Open
PabliniBis opened this issue Aug 30, 2016 · 22 comments
Open

PTC Account #1258

PabliniBis opened this issue Aug 30, 2016 · 22 comments

Comments

@PabliniBis
Copy link

PabliniBis commented Aug 30, 2016

bot is not working. it tries to login, but it sends error

it was working ok with my google account, until that got banned.
first i used the same configuration file, but now im using the same as in template, just changing credentials and localization

https://gist.github.com/PabliniBis/e6999fda14b901aae298780314368d21
30 ago 16:57:55 [default] - Trying to read C:\PokemonGoBot\config.properties
30 ago 16:57:55 [default] - Saved start Latitude setting ("saved_latitude") is invalid, defaulting to 0.0: empty String
30 ago 16:57:55 [default] - Saved start Longitude setting ("saved_longitude") is invalid, defaulting to 0.0: empty String
30 ago 16:57:55 [default] - Logging in to game server...
Exception in thread "default" com.pokegoapi.exceptions.AsyncPokemonGoException: Unknown exception occurred.
at com.pokegoapi.util.AsyncHelper.toBlocking(AsyncHelper.java:46)
at com.pokegoapi.main.RequestHandler.sendServerRequests(RequestHandler.java:157)
at com.pokegoapi.api.settings.Settings.updateSettings(Settings.java:94)
at com.pokegoapi.api.settings.Settings.(Settings.java:81)
at com.pokegoapi.api.PokemonGo.(PokemonGo.java:110)
at com.pokegoapi.api.PokemonGo.(PokemonGo.java:143)
at ink.abb.pogo.scraper.MainKt.startBot(Main.kt:218)
at ink.abb.pogo.scraper.MainKt.startDefaultBot(Main.kt:154)
at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:80)
at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:67)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
at rx.exceptions.Exceptions.propagate(Exceptions.java:58)
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:465)
at rx.observables.BlockingObservable.first(BlockingObservable.java:168)
at com.pokegoapi.util.AsyncHelper.toBlocking(AsyncHelper.java:38)
... 10 more
Caused by: java.util.concurrent.ExecutionException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
at com.pokegoapi.main.RequestHandler$1.get(RequestHandler.java:111)
at com.pokegoapi.main.RequestHandler$1.get(RequestHandler.java:88)
at rx.internal.operators.OnSubscribeToObservableFuture$ToObservableFuture.call(OnSubscribeToObservableFuture.java:74)
at rx.internal.operators.OnSubscribeToObservableFuture$ToObservableFuture.call(OnSubscribeToObservableFuture.java:43)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.subscribe(Observable.java:9957)
at rx.Observable.subscribe(Observable.java:9924)
at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:445)
... 12 more
Caused by: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
at com.pokegoapi.main.ServerRequest.getData(ServerRequest.java:80)
at com.pokegoapi.main.RequestHandler.run(RequestHandler.java:298)
at java.lang.Thread.run(Thread.java:745)

Building 83% > :run
im using the latest version from develop. running on win10 with java 1.8

I have read all the issues referring to login issues. none of them served me for good.
I can login well in app. and as i said, google account was working well

Leave this sentence in your issue as proof that you have read and used this template.

@jacc
Copy link
Contributor

jacc commented Aug 30, 2016

Can you give us an error message? This is wayyy too generic.

@jacc
Copy link
Contributor

jacc commented Aug 30, 2016

Oh wait, the Pastebin had it. Are you using the JSON template? If so, you made need to set it to PTC instead of Google.
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null

@PabliniBis
Copy link
Author

im trying to use pastebin, but don't know how tu use.
and im using the config template, not JSON

@jacc
Copy link
Contributor

jacc commented Aug 30, 2016

I don't know if PTC is supported by the config template. Pinging @Sieberkev and @FrancYescO for clarification.

@PabliniBis
Copy link
Author

now i tried with the JSON and get same error

@jacc
Copy link
Contributor

jacc commented Aug 30, 2016

@PabliniBis can you put a !!censored!! version of your JSON here?

@FrancYescO
Copy link
Contributor

FrancYescO commented Aug 30, 2016

when this happen to me at login time 90% of time a restart will get it okay..

just try to reconfigure from a new config file, make sure you remove the json files under bot-settings folder

@jacc
Copy link
Contributor

jacc commented Aug 30, 2016

Yeah, it could have just gotten hung somewhere.

@Sieberkev
Copy link
Collaborator

concurrent.ExecutionException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null

The underlaying API sends too much requests at once at the PoGo server. Restarting can be a solution, but the final solution will arrive when the new API from jabbink gets published for everyone.

@PabliniBis
Copy link
Author

{
"latitude" : 19.4392709,
"longitude" : -99.2020797,
"saveLocationOnShutdown" : true,
"credentials" : {
"type" : "ptc",
"username" : "myptcname",
"password" : "mypass"
},
"proxyServer" : "",
"proxyPort" : "-1",
"proxyType" : "SOCKS",
"proxyUsername" : "",
"proxyPassword" : "",
"restApiPassword" : "",
"speed" : 2.8,
"randomSpeedRange" : 0.0,
"followStreets" : [],
"mapzenApiKey" : "",
"googleApiKey" : "",
"groupItemsByType" : false,
"dropItems" : true,
"uselessItems" : {
"ITEM_REVIVE" : 20,
"ITEM_MAX_REVIVE" : 10,
"ITEM_POTION" : 0,
"ITEM_SUPER_POTION" : 30,
"ITEM_HYPER_POTION" : 50,
"ITEM_MAX_POTION" : 50,
"ITEM_POKE_BALL" : 40,
"ITEM_GREAT_BALL" : 50,
"ITEM_ULTRA_BALL" : 50,
"ITEM_MASTER_BALL" : 10,
"ITEM_RAZZ_BERRY" : 40,
"ITEM_LUCKY_EGG" : -1,
"ITEM_INCENSE_ORDINARY" : -1,
"ITEM_TROY_DISK" : -1
},
"profileUpdateTimer" : 60,
"timerWalkToStartPokestop" : -1,
"randomNextPokestopSelection" : 5,
"campLurePokestop" : -1,
"desiredCatchProbability" : 0.4,
"desiredCatchProbabilityUnwanted" : 0.0,
"autotransfer" : true,
"randomBallThrows" : false,
"waitBetweenThrows" : false,
"keepPokemonAmount" : 1,
"maxPokemonAmount" : -1,
"displayKeepalive" : true,
"displayPokestopName" : false,
"displayPokestopRewards" : true,
"displayPokemonCatchRewards" : true,
"displayIfPokemonFromLure" : true,
"lootPokestop" : true,
"catchPokemon" : true,
"autoFillIncubator" : true,
"sortByIv" : false,
"desiredCurveRate" : 0.0,
"neverUseBerries" : true,
"allowLeaveStartArea" : false,
"spawnRadius" : -1,
"banSpinCount" : 0,
"transferCpThreshold" : 400,
"transferCpMinThreshold" : -1,
"transferIvThreshold" : 80,
"ignoredPokemon" : [ "EEVEE", "MEWTWO", "CHARMANDER" ],
"obligatoryTransfer" : [ "DODUO", "RATTATA", "CATERPIE", "PIDGEY" ],
"evolveBeforeTransfer" : [ "CATERPIE", "RATTATA", "WEEDLE", "PIDGEY" ],
"evolveStackLimit" : 100,
"useLuckyEgg" : 1,
"export" : "",
"guiPortSocket" : 8001,
"initialMapSize" : 9,
"waitChance" : 0.0,
"waitTimeMin" : 0,
"waitTimeMax" : 0
}

@PabliniBis
Copy link
Author

I have restarted like million times, it always gives same error.
with google acc was working perfectly

@FrancYescO
Copy link
Contributor

have you tried to reconfigure from a blank config file?

@PabliniBis
Copy link
Author

yes. i have used it with all default, just my credentials and location

@MrBull
Copy link

MrBull commented Aug 31, 2016

You can try the following. Delete log, build, and bot-settings folders, then rebuild and rerun. When you get struck again, delete just only the bot-settings folder and rerun it again. This helps me all the time so far. Let me know what you get !

@staurakis
Copy link

Have you 'activated' your PTC account by clicking the related email PTC sent you?
I had the exact same issue. It let me play for some hours and then i received the above error. I think it's only an issue of PTC account activation from the email.

@PabliniBis
Copy link
Author

i did as you said.
at first, same error but in the fifth attempt, it could login.
but now it says "got 0 pokestops"
then it decreases map size until it goes to 1
left it like that like 30 min
kept saying 0 pokestops

@FrancYescO
Copy link
Contributor

Ip ban or too much Pokémon/pokestop softban
i did as you said.
at first, same error but in the fifth attempt, it could login.
but now it says "got 0 pokestops"
then it decreases map size until it goes to 1
left it like that like 30 min
kept saying 0 pokestops

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1258 (comment)

@PabliniBis
Copy link
Author

how could that be?
the account is relative new

@staurakis
Copy link

Have you checked how many pokestops have you harvested and how many pokemons have you catch in 24 hours period?
Have you changed ip to check?

@PabliniBis
Copy link
Author

in the last 48 hrs i havent harvested pokestops
and i have tried connectin my laptop to mobile network instead of wifi
all same result

@staurakis
Copy link

Ok i understand. What is the current behavior of the official app? Cause i haven't seen any similar type of ban up to now....

@PabliniBis
Copy link
Author

official app works perfectly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants