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

Bot takes 4 minutes for 10 m (newest dev) #2008

Closed
DanielVolz opened this issue Jul 31, 2016 · 16 comments
Closed

Bot takes 4 minutes for 10 m (newest dev) #2008

DanielVolz opened this issue Jul 31, 2016 · 16 comments

Comments

@DanielVolz
Copy link

Bot acts like he's drunk 😄

screenshot 2016-07-31 07 29 14

@ghost
Copy link

ghost commented Jul 31, 2016

Damn.

@Philipp59
Copy link

branch? config? path config?

@jmcorpdev
Copy link

Branch dev, and this was like this tonight, 2 bots walk 0.2km for 6 hours :/

@pokemule
Copy link

pokemule commented Jul 31, 2016

What are the values of your "walk" and "max_steps" variables in the config.json file?

@zx900930
Copy link

zx900930 commented Jul 31, 2016

dev branch commit 0397274 ("Foundation for remote control of the bot over websocket (#2000)", 2016-07-31)
config:

    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "EvolveAll"
      },
      {
        "type": "RecycleItems"
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "MoveToFort"
      },
      {
        "type": "FollowSpiral"
      }
    ],
    "max_steps": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 50
    },
    "websocket_server": false,
    "walk": 4.16,
    "action_wait_min": 1,
    "action_wait_max": 4,

no path config

Bot just move slowly to next fort

[08:53:37] Moving towards fort Bal Masqu├® , 0.06km left
[08:53:47] Moving towards fort Bal Masqu├® , 0.06km left
[08:53:55] Moving towards fort Bal Masqu├® , 0.06km left
[08:54:03] Moving towards fort Bal Masqu├® , 0.06km left
[08:54:12] Moving towards fort Bal Masqu├® , 0.06km left
[08:54:20] Moving towards fort Bal Masqu├® , 0.05km left
[08:54:28] Moving towards fort Bal Masqu├® , 0.06km left
[08:54:36] Moving towards fort Bal Masqu├® , 0.06km left
[08:54:44] Moving towards fort Bal Masqu├® , 0.06km left
[08:54:53] Moving towards fort Bal Masqu├® , 0.05km left
[08:55:03] Moving towards fort Bal Masqu├® , 0.06km left
[08:55:06] Moving towards fort Bal Masqu├® , 0.05km left
[08:55:14] Moving towards fort Bal Masqu├® , 0.05km left
[08:55:22] Moving towards fort Bal Masqu├® , 0.05km left
[08:55:30] Moving towards fort Bal Masqu├® , 0.05km left
[08:55:43] Moving towards fort Bal Masqu├® , 0.05km left
[08:55:54] Moving towards fort Bal Masqu├® , 0.05km left
[08:56:00] Moving towards fort Bal Masqu├® , 0.05km left
[08:56:07] Moving towards fort Bal Masqu├® , 0.05km left
[08:56:15] Moving towards fort Bal Masqu├® , 0.04km left
[08:56:23] Moving towards fort Bal Masqu├® , 0.05km left
[08:56:32] Moving towards fort Bal Masqu├® , 0.05km left
[08:56:43] Moving towards fort Bal Masqu├® , 0.05km left
[08:56:53] Moving towards fort Bal Masqu├® , 0.05km left
[08:57:05] Moving towards fort Bal Masqu├® , 0.05km left

move path:

20160731090121

@Philipp59
Copy link

#1990

seems to be evolve tick

@johannlejeune
Copy link
Contributor

As @Philipp59 said, seems related to the Evolve worker.
Try to set evolve_all to NONE, works as a temporary fix for me, but the bot won't evolve Pokémon after that.
Also, you can remove the FollowSpiral task if you want to get rid of those back-and-forth moves.

@bruvv
Copy link
Contributor

bruvv commented Jul 31, 2016

Same issue here @Moonlight-Angel changing that did not help for me.

@johannlejeune
Copy link
Contributor

@nivong Weird. Maybe remove the EvolveAll task directly ?

@bruvv
Copy link
Contributor

bruvv commented Jul 31, 2016

yup that did the trick I had set it to false instead of NONE

@ghost
Copy link

ghost commented Jul 31, 2016

#2074 dupe

@Bloodhunter4rc
Copy link

i removed EvolveAll task and FollowSpiral and it fixed it however now the bot stops walking after some time at all.

@sgitkene
Copy link

Mine won't even start walking when follow spiral is disabled

@Philipp59
Copy link

its a logic problem in your config pls read the wiki for it shortwise heres the important part for the task ordering

