{"action":"closed","issue":{"url":"https://api.github.com/repos/otland/forgottenserver/issues/1440","labels_url":"https://api.github.com/repos/otland/forgottenserver/issues/1440/labels{/name}","comments_url":"https://api.github.com/repos/otland/forgottenserver/issues/1440/comments","events_url":"https://api.github.com/repos/otland/forgottenserver/issues/1440/events","html_url":"https://github.com/otland/forgottenserver/issues/1440","id":93183019,"number":1440,"title":"Set maxdepotitems for inbox","user":{"login":"kanohn","id":12870151,"avatar_url":"https://avatars.githubusercontent.com/u/12870151?v=3","gravatar_id":"","url":"https://api.github.com/users/kanohn","html_url":"https://github.com/kanohn","followers_url":"https://api.github.com/users/kanohn/followers","following_url":"https://api.github.com/users/kanohn/following{/other_user}","gists_url":"https://api.github.com/users/kanohn/gists{/gist_id}","starred_url":"https://api.github.com/users/kanohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanohn/subscriptions","organizations_url":"https://api.github.com/users/kanohn/orgs","repos_url":"https://api.github.com/users/kanohn/repos","events_url":"https://api.github.com/users/kanohn/events{/privacy}","received_events_url":"https://api.github.com/users/kanohn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/otland/forgottenserver/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-06T04:14:00Z","updated_at":"2015-07-06T08:27:45Z","closed_at":"2015-07-06T08:27:45Z","body":"Hello, how can i set maxdepotitems for inbox? Because in my server have a bug that player can send with !leavehouse infinite items for inbox causing crash.\r\n\r\nI know I already have several topics discussing about it, but I just wanted to help put a limit on the number inbox\r\n\r\nI can suggest another idea also been trying to change this passage:\r\n\r\nfor (Item * item: moveItemList) {\r\ng_game.internalMoveItem (Item-> getParent (), player-> getInbox (), INDEX_WHEREEVER item, Item-> GetItemCount (), nullptr, FLAG_NOLIMIT);\r\n}\r\n\r\nTo 'player-> getDepotChest \"but got some reporting errors\r\n\r\nif someone can help me I would greatly appreciate it\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/23766511-set-maxdepotitems-for-inbox?utm_campaign=plugin&utm_content=tracker%2F392151&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F392151&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}