-
Member
This bot is working great! I love it.
One thing concerns me though, why does the google bot stop updating live information in the cmd after 10 minutes? I feel like it stopped. I have to end up closing it and then pressing ctrl +f5 to restart it again for it to continue updating live

Originally LuCas23332
-
Member
OK I did this to restart if it get stuck without the external CMD script inside Program.cs
Code:
private static async Task ExecuteFarmingPokestopsAndPokemons(Client client)
{
var mapObjects = await client.GetMapObjects();
var pokeStops =
mapObjects.MapCells.SelectMany(i => i.Forts)
.Where(
i =>
i.Type == FortType.Checkpoint &&
i.CooldownCompleteTimestampMs < DateTime.UtcNow.ToUnixTime());
foreach (var pokeStop in pokeStops)
{
var update = await client.UpdatePlayerLocation(pokeStop.Latitude, pokeStop.Longitude);
var fortInfo = await client.GetFort(pokeStop.Id, pokeStop.Latitude, pokeStop.Longitude);
var fortSearch = await client.SearchFort(pokeStop.Id, pokeStop.Latitude, pokeStop.Longitude);
System.Console.WriteLine(
$"[{DateTime.Now.ToString("HH:mm:ss")}] Farmed XP: {fortSearch.ExperienceAwarded}, Gems: {fortSearch.GemsAwarded}, Eggs: {fortSearch.PokemonDataEgg} Items: {GetFriendlyItemsString(fortSearch.ItemsAwarded)}");
await Task.Delay(15000);
await ExecuteCatchAllNearbyPokemons(client);
}
double lat = double.Parse(ConfigurationManager.AppSettings["DefaultLatitude"], CultureInfo.InvariantCulture);
double lon = double.Parse(ConfigurationManager.AppSettings["DefaultLongitude"], CultureInfo.InvariantCulture);
var res = await client.UpdatePlayerLocation(lat, lon);
}
This pretty much reset your position to the default spawn.
And after the error catching put the Execute again (it's in the Execute method)
Code:
catch (TaskCanceledException tce) { System.Console.WriteLine("Task Canceled Exception - Restarting"); Execute(); }
catch (UriFormatException ufe) { System.Console.WriteLine("System URI Format Exception - Restarting"); Execute(); }
catch (ArgumentOutOfRangeException aore) { System.Console.WriteLine("ArgumentOutOfRangeException - Restarting"); Execute(); }
catch (NullReferenceException nre) { System.Console.WriteLine("Null Refference - Restarting"); Execute(); }
Execute();
Make sure to put your GPS info into the App.Config!
Last edited by Iocere; 07-21-2016 at 09:02 AM.
-
Member
Originally Posted by
iKweli
This bot is working great! I love it.
One thing concerns me though, why does the google bot stop updating live information in the cmd after 10 minutes? I feel like it stopped. I have to end up closing it and then pressing ctrl +f5 to restart it again for it to continue updating live
it happens sometimes. I tried not closing it one and it still gets me pokemons.
-
Sergeant Major
Originally Posted by
DanGuerrero
yeah please +1
also bot still doesnt transfer after catch pokemons. only on start i think
Last edited by b0Ni07; 07-21-2016 at 09:03 AM.
-
Member
Originally Posted by
katja
sorry but thats bullshit... i use the latest version but i get this error on my PTC account .. win 10 64bit visual studio 2015 community v 14.0.25123.00 update 2
are you serious right now? show some appreciation you pos!
I have the latest version and it is running perfectly! It even restarted itself after a recent crash! completely autopilot mode now! <3
-
Active Member
Originally Posted by
b0Ni07
yeah please +1
also bot still doesnttransfer after catch pokemons. only on start i think
yea a catch into transfer pokemon feature would be nice -> except pokemon you want ;D
-
Member
Do we have an option to change the finding/catching rate of pokemons?
-
Member
Is there any way we could evolve before we transfer? More xp this way
-
Member
Originally Posted by
DanGuerrero
Thx, for that. WIll add it manually this evening if it isnt implemented into the master by then. Right now it isnt...
-
Member
this bot doesnt catch any magikarp for me.
put the bot two times directly in a spot with 3-4 magikarps within less than 100meters and just got rattatas, zubats and others.....
is there something in the code or just really bad luck
-
Member
Originally Posted by
angrytestie
yea a catch into transfer pokemon feature would be nice -> except pokemon you want ;D
The newest version (about 40 minutes old) has the bot transferring unwanted pokemons peiodically instead of only on startup. Just need to get the newest version.
-
Member
Originally Posted by
Jig666
are you serious right now? show some appreciation you pos!
I have the latest version and it is running perfectly! It even restarted itself after a recent crash! completely autopilot mode now! <3
sorry i won´t let me call a liar - i wanna help to get bugs fixed and then ppl come call me a liar.. whats wrong with you guys?
just relax and be happy about the great tool and let ppl report their bugs
-
Originally Posted by
katja
sorry but thats bullshit... i use the latest version but i get this error on my PTC account .. win 10 64bit visual studio 2015 community v 14.0.25123.00 update 2
Calling bullshit on the active contributor to this bot isn't wise, everyone else uses the bot fine so if anything you should elaborate your problem instead of being rude.
Post a screenshot of your build log / command prompt log or something.
-
Post Thanks / Like - 1 Thanks
Jig666 (1 members gave Thanks to spodakek for this useful post)
-
Member
Originally Posted by
Iocere
OK I did this to restart if it get stuck without the external CMD script inside Program.cs
Code:
private static async Task ExecuteFarmingPokestopsAndPokemons(Client client)
{
var mapObjects = await client.GetMapObjects();
var pokeStops =
mapObjects.MapCells.SelectMany(i => i.Forts)
.Where(
i =>
i.Type == FortType.Checkpoint &&
i.CooldownCompleteTimestampMs < DateTime.UtcNow.ToUnixTime());
foreach (var pokeStop in pokeStops)
{
var update = await client.UpdatePlayerLocation(pokeStop.Latitude, pokeStop.Longitude);
var fortInfo = await client.GetFort(pokeStop.Id, pokeStop.Latitude, pokeStop.Longitude);
var fortSearch = await client.SearchFort(pokeStop.Id, pokeStop.Latitude, pokeStop.Longitude);
System.Console.WriteLine(
$"[{DateTime.Now.ToString("HH:mm:ss")}] Farmed XP: {fortSearch.ExperienceAwarded}, Gems: {fortSearch.GemsAwarded}, Eggs: {fortSearch.PokemonDataEgg} Items: {GetFriendlyItemsString(fortSearch.ItemsAwarded)}");
await Task.Delay(15000);
await ExecuteCatchAllNearbyPokemons(client);
}
double lat = double.Parse(ConfigurationManager.AppSettings["DefaultLatitude"], CultureInfo.InvariantCulture);
double lon = double.Parse(ConfigurationManager.AppSettings["DefaultLongitude"], CultureInfo.InvariantCulture);
var res = await client.UpdatePlayerLocation(lat, lon);
}
This pretty much reset your position to the default spawn.
And after the error catching put the Execute again (it's in the Execute method)
Code:
catch (TaskCanceledException tce) { System.Console.WriteLine("Task Canceled Exception - Restarting"); Execute(); }
catch (UriFormatException ufe) { System.Console.WriteLine("System URI Format Exception - Restarting"); Execute(); }
catch (ArgumentOutOfRangeException aore) { System.Console.WriteLine("ArgumentOutOfRangeException - Restarting"); Execute(); }
catch (NullReferenceException nre) { System.Console.WriteLine("Null Refference - Restarting"); Execute(); }
Execute();
Make sure to put your GPS info into the App.Config!
It already calls execute in the catch block.
-
Member
Originally Posted by
DanGuerrero
Where do you implement this code in order to make it work? Pretty useful addition. Thanks in advance