C# Bot for Farming Pokestops & Catching Pokemon menu

Shout-Out

User Tag List

Page 111 of 151 FirstFirst ... 1161107108109110111112113114115 ... LastLast
Results 1,651 to 1,665 of 2253
  1. #1651
    Deedaa's Avatar Member
    Reputation
    3
    Join Date
    Dec 2013
    Posts
    42
    Thanks G/R
    22/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by chancity View Post
    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;
            }
    Originally Posted by chancity View Post
    client.cs in pokemongo.rocketapi

    Also in CatchPokemon change pokeball to

    Pokeball = (int) GetBestBall().Result,

    I haven't tested yet.
    can we have something like this in with necro version?
    Last edited by Deedaa; 07-20-2016 at 04:18 PM.

    C# Bot for Farming Pokestops &amp; Catching Pokemon
  2. #1652
    chancity's Avatar Legendary
    CoreCoins Purchaser
    Reputation
    686
    Join Date
    Jun 2012
    Posts
    1,153
    Thanks G/R
    27/341
    Trade Feedback
    11 (55%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its for the latest version on FeroxRev repo

  3. #1653
    melzar's Avatar Member
    Reputation
    1
    Join Date
    Feb 2013
    Posts
    14
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if 1 out of 5 people play that's still like 25 million. Japan has 127 million or more.

    Sent from my SM-G928V using Tapatalk

  4. #1654
    xstyle69's Avatar Active Member
    Reputation
    38
    Join Date
    Jul 2014
    Posts
    181
    Thanks G/R
    70/37
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey, i am a google user for pokemon Go
    Can you please help me?

    AuthType AuthType { get; }
    double DefaultLatitude { get; }
    double DefaultLongitude { get; }
    string GoogleRefreshToken { get; set; }
    string PtcPassword { get; }
    string PtcUsername { get; }

    i just have to put cords in it?

    that means?:

    double DefaultLatitude { 45.030152; }
    double DefaultLongitude { -93.31931; }

  5. #1655
    ptmazkirut's Avatar Member
    Reputation
    3
    Join Date
    Jul 2016
    Posts
    89
    Thanks G/R
    3/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by chancity View Post
    TOO USE DIFFERENT POKEBALLS


    This is for the latest github version
    Code:
            private static async Task<MiscEnums.Item> GetPokeBall(Client client) 
            {
                var inventory = await client.GetInventory();
                var ballCollection = inventory.InventoryDelta.InventoryItems
                       .Select(i => i.InventoryItemData?.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;
    
            }
            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 encounterPokemonRespone = await client.EncounterPokemon(pokemon.EncounterId, pokemon.SpawnpointId);
                    var pokeball = await GetPokeBall(client);
    
                    CatchPokemonResponse caughtPokemonResponse;
                    do
                    {
                        caughtPokemonResponse = await client.CatchPokemon(pokemon.EncounterId, pokemon.SpawnpointId, pokemon.Latitude, pokemon.Longitude, pokeball); //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}" : $"[{DateTime.Now.ToString("HH:mm:ss")}] {pokemon.PokemonId} got away..");
                    await Task.Delay(5000);
                    
    
                    await Task.Delay(5000);
                }
            }
    dude can you give me link to the last gifthub version? ty

  6. #1656
    TBL-Equi's Avatar Member
    Reputation
    3
    Join Date
    Jul 2016
    Posts
    50
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by uploader619 View Post
    but i thought japan has low population so does not matter if every people there starts playing?
    Don't know what you are thinking, but 127,3 million people in Japan, and they are bound to have much higher ratio of people that will actually play.

  7. #1657
    xdanielx98's Avatar Member
    Reputation
    11
    Join Date
    May 2013
    Posts
    21
    Thanks G/R
    3/10
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ptmazkirut View Post
    can you give me link to this? thanks!!
    if you can't even figure out how to download it, then this is not for you

  8. Thanks DrogonNulled, shadowht, american_derp (3 members gave Thanks to xdanielx98 for this useful post)
  9. #1658
    navyguy's Avatar Active Member
    Reputation
    27
    Join Date
    Jul 2016
    Posts
    137
    Thanks G/R
    5/21
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Neer View Post
    TOO USE DIFFERENT POKEBALLS


    This is for the latest github version
    Code:
            private static async Task<MiscEnums.Item> GetPokeBall(Client client) 
            {
                var inventory = await client.GetInventory();
                var ballCollection = inventory.InventoryDelta.InventoryItems
                       .Select(i => i.InventoryItemData?.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;
    
            }
            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 encounterPokemonRespone = await client.EncounterPokemon(pokemon.EncounterId, pokemon.SpawnpointId);
                    var pokeball = await GetPokeBall(client);
    
                    CatchPokemonResponse caughtPokemonResponse;
                    do
                    {
                        caughtPokemonResponse = await client.CatchPokemon(pokemon.EncounterId, pokemon.SpawnpointId, pokemon.Latitude, pokemon.Longitude, pokeball); //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}" : $"[{DateTime.Now.ToString("HH:mm:ss")}] {pokemon.PokemonId} got away..");
                    await Task.Delay(5000);
                    
    
                    await Task.Delay(5000);
                }
            }

    maybe add this?

  10. #1659
    chancity's Avatar Legendary
    CoreCoins Purchaser
    Reputation
    686
    Join Date
    Jun 2012
    Posts
    1,153
    Thanks G/R
    27/341
    Trade Feedback
    11 (55%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ptmazkirut View Post
    dude can you give me link to the last gifthub version? ty
    https://github.com/FeroxRev/Pokemon-Go-Rocket-API

  11. #1660
    KefkaBot's Avatar Contributor CoreCoins Purchaser
    Reputation
    103
    Join Date
    Sep 2013
    Posts
    663
    Thanks G/R
    51/80
    Trade Feedback
    38 (95%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TBL-Equi View Post
    I am still hoping even this retarded developer won't be stupid enough to use the existing servers for the japan release...
    Oh they will, you can count on it.

  12. #1661
    xdanielx98's Avatar Member
    Reputation
    11
    Join Date
    May 2013
    Posts
    21
    Thanks G/R
    3/10
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xstyle69 View Post
    hey, i am a google user for pokemon Go
    Can you please help me?

    AuthType AuthType { get; }
    double DefaultLatitude { get; }
    double DefaultLongitude { get; }
    string GoogleRefreshToken { get; set; }
    string PtcPassword { get; }
    string PtcUsername { get; }

    i just have to put cords in it?

    that means?:

    double DefaultLatitude { 45.030152; }
    double DefaultLongitude { -93.31931; }
    no... go back and read instructions again, if you get to the same conclusion bang head off wall and try again

  13. Thanks Kyle0607, Deedaa, shadowht (3 members gave Thanks to xdanielx98 for this useful post)
  14. #1662
    uploader619's Avatar Knight
    Reputation
    65
    Join Date
    Jul 2016
    Posts
    219
    Thanks G/R
    13/56
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im using the one in your link rather than one in here as its more updated should i still add that code for the pokeball switch?

  15. #1663
    Mew351's Avatar Site Donator CoreCoins Purchaser
    Reputation
    13
    Join Date
    Oct 2013
    Posts
    85
    Thanks G/R
    38/12
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xdanielx98 View Post
    no... go back and read instructions again, if you get to the same conclusion bang head off wall and try again
    I'm going to say that like 80~% of the people in this thread are ****ing skids, it's the most annoying thing ever

  16. #1664
    shadowht's Avatar Member CoreCoins Purchaser
    Reputation
    6
    Join Date
    Jun 2012
    Posts
    113
    Thanks G/R
    44/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by KefkaBot View Post
    Oh they will, you can count on it.
    yea, less servers = more profit

  17. #1665
    cuteg4yboi's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Has the update anything to do with the Bot not working?

Similar Threads

  1. [Bot] Looking for working BOT only farm Pokestops!
    By samhayne in forum Pokemon GO Hacks|Cheats
    Replies: 4
    Last Post: 08-16-2016, 08:51 PM
  2. [How-To] Question: Is there a bot that farms pokestops ONLY for items and NOT catch pokemon?
    By Aubrionnax in forum Pokemon GO Hacks|Cheats
    Replies: 3
    Last Post: 07-28-2016, 06:13 AM
  3. Best Bot for farm?
    By tanksz in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 11-09-2013, 09:01 AM
  4. What is the best Bot for farming?
    By CookieMage in forum WoW Bots Questions & Requests
    Replies: 4
    Last Post: 05-15-2013, 11:41 AM
  5. Bot for farming eggs?
    By dw~ in forum WoW Bots Questions & Requests
    Replies: 2
    Last Post: 10-16-2012, 06:30 AM
All times are GMT -5. The time now is 12:21 AM. 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