PokemonGoF / PokemonGo-Bot

The Pokemon Go Bot, baking with community.
MIT License
3.87k stars 1.54k forks source link

bot only walk / no loots / latest dev #3019

Closed d0s000m closed 8 years ago

d0s000m commented 8 years ago

Bot is only walking, dont take stops or pokemon

starting with pokecli.py

2016-08-08 10:10:33,118 [CollectLevelUpReward] [INFO] [level_up_reward] Received level up reward: []
2016-08-08 10:10:33,120 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 1.50 km
2016-08-08 10:10:34,502 [FollowSpiral] [INFO] [position_update] Walking from (34.008246843636215, -118.4987354460872, 0) to (34.008246843636215, -118.4987354460872, 0) (0.0 m)
2016-08-08 10:10:34,932 [FollowSpiral] [INFO] [position_update] Walking from (34.008246843636215, -118.4987354460872, 0) to (34.008879897951964, -118.4987354460872, 0) (70.3924589052 m)
2016-08-08 10:10:56,538 [FollowSpiral] [INFO] [position_update] Walking from (34.008879897951964, -118.4987354460872, 0) to (34.008879897951964, -118.49810641485188, 0) (57.9810457574 m)
2016-08-08 10:11:18,786 [FollowSpiral] [INFO] [position_update] Walking from (34.008879897951964, -118.49810641485188, 0) to (34.008246843636215, -118.49810641485188, 0) (70.3924589052 m)
2016-08-08 10:11:45,162 [FollowSpiral] [INFO] [position_update] Walking from (34.008246843636215, -118.49810641485188, 0) to (34.007613789320466, -118.49810641485188, 0) (70.3924589052 m)
47177015565, 0) to (34.008285118986, -118.49910077222883, 0) (57.9787814487 m)
2016-08-08 10:50:59,341 [FollowSpiral] [INFO] [position_update] Walking from (34.008285118986, -118.49910077222883, 0) to (34.00765206407726, -118.49910077222883, 0) (70.3925229228 m)
2016-08-08 10:51:27,846 [FollowSpiral] [INFO] [position_update] Walking from (34.00765206407726, -118.49910077222883, 0) to (34.008285118986, -118.49910077222883, 0) (70.3925229228 m)
^C2016-08-08 10:51:30,669 [PokemonGoBot] [INFO] [bot_exit] Exiting bot.
2016-08-08 10:51:30,891 [       cli] [INFO] 
2016-08-08 10:51:30,891 [       cli] [INFO] Ran for 0:37:44
2016-08-08 10:51:30,891 [       cli] [INFO] Total XP Earned: 0  Average: 0.00/h
2016-08-08 10:51:30,891 [       cli] [INFO] Travelled 0.00km
2016-08-08 10:51:30,891 [       cli] [INFO] Visited 0 stops
2016-08-08 10:51:30,891 [       cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-08 10:51:30,891 [       cli] [INFO] Threw 0 pokeballs
2016-08-08 10:51:30,892 [       cli] [INFO] Earned 0 Stardust
2016-08-08 10:51:30,892 [       cli] [INFO] 
2016-08-08 10:51:30,892 [       cli] [INFO] Highest CP Pokemon: 
2016-08-08 10:51:30,892 [       cli] [INFO] Most Perfect Pokemon: 

my config.json


{
    "auth_service": "google",
    "username": "*****@gmail.com",
    "password": "********",
    "location": "34.009496, -118.499025",
    "gmapkey": "AIzaSyB**************WmryPk",
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "none",
            "first_evolve_by": "cp",
            "evolve_above_cp": 500,
            "evolve_above_iv": 0.8,
            "logic": "or",
            "evolve_speed": 20,
            "use_lucky_egg": false
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "item_filter": {
            "Pokeball":       { "keep" : 100 },
            "Potion":         { "keep" : 0 },
            "Super Potion":   { "keep" : 0 },
            "Hyper Potion":   { "keep" : 40 },
            "Greatball":      { "keep" : 130 },
            "Ultraball":      { "keep" : 130 },
            "Max Potion":     { "keep" : 70 },
            "Revive":         { "keep" : 40 },
            "Razz Berry":     { "keep" : 50 }
          }
        }
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "MoveToFort",
        "config": {
            "lure_attraction": true,
            "lure_max_distance": 2000
        }
      },
      {
        "type": "FollowSpiral",
        "config": {
          "diameter": 4,
          "step_size": 70
        }
      }
    ],
    "map_object_cache_time": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": 4.16,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": true,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "evolve_captured": "NONE",
    "catch_randomize_reticle_factor": 1.0,
    "catch_randomize_spin_factor": 1.0,
    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
      "// Example of always catching Rattata:": {},
      "// Rattata": { "always_catch" : true }
    },
    "release": {
      "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"},
      "// Example of always releasing Rattata:": {},
        "Beedrill": {"always_release": true},
        "Venonat": {"always_release": true},
        "Psyduck": {"always_release": true},
        "Goldeen": {"always_release": true},
        "Seaking": {"always_release": true},
        "Shellder": {"always_release": true},
        "Raticate": {"always_release": true},
        "Horsea": {"always_release": true},
        "Butterfree": {"always_release": true},
        "Starmie": {"always_release": true},
        "Staryu": {"always_release": true},
        "Weedle": {"always_release": true},
        "Caterpie": {"always_release": true},
        "Metapod": {"always_release": true},
        "Kakuna": {"always_release": true},
        "Pidgey": {"always_release": true},
        "Pidgeotto": {"always_release": true},
        "Rattata": {"always_release": true},
        "Spearow": {"always_release": true},
        "Zubat": {"always_release": true},
        "Oddish": {"always_release": true},
        "Paras": {"always_release": true},
        "Parasect": {"always_release": true},
        "Venomoth": {"always_release": true},
        "Poliwag": {"always_release": true},
        "Poliwhirl": {"always_release": true},
        "Bellsprout": {"always_release": true},
        "Tentacool": {"always_release": true},
        "Seel": {"always_release": true},
        "Gastly": {"always_release": true},
        "Drowzee": {"always_release": true},
        "Krabby": {"always_release": true},
      "// Rattata": {"always_release": true},
      "// Example of keeping 3 stronger (based on CP) Pidgey:": {},
      "// Pidgey": {"keep_best_cp": 3},
      "// Example of keeping 2 stronger (based on IV) Zubat:": {},
      "// Zubat": {"keep_best_iv": 2},
      "// Also, it is working with any": {},
    "any": {"keep_best_cp": 2},
      "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
      "// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
    },
    "vips" : {
         "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
        "Dratini": {},
        "Dragonair": {},
        "Dragonite": {},
        "Lapras": {},
        "Arcanine": {},
        "Exeggutor": {},
        "Vaporean": {},
        "Gyarados": {},
        "Flareon": {},
        "Muk": {},
        "Snorlax": {},
        "Lapras": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},

        "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
        "Mewtwo": {},
        "Dragonite": {},
        "Snorlax": {},
        "// Mew evolves to Mewtwo": {},
        "Mew": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Flareon": {}

    }
}

