{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5367","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5367/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5367/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5367/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/5367","id":176176743,"number":5367,"title":"Proposal for ConcurentWalking \"car\" sharing between the tasks that have to walk","user":{"login":"th3w4y","id":10997651,"avatar_url":"https://avatars.githubusercontent.com/u/10997651?v=3","gravatar_id":"","url":"https://api.github.com/users/th3w4y","html_url":"https://github.com/th3w4y","followers_url":"https://api.github.com/users/th3w4y/followers","following_url":"https://api.github.com/users/th3w4y/following{/other_user}","gists_url":"https://api.github.com/users/th3w4y/gists{/gist_id}","starred_url":"https://api.github.com/users/th3w4y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/th3w4y/subscriptions","organizations_url":"https://api.github.com/users/th3w4y/orgs","repos_url":"https://api.github.com/users/th3w4y/repos","events_url":"https://api.github.com/users/th3w4y/events{/privacy}","received_events_url":"https://api.github.com/users/th3w4y/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/Bug","name":"Bug","color":"ee0701"},{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/Feature%20Request","name":"Feature Request","color":"5319e7"},{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/New%20Functionality","name":"New Functionality","color":"bfd4f2"},{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/Second%20Review%20Required","name":"Second Review Required","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-10T12:14:28Z","updated_at":"2016-09-10T12:21:45Z","closed_at":null,"body":"**Below proposal is related to all tasks that are changing bot.position**\r\n\r\nCurrently we achieve already a great deal (almost everywhere) to standardise the bot.position changes to only use the StepWalker.step() [be it the PolylineWalker(StepWalker)]\r\n\r\n**Assumptions:**\r\n- 90% of users don' deviate much from the documented config.json.example\r\n- We expect all the walking Task to befriend each other!\r\n- Tasks have a .work() they calculated and do stuff in there they create a swtep_walker = StepWalker() object and when they call step_walker.step() they expect True if bot has reached  the requested destination of False if walk is in progress...\r\n\r\n\r\n**Identified Issues:**\r\n- Different Tasks Concurrently request different Destinations [Classic example FollowSpiral conflicting with MoveToFort (_well actually conflicting with anything_)]\r\n- Certain tasks want the bot.position to not change [loitering for example] and others want it to change.\r\n- Tasks that use PolylineWalker are conflicting with task that don't use it\r\n\r\n\r\n**Reason for the proposal against a refactoring alternative:**\r\n- To much refactoring would be needed to solve above mentions points, in to many Tasks.. Walkers and so on."},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/246108857","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/5367#issuecomment-246108857","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/5367","id":246108857,"user":{"login":"th3w4y","id":10997651,"avatar_url":"https://avatars.githubusercontent.com/u/10997651?v=3","gravatar_id":"","url":"https://api.github.com/users/th3w4y","html_url":"https://github.com/th3w4y","followers_url":"https://api.github.com/users/th3w4y/followers","following_url":"https://api.github.com/users/th3w4y/following{/other_user}","gists_url":"https://api.github.com/users/th3w4y/gists{/gist_id}","starred_url":"https://api.github.com/users/th3w4y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/th3w4y/subscriptions","organizations_url":"https://api.github.com/users/th3w4y/orgs","repos_url":"https://api.github.com/users/th3w4y/repos","events_url":"https://api.github.com/users/th3w4y/events{/privacy}","received_events_url":"https://api.github.com/users/th3w4y/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T12:21:45Z","updated_at":"2016-09-10T12:21:45Z","body":"I would want you input if i should start implement this proposal (Should be quite simple to do..) and what I should take into consideration in the cost functions:\r\n\r\nFor the moment i will make two big assumptions:\r\n- Cost of staying put is 0\r\n- Cost of teleporting   is -float(\"inf\")\r\n       - for the move to map for example [StepWalker().step(speed=float\"inf\")]"}}
{"actor":{"display_login":"th3w4y"}}