Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: daily catch limit reached #5648

Closed
db-coder opened this issue Sep 24, 2016 · 6 comments
Closed

Error: daily catch limit reached #5648

db-coder opened this issue Sep 24, 2016 · 6 comments

Comments

@db-coder
Copy link

Expected Behavior

Bot should work correctly

Actual Behavior

gives error that daily catch limit is reached even though I've set a very high limit

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" : 80 },
            "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": "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-24 09:56:43] Next random alive pause at 11:12:39, for a duration of 0:00:17
[2016-09-24 09:56:43] Next random pause at 11:10:12, for a duration of 0:00:26
[2016-09-24 09:56:43] Validating sources: http://pokesnipers.com/api/v1/pokemon.json, https://pokewatchers.com/grab/...
[2016-09-24 09:56:44] Source 'http://pokesnipers.com/api/v1/pokemon.json' is good!
[2016-09-24 09:56:54] Source 'https://pokewatchers.com/grab/' contains errors. Details: Fetching has timed out. Removing from sources list...
[2016-09-24 09:56:55] Starting bot...
[2016-09-24 09:56:56] Received level up reward: 
[2016-09-24 09:56:56] (Grimer) Buddy next award 2.19/3.0 km
[2016-09-24 09:56:56] Eggs incubating: [0.31/5.0 km] (Eggs left: [(2.0, 1), (5.0, 7)], Incubating: 1)
[2016-09-24 09:56:57] abc | Uptime : 0:00:48 | Earned 0 Stardust | +0 XP | 0 XP/h | Visited 0 stops
[2016-09-24 09:56:57] Pokemon: 244/250 | Items: 120/350 | Pokeballs: 59 | GreatBalls: 0 | UltraBalls: 4 | RazzBerries: 1
[2016-09-24 09:56:57] *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) | (Nidoqueen, CP 1656, IV 0.53) | (Magmar, CP 1640, IV 0.58) | (Magmar, CP 1631, IV 0.82) | (Pinsir, CP 1597, IV 0.8) | (Venusaur, CP 1571, IV 0.27) | (Electabuzz, CP 1569, IV 0.73)
[2016-09-24 09:56:57] Teleporting to meet Farfetch'd (22.337125; 114.194328)...
[2016-09-24 09:57:01] Yay! There really is a wild Farfetch'd nearby!
[2016-09-24 09:57:01] Teleporting back to the old position (34.009; -118.4974)...
[2016-09-24 09:57:04] *A wild Farfetch'd appeared!* (CP: 334) (NCP: 0.26) (Potential 0.6) (A/D/S 11/3/13)
[2016-09-24 09:57:07] This is a VIP pokemon. Catch!!!
[2016-09-24 09:57:07] WARNING! You have reached your daily catch limit
Sat Sep 24 09:57:07 IST 2016 Pokebot  Stopped.
Press any button or wait 20 seconds to continue.

Steps to Reproduce

Run the bot in the latest config

Other Information

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

@kolinkorr839
Copy link
Contributor

kolinkorr839 commented Sep 24, 2016

I looked at the code where it checks for daily catch limit and I don't see how if you set the daily_catch_limit to something very very high that it would reached that limit.

        while True:
            if self.caught_last_24_hour < self.daily_catch_limit:
            # catch that pokemon!
                encounter_id = self.pokemon['encounter_id']
                catch_rate_by_ball = [0] + response['capture_probability']['capture_probability']  # offset so item ids match indces
                self._do_catch(pokemon, encounter_id, catch_rate_by_ball, is_vip=is_vip)
                break
            else:
                self.emit_event('catch_limit', formatted='WARNING! You have reached your daily catch limit')
                sys.exit(2)
                break

Can you try to do this (note you might have to install sqlite, In ubuntu, it is just sudo apt-get install sqlite)?

$ sqlite3 data/<your_username>.db "select distinct count(encounter_id) from catch_log where dated >= '2016-09-23' and dated < '2016-09-24'"

@db-coder
Copy link
Author

Actually, everything's working fine if I just disable sniping.
Any ideas why?

@kolinkorr839
Copy link
Contributor

So, it is still happening? I don't think the two are related though.

@db-coder
Copy link
Author

Currently, I've disable sniping and it's working fine. But it gives the same error once I re-enable it. This started happening after the latest sniping related commit.

@beltoft
Copy link

beltoft commented Sep 26, 2016

having sort of the same problem

I see this Catch limit even though I have no limit at all in my config

[PokemonCatchWorker] [INFO] Captured Pidgey! (CP: 142 IV: 0.82 7/15/15 NCP: 0.21) Catch Limit: (598/800) +120 exp +100 stardust

@YvesHenri
Copy link
Contributor

Duplicated (Issue #5684).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants