-
Contributor
Originally Posted by
Neer
Change Client.cs find
Code:
Pokeball = (int) MiscEnums.Item.ITEM_POKE_BALL,
Change to
Code:
Pokeball = (int) MiscEnums.Item.ITEM_GREAT_BALL,
is there a simple OR statement in C# so it will use pokeballs or great balls or ultra balls if it runs out of the others?
-
Post Thanks / Like - 1 Thanks
windowsguy (1 members gave Thanks to Subversion2 for this useful post)
-
Member
Originally Posted by
Ev0lbyte
ok my softban is over.
I still have the same problem : im in a area with a lot of pokestops but the bot stops working after about 2-5 minutes.
Cmd prompt doesnt update
This is because theres no handling for running out of pokestops, so it just stops.
Neer needs to make it wait for say, 60 seconds or so, then re-run the script -WITHOUT RETURNING TO LONG/LAT- otherwise youll get a softban.
-
Originally Posted by
Subversion2
is there a simple OR statement in C# so it will use pokeballs, great balls, and ultra balls if it runs out of the others?
It isn't that simple i'm afraid.
-
Post Thanks / Like - 2 Thanks
-
Member
Originally Posted by
Ev0lbyte
ok my softban is over.
I still have the same problem : im in a area with a lot of pokestops but the bot stops working after about 2-5 minutes.
Cmd prompt doesnt update
It happens when you're on a bad location, you need a better one. See in the first post.
-
Member
Originally Posted by
Neer
It isn't that simple i'm afraid.
Since you can call inventory you can check the pokeball count and use the other ones i guess?
Also keep an eye out on the original repo pull requests, plenty of useful info there.
-
Member
Here is the code to fix the early crash - this happens when it runs out of pokestops - feel free to change the delay.
{
ExecuteFarmingPokestopsAndPokemons(client).Wait();
//await ExecuteCatchAllNearbyPokemons(client);
System.Console.WriteLine("Main loop ended. Nothing left... Waiting 5 minutes then trying again...");
await Task.Delay(300000);
}
-
Member
Hey - a little tip for you if you want to keep specific pokemon (of course the new catched ones too ...)
1. Set the Pokemon(s) you wanna keep as Favorite (★)
2. Preparation to record a Rename Macro:
2.1 Open the Pokemon Overview, ordered by Favorites
2.1 Click on a Fav Pokemon without the Name "zz"
3. Start recording, do following:
3.2 Click on the Pencil
3.3 Click on the current Name (you dont need to delete it - you see on the bottom that it has selected the text, so you can overwrite it)
3.4 Type "zz"
3.5 Click on "OK"
3.6.Click on the "x" to close
3.7 Stop recording
3.8 Give the Macro the Name Rename >"zz"
4. Transfer the unwanted ones:
4.1 Get the Number how much Pokemons needs to be transferred
4.1.2 Count you Pokemons with a Star and substract the total amount with the counted Number (Starred Pokemons: 40 - Total 120 -- 120-40 = 80.....)
4.2 Order the Pokemon by Name (A-Z)
4.3 Use (or Create first) your "Transfer all" Macro - and set the Number you calculated as the number of loops ...
So if you see a Pokemon you want to keep you can manually rename it to "zz" .....
Last edited by gurkensalat88; 07-20-2016 at 07:42 AM.
-
Member
Originally Posted by
Neer
Change Client.cs find
Code:
Pokeball = (int) MiscEnums.Item.ITEM_POKE_BALL,
Change to
Code:
Pokeball = (int) MiscEnums.Item.ITEM_GREAT_BALL,
thx , put it in first page
-
Active Member
should we change this clientid?
CLIENT_ID
-
Master Sergeant
Some "ignore" option for pokemons would be really nice.
515 candies for Pinsir right now, lol.
Worst part is that it can't be even evolved.
-
Sergeant
after 30min in Sydney CBD
ArgumentOutOfRangeException - Restarting
-
Member
why does it stop after 20 min
-
Corporal
Originally Posted by
pinn90
Some "ignore" option for pokemons would be really nice.
515 candies for Pinsir right now, lol.
Worst part is that it can't be even evolved.
Something like this?
https://gyazo.com/8c2dd0e703698c9302ecad00e5355b82
-
Originally Posted by
ekans11
Here is the code to fix the early crash - this happens when it runs out of pokestops - feel free to change the delay.
{
ExecuteFarmingPokestopsAndPokemons(client).Wait();
//await ExecuteCatchAllNearbyPokemons(client);
System.Console.WriteLine("Main loop ended. Nothing left... Waiting 5 minutes then trying again...");
await Task.Delay(300000);
}
Random code without any explaination where to put it, also strange bracelets.
Paste whole function otherwise it's only confusing.
-
Member
Originally Posted by
vayneprod
why does it stop after 20 min
Mate.. really?