{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5376","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5376/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5376/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5376/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/5376","id":86572979,"number":5376,"title":"Enchanted Armoire drops equipment but no gear or the wrong gear appears in Inventory","user":{"login":"X3SED","id":12798273,"avatar_url":"https://avatars.githubusercontent.com/u/12798273?v=3","gravatar_id":"","url":"https://api.github.com/users/X3SED","html_url":"https://github.com/X3SED","followers_url":"https://api.github.com/users/X3SED/followers","following_url":"https://api.github.com/users/X3SED/following{/other_user}","gists_url":"https://api.github.com/users/X3SED/gists{/gist_id}","starred_url":"https://api.github.com/users/X3SED/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/X3SED/subscriptions","organizations_url":"https://api.github.com/users/X3SED/orgs","repos_url":"https://api.github.com/users/X3SED/repos","events_url":"https://api.github.com/users/X3SED/events{/privacy}","received_events_url":"https://api.github.com/users/X3SED/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/bug","name":"bug","color":"e102d8"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/help%20welcome%20now","name":"help welcome now","color":"bfd4f2"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/Memorable","name":"Memorable","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":42,"created_at":"2015-06-09T12:00:53Z","updated_at":"2016-01-17T12:58:18Z","closed_at":null,"body":"So I've never had this problem before... It started yesterday with the new Enchanted Armoire : \r\n\r\nWhen I check a task or I pay for the Enchanted Armoire (100g), sometimes I have some drops that counts, it says that I've earned them but when I want to feed my pets I don't find it anymore (It doesn't occure all the time but let's say there is  20% chance this happens...).\r\n\r\nI think it's a bug so here is my report and PS: I did resync, refresh, hard refresh, etc...\r\n\r\n----\r\n_edit by admin:_\r\n\r\n### If you experience this bug you do NOT need to comment here. We know that it can affect all players.\r\n\r\n### What happens is that the Armoire always gives you one piece of equipment or food or XP, but it sometimes tells you that you were given a different reward. You do always get something in return for your 100 GP. \r\n\r\n### If you were told that you received a piece of equipment but you can't see it on your Equipment page, you can be certain that the piece is still in the Armoire and you will receive it in future.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/21200188-enchanted-armoire-drops-equipment-but-no-gear-or-the-wrong-gear-appears-in-inventory?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/172322746","html_url":"https://github.com/HabitRPG/habitrpg/issues/5376#issuecomment-172322746","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5376","id":172322746,"user":{"login":"melarish","id":5783115,"avatar_url":"https://avatars.githubusercontent.com/u/5783115?v=3","gravatar_id":"","url":"https://api.github.com/users/melarish","html_url":"https://github.com/melarish","followers_url":"https://api.github.com/users/melarish/followers","following_url":"https://api.github.com/users/melarish/following{/other_user}","gists_url":"https://api.github.com/users/melarish/gists{/gist_id}","starred_url":"https://api.github.com/users/melarish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melarish/subscriptions","organizations_url":"https://api.github.com/users/melarish/orgs","repos_url":"https://api.github.com/users/melarish/repos","events_url":"https://api.github.com/users/melarish/events{/privacy}","received_events_url":"https://api.github.com/users/melarish/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T12:58:18Z","updated_at":"2016-01-17T12:58:18Z","body":"Is there currently server code for an Armoire purchase? I found this comment:\r\n\"If a function is inside user.ops, it has magical properties. If you call it on the client it updates the user object in the browser and when it's done it automatically POSTs to the server, calling src/controllers/user.js#OP_NAME (the exact same name of the op function).\"\r\nsuggesting there should be another buy function in user.js to handle server actions. However, I looked in /website/src/controllers/api-v2/user.js (is this the one?) and there wasn't one. Am I looking in the wrong place?"}}