The following configuration tells the bot to transfer all the Pokemon that match the transfer configuration rules, then recycle the items that match its configuration, then catch the pokemon that it can, so on, so forth. Note the last two tasks, MoveToFort and FollowSpiral. When a task is still in progress, it won't run the next things in the list. So it will move towards the fort, on each step running through the list of tasks again. Only when it arrives at the fort and there are no other stops available for it to move towards will it continue to the next step and follow the spiral.

If u remove spiral follow u need a task to move you can take "type": "MoveToFort" or FollowPath with path.config

for eg. here my config:
Noticed i removedevolve all task because Iam evolving on capture so save inventory space and speeding up the tickrate, also bot is walking with NY route (path.config) aka FollowPath. No Move to fort or spiral walk. Also I changed to order of the task because its smarter to catch first and clear the inventory after spin.

{
    "auth_service": "",
    "username": "",
    "password": "",
    "location": "40.764866,-73.972838",
    "gmapkey": "",
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "CollectLevelUpReward"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "CatchVisiblePokemon"
      },

      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "RecycleItems"
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "FollowPath",
        "config": {
          "path_mode": "loop",
          "path_file": "configs/NY.json"
        }
       }
    ],
    "max_steps": 5,
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 10
    },
    "websocket_server": false,
    "walk": 80,
    "action_wait_min": 0,
    "action_wait_max": 0,
    "debug": false,
    "test": false,
    "health_record": false,
    "location_cache": false,
    "distance_unit": "km",
    "reconnecting_timeout": 15,
    "item_filter": {
      "1": { "keep" : 125 },
      "2": { "keep" : 100 },
      "3": { "keep" : 50 },
      "101": { "keep" : 0 },
      "102": { "keep" : 0 },
      "103": { "keep" : 0 },
      "104": { "keep" : 0 },
      "201": { "keep" : 0 },
      "202": { "keep" : 0 },
      "701": { "keep" : 20 }
    },
    "evolve_all": "NONE",
    "evolve_cp_min": 10,
    "evolve_captured": "Caterpie,Weedle,Pidgey,Rattata,Spearow,Ekans,Sandshrew,Zubat,Paras,Venonat,Diglett,Meowth,Mankey,Magnemite,Doduo,Shellder,Krabby,Cubone,Horsea",
    "catch_randomize_reticle_factor": 1.0,
    "catch_randomize_spin_factor": 1.0,
    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}
    },
    "release": {
      "any": {"release_below_cp": 9, "release_below_iv": 0.99, "logic": "or"},
      "Bulbasaur": {"keep_best_iv": 3},
      "Ivysaur": {"keep_best_iv": 1},
      "Venusaur": {"keep_best_iv": 2},
      "Charizard": {"keep_best_iv": 3},
      "Charmeleon": {"keep_best_iv": 1},
      "Charmander": {"keep_best_iv": 2},
      "Squirtle": {"keep_best_iv": 2},
      "Wartortle": {"keep_best_iv": 1},
      "Blastoise": {"keep_best_iv": 3},
      "Pikachu": {"keep_best_iv": 2},
      "Raichu": {"keep_best_iv": 2},
      "Nidoran F": {"keep_best_iv": 3},
      "Nidorina": {"keep_best_iv": 2},
      "Nidoqueen": {"keep_best_iv": 3},
      "Nidoran M": {"keep_best_iv": 3},
      "Nidorino": {"keep_best_iv": 2},
      "Nidoking": {"keep_best_iv": 3},
      "Clefairy": {"keep_best_iv": 2},
      "Clefable": {"keep_best_iv": 1},
      "Vulpix": {"keep_best_iv": 2},
      "Ninetales": {"keep_best_iv": 2},
      "Jigglypuff": {"keep_best_iv": 1},
      "Wigglytuff": {"keep_best_iv": 1},
      "Oddish": {"keep_best_iv": 2},
      "Gloom": {"keep_best_iv": 1},
      "Vileplume": {"keep_best_iv": 3},
      "Psyduck": {"keep_best_iv": 3},
      "Golduck": {"keep_best_iv": 3},
      "Growlithe": {"keep_best_iv": 5},
      "Arcanine": {"keep_best_iv": 5},
      "Poliwag": {"keep_best_iv": 3},
      "Poliwhirl": {"keep_best_iv": 2},
      "Poliwrath": {"keep_best_iv":3},
      "Abra": {"keep_best_iv": 2},
      "Kadabra": {"keep_best_iv": 1},
      "Alakazam": {"keep_best_iv": 3},
      "Machop": {"keep_best_iv": 3},
      "Machoke": {"keep_best_iv": 2},
      "Machamp": {"keep_best_iv": 2},
      "Bellsprout": {"keep_best_iv": 3},
      "Weepinbell": {"keep_best_iv": 1},
      "Victreebel": {"keep_best_iv": 3},
      "Tentacool": {"keep_best_iv": 1},
      "Tentacruel": {"keep_best_iv": 1},
      "Geodude": {"keep_best_iv": 3},
      "Graveler": {"keep_best_iv": 2},
      "Golem": {"keep_best_iv": 3},
      "Ponyta": {"keep_best_iv": 2},
      "Rapidash": {"keep_best_iv": 2},
      "Slowpoke": {"keep_best_iv": 2},
      "Slowbro": {"keep_best_iv": 3},
      "Seel": {"keep_best_iv": 2},
      "Dewgong": {"keep_best_iv": 2},
      "Grimer": {"keep_best_iv": 5},
      "Muk": {"keep_best_iv": 5},
      "Gastly": {"keep_best_iv": 3},
      "Haunter": {"keep_best_iv": 2},
      "Gengar": {"keep_best_iv": 3},
      "Drowzee": {"keep_best_iv": 2},
      "Hypno": {"keep_best_iv": 3},
      "Voltorb": {"keep_best_iv": 2},
      "Electrode": {"keep_best_iv": 2},
      "Exeggcute": {"keep_best_iv": 5},
      "Exeggutor": {"keep_best_iv": 5},
      "Koffing": {"keep_best_iv": 5},
      "Weezing": {"keep_best_iv": 5},
      "Rhyhorn": {"keep_best_cp": 2},
      "Rhydon": {"keep_best_cp": 2},
      "Chansey": {"keep_best_iv": 1},
      "Kangaskhan": {"keep_best_iv": 1},
      "Goldeen": {"keep_best_iv": 2},
      "Seaking": {"keep_best_iv": 2},
      "Staryu": {"keep_best_iv": 3},
      "Starmie": {"keep_best_iv": 3},
      "Scyther": {"keep_best_iv": 4},
      "Electabuzz": {"keep_best_iv": 4},
      "Magmar": {"keep_best_iv": 4},
      "Pinsir": {"keep_best_iv": 2},
      "Magikarp": {"keep_best_cp": 5},
      "Gyarados": {"keep_best_cp": 10},
      "Lapras": {"keep_best_iv": 10},
      "Ditto": {"keep_best_iv": 1},
      "Eevee": {"keep_best_iv": 5},
      "Vaporeon": {"keep_best_iv": 5},
      "Jolteon": {"keep_best_iv": 5},
      "Flareon": {"keep_best_iv": 5},
      "Omanyte": {"keep_best_iv": 2},
      "Omastar": {"keep_best_iv": 2},
      "Kabuto": {"keep_best_iv": 2},
      "Kabutops": {"keep_best_iv": 2},
      "Aerodactyl": {"keep_best_cp": 2},
      "Snorlax": {"keep_best_cp": 10},
      "Articuno": {"keep_best_iv": 10},
      "Zapdos": {"keep_best_iv": 10},
      "Moltres": {"keep_best_iv": 10},
      "Mewtwo": {"keep_best_iv": 10},
      "Mew": {"keep_best_iv": 10},
      "Dratini": {"keep_best_iv": 10},
      "Dragonair": {"keep_best_iv": 5},
      "Dragonite": {"keep_best_iv": 15}
    },
    "vips" : {
        "Bulbasaur": {},
        "Ivysaur": {},
        "Abra": {},
        "Gastly": {},
        "Charmander": {},
        "Charmeleon": {},
        "Squirtle": {},
        "Wartortle": {},
        "Pikachu": {},
        "Venusaur": {},
        "Charizard": {},
        "Blastoise": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Flareon": {},
        "Chansey": {},
        "Gyarados": {},
        "Lapras": {},
        "Ditto": {},
        "Snorlax": {},
        "Dragonite": {},
        "Aerodactyl": {},
        "Kabutops": {},
        "Gengar": {},
        "Alakazam": {},
        "Raichu": {},
        "Omastar": {},
        "Electabuzz": {},
        "Magmar": {},
        "Scyther": {},
        "Nidoking": {},
        "Nidoqueen": {},
        "Moltres": {},
        "Zapdos": {},
        "Articuno": {},
        "Mewtwo": {},
        "Exeggutor": {},
        "Muk": {},
        "Weezing": {},
        "Mew": {}
    } 

}




@sgitkene
Copy link

MoveToFort maybe broken? it doesn't walk toward next fort.

@bruvv
Copy link
Contributor

bruvv commented Aug 5, 2016

Why close this @solderzzc

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