{"action":"created","issue":{"url":"https://api.github.com/repos/NecronomiconCoding/NecroBot/issues/1801","repository_url":"https://api.github.com/repos/NecronomiconCoding/NecroBot","labels_url":"https://api.github.com/repos/NecronomiconCoding/NecroBot/issues/1801/labels{/name}","comments_url":"https://api.github.com/repos/NecronomiconCoding/NecroBot/issues/1801/comments","events_url":"https://api.github.com/repos/NecronomiconCoding/NecroBot/issues/1801/events","html_url":"https://github.com/NecronomiconCoding/NecroBot/issues/1801","id":168677173,"number":1801,"title":"Configuration Migration System issues (upgrading from 0.4.0 to 0.5.0)","user":{"login":"Jertlok","id":6817879,"avatar_url":"https://avatars.githubusercontent.com/u/6817879?v=3","gravatar_id":"","url":"https://api.github.com/users/Jertlok","html_url":"https://github.com/Jertlok","followers_url":"https://api.github.com/users/Jertlok/followers","following_url":"https://api.github.com/users/Jertlok/following{/other_user}","gists_url":"https://api.github.com/users/Jertlok/gists{/gist_id}","starred_url":"https://api.github.com/users/Jertlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jertlok/subscriptions","organizations_url":"https://api.github.com/users/Jertlok/orgs","repos_url":"https://api.github.com/users/Jertlok/repos","events_url":"https://api.github.com/users/Jertlok/events{/privacy}","received_events_url":"https://api.github.com/users/Jertlok/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NecronomiconCoding/NecroBot/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-01T15:42:50Z","updated_at":"2016-08-01T16:02:34Z","closed_at":null,"body":"Hello there, i've noticed that all the new configurable settings (included in 0.5.0) get a 0 parameter as soon as the settings migrate during the bot automatic update from version 0.4.0.\r\n_Example:_ \r\n```\r\n  \"UseGreatBallBelowCatchProbability\": 0.0,\r\n  \"UseUltraBallBelowCatchProbability\": 0.0,\r\n  \"UseMasterBallBelowCatchProbability\": 0.0,\r\n```\r\n\r\n## Information\r\n\r\n**Bot version:** NecroBot 0.5.0 taken from _Releases_\r\n**Operating System:** Windows \r\n\r\n## Steps to Reproduce\r\n\r\n-  Opened NecroBot version 0.4.0\r\n-  Waited for the update procedure and config.json migration:\r\n```\r\n[17:36:53] Downloading and apply Update...\r\n[17:36:59] Finished downloading newest Release...\r\n[17:37:00] Finished unpacking files...\r\n[17:37:00] Update finished, you can close this window now.\r\n[17:37:00] Finished transferring your config to the new version...\r\n```\r\n- Checked the new generated config.json file - _and the faulty config.json was there_\r\n"},"comment":{"url":"https://api.github.com/repos/NecronomiconCoding/NecroBot/issues/comments/236625198","html_url":"https://github.com/NecronomiconCoding/NecroBot/issues/1801#issuecomment-236625198","issue_url":"https://api.github.com/repos/NecronomiconCoding/NecroBot/issues/1801","id":236625198,"user":{"login":"Jertlok","id":6817879,"avatar_url":"https://avatars.githubusercontent.com/u/6817879?v=3","gravatar_id":"","url":"https://api.github.com/users/Jertlok","html_url":"https://github.com/Jertlok","followers_url":"https://api.github.com/users/Jertlok/followers","following_url":"https://api.github.com/users/Jertlok/following{/other_user}","gists_url":"https://api.github.com/users/Jertlok/gists{/gist_id}","starred_url":"https://api.github.com/users/Jertlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jertlok/subscriptions","organizations_url":"https://api.github.com/users/Jertlok/orgs","repos_url":"https://api.github.com/users/Jertlok/repos","events_url":"https://api.github.com/users/Jertlok/events{/privacy}","received_events_url":"https://api.github.com/users/Jertlok/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T16:02:34Z","updated_at":"2016-08-01T16:02:34Z","body":"```\r\n  \"UseGreatBallBelowCatchProbability\": 0.5,\r\n  \"UseUltraBallBelowCatchProbability\": 0.4,\r\n  \"UseMasterBallBelowCatchProbability\": 0.05,\r\n```"}}
{"actor":{"display_login":"Jertlok"}}