{"action":"closed","issue":{"url":"https://api.github.com/repos/otland/forgottenserver/issues/1539","labels_url":"https://api.github.com/repos/otland/forgottenserver/issues/1539/labels{/name}","comments_url":"https://api.github.com/repos/otland/forgottenserver/issues/1539/comments","events_url":"https://api.github.com/repos/otland/forgottenserver/issues/1539/events","html_url":"https://github.com/otland/forgottenserver/issues/1539","id":102759128,"number":1539,"title":"Quest chest bug","user":{"login":"gesior","id":2642737,"avatar_url":"https://avatars.githubusercontent.com/u/2642737?v=3","gravatar_id":"","url":"https://api.github.com/users/gesior","html_url":"https://github.com/gesior","followers_url":"https://api.github.com/users/gesior/followers","following_url":"https://api.github.com/users/gesior/following{/other_user}","gists_url":"https://api.github.com/users/gesior/gists{/gist_id}","starred_url":"https://api.github.com/users/gesior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesior/subscriptions","organizations_url":"https://api.github.com/users/gesior/orgs","repos_url":"https://api.github.com/users/gesior/repos","events_url":"https://api.github.com/users/gesior/events{/privacy}","received_events_url":"https://api.github.com/users/gesior/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/otland/forgottenserver/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/otland/forgottenserver/milestones/3","html_url":"https://github.com/otland/forgottenserver/milestones/1.2","labels_url":"https://api.github.com/repos/otland/forgottenserver/milestones/3/labels","id":849449,"number":3,"title":"1.2","description":"Milestone for the 1.2 release","creator":{"login":"marksamman","id":636597,"avatar_url":"https://avatars.githubusercontent.com/u/636597?v=3","gravatar_id":"","url":"https://api.github.com/users/marksamman","html_url":"https://github.com/marksamman","followers_url":"https://api.github.com/users/marksamman/followers","following_url":"https://api.github.com/users/marksamman/following{/other_user}","gists_url":"https://api.github.com/users/marksamman/gists{/gist_id}","starred_url":"https://api.github.com/users/marksamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marksamman/subscriptions","organizations_url":"https://api.github.com/users/marksamman/orgs","repos_url":"https://api.github.com/users/marksamman/repos","events_url":"https://api.github.com/users/marksamman/events{/privacy}","received_events_url":"https://api.github.com/users/marksamman/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":29,"state":"open","created_at":"2014-11-01T17:23:39Z","updated_at":"2016-01-31T16:37:30Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-24T10:22:13Z","updated_at":"2016-01-31T16:37:30Z","closed_at":"2016-01-31T16:37:30Z","body":"Why TFS 1.x is not compatible with old (great) quest system where you put items inside box in map editor and use check UID as storage ID?\r\n\r\nBUG:\r\nhttps://github.com/otland/forgottenserver/blob/master/data/actions/scripts/quests/quests.lua\r\n\r\nI cannot test it on server, but this code for me means that, it tries to give 'chest' to player (without item inside):\r\n\r\n    local itemType = ItemType(item.itemid)\r\n\r\nI think it should be **item.uid** if you want to keep this script super simple (why don't you use my advanced quest script that was popular in all old TFSes:\r\nhttp://opentibia.net/topic/121575-advanced-quest-chest/"}}