{"action":"created","issue":{"url":"https://api.github.com/repos/Byrth/Lua-Byrth/issues/436","repository_url":"https://api.github.com/repos/Byrth/Lua-Byrth","labels_url":"https://api.github.com/repos/Byrth/Lua-Byrth/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/Byrth/Lua-Byrth/issues/436/comments","events_url":"https://api.github.com/repos/Byrth/Lua-Byrth/issues/436/events","html_url":"https://github.com/Byrth/Lua-Byrth/issues/436","id":176595218,"number":436,"title":"can you add automation skill stats to gearswap's player.skills","user":{"login":"smd111","id":3882520,"avatar_url":"https://avatars.githubusercontent.com/u/3882520?v=3","gravatar_id":"","url":"https://api.github.com/users/smd111","html_url":"https://github.com/smd111","followers_url":"https://api.github.com/users/smd111/followers","following_url":"https://api.github.com/users/smd111/following{/other_user}","gists_url":"https://api.github.com/users/smd111/gists{/gist_id}","starred_url":"https://api.github.com/users/smd111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smd111/subscriptions","organizations_url":"https://api.github.com/users/smd111/orgs","repos_url":"https://api.github.com/users/smd111/repos","events_url":"https://api.github.com/users/smd111/events{/privacy}","received_events_url":"https://api.github.com/users/smd111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-13T09:41:56Z","updated_at":"2016-09-13T09:48:14Z","closed_at":null,"body":"here is the code for it(from my gearswap include)\r\n\r\n```\r\n    elseif id == 0x044 and skillwatch then --grabs data for skillup watch(pup)\r\n        local packet = packets.parse('incoming', data)\r\n        if packet['Job'] == 0x12 then-- 04\r\n            gearswap.player.skills.automaton_melee_level = packet['Current Melee Skill']-- 70\r\n            gearswap.player.skills.automaton_archery_level = packet['Current Ranged Skill']-- 74\r\n            gearswap.player.skills.automaton_magic_level = packet['Current Magic Skill']-- 78\r\n            triggered = true\r\n        end\r\n```\r\ni included the locations for everything in the packet according to fields.lua (--##)\r\n\r\nthis packet also gives all automaton stats as well as MON data (but its still unknown what most of it does)"},"comment":{"url":"https://api.github.com/repos/Byrth/Lua-Byrth/issues/comments/246631097","html_url":"https://github.com/Byrth/Lua-Byrth/issues/436#issuecomment-246631097","issue_url":"https://api.github.com/repos/Byrth/Lua-Byrth/issues/436","id":246631097,"user":{"login":"smd111","id":3882520,"avatar_url":"https://avatars.githubusercontent.com/u/3882520?v=3","gravatar_id":"","url":"https://api.github.com/users/smd111","html_url":"https://github.com/smd111","followers_url":"https://api.github.com/users/smd111/followers","following_url":"https://api.github.com/users/smd111/following{/other_user}","gists_url":"https://api.github.com/users/smd111/gists{/gist_id}","starred_url":"https://api.github.com/users/smd111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smd111/subscriptions","organizations_url":"https://api.github.com/users/smd111/orgs","repos_url":"https://api.github.com/users/smd111/repos","events_url":"https://api.github.com/users/smd111/events{/privacy}","received_events_url":"https://api.github.com/users/smd111/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T09:48:14Z","updated_at":"2016-09-13T09:48:14Z","body":"i think in gearswap it needs to be\r\n\r\n```\r\nparse.i[0x044] = function (data)\r\n    if data:unpack('C',0x04) == 0x12 then\r\n        player.skills.automaton_melee_level = data:unpack('H',0x70)\r\n        player.skills.automaton_archery_level = data:unpack('H',0x74)\r\n        player.skills.automaton_magic_level = data:unpack('H',0x78)\r\n    end\r\nend\r\n```"}}
{"actor":{"display_login":"smd111"}}