-
Member
Originally Posted by
chancity
CODE TO USE OTHER POKEBALLS.
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
|| y.ItemId == MiscEnums.Item.ITEM_MASTER_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;
var masterBallsCount = ballCollection.Where(p => p.ItemId == MiscEnums.Item.ITEM_MASTER_BALL).
DefaultIfEmpty(new { ItemId = MiscEnums.Item.ITEM_MASTER_BALL, Amount = 0 }).FirstOrDefault().Amount;
if (masterBallsCount > 0)
return MiscEnums.Item.ITEM_MASTER_BALL;
if (ultraBallsCount > 0)
return MiscEnums.Item.ITEM_ULTRA_BALL;
if (greatBallsCount > 0)
return MiscEnums.Item.ITEM_GREAT_BALL;
return MiscEnums.Item.ITEM_POKE_BALL;
}
nice release mate thank you, you use PTC or google login? Mind sharing your files?
-
Member
Originally Posted by
shadowht
Guys stop asking asking noob questions, just read 5~10 pages, i am sure you will find it, this topic is getting too much flood already.
LOL, thinking people are actually going to read before asking the same question that has been asked 5 times per page.
-
Post Thanks / Like - 2 Thanks
-
Master Sergeant
Originally Posted by
Grabbed
The bot just caught me a 1500cp Snorlax!
where were you botting man? grats~~~
-
Active Member
Originally Posted by
chancity
gui? for what lol. does all it show is your location or something?? pics?
can I just add something to the current build as that one ahs not been updated in quite some tiime
-
Member
Can somebody tell me this is because of the server problems:
https://gyazo.com/3ff98bff40450642ae2967a64fff1002
-
-
Originally Posted by
navyguy
gui? for what lol. does all it show is your location or something?? pics?
can I just add something to the current build as that one ahs not been updated in quite some tiime
edited my post with a picture
-
Post Thanks / Like - 1 Thanks
xdanielx98 (1 members gave Thanks to chancity for this useful post)
-
Member
Originally Posted by
xdanielx98
LOL, thinking people are actually going to read before asking the same question that has been asked 5 times per page.
damn i literally read all the entire thread and the posts since the morning and i saw a lot of people asking the same questions again and again
-
Originally Posted by
chancity
For anyone interested here's a fork of the github repo that has a GUI version.
https://github.com/michaelowens/Poke...ree/desktop-ui
I take no credit for it.
Attachment 27643
modify all the coordinates with your location
Form1.cs
Code:
currentLocation = new GMap.NET.WindowsForms.Markers.GMarkerGoogle(new PointLatLng(33.814561, -117.919253), GMap.NET.WindowsForms.Markers.GMarkerGoogleType.green);
currentLocation.ToolTip = new GMapToolTip(currentLocation);
currentLocation.ToolTip.Marker.ToolTipText = "Starting position";
routesOverlay.Markers.Add(currentLocation);
GMapRoute r = new GMapRoute("farm route");
PointLatLng startPoint = new PointLatLng(33.814561, -117.919253);
r.Points.Add(startPoint);
PointLatLng endPoint = new PointLatLng(33.814561, -117.919253);
r.Points.Add(endPoint);
routesOverlay.Routes.Add(r);
gmap.Overlays.Add(routesOverlay);
gmap.Position = new PointLatLng(33.814561, -117.919253);
I posted this back 10-15 pages... be carefull because "transfer pokemon" does not work the same as the other version. For example it will transfer a dratini if you have a dragonair, does not keep one with highest CP
-
Elite User
Full List for Ferox API
PokemonId.Bulbasaur,PokemonId.Ivysaur,
PokemonId.Venusaur,
PokemonId.CHARMANDER,
PokemonId.Charmeleon,
PokemonId.Charizard,
PokemonId.Squirtle,
PokemonId.Wartortle,
PokemonId.Blastoise,
PokemonId.Caterpie,
PokemonId.Metapod,
PokemonId.Butterfree,
PokemonId.Weedle,
PokemonId.Kakuna,
PokemonId.Beedrill,
PokemonId.Pidgey,
PokemonId.Pidgeotto,
PokemonId.Pidgeot,
PokemonId.Rattata,
PokemonId.Raticate,
PokemonId.Spearow,
PokemonId.Fearow,
PokemonId.Ekans,
PokemonId.Arbok,
PokemonId.Pikachu,
PokemonId.Raichu,
PokemonId.Sandshrew,
PokemonId.Sandlash,
PokemonId.NidoranFemale,
PokemonId.Nidorina,
PokemonId.Nidoqueen,
PokemonId.NidoranMale,
PokemonId.Nidorino,
PokemonId.Nidoking,
PokemonId.Clefary,
PokemonId.Clefable,
PokemonId.Vulpix,
PokemonId.Ninetales,
PokemonId.Jigglypuff,
PokemonId.Wigglytuff,
PokemonId.Zubat,
PokemonId.Golbat,
PokemonId.Oddish,
PokemonId.Gloom,
PokemonId.Vileplume,
PokemonId.Paras,
PokemonId.Parasect,
PokemonId.Venonat,
PokemonId.Venomoth,
PokemonId.Diglett,
PokemonId.Dugtrio,
PokemonId.Meowth,
PokemonId.Persian,
PokemonId.Psyduck,
PokemonId.Golduck,
PokemonId.Mankey,
PokemonId.Primeape,
PokemonId.Growlithe,
PokemonId.Arcanine,
PokemonId.Poliwag,
PokemonId.Poliwhirl,
PokemonId.Poliwrath,
PokemonId.Abra,
PokemonId.Kadabra,
PokemonId.Alakhazam,
PokemonId.Machop,
PokemonId.Machoke,
PokemonId.Machamp,
PokemonId.Bellsprout,
PokemonId.Weepinbell,
PokemonId.Victreebell,
PokemonId.Tentacool,
PokemonId.Tentacruel,
PokemonId.Geoduge,
PokemonId.Graveler,
PokemonId.Golem,
PokemonId.Ponyta,
PokemonId.Rapidash,
PokemonId.Slowpoke,
PokemonId.Slowbro,
PokemonId.Magnemite,
PokemonId.Magneton,
//PokemonId.Farfetch'd,
PokemonId.Doduo,
PokemonId.Dodrio,
PokemonId.Seel,
PokemonId.Dewgong,
PokemonId.Grimer,
PokemonId.Muk,
PokemonId.Shellder,
PokemonId.Cloyster,
PokemonId.Gastly,
PokemonId.Haunter,
PokemonId.Gengar,
PokemonId.Onix,
PokemonId.Drowzee,
PokemonId.Hypno,
PokemonId.Krabby,
PokemonId.Kingler,
PokemonId.Voltorb,
PokemonId.Electrode,
PokemonId.Exeggcute,
PokemonId.Exeggutor,
PokemonId.Cubone,
PokemonId.Marowak,
PokemonId.Hitmonlee,
PokemonId.Hitmonchan,
PokemonId.Lickitung,
PokemonId.Koffing,
PokemonId.Weezing,
PokemonId.Rhyhorn,
PokemonId.Rhydon,
PokemonId.Chansey,
PokemonId.Tangela,
PokemonId.Kangaskhan,
PokemonId.Horsea,
PokemonId.Seadra,
PokemonId.Goldeen,
PokemonId.Seaking,
PokemonId.Staryu,
PokemonId.Starmie,
//PokemonId.Mr. Mime,
PokemonId.Scyther,
PokemonId.Jynx,
PokemonId.Electabuzz,
PokemonId.Magmar,
PokemonId.Pinsir,
PokemonId.Tauros,
PokemonId.Magikarp,
PokemonId.Gyarados,
PokemonId.Lapras,
PokemonId.Ditto,
PokemonId.Eevee,
PokemonId.Vaporeon,
PokemonId.Jolteon,
PokemonId.Flareon,
PokemonId.Porygon,
PokemonId.Omanyte,
PokemonId.Omastar,
PokemonId.Kabuto,
PokemonId.Kabutops,
PokemonId.Aerodactyl,
PokemonId.Snorlax,
PokemonId.Articuno,
PokemonId.Zapdos,
PokemonId.Moltres,
PokemonId.Dratini,
PokemonId.Dragonair,
PokemonId.Dragonite
//PokemonId.Mewtwo,
//PokemonId.Mew
Last edited by Ehnoah; 07-20-2016 at 03:43 PM.
-
Post Thanks / Like - 1 Thanks
shadowht (1 members gave Thanks to Ehnoah for this useful post)
-
Here's a simple GUI release with the current API
https://github.com/AnthonyOSX/GO-Bot/releases
-
Post Thanks / Like - 5 Thanks
-
Member
What is the point of auto evolving on necros version when its a waste due to lucky eggs... how to turn this shit off there is no simple toggle option in the code.
-
Member
Originally Posted by
swagbot
What is the point of auto evolving on necros version when its a waste due to lucky eggs... how to turn this shit off there is no simple toggle option in the code.
just comment the part with the evolve pokemon stuff in programm.cs
-
Member
Originally Posted by
SniffingPickles
Ty, waiting for google version too.
-
Member
Originally Posted by
SniffingPickles
Stuck on setting up.