Everything works so good. But somehow 90% of the pokemons are running away with the bot. Someone knows why? Maybe is my settings that are to transfer duplicate?
Bot was working fine earlier, now it stucks at "Farming started" , any idea whats wrong? Thanks
Is there a maximum amount of pokemon that you can list under the UnwantedPokemonTypes ? When I added a handful it worked fine. When I did an edit to add all pokemon that weren't final evolution it comes up with an error. The error reads : Could not load settings. user.xml either missing or malformed
<UnwantedPokemonTypes>
<PokemonId>Bulbasaur</PokemonId>
<PokemonId>Ivysaur</PokemonId>
<PokemonId>Charmander</PokemonId>
<PokemonId>Charmeleon</PokemonId>
<PokemonId>Squirtle</PokemonId>
<PokemonId>Wartortle</PokemonId>
<PokemonId>Caterpie</PokemonId>
<PokemonId>Metapod</PokemonId>
<PokemonId>Weedle</PokemonId>
<PokemonId>Kakuna</PokemonId>
<PokemonId>Pidgey</PokemonId>
<PokemonId>Pidgeotto</PokemonId>
<PokemonId>Rattata</PokemonId>
<PokemonId>Spearow</PokemonId>
<PokemonId>Ekans</PokemonId>
<PokemonId>Pikachu</PokemonId>
<PokemonId>Sandshrew</PokemonId>
<PokemonId>NidoranFemale</PokemonId>
<PokemonId>NidoranMale</PokemonId>
<PokemonId>Nidorina</PokemonId>
<PokemonId>Nidorino</PokemonId>
<PokemonId>Clefairy</PokemonId>
<PokemonId>Vulpix</PokemonId>
<PokemonId>Jigglypuff</PokemonId>
<PokemonId>Zubat</PokemonId>
<PokemonId>Oddish</PokemonId>
<PokemonId>Gloom</PokemonId>
<PokemonId>Paras</PokemonId>
<PokemonId>Venonat</PokemonId>
<PokemonId>Diglett</PokemonId>
<PokemonId>Meowth</PokemonId>
<PokemonId>Psyduck</PokemonId>
<PokemonId>Mankey</PokemonId>
<PokemonId>Growlithe</PokemonId>
<PokemonId>Poliwag</PokemonId>
<PokemonId>Poliwrath</PokemonId>
<PokemonId>Abra</PokemonId>
<PokemonId>Kadabra</PokemonId>
<PokemonId>Machop</PokemonId>
<PokemonId>Machoke</PokemonId>
<PokemonId>Bellsprout</PokemonId>
<PokemonId>Weepingbell</PokemonId>
<PokemonId>Tentacool</PokemonId>
<PokemonId>Geodude</PokemonId>
<PokemonId>Graveler</PokemonId>
<PokemonId>Ponyta</PokemonId>
<PokemonId>Slowpoke</PokemonId>
<PokemonId>Magnemite</PokemonId>
<PokemonId>Doduo</PokemonId>
<PokemonId>Seel</PokemonId>
<PokemonId>Grimer</PokemonId>
<PokemonId>Shellder</PokemonId>
<PokemonId>Gastly</PokemonId>
<PokemonId>Haunter</PokemonId>
<PokemonId>Drowzee</PokemonId>
<PokemonId>Krabby</PokemonId>
<PokemonId>Voltorb</PokemonId>
<PokemonId>Exeggcute</PokemonId>
<PokemonId>Cubone</PokemonId>
<PokemonId>Koffing</PokemonId>
<PokemonId>Rhyhorn</PokemonId>
<PokemonId>Horsea</PokemonId>
<PokemonId>Goldeen</PokemonId>
<PokemonId>Staryu</PokemonId>
<PokemonId>Magikarp</PokemonId>
<PokemonId>Omanyte</PokemonId>
<PokemonId>Kabuto</PokemonId>
<PokemonId>Dratini</PokemonId>
<PokemonId>Dragonair</PokemonId>
</UnwantedPokemonTypes>
Last edited by maddhadder90; 07-21-2016 at 07:51 PM. Reason: clarification
@Deedaa i use pokecolor compiled , how to put that source to that pokecolor compiled???
thx before
any dev present? i am trying to leave 2 highest cp of each pokemon, edditing duplicate code:
i tried chaning .Where(x => x.Skip(1).Any());Code://ColoredConsoleWrite(ConsoleColor.White, $"Check for duplicates"); var inventory = await client.GetInventory(); var allpokemons = inventory.InventoryDelta.InventoryItems.Select(i => i.InventoryItemData?.Pokemon) .Where(p => p != null && p?.PokemonId > 0); var dupes = allpokemons.OrderBy(x => x.Cp).Select((x, i) => new { index = i, value = x }) .GroupBy(x => x.value.PokemonId) .Where(x => x.Skip(1).Any()); for (var i = 0; i < dupes.Count(); i++) { for (var j = 0; j < dupes.ElementAt(i).Count() - 1; j++) { var dubpokemon = dupes.ElementAt(i).ElementAt(j).value; var transfer = await client.TransferPokemon(dubpokemon.Id); ColoredConsoleWrite(ConsoleColor.DarkGreen, $"[{DateTime.Now.ToString("HH:mm:ss")}] Transferred {dubpokemon.PokemonId} with {dubpokemon.Cp} CP (Highest is {dupes.ElementAt(i).Last().value.Cp})"); }
to .Where(x => x.Skip(2).Any());
didnt work, any other sugestions?
Thanks heaps for this. I tried to give rep and coins to you but I have 0 rep. :P
I really appreciate what you've done for the poke community
#882 ([UPDATED] Pokemon Bot in C# Community Version)
don't look to be server problem :confused: i can get in on game and it happened to 3 copies bot want stat after clicking start it spit these codes out
Last edited by Deedaa; 07-21-2016 at 08:04 PM.
new to this compiling stuff... anyone give tips on how to add the recycling extra items in inventory to the bot? Please help, would greatly appreciate it and would like to learn to do it.
Level 23 right now and the bot catches 1 out of 10 pokemon on average. Catching on Nox is normal.