PokemonGoF / PokemonGo-Bot

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

Snippng Error: daily catch limit reached #5684

Closed db-coder closed 8 years ago

db-coder commented 8 years ago

Expected Behavior

Snipping should work

Actual Behavior

Snipping gives error: daily catch limit reached, even though the limit is very high

Your FULL config.json (remove your username, password, gmapkey and any other private info)

{
    "websocket_server": false,
    "heartbeat_threshold": 10,
    "enable_social": false,
    "live_config_update": {
      "enabled": true,
      "tasks_only": true
    },
    "tasks": [
      {
        "type": "TelegramTask",
        "config": {
          "enabled": false,
          "master": null,
          "password": null,
          "alert_catch": {
            "all": {"operator": "and", "cp": 1300, "iv": 0.95},
            "Snorlax": {"operator": "or", "cp": 900, "iv": 0.9}
          }
        }
      },
      {
        "type": "DiscordTask",
        "config": {
          "enabled": false,
          "master": null,
          "// old syntax, still supported: alert_catch": ["all"],
          "// new syntax:": {},
          "alert_catch": {
            "all": {"operator": "and", "cp": 1300, "iv": 0.95},
            "Snorlax": {"operator": "or", "cp": 900, "iv": 0.9}
          }
        }
      },
      {
        "//NOTE: This task MUST be placed on the top of task list": {},
        "type": "RandomAlivePause",
        "config": {
          "enabled": true,
          "min_duration": "00:00:10",
          "max_duration": "00:00:30",
          "min_interval": "01:00:00",
          "max_interval": "01:30:00"
        }
      },
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "RandomPause",
        "config": {
          "enabled": true,
          "min_duration": "00:00:10",
          "max_duration": "00:00:30",
          "min_interval": "00:10:00",
          "max_interval": "02:00:00"
        }
      },
      {
        "type": "CompleteTutorial",
        "config": {
          "enabled": false,
          "// set a name": "",
          "nickname": "",
          "team": 0
        }
      },
      {
        "type": "CollectLevelUpReward",
        "config": {
          "collect_reward": true,
          "level_limit": -1
        }
      },
      {
        "type": "BuddyPokemon",
        "config": {
          "enabled": true,
          "buddy_list": "grimer",
          "best_in_family": true,
          "// candy_limit = 0 means no limit, so it will never change current buddy": {},
          "candy_limit": 0,
          "// force_first_change = true will always change buddy at start removing current one": {},
          "force_first_change": true,
          "buddy_change_wait_min": 3,
          "buddy_change_wait_max": 5,
          "min_interval": 120
        }
      },
      {
        "type": "IncubateEggs",
        "config": {
          "enabled": true,
          "infinite_longer_eggs_first": true,
          "breakable_longer_eggs_first": true,
          "min_interval": 60,
         "infinite": [10,5,2],
         "breakable": [10,5,2]
        }
      },
      {
        "type": "UpdateLiveStats",
        "config": {
          "enabled": true,
          "min_interval": 60,
          "stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
          "terminal_log": true,
          "terminal_title": true
        }
      },
      {
        "type": "UpdateLiveInventory",
        "config": {
          "enabled": true,
          "min_interval": 120,
          "show_all_multiple_lines": false,
          "items": ["pokemon_bag", "space_info", "pokeballs", "greatballs", "ultraballs", "razzberries"]
        }
      },
      {
        "type": "ShowBestPokemon",
        "config": {
          "enabled": true,
          "min_interval": 120,
          "amount": 20,
          "order_by": "cp",
          "info_to_show": ["cp","iv_pct"]
        }
      },
      {
        "type": "TransferPokemon",
        "config": {
          "enabled": true,
          "min_free_slot": 2,
          "transfer_wait_min": 3,
          "transfer_wait_max": 5
        }
      },
      {
        "type": "NicknamePokemon",
        "config": {
          "enabled": true,
          "nickname_above_iv": 0.75,
          "nickname_template": "{iv_pct}-{iv_ads}",
          "nickname_wait_min": 3,
          "nickname_wait_max": 5
        }
      },
      {
        "type": "EvolvePokemon",
        "config": {
          "enabled": false,
          "evolve_list": "all",
          "donot_evolve_list": "none",
          "first_evolve_by": "cp",
          "evolve_above_cp": 500,
          "evolve_above_iv": 0.8,
          "logic": "or",
          "min_evolve_speed": 25,
          "max_evolve_speed": 30,
          "min_pokemon_to_be_evolved": 1,
          "use_lucky_egg": false
        }
      },
      {
        "type": "UseIncense",
        "config": {
          "use_incense": false,
          "use_order": [
            "ordinary",
            "spicy",
            "cool",
            "floral"
          ]
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "enabled": true,
          "min_empty_space": 5,
          "item_filter": {
            "Pokeball":       { "keep" : 180 },
            "Greatball":      { "keep" : 80 },
            "Ultraball":      { "keep" : 80 },
            "Potion":         { "keep" : 0 },
            "Super Potion":   { "keep" : 0 },
            "Hyper Potion":   { "keep" : 0 },
            "Max Potion":     { "keep" : 0 },
            "Revive":         { "keep" : 0 },
            "Max Revive":     { "keep" : 0 },
            "Razz Berry":     { "keep" : 70 }
          },
          "recycle_wait_min": 3,
          "recycle_wait_max": 5
        }
      },
      {
        "type": "CatchLimiter",
        "config": {
          "enabled": true,
          "min_balls": 20,
          "duration": 15
        }
      },
      {
    "type": "Sniper",
    "config": {
      "enabled": true,
      "mode": "url",
      "bullets": 1,
      "homing_shots": true,
      "special_iv": 100,
      "order": ["missing", "vip", "priority"],
      "sources": [
        {
            "enabled": true,
          "url": "http://pokesnipers.com/api/v1/pokemon.json",
          "timeout": 10,
          "key": "results",
          "mappings": {
            "iv": { "param": "iv" },
            "name": { "param": "name" },
            "latitude": { "param": "coords" },
            "longitude": { "param": "coords" },
            "expiration": { "param": "until", "format": "utc" }
          }
        },
        {
            "enabled": true,
          "url": "https://pokewatchers.com/grab/",
          "timeout": 10,
          "mappings": {
            "iv": { "param": "iv" },
            "id": { "param": "pid" },
            "name": { "param": "pokemon" },
            "latitude": { "param": "cords" },
            "longitude": { "param": "cords" },
            "expiration": { "param": "timeend", "format": "milliseconds" }
          }
        }
      ],
      "catch": {
        "Snorlax": 1000,
        "Dragonite": 1000,
        "Farfetch'd": 600,
        "Gengar": 600,
        "Alakazam": 600,
        "Arcanine": 600,
        "Poliwrath": 600,
        "Rapidash": 600,
        "Charizard": 600,
        "Blastoise": 600,
        "Venusaur": 600,
        "Lapras": 600,
        "Muk": 500,
        "Kabutops": 500,
        "Scyther": 500,
        "Dratini": 500,
        "Dragonair": 500,
        "Magmar": 500,
        "Primeape": 500
      }
    }
      },
      {
        "type": "CatchPokemon",
        "config": {
          "enabled": true,
          "catch_visible_pokemon": true,
          "catch_lured_pokemon": true,
          "catch_incensed_pokemon": true,
          "min_ultraball_to_keep": 5,
          "berry_threshold": 0.35,
          "vip_berry_threshold": 0.9,
          "treat_unseen_as_vip": true,
          "daily_catch_limit": 4000,
          "vanish_settings": {
            "consecutive_vanish_limit": 10,
            "rest_duration_min": "00:02:00",
            "rest_duration_max": "00:04:00"
          },
          "catch_throw_parameters": {
            "excellent_rate": 0.1,
            "great_rate": 0.5,
            "nice_rate": 0.3,
            "normal_rate": 0.1,
            "spin_success_rate" : 0.6,
            "hit_rate": 0.75
          },
          "catch_simulation": {
            "flee_count": 3,
            "flee_duration": 2,
            "catch_wait_min": 3,
            "catch_wait_max": 6,
            "berry_wait_min": 3,
            "berry_wait_max": 5,
            "changeball_wait_min": 3,
            "changeball_wait_max": 5,
            "newtodex_wait_min": 20,
            "newtodex_wait_max": 30
          }
        }
      },
      {
        "type": "SpinFort",
        "config": {
          "enabled": true,
          "spin_wait_min": 3,
          "spin_wait_max": 5,
          "daily_spin_limit": 1900
        }
      },
      { "type": "UpdateWebInventory",
        "config": {
          "enabled": true
        }
      },
      {
        "type": "MoveToFort",
        "config": {
          "enabled": true,
          "lure_attraction": true,
          "lure_max_distance": 2000,
          "walker": "StepWalker",
          "log_interval": 5
        }
      },
      {
        "type": "FollowSpiral",
        "config": {
          "enabled": true,
          "diameter": 4,
          "step_size": 70
        }
      }
    ],
    "map_object_cache_time": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50,
      "cache_recent_forts": true
    },
    "pokemon_bag": {
      "// if 'show_at_start' is true, it will log all the pokemons in the bag (not eggs) at bot start": {},
      "show_at_start": true,
      "// if 'show_count' is true, it will show the amount of each pokemon (minimum 1)": {},
      "show_count": true,
      "// if 'show_candies' is true, it will show the amount of candies for each pokemon": {},
      "show_candies": true,
      "// 'pokemon_info' parameter define which info to show for each pokemon": {},
      "// the available options are": {},
      "// ['cp', 'iv_ads', 'iv_pct', 'ivcp', 'ncp', 'level', 'hp', 'moveset', 'dps']": {},
      "pokemon_info": ["cp"]
    },
    "walk_max": 6.16,
    "walk_min": 2.16,
    "alt_min": 500,
    "alt_max": 1000,
    "sleep_schedule": {
      "enabled": false,
      "enable_reminder": false,
      "reminder_interval": 600,
      "entries": [
        {
          "enabled": true,
          "time": "09:00",
          "duration": "5:30",
          "time_random_offset": "00:30",
          "duration_random_offset": "00:30",
          "wake_up_at_location": ""
        },
        {
          "enabled": false,
          "time": "10:45",
          "duration": "3:00",
          "time_random_offset": "01:00",
          "duration_random_offset": "00:30",
          "wake_up_at_location": ""
        }
      ]
    },
    "gps_default_altitude": 8.0,
    "replicate_gps_xy_noise": false,
    "replicate_gps_z_noise": false,
    "gps_xy_noise_range": 0.000125,
    "gps_z_noise_range": 12.5,
    "debug": false,
    "test": false,
    "walker_limit_output": false,
    "health_record": false,
    "location_cache": false,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "logging": {
      "color": true,
      "show_datetime": true,
      "show_process_name": false,
      "show_log_level": false,
      "show_thread_name": false
    },
    "catch": {
      "any": {"candy_threshold" : 8000 ,"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}
    },
    "release": {
      "any": {"release_below_cp": 0, "release_below_iv": 0, "release_below_ivcp": 0, "logic": "or"},
      "Bulbasaur": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Ivysaur": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Venusaur": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Charmander": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Charmeleon": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Charizard": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Squirtle": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Wartortle": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Blastoise": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Caterpie": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Metapod": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Butterfree": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Weedle": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Kakuna": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Beedrill": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Pidgey": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Pidgeotto": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Pidgeot": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Rattata": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Raticate": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Spearow": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Fearow": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Ekans": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Arbok": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Pikachu": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Raichu": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Sandshrew": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Sandslash": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Nidoran F": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Nidorina": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Nidoqueen": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Nidoran M": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Nidorino": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Nidoking": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Clefairy": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Clefable": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Vulpix": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Ninetails": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Jigglypuff": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Wigglytuff": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Zubat": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Golbat": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Oddish": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Gloom": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Vileplume": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Paras": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Parasect": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Venonat": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Venomoth": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Diglett": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Dugtrio": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Meowth": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Persian": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Psyduck": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Golduck": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Mankey": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Primeape": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Growlithe": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Arcanine": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Poliwag": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Poliwhirl": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Poliwrath": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Abra": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Kadabra": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Alakazam": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Machop": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Machoke": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Machamp": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Bellsprout": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Weepinbell": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Victreebel": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Tentacool": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Tentacruel": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Geodude": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Graveler": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Golem": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Ponyta": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Rapidash": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Slowpoke": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Slowbro": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Magnemite": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Magneton": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Farfetch'd": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Doduo": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Dodrio": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Seel": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Dewgong": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Grimer": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Muk": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Shellder": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Cloyster": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Gastly": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Haunter": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Gengar": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Gengar": {"release_below_cp": 1000},
      "Onix": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Drowzee": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Hypno": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Krabby": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Kingler": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Voltorb": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Electrode": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Exeggcute": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Exeggutor": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Cubone": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Marowak": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Hitmonlee": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Hitmonchan": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Lickitung": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Koffing": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Weezing": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Rhyhorn": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Rhydon": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Chansey": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Tangela": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Kangaskhan": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Horsea": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Seadra": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Goldeen": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Seaking": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Staryu": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Starmie": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Mr. Mime": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Scyther": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Jynx": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Electabuzz": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Magmar": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Pinsir": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Tauros": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Magikarp": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Gyarados": {"keep_best_cp": 3, "keep_best_iv": 1},
      "Gyarados": {"release_below_cp": 1000},
      "Lapras": {"keep_best_cp": 3, "keep_best_iv": 1},
      "Lapras": {"release_below_cp": 1000},
      "Eevee": {"keep_best_cp": 3, "keep_best_iv": 1},
      "Vaporeon": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Jolteon": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Flareon": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Porygon": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Omanyte": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Omastar": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Kabuto": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Kabutops": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Aerodactyl": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Snorlax": {"keep_best_cp": 2, "keep_best_iv": 1},
      "Snorlax": {"release_below_cp": 1000},
      "Dratini": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Dragonair": {"keep_best_cp": 1, "keep_best_iv": 1},
      "Dragonite": {"keep_best_cp": 3, "keep_best_iv": 1},
      "Dragonite": {"release_below_cp": 1000}
    },
    "vips" : {
        "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate": {},
        "any": {"catch_above_cp": 1500, "catch_above_iv": 0.9, "logic": "or" },
        "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": {},
        "Charizard": {},
        "Jolteon": {},
        "Gyarados": {},
        "Exeggutor": {},
        "Muk": {},
        "Nidoqueen": {},
        "Farfetch'd": {},
        "Wigglytuff": {},
        "Slowbro": {},
        "Ninetales": {},
        "Flareon": {}
    },
    "websocket": {
      "start_embedded_server": true,
      "server_url": "0.0.0.0:4000"
    }
}

