-
Member
help
Originally Posted by
sephiroth_trandangkhoa
If it show Successfully receive token. It mean OK. I just added code to enter code to google site, don't touch anything else.
plz help me. new chrome dont get history i setup old chrome. it request login account
-
Member
Originally Posted by
Ev0lbyte
I have been running this bot all night and works great.
Suddenly I get "got away" all the time (i have enough poke balls) but pokestops work ....
Any idea ?? I didn't change any code but can't catch pokemon suddenly
Are you not full of pokemon 250/250 ?
-
Member
anyone having issue with the 5.0 version ? The google 4.2 works fine but by doing the same steps for 5.0 it doesn't run.
-
Member
its just me or the bot suddenly error even tho im ddoing fine on nox(server is up) and not banned
-
Member
Originally Posted by
andrerdxd
how do i add this code to the v5.0 repo?
It's working. Screen - 
@edit2 - working, just add&replace these 2 functions in Client.cs
Code:
private async Task<MiscEnums.Item> GetBestBall()
{
var inventory = await GetInventory();
var ballCollection = inventory.Payload[0].Bag.Items.Select(i => i.Item.Item).Where(p => p != null)
.GroupBy(i => (MiscEnums.Item)i.Item)
.Select(kvp => new { ItemId = kvp.Key, Amount = kvp.Sum(x => x.Count) })
.Where(y => y.ItemId == MiscEnums.Item.ITEM_POKE_BALL
|| y.ItemId == MiscEnums.Item.ITEM_GREAT_BALL
|| y.ItemId == MiscEnums.Item.ITEM_ULTRA_BALL);
var pokeBallsCount = ballCollection.Where(p => p.ItemId == MiscEnums.Item.ITEM_POKE_BALL).
DefaultIfEmpty(new { ItemId = MiscEnums.Item.ITEM_POKE_BALL, Amount = 0 }).FirstOrDefault().Amount;
var greatBallsCount = ballCollection.Where(p => p.ItemId == MiscEnums.Item.ITEM_GREAT_BALL).
DefaultIfEmpty(new { ItemId = MiscEnums.Item.ITEM_GREAT_BALL, Amount = 0 }).FirstOrDefault().Amount;
var ultraBallsCount = ballCollection.Where(p => p.ItemId == MiscEnums.Item.ITEM_ULTRA_BALL).
DefaultIfEmpty(new { ItemId = MiscEnums.Item.ITEM_ULTRA_BALL, Amount = 0 }).FirstOrDefault().Amount;
if (ultraBallsCount > 0)
{
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Ultra ball has been chosen. " + ultraBallsCount + "balls left.");
return MiscEnums.Item.ITEM_ULTRA_BALL;
}
if (greatBallsCount > 0)
{
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Great ball has been chosen. " + greatBallsCount + "balls left.");
return MiscEnums.Item.ITEM_GREAT_BALL;
}
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Poke ball has been chosen. " + pokeBallsCount + "balls left.");
return MiscEnums.Item.ITEM_POKE_BALL;
}
public async Task<CatchPokemonResponse> CatchPokemon(ulong encounterId, string spawnPointGuid, double pokemonLat,
double pokemonLng)
{
MiscEnums.Item bestPokeBall = await GetBestBall();
var customRequest = new Request.Types.CatchPokemonRequest()
{
EncounterId = encounterId,
Pokeball = (int)bestPokeBall,
SpawnPointGuid = spawnPointGuid,
HitPokemon = 1,
NormalizedReticleSize = Utils.FloatAsUlong(1.950),
SpinModifier = Utils.FloatAsUlong(1),
NormalizedHitPosition = Utils.FloatAsUlong(1)
};
var catchPokemonRequest = RequestBuilder.GetRequest(_unknownAuth, _currentLat, _currentLng, 30,
new Request.Types.Requests()
{
Type = (int)RequestType.CATCH_POKEMON,
Message = customRequest.ToByteString()
});
return
await
_httpClient.PostProto<Request, CatchPokemonResponse>($"https://{_apiUrl}/rpc", catchPokemonRequest);
}
Last edited by 7ken; 07-21-2016 at 04:44 AM.
-
Post Thanks / Like - 1 Thanks
imfap247 (1 members gave Thanks to 7ken for this useful post)
-
Member
Hi! Using CatcherStopperTransfer-AutoLoginChrome.zip and sometimes there is such error:
[0721/121757:ERROR:ipc_channel_win.cc(217)] pipe error: 109
Then it stops and nothing is going then. Any ideas about how can i fix that?
-
Member
Originally Posted by
7ken
I've deleted master balls switch functionality coz i want to save them but anyway you can add this to the code this way (Client.cs below EncounterPokemon function):
What level you get master balls?
-
Member
Originally Posted by
sephiroth_trandangkhoa
I downloaded your work and i changed the path to my selerium location but when i start it tells me can't find in c:/users/seraph etc and when i create the same path manually it finds it but it does your email and your password , i can't find anything to change this :\
-
Member
V 5.0 error :
missing \bin\debug\pokemon GO Rocket API.dll
-
Member
Does anybody have any idea at what lvl i will stop getting normal pokeballs ?
-
Member
Originally Posted by
darkretnuh
Just low CP duplicates. Keeps high CP's.
Whats the CP limit to keep? or where in the code is it determined what to keep.
-
Active Member
Originally Posted by
7ken
It's working. Screen -
@edit2 - working, just add&replace these 2 functions in Client.cs
Code:
private async Task<MiscEnums.Item> GetBestBall()
{
var inventory = await GetInventory();
var ballCollection = inventory.Payload[0].Bag.Items.Select(i => i.Item.Item).Where(p => p != null)
.GroupBy(i => (MiscEnums.Item)i.Item)
.Select(kvp => new { ItemId = kvp.Key, Amount = kvp.Sum(x => x.Count) })
.Where(y => y.ItemId == MiscEnums.Item.ITEM_POKE_BALL
|| y.ItemId == MiscEnums.Item.ITEM_GREAT_BALL
|| y.ItemId == MiscEnums.Item.ITEM_ULTRA_BALL);
var pokeBallsCount = ballCollection.Where(p => p.ItemId == MiscEnums.Item.ITEM_POKE_BALL).
DefaultIfEmpty(new { ItemId = MiscEnums.Item.ITEM_POKE_BALL, Amount = 0 }).FirstOrDefault().Amount;
var greatBallsCount = ballCollection.Where(p => p.ItemId == MiscEnums.Item.ITEM_GREAT_BALL).
DefaultIfEmpty(new { ItemId = MiscEnums.Item.ITEM_GREAT_BALL, Amount = 0 }).FirstOrDefault().Amount;
var ultraBallsCount = ballCollection.Where(p => p.ItemId == MiscEnums.Item.ITEM_ULTRA_BALL).
DefaultIfEmpty(new { ItemId = MiscEnums.Item.ITEM_ULTRA_BALL, Amount = 0 }).FirstOrDefault().Amount;
if (ultraBallsCount > 0)
{
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Ultra ball has been chosen. " + ultraBallsCount + "balls left.");
return MiscEnums.Item.ITEM_ULTRA_BALL;
}
if (greatBallsCount > 0)
{
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Great ball has been chosen. " + greatBallsCount + "balls left.");
return MiscEnums.Item.ITEM_GREAT_BALL;
}
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Poke ball has been chosen. " + pokeBallsCount + "balls left.");
return MiscEnums.Item.ITEM_POKE_BALL;
}
public async Task<CatchPokemonResponse> CatchPokemon(ulong encounterId, string spawnPointGuid, double pokemonLat,
double pokemonLng)
{
MiscEnums.Item bestPokeBall = await GetBestBall();
var customRequest = new Request.Types.CatchPokemonRequest()
{
EncounterId = encounterId,
Pokeball = (int)bestPokeBall,
SpawnPointGuid = spawnPointGuid,
HitPokemon = 1,
NormalizedReticleSize = Utils.FloatAsUlong(1.950),
SpinModifier = Utils.FloatAsUlong(1),
NormalizedHitPosition = Utils.FloatAsUlong(1)
};
var catchPokemonRequest = RequestBuilder.GetRequest(_unknownAuth, _currentLat, _currentLng, 30,
new Request.Types.Requests()
{
Type = (int)RequestType.CATCH_POKEMON,
Message = customRequest.ToByteString()
});
return
await
_httpClient.PostProto<Request, CatchPokemonResponse>($"https://{_apiUrl}/rpc", catchPokemonRequest);
}
from where to wehere? in mine there is some in a differnet order? what all are we replacing??
-
Corporal
Originally Posted by
mrgyros
plz help me. new chrome dont get history i setup old chrome. it request login account
my code wrote for new chrome, and it auto login, you don't need to type anything esle ??
it use chromedrive.exe and if you input gmail/password into Setting.cs. It should automatically
-
Post Thanks / Like - 2 Thanks
mrgyros,
tt812 (2 members gave Thanks to sephiroth_trandangkhoa for this useful post)
-
Member
Update:. using the transfer version.. made new ptc account yesterday and is already level nearly level 21 lol.. would of been higher if the servers where not down for like 3-4 hours lol.
-
Active Member
Got it,
Has anyone lowered the catching pokemon delay and the pokestop jump if so by how much? results? thoughts?