{"action":"opened","issue":{"url":"https://api.github.com/repos/Operative13/CS480/issues/34","repository_url":"https://api.github.com/repos/Operative13/CS480","labels_url":"https://api.github.com/repos/Operative13/CS480/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Operative13/CS480/issues/34/comments","events_url":"https://api.github.com/repos/Operative13/CS480/issues/34/events","html_url":"https://github.com/Operative13/CS480/issues/34","id":324607324,"number":34,"title":"Bug with Sending Troops to a Base","user":{"login":"David-Hughes3","id":6970911,"avatar_url":"https://avatars1.githubusercontent.com/u/6970911?v=4","gravatar_id":"","url":"https://api.github.com/users/David-Hughes3","html_url":"https://github.com/David-Hughes3","followers_url":"https://api.github.com/users/David-Hughes3/followers","following_url":"https://api.github.com/users/David-Hughes3/following{/other_user}","gists_url":"https://api.github.com/users/David-Hughes3/gists{/gist_id}","starred_url":"https://api.github.com/users/David-Hughes3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/David-Hughes3/subscriptions","organizations_url":"https://api.github.com/users/David-Hughes3/orgs","repos_url":"https://api.github.com/users/David-Hughes3/repos","events_url":"https://api.github.com/users/David-Hughes3/events{/privacy}","received_events_url":"https://api.github.com/users/David-Hughes3/received_events","type":"User","site_admin":false},"labels":[{"id":894188539,"url":"https://api.github.com/repos/Operative13/CS480/labels/backend","name":"backend","color":"1aaf5b","default":false},{"id":884481585,"url":"https://api.github.com/repos/Operative13/CS480/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":894188636,"url":"https://api.github.com/repos/Operative13/CS480/labels/frontend","name":"frontend","color":"9e69db","default":false},{"id":894188498,"url":"https://api.github.com/repos/Operative13/CS480/labels/sdk","name":"sdk","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-19T06:53:52Z","updated_at":"2018-05-19T06:53:52Z","closed_at":null,"author_association":"COLLABORATOR","body":"There is a bug currently that causes the send base to produce an exponential amount of troops.\r\n\r\nBasically, when a user sends troops, the math does not add up correctly in the base. Then the base has a much larger amount than transferred and the incrementants are no longer + 1. This leads to millions, trillions, etc. amount of troops in the base. Note that the user is also able to pull these large amounts as well.\r\n\r\nIm guessing its a static typing error? Or something else, because it does not seem to be adding \r\nSendAmount.string + BaseAmount.string\r\nas in if attempting to send 6 when the base has 21, it does not make\r\n\"6\" + \"21\" = 621 troops in the base.\r\n\r\nTherefore, I am not really sure what the issue is currently.\r\n\r\n![screenshot_20180518-231501](https://user-images.githubusercontent.com/6970911/40265889-bfc5f842-5af5-11e8-94bf-87341462a0fd.png)\r\n\r\n"}}
{"actor":{"display_login":"David-Hughes3"}}