use the latest dev linux 14.04

dreanmer commented 8 years ago

same problem here, OS Mint 18 (ubuntu 16.04) latest dev

UPDATE

@d0s000m this solved for me:

git fetch origin
git pull
##get the encryption.so and move to right folder
wget http://pgoapi.com/pgoencrypt.tar.gz
tar -xzvf pgoencrypt.tar.gz
cd pgoencrypt/src/
make
cd ../../
#make the encrypt able to load
cp pgoencrypt/src/libencrypt.so encrypt.so
pip install -r requirements.txt
source bin/activate
./run.sh configs/config.jso

2016-08-08 09:14:10,539 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Fonte Edifício Landmark - 0.12km (attraction of lure 0.12km) 2016-08-08 09:14:15,943 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Fonte Edifício Landmark - 0.11km (attraction of lure 0.11km) 2016-08-08 09:14:18,402 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Fonte Edifício Landmark (f79d13371c5840c78d6030fbe0731337.11) 2016-08-08 09:14:18,688 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Zubat appeared! [CP 58] [Potential 0.49] [S/A/D 12/6/4] 2016-08-08 09:14:20,936 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 78.21 (40 left) 2016-08-08 09:14:21,660 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Zubat! [CP 58] [Potential 0.49] [12/6/4] [+210 exp] 2016-08-08 09:14:26,669 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Fonte Edifício Landmark - 0.11km (attraction of lure 0.11km)

d0s000m commented 8 years ago

i have try this like you, but the same problem is here only walking, but in the end from the script you see 0.00km

[ cli] [INFO] Ran for 0:17:24 [ cli] [INFO] Total XP Earned: 0 Average: 0.00/h [ cli] [INFO] Travelled 0.00km

The bot is only say "Walking from ... to .." but dont walk, you can see this in my first post (logs) Maybe all my vps are still ip blacklistet/banned?

UPDATE

i try this on my home ubuntu pc, it works so i think my server ip's are blacklisted, someone know how long they can be blacklisted?