ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!

Jump to content



Photo

POKEMON GO TRANSFER nearly all pokemons (code)


  • Please log in to reply
POKEMON GO TRANSFER nearly all pokemons (code)

#1

ali199668
ali199668
    Offline
    0
    Rep
    18
    Likes

    Veteran

Posts: 752
Threads: 20
Joined: Jul 12, 2016
Credits: 0

Seven years registered
#1

its for c# pokemon bot

 

this codes for pokemon to transfer to proffessor (leave strongest one for the evolve)

 

u can add them in program.cs ,,, i typed them , maybe i could make mistakes pls tell me if u see 

 

Hidden Content
You'll be able to see the hidden content once you reply to this topic or upgrade your account.

 

 

also a code for using all pokeballs when u need them,

 

Step 1. 

Go to Client.cs


Step 2.

insert this code anywhere in the class:

 

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;
        }

 

 

Step 3.

Edit CatchPokemon so the beginning looks like this:

 

 

 

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)
};

 

 

and fun :D


Edited by ali199668, 21 July 2016 - 06:48 AM.

  • 1

#2

DegerIsDaddy
DegerIsDaddy
    Offline
    392
    Rep
    746
    Likes

    get ready

Posts: 1981
Threads: 186
Joined: Oct 28, 2015
Credits: 7

Eight years registered
#2

tf does that mean


  • 0

#3

indiedavid
indiedavid
    Offline
    0
    Rep
    29
    Likes

    Addicted

Posts: 203
Threads: 14
Joined: Jan 28, 2016
Credits: 0

Eight years registered
#3

thanks


  • 0

#4

Slytaria
Slytaria
    Offline
    7
    Rep
    41
    Likes

    Junkie

Posts: 336
Threads: 10
Joined: Jan 19, 2015
Credits: 0

Eight years registered
#4

wut


  • 0

THmiTj.png


#5

pruned_21382411
pruned_21382411
    Offline
    0
    Rep
    0
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 77
Threads: 5
Joined: Jul 05, 2016
Credits: 0
Seven years registered
#5

Lets see?


  • 0

#6

MusicDragon
MusicDragon
    Offline
    17
    Rep
    107
    Likes

    Member

Posts: 46
Threads: 0
Joined: Feb 24, 2015
Credits: 0

Eight years registered
#6

I just want the pokemon id's <3


  • 0

#7

Gandalf15
Gandalf15
    Offline
    0
    Rep
    5
    Likes

    Member

Posts: 30
Threads: 3
Joined: Jul 03, 2016
Credits: 0
Seven years registered
#7

thanks


  • 0

#8

pruned_64502524
pruned_64502524
    Offline
    3
    Rep
    128
    Likes

    #1 Bodybuilder on Nulled

  • PipPipPipPipPipPipPip
Posts: 960
Threads: 65
Joined: Mar 15, 2015
Credits: 0

Eight years registered
#8

tf does that mean

are you retarded?


  • 0

FzfnEx1.gif 


#9

viktork
viktork
    Offline
    0
    Rep
    0
    Likes

    Lurker

Posts: 4
Threads: 0
Joined: Sep 13, 2015
Credits: 0
Eight years registered
#9

hm


  • 0

#10

anonymus259815
anonymus259815
    Offline
    0
    Rep
    0
    Likes

    Lurker

Posts: 6
Threads: 0
Joined: Jul 21, 2016
Credits: 0
Seven years registered
#10

thanks


  • 0


 Users browsing this thread: