-
Corporal
Originally Posted by
MonsterMMORPG
does current state of the bot have auto incubate eggs mode? for auto hatching
or has anyone released a code for it?
It hatches your eggs, gotta incubate new ones yourself though.
-
Post Thanks / Like - 1 Thanks
andrerdxd (1 members gave Thanks to Inny for this useful post)
-
Member
[01:03:13] Farmed XP: 0, Gems: 0, Eggs: Items:
[01:03:30] Farmed XP: 0, Gems: 0, Eggs: Items:
[01:03:47] Farmed XP: 0, Gems: 0, Eggs: Items:
[01:04:17] Farmed XP: 0, Gems: 0, Eggs: Items:
[01:04:34] Farmed XP: 0, Gems: 0, Eggs: Items:
[01:04:51] Farmed XP: 0, Gems: 0, Eggs: Items:
[01:05:08] Farmed XP: 0, Gems: 0, Eggs: Items:
[01:05:25] Farmed XP: 0, Gems: 0, Eggs: Items:
This is short softban because pokestops are to far from each other on the location Im using? Im catching pokemon but getting that much 0XP pokestops... Any suggestions?
-
Sergeant
Originally Posted by
Inny
Here's another mod:
Upgrade Pokéball type if possible, when capture probability is < 20%
Logic.cs 111:
Code:
//Throw berry if we can
await UseBerry(pokemon.EncounterId, pokemon.SpawnpointId);
// Upgrade Pokeball if < 20% cap chance
if (encounterPokemonResponse?.CaptureProbability.CaptureProbability_.First() < 0.20) {
if (pokeball == MiscEnums.Item.ITEM_POKE_BALL) pokeball = MiscEnums.Item.ITEM_GREAT_BALL;
else if (pokeball == MiscEnums.Item.ITEM_GREAT_BALL) pokeball = MiscEnums.Item.ITEM_ULTRA_BALL;
else if (pokeball == MiscEnums.Item.ITEM_ULTRA_BALL) pokeball = MiscEnums.Item.ITEM_MASTER_BALL;
}
It's not working for me, it gets this error:
Screenshot by Lightshot
-
where did the pokemon whitelist go?
-
Corporal
Originally Posted by
andrerdxd
I think we're using a slightly different version. Going by your screenshot, adjust as follows:
Code:
// Upgrade Pokeball if < 20% cap chance
if (encounter?.CaptureProbability.CaptureProbability_.First() < 0.20) {
-
Post Thanks / Like - 2 Thanks
-
-
Sergeant
Originally Posted by
Inny
I think we're using a slightly different version. Going by your screenshot, adjust as follows:
Code:
// Upgrade Pokeball if < 20% cap chance
if (encounter?.CaptureProbability.CaptureProbability_.First() < 0.20) {
Now its the pokeball error :S:
Screenshot by Lightshot
-
Active Member
Originally Posted by
Inny
It hatches your eggs, gotta incubate new ones yourself though.
ye that is what i mean
anyone release a code to incubate new eggs?
-
Corporal
Originally Posted by
shadowht
@Inny
i am in trouble finding where to put your cycle time code
here is my line 44
edit, wtf is this attached resolution lol
here is the link:
Screenshot by Lightshot
Hit Ctrl+F and search for "await RepeatAction("
When in Ctrl+F:
There's a dropdown box where you can select "Entire Solution" to search through more than just current document if you're looking for something specifically
Next to the Search button, there's a 'down' arrow, if you click it you can select "Find All," also very useful
I guess he's mixing up the code again.. :-)
-
Post Thanks / Like - 2 Thanks
-
Corporal
Originally Posted by
andrerdxd
Can you try moving the var pokeball line (159) above the if statement (145)
-
Post Thanks / Like - 1 Thanks
andrerdxd (1 members gave Thanks to Inny for this useful post)
-
Member
Originally Posted by
Inny
Hit Ctrl+F and search for "await RepeatAction("
When in Ctrl+F:
There's a dropdown box where you can select "Entire Solution" to search through more than just current document if you're looking for something specifically
Next to the Search button, there's a 'down' arrow, if you click it you can select "Find All," also very useful
I guess he's mixing up the code again.. :-)
my code/solution didnt found any "await RepeatAction("
the only "repeat" i found is this one
Screenshot by Lightshot
anyway, thanks for your help iam just gonna use the normal code
Last edited by shadowht; 07-21-2016 at 06:50 PM.
-
Member
google auth is working in this bot?
-
Member
Originally Posted by
andrerdxd
undo all change to CatchPokemonResponse do{ block
and add his code after var pokeball = await GetBestBall(encounter?.WildPokemon);
Code:
CatchPokemonResponse caughtPokemonResponse;
do
{
if (encounter?.CaptureProbability.CaptureProbability_.First() < 0.4)
{
//Throw berry is we can
await UseBerry(pokemon.EncounterId, pokemon.SpawnpointId);
}
var pokeball = await GetBestBall(encounter?.WildPokemon);
// Upgrade Pokeball if < 20% cap chance
if (encounter?.CaptureProbability.CaptureProbability_.First() < 0.20)
{
if (pokeball == MiscEnums.Item.ITEM_POKE_BALL) pokeball = MiscEnums.Item.ITEM_GREAT_BALL;
else if (pokeball == MiscEnums.Item.ITEM_GREAT_BALL) pokeball = MiscEnums.Item.ITEM_ULTRA_BALL;
else if (pokeball == MiscEnums.Item.ITEM_ULTRA_BALL) pokeball = MiscEnums.Item.ITEM_MASTER_BALL;
}
var distance = Navigation.DistanceBetween2Coordinates(_client.CurrentLat, _client.CurrentLng, pokemon.Latitude, pokemon.Longitude);
-
Post Thanks / Like - 1 Thanks
andrerdxd (1 members gave Thanks to sh4z4m for this useful post)
-
Sergeant
Originally Posted by
Inny
Can you try moving the var pokeball line (159) above the if statement (145)
yes, that solution worked just fine, thanks for all the help!! 
Screenshot by Lightshot
-
Sergeant
Originally Posted by
sh4z4m
undo all change to CatchPokemonResponse do{ block
and add his code after var pokeball = await GetBestBall(encounter?.WildPokemon);
Code:
CatchPokemonResponse caughtPokemonResponse;
do
{
if (encounter?.CaptureProbability.CaptureProbability_.First() < 0.4)
{
//Throw berry is we can
await UseBerry(pokemon.EncounterId, pokemon.SpawnpointId);
}
var pokeball = await GetBestBall(encounter?.WildPokemon);
// Upgrade Pokeball if < 20% cap chance
if (encounter?.CaptureProbability.CaptureProbability_.First() < 0.20)
{
if (pokeball == MiscEnums.Item.ITEM_POKE_BALL) pokeball = MiscEnums.Item.ITEM_GREAT_BALL;
else if (pokeball == MiscEnums.Item.ITEM_GREAT_BALL) pokeball = MiscEnums.Item.ITEM_ULTRA_BALL;
else if (pokeball == MiscEnums.Item.ITEM_ULTRA_BALL) pokeball = MiscEnums.Item.ITEM_MASTER_BALL;
}
var distance = Navigation.DistanceBetween2Coordinates(_client.CurrentLat, _client.CurrentLng, pokemon.Latitude, pokemon.Longitude);
already did with the help of @Inny but thanks anyway