C# Bot for Farming Pokestops & Catching Pokemon menu

User Tag List

Page 138 of 151 FirstFirst ... 3888134135136137138139140141142 ... LastLast
Results 2,056 to 2,070 of 2253
  1. #2056
    imfap247's Avatar Member
    Reputation
    8
    Join Date
    Jan 2014
    Posts
    37
    Thanks G/R
    4/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @7ken, works perfectly. Thanks

    C# Bot for Farming Pokestops & Catching Pokemon
  2. #2057
    westeroskrali's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    25
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by 7ken View Post
    It's working. Screen -



    @edit2 - working, just add&replace these 2 functions in Client.cs

    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);
    
                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;
    
                if (ultraBallsCount > 0)
                {
                    Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Ultra ball has been chosen. " + ultraBallsCount + "balls left.");
                    return MiscEnums.Item.ITEM_ULTRA_BALL;
                }
    
                if (greatBallsCount > 0)
                {
                    Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Great ball has been chosen. " + greatBallsCount + "balls left.");
                    return MiscEnums.Item.ITEM_GREAT_BALL;
                }
    
                Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}]" + "Poke ball has been chosen. " + pokeBallsCount + "balls left.");
                return MiscEnums.Item.ITEM_POKE_BALL;
    
    
            }
    
            public async Task<CatchPokemonResponse> CatchPokemon(ulong encounterId, string spawnPointGuid, double pokemonLat,
                double pokemonLng)
            {
    
                MiscEnums.Item bestPokeBall = await GetBestBall();
                var customRequest = new Request.Types.CatchPokemonRequest()
                {
                    EncounterId = encounterId,
                    Pokeball = (int)bestPokeBall,
                    SpawnPointGuid = spawnPointGuid,
                    HitPokemon = 1,
                    NormalizedReticleSize = Utils.FloatAsUlong(1.950),
                    SpinModifier = Utils.FloatAsUlong(1),
                    NormalizedHitPosition = Utils.FloatAsUlong(1)
                };
    
                var catchPokemonRequest = RequestBuilder.GetRequest(_unknownAuth, _currentLat, _currentLng, 30,
                    new Request.Types.Requests()
                    {
                        Type = (int)RequestType.CATCH_POKEMON,
                        Message = customRequest.ToByteString()
                    });
                return
                    await
                        _httpClient.PostProto<Request, CatchPokemonResponse>($"https://{_apiUrl}/rpc", catchPokemonRequest);
            }
    works like charm

  3. #2058
    sephiroth_trandangkhoa's Avatar Corporal
    Reputation
    18
    Join Date
    Jul 2016
    Posts
    22
    Thanks G/R
    0/16
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mobus1 View Post
    I downloaded your work and i changed the path to my selerium location but when i start it tells me can't find in c:/users/seraph etc and when i create the same path manually it finds it but it does your email and your password , i can't find anything to change this :\
    At the top right corner, chose Solution. Right click, choose clean solution, then choose rebuild solution.

  4. #2059
    peppzihax's Avatar Member
    Reputation
    1
    Join Date
    May 2014
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by westeroskrali View Post
    works like charm
    Sorry for asking silly questions, but exactly where do i put it? Im not great with programming =)
    Thanks!

  5. #2060
    0hl4l4's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    can i

    Originally Posted by Subcore View Post
    Hey. =) How often does it try to catch a pokemon? Only got 1 pidgey so far
    Attachment 27700

    It is great so far =) easy to use
    can you give me your source codes? i cant make my transfee thing work

  6. #2061
    Prarrior's Avatar Member
    Reputation
    1
    Join Date
    Jul 2013
    Posts
    21
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Prarrior View Post
    Iam getting the following error when I ctrl+f5 it. It does login me automatically through google and put the code in but afterwards it's getting the windows error thing.
    What do I have to do? I hope it doesn't matter it's german

    Attachment 27731
    can anyone help me with this? I set it up as start project

  7. #2062
    tt812's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    9
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please help me how to change list pokemon transfer?? I need Dratini but the bot transfer all....

  8. #2063
    MonsterMMORPG's Avatar Active Member
    Reputation
    71
    Join Date
    Jun 2012
    Posts
    461
    Thanks G/R
    44/48
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any logic written to improve scan nearby pokemon for pokemon farm?

  9. #2064
    Marlb0ro's Avatar Member
    Reputation
    7
    Join Date
    Jul 2016
    Posts
    28
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by westeroskrali View Post
    works like charm
    what do i repalce it with?
    any chance for line number? or function name?

  10. #2065
    westeroskrali's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    25
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Marlb0ro View Post
    what do i repalce it with?
    any chance for line number? or function name?
    Function name is the same , replace them.
    After that add the other function .

  11. #2066
    Andrex430's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    18
    Thanks G/R
    5/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyone have idea what could be wrong here? Screenshot by Lightshot

  12. #2067
    RavenVendetta's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    3
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mine isn't getting any exp or any items and all Pokemon are running away. Is there a way to fix that? I don't have a full inventory and I have plenty of Pokeballs. Any help is appreciated

  13. #2068
    amwinagil's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    C# Bot for Farming Pokestops &amp; Catching Pokemon-soft-ban-jpg


    i got soft banned. or maybe banned permanent?

  14. #2069
    ghostory's Avatar Corporal
    Reputation
    8
    Join Date
    Jul 2016
    Posts
    20
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RavenVendetta View Post
    Mine isn't getting any exp or any items and all Pokemon are running away. Is there a way to fix that? I don't have a full inventory and I have plenty of Pokeballs. Any help is appreciated
    You probably got soft banned if that is occurring. Might be something up with your location coordinates teleporting you too far from your original spot or something. Just going to have to wait until that soft ban lifts.

  15. Thanks RavenVendetta (1 members gave Thanks to ghostory for this useful post)
  16. #2070
    RavenVendetta's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    3
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How long does a soft ban usually last?

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 06:44 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