Necronomicon's Version of FeroxRev's Bot menu

Shout-Out

User Tag List

Page 57 of 66 FirstFirst ... 7535455565758596061 ... LastLast
Results 841 to 855 of 976
  1. #841
    DanGuerrero's Avatar Member
    Reputation
    3
    Join Date
    Jul 2016
    Posts
    31
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ImmortalTech View Post
    Does anyone have a concrete way to reverse the priority usage of Pokeballs? I currently have 400 in my inventory and would like to start using them before the ultra and great.


    Am using this, should be implemented though.

    https://github.com/NecronomiconCodin.../pull/12/files
    Last edited by DanGuerrero; 07-21-2016 at 08:52 AM.

    Necronomicon's Version of FeroxRev's Bot
  2. #842
    winterfall500's Avatar Member
    Reputation
    3
    Join Date
    Jul 2016
    Posts
    62
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do we have an option to change the speed of the bot?

  3. #843
    rowxs's Avatar Member
    Reputation
    7
    Join Date
    Jul 2016
    Posts
    160
    Thanks G/R
    35/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can someone look at my setting code please.. So basically I want my bot to keep each of the highest pokemon and transfer all the lowest ones... Keep a certain number of items for example I want to keep 50 healing potion 50 reviver and trash the rest.....also I want to keep my bot from straying to far...

    so here is what i got soo far...

    App.config:
    Code:
    <?xml version="1.0" encoding="utf-8"?> <configuration> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> </startup> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> <appSettings> <add key="AuthType" value="Google"/><!--Google/Ptc--> <add key="PtcUsername" value="[email protected]"/> <add key="PtcPassword" value="977602best"/> <add key="GoogleRefreshToken" value=""/> <add key="DefaultLatitude" value="23.2323232322322323"/><!--Default Amsterdam Central Station--> <add key="DefaultLongitude" value="-23.2323232323232323"/><!--Default Amsterdam Central Station--> <add key="TransferType" value="leaveStrongest"/><!--none/cp/leaveStrongest/duplicate/all Whitelists/blackslists for each type is in Program.cs--> <add key="TransferCPThreshold" value="0"/><!--transfer pokemon with CP less than this value if cp transfer type is selected. Whitelist in Program.cs--> <add key="EvolveAllGivenPokemons" value="false"/> </appSettings> </configuration>
    program cs:
    Code:
    #region using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Reflection; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using AllEnum; using PokemonGo.RocketAPI.Enums; using PokemonGo.RocketAPI.Exceptions; using PokemonGo.RocketAPI.Extensions; using PokemonGo.RocketAPI.GeneratedCode; #endregion namespace PokemonGo.RocketAPI.Console { internal class Program { private static readonly ISettings ClientSettings = new Settings(); private static int checkForDuplicates = -1; public static void CheckVersion() { try { var match = new Regex( @"\[assembly\: AssemblyVersion\(""(\d{1,})\.(\d{1,})\.(\d{1,})\.(\d{1,})""\)\]") .Match(DownloadServerVersion()); if (!match.Success) return; var gitVersion = new Version( string.Format( "{0}.{1}.{2}.{3}", match.Groups[1], match.Groups[2], match.Groups[3], match.Groups[4])); if (gitVersion <= Assembly.GetExecutingAssembly().GetName().Version) { System.Console.WriteLine("Awesome! You have already got the newest version!"); return; } ; System.Console.WriteLine("There is a new Version available: " + gitVersion); System.Console.WriteLine("If you have any issues, go get it now."); Thread.Sleep(1000); //Process.Start("https://github.com/NecronomiconCoding/Pokemon-Go-Rocket-API"); } catch (Exception) { System.Console.WriteLine("Unable to check for updates now..."); } } private static string DownloadServerVersion() { using (var wC = new WebClient()) return wC.DownloadString( "https://raw.githubusercontent.com/NecronomiconCoding/Pokemon-Go-Rocket-API/master/PokemonGo/RocketAPI/Console/Properties/AssemblyInfo.cs"); } private static async Task EvolveAllGivenPokemons(Client client, IEnumerable<PokemonData> pokemonToEvolve) { foreach (var pokemon in pokemonToEvolve) { /* enum Holoholo.Rpc.Types.EvolvePokemonOutProto.Result { UNSET = 0; SUCCESS = 1; FAILED_POKEMON_MISSING = 2; FAILED_INSUFFICIENT_RESOURCES = 3; FAILED_POKEMON_CANNOT_EVOLVE = 4; FAILED_POKEMON_IS_DEPLOYED = 5; } }*/ var countOfEvolvedUnits = 0; var xpCount = 0; EvolvePokemonOut evolvePokemonOutProto; do { evolvePokemonOutProto = await client.EvolvePokemon(pokemon.Id); //todo: someone check whether this still works if (evolvePokemonOutProto.Result == 1) { System.Console.WriteLine( $"Evolved {pokemon.PokemonId} successfully for {evolvePokemonOutProto.ExpAwarded}xp"); countOfEvolvedUnits++; xpCount += evolvePokemonOutProto.ExpAwarded; } else { var result = evolvePokemonOutProto.Result; /* System.Console.WriteLine($"Failed to evolve {pokemon.PokemonId}. " + $"EvolvePokemonOutProto.Result was {result}"); System.Console.WriteLine($"Due to above error, stopping evolving {pokemon.PokemonId}"); */ } } while (evolvePokemonOutProto.Result == 1); if (countOfEvolvedUnits > 0) System.Console.WriteLine( $"Evolved {countOfEvolvedUnits} pieces of {pokemon.PokemonId} for {xpCount}xp"); await Task.Delay(3000); } } private static async void Execute() { try { var client = new Client(ClientSettings); if (ClientSettings.AuthType == AuthType.Ptc) await client.DoPtcLogin(ClientSettings.PtcUsername, ClientSettings.PtcPassword); else if (ClientSettings.AuthType == AuthType.Google) await client.DoGoogleLogin(); await client.SetServer(); var profile = await client.GetProfile(); var settings = await client.GetSettings(); var mapObjects = await client.GetMapObjects(); var inventory = await client.GetInventory(); await ExecuteFarmingPokestopsAndPokemons(client); } 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(); } //await ExecuteCatchAllNearbyPokemons(client); } private static async Task EvolveAndTransfer(Client client) { var inventory = await client.GetInventory(); var pokemons = inventory.InventoryDelta.InventoryItems.Select(i => i.InventoryItemData?.Pokemon) .Where(p => p != null && p?.PokemonId > 0); if (ClientSettings.TransferType == "leaveStrongest") await TransferAllButStrongestUnwantedPokemon(client); else if (ClientSettings.TransferType == "all") await TransferAllGivenPokemons(client, pokemons); else if (ClientSettings.TransferType == "duplicate") await TransferDuplicatePokemon(client); else if (ClientSettings.TransferType == "cp") await TransferAllWeakPokemon(client, ClientSettings.TransferCPThreshold); else System.Console.WriteLine("Transfering pokemon disabled"); if (ClientSettings.EvolveAllGivenPokemons) await EvolveAllGivenPokemons(client, pokemons); } private static async Task ExecuteCatchAllNearbyPokemons(Client client) { var mapObjects = await client.GetMapObjects(); var pokemons = mapObjects.MapCells.SelectMany(i => i.CatchablePokemons); foreach (var pokemon in pokemons) { var update = await client.UpdatePlayerLocation(pokemon.Latitude, pokemon.Longitude); var encounterPokemonResponse = await client.EncounterPokemon(pokemon.EncounterId, pokemon.SpawnpointId); CatchPokemonResponse caughtPokemonResponse; do { caughtPokemonResponse = await client.CatchPokemon(pokemon.EncounterId, pokemon.SpawnpointId, pokemon.Latitude, pokemon.Longitude, MiscEnums.Item.ITEM_POKE_BALL); ; //note: reverted from settings because this should not be part of settings but part of logic } while (caughtPokemonResponse.Status == CatchPokemonResponse.Types.CatchStatus.CatchMissed); System.Console.WriteLine(caughtPokemonResponse.Status == CatchPokemonResponse.Types.CatchStatus.CatchSuccess ? $"[{DateTime.Now.ToString("HH:mm:ss")}] We caught a {pokemon.PokemonId} with CP {encounterPokemonResponse?.WildPokemon?.PokemonData?.Cp}" : $"[{DateTime.Now.ToString("HH:mm:ss")}] {pokemon.PokemonId} with CP {encounterPokemonResponse?.WildPokemon?.PokemonData?.Cp} got away.."); await Task.Delay(3500); } } private static async Task ExecuteFarmingPokestopsAndPokemons(Client client) { int counter = 0; var mapObjects = await client.GetMapObjects(); var pokeStops = mapObjects.MapCells.SelectMany(i => i.Forts) .Where( i => i.Type == FortType.Checkpoint && i.CooldownCompleteTimestampMs < DateTime.UtcNow.ToUnixTime()); System.Console.WriteLine(pokeStops.ToList().Count); foreach (var pokeStop in pokeStops) { //System.Console.WriteLine(++counter + " pokeStop"); 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(4000); await ExecuteCatchAllNearbyPokemons(client); await Task.Delay(6000); await EvolveAndTransfer(client); } } private static string GetFriendlyItemsString(IEnumerable<FortSearchResponse.Types.ItemAward> items) { var enumerable = items as IList<FortSearchResponse.Types.ItemAward> ?? items.ToList(); if (!enumerable.Any()) return string.Empty; return enumerable.GroupBy(i => i.ItemId) .Select(kvp => new {ItemName = kvp.Key.ToString(), Amount = kvp.Sum(x => x.ItemCount)}) .Select(y => $"{y.Amount} x {y.ItemName}") .Aggregate((a, b) => $"{a}, {b}"); } private static void Main(string[] args) { Task.Run(() => { try { System.Console.WriteLine("Coded by Ferox - edited by NecronomiconCoding"); CheckVersion(); Execute(); } catch (PtcOfflineException) { System.Console.WriteLine("PTC Servers are probably down OR your credentials are wrong. Try google"); } catch (Exception ex) { System.Console.WriteLine($"Unhandled exception: {ex}"); } }); System.Console.ReadLine(); } private static async Task TransferAllButStrongestUnwantedPokemon(Client client) { System.Console.WriteLine("[!] firing up the meat grinder"); var unwantedPokemonTypes = new[] { PokemonId.Weedle, }; var inventory = await client.GetInventory(); var pokemons = inventory.InventoryDelta.InventoryItems .Select(i => i.InventoryItemData?.Pokemon) .Where(p => p != null && p?.PokemonId > 0) .ToArray(); foreach (var unwantedPokemonType in unwantedPokemonTypes) { var pokemonOfDesiredType = pokemons.Where(p => p.PokemonId == unwantedPokemonType) .OrderByDescending(p => p.Cp) .ToList(); var unwantedPokemon = pokemonOfDesiredType.Skip(1) // keep the strongest one for potential battle-evolving .ToList(); System.Console.WriteLine($"Grinding {unwantedPokemon.Count} pokemons of type {unwantedPokemonType}"); await TransferAllGivenPokemons(client, unwantedPokemon); } System.Console.WriteLine("[!] finished grinding all the meat"); } private static async Task TransferAllGivenPokemons(Client client, IEnumerable<PokemonData> unwantedPokemons) { foreach (var pokemon in unwantedPokemons) { var transferPokemonResponse = await client.TransferPokemon(pokemon.Id); /* ReleasePokemonOutProto.Status { UNSET = 0; SUCCESS = 1; POKEMON_DEPLOYED = 2; FAILED = 3; ERROR_POKEMON_IS_EGG = 4; }*/ if (transferPokemonResponse.Status == 1) { System.Console.WriteLine($"Shoved another {pokemon.PokemonId} down the meat grinder"); } else { var status = transferPokemonResponse.Status; System.Console.WriteLine($"Somehow failed to grind {pokemon.PokemonId}. " + $"ReleasePokemonOutProto.Status was {status}"); } await Task.Delay(3000); } } private static async Task TransferDuplicatePokemon(Client client) { checkForDuplicates++; if (checkForDuplicates%2 == 0) { checkForDuplicates = 0; System.Console.WriteLine($"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); System.Console.WriteLine( $"Transfer {dubpokemon.PokemonId} with {dubpokemon.Cp} CP (highest has {dupes.ElementAt(i).Last().value.Cp})"); } } } } private static async Task TransferAllWeakPokemon(Client client, int cpThreshold) { System.Console.WriteLine("[!] firing up the meat grinder"); var doNotTransfer = new[] //these will not be transferred even when below the CP threshold { //PokemonId.Pidgey, //PokemonId.Rattata, //PokemonId.Weedle, //PokemonId.Zubat, //PokemonId.Caterpie, //PokemonId.Pidgeotto, //PokemonId.NidoranFemale, //PokemonId.Paras, //PokemonId.Venonat, //PokemonId.Psyduck, //PokemonId.Poliwag, //PokemonId.Slowpoke, //PokemonId.Drowzee, //PokemonId.Gastly, //PokemonId.Goldeen, //PokemonId.Staryu, PokemonId.Magikarp, PokemonId.Eevee//, //PokemonId.Dratini }; var inventory = await client.GetInventory(); var pokemons = inventory.InventoryDelta.InventoryItems .Select(i => i.InventoryItemData?.Pokemon) .Where(p => p != null && p?.PokemonId > 0) .ToArray(); //foreach (var unwantedPokemonType in unwantedPokemonTypes) { var pokemonToDiscard = pokemons.Where(p => !doNotTransfer.Contains(p.PokemonId) && p.Cp < cpThreshold) .OrderByDescending(p => p.Cp) .ToList(); //var unwantedPokemon = pokemonOfDesiredType.Skip(1) // keep the strongest one for potential battle-evolving // .ToList(); System.Console.WriteLine($"Grinding {pokemonToDiscard.Count} pokemon below {cpThreshold} CP."); await TransferAllGivenPokemons(client, pokemonToDiscard); } System.Console.WriteLine("[!] finished grinding all the meat"); } } }
    Last edited by rowxs; 07-21-2016 at 08:55 AM.

  4. #844
    Padaka's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How to set this up to grind only specific pokemons? I just want grind all ratatas, drawzees etc that common shit

  5. #845
    tvl's Avatar Contributor
    Reputation
    127
    Join Date
    Aug 2009
    Posts
    239
    Thanks G/R
    10/15
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by hardell View Post
    Can you show a screenshot? I'm pretty sure I'd notice 160 errors
    here is a part of the screen Imgur

  6. #846
    kerrydachow's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    does anyone know how to start the bot? it seems to be stuck
    Attached Thumbnails Attached Thumbnails Necronomicon's Version of FeroxRev's Bot-ss-2016-07-21-06-50-06-png  
    Last edited by kerrydachow; 07-21-2016 at 09:05 AM.

  7. #847
    hardell's Avatar Member
    Reputation
    11
    Join Date
    Mar 2016
    Posts
    68
    Thanks G/R
    15/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mcscruff View Post
    after 30 mins i got this

    An exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll but was not handled in user code

    Additional information: Specified argument was out of the range of valid values.

    it was pointed at await ExecuteFarmingPokestopsAndPokemons(client);
    This was fixed 2 hours ago and should restart when it has a problem. Download the latest version.

  8. #848
    k199's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    50
    Thanks G/R
    30/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i put my siting like this

    <add key="DefaultLatitude" value="52.379189"/><!--Default Amsterdam Central Station-->
    <add key="DefaultLongitude" value="4.899431"/><!--Default Amsterdam Central Station-->
    <add key="TransferType" value="duplicate"/><!--none/cp/leaveStrongest/duplicate/all Whitelists/blackslists for each type is in Program.cs-->
    <add key="TransferCPThreshold" value="0"/><!--transfer pokemon with CP less than this value if cp transfer type is selected. Whitelist in Program.cs-->
    <add key="EvolveAllGivenPokemons" value="false"/>
    so is that mean it will Evolve non , and it will Transfer all but keep the highest CP pokemon of each type ?

  9. #849
    winterfall500's Avatar Member
    Reputation
    3
    Join Date
    Jul 2016
    Posts
    62
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Necronomicon's Version of FeroxRev's Bot-arigato-jpg

    everything's working perfectly thankyou so much soon i will donate i'm just waiting for my creditcard to be cleared

  10. #850
    hardell's Avatar Member
    Reputation
    11
    Join Date
    Mar 2016
    Posts
    68
    Thanks G/R
    15/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by tvl View Post
    here is a part of the screen Imgur
    I'm pretty sure you're just using an old version of C#.

  11. #851
    spodakek's Avatar Contributor Authenticator enabled
    Reputation
    98
    Join Date
    Jul 2016
    Posts
    232
    Thanks G/R
    15/86
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by k199 View Post
    i put my siting like this



    so is that mean it will Evolve non , and it will Transfer all but keep the highest CP pokemon of each type ?
    That's right

  12. #852
    iKweli's Avatar Member
    Reputation
    12
    Join Date
    Mar 2009
    Posts
    135
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  13. #853
    angrytestie's Avatar Active Member
    Reputation
    15
    Join Date
    Oct 2012
    Posts
    149
    Thanks G/R
    2/13
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, bot is working fine so far! but after like 30 min bot stopped working without reason or any error message help ?

    Imgur: The most awesome images on the Internet

    thanks in advance!

  14. #854
    katja's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    27
    Thanks G/R
    6/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by hardell View Post
    This was fixed 2 hours ago and should restart when it has a problem. Download the latest version.
    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

  15. #855
    dawnera's Avatar Member
    Reputation
    4
    Join Date
    Jun 2013
    Posts
    32
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone any experience evolving using this? Does it skip the animation or not. Would be nice to know cause that would make Lucky Egg evolve benefit insane if it does.

Similar Threads

  1. [Question] Editing console output (with FeroxRev's bot)
    By Zexpeo in forum Pokemon GO Chat
    Replies: 0
    Last Post: 07-22-2016, 01:55 PM
  2. Mac OS X BG Bot version 2.0.X
    By Valmilu in forum World of Warcraft Bots and Programs
    Replies: 30
    Last Post: 02-10-2007, 11:39 AM
  3. Tool to get all Fish/bots working for EU version users! [self-made]
    By -MadMax- in forum World of Warcraft Bots and Programs
    Replies: 6
    Last Post: 09-08-2006, 09:02 AM
  4. [WoW Bot] WoW Glider Full Version 0.6.8
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 39
    Last Post: 05-08-2006, 12:15 AM
All times are GMT -5. The time now is 04:32 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search