Output when issue occurred

[2016-09-26 13:25:07] Next random alive pause at 14:43:50, for a duration of 0:00:16
[2016-09-26 13:25:07] Next random pause at 13:40:57, for a duration of 0:00:11
[2016-09-26 13:25:07] Validating sources: http://pokesnipers.com/api/v1/pokemon.json, https://pokewatchers.com/grab/...
[2016-09-26 13:25:07] Source 'http://pokesnipers.com/api/v1/pokemon.json' is good!
[2016-09-26 13:25:11] Source 'https://pokewatchers.com/grab/' is good!
[2016-09-26 13:25:12] Starting bot...
[2016-09-26 13:25:13] Received level up reward: 
[2016-09-26 13:25:13] (Grimer) Buddy next award 1.68/3.0 km
[2016-09-26 13:25:13] Eggs incubating: 1.68/5.0 km (Eggs left: (2.0, 7), (5.0, 1), Incubating: 1)
[2016-09-26 13:25:14] namilovesluffy | Uptime : 0:00:15 | Earned 0 Stardust | +0 XP | 0 XP/h | Visited 0 stops
[2016-09-26 13:25:14] Pokemon: 243/250 | Items: 331/350 | Pokeballs: 224 | GreatBalls: 0 | UltraBalls: 4 | RazzBerries: 6
[2016-09-26 13:25:14] *Best Pokemons* (Dragonite, CP 2349, IV 0.56) | (Dragonite, CP 2240, IV 0.4) | (Arcanine, CP 2218, IV 0.69) | (Gyarados, CP 2179, IV 0.96) | (Machamp, CP 2112, IV 1.0) | (Snorlax, CP 2111, IV 0.53) | (Exeggutor, CP 2093, IV 0.71) | (Vaporeon, CP 1998, IV 0.51) | (Dragonite, CP 1869, IV 0.56) | (Golem, CP 1840, IV 0.89) | (Rhydon, CP 1826, IV 1.0) | (Tentacruel, CP 1802, IV 0.98) | (Victreebel, CP 1696, IV 0.38) | (Nidoqueen, CP 1685, IV 0.44) | (Aerodactyl, CP 1669, IV 0.73) | (Nidoqueen, CP 1656, IV 0.53) | (Magmar, CP 1640, IV 0.58) | (Magmar, CP 1631, IV 0.82) | (Pinsir, CP 1614, IV 0.6) | (Venusaur, CP 1571, IV 0.27)
[2016-09-26 13:25:16] Teleporting to meet Scyther (1.832281; 103.306981)...
[2016-09-26 13:25:19] Yay! There really is a wild Scyther nearby!
[2016-09-26 13:25:19] Teleporting back to the old position (34.009; -118.4974)...
[2016-09-26 13:25:22] A wild Scyther appeared! (CP: 513 IV: 0.8 A/D/S 12/10/14 NCP: 0.25
[2016-09-26 13:25:26] WARNING! You have reached your daily catch limit
Mon Sep 26 13:25:26 IST 2016 Pokebot  Stopped.

Steps to Reproduce

Run the bot in the latest commit

Other Information

OS: Ubuntu 15.04 Branch: dev Git Commit: f60a4b17cb217f8680f43a5625b123deccf62f21 Python Version: Python 2.7.9

YvesHenri commented 8 years ago

@Gobberwart can you take a look at it?

javajohnHub commented 8 years ago

The reason this is happening is because Sniper is overwriting PokemonCatch config. Sniper doesn't have daily_catch_limit so it always uses the default values for PokemonCatch. I think move to map pokemon might be doing the same thing.

YvesHenri commented 8 years ago

@javajohnHub How does this fix this issue? You're not even calling the base constructor (which calls the abstract initialize()). Neither are Sniper or MTMP 'overriding the PokemonCatch config'.

javajohnHub commented 8 years ago

It doesnt I thought i deleted it.

that was supposed to just be on my repo

Neither are Sniper or MTMP 'overriding the PokemonCatch config'.

You are wrong @YvesHenri

a simple: self.bot.logger.info(config) in PokemonCatch will show you that it is being overridden. Maybe check before you ASSUME

Gobberwart commented 8 years ago

@YvesHenri Both MTMP and Sniper do in fact overwrite PokemonCatchWorker config.... well, not so much overwrite as 'supply their own config'. They both create a new instance of PokemonCatchWorker and supply their own config which PokemonCatchWorker uses instead of using the CatchPokemon config it should be using.

See PR #5708 for a solution to this which forces PokemonCatchWorker to load CatchPokemon config if supplied/enabled.

Gobberwart commented 8 years ago

Should be fixed now in dev. Closing.