{"action":"created","issue":{"url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/36","repository_url":"https://api.github.com/repos/artemis-nerds/protocol-docs","labels_url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/36/comments","events_url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/36/events","html_url":"https://github.com/artemis-nerds/protocol-docs/issues/36","id":172300783,"number":36,"title":"Packets for GM buttons in Artemis 2.4","user":{"login":"rjwut","id":5790951,"avatar_url":"https://avatars.githubusercontent.com/u/5790951?v=3","gravatar_id":"","url":"https://api.github.com/users/rjwut","html_url":"https://github.com/rjwut","followers_url":"https://api.github.com/users/rjwut/followers","following_url":"https://api.github.com/users/rjwut/following{/other_user}","gists_url":"https://api.github.com/users/rjwut/gists{/gist_id}","starred_url":"https://api.github.com/users/rjwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjwut/subscriptions","organizations_url":"https://api.github.com/users/rjwut/orgs","repos_url":"https://api.github.com/users/rjwut/repos","events_url":"https://api.github.com/users/rjwut/events{/privacy}","received_events_url":"https://api.github.com/users/rjwut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-21T02:17:12Z","updated_at":"2016-08-23T00:55:47Z","closed_at":null,"body":"So I'm investigating the protocol changes for supporting the new GM buttons functionality in Artemis 2.4. I'm presuming that the following new packets must exist:\r\n\r\n- (server > client) Creating a button to display on the GM console (`set_gm_button`)\r\n- (server > client) Removing a button that was on the GM's console (`clear_gm_button`)\r\n- (client > server) GM console button clicked (`if_gm_button`)\r\n\r\nI've started by running the script from [this thread](https://artemis.forumchitchat.com/post/big-changes-to-the-gm-mode-8046194) and capturing all the unknown packets received when the game starts. This lead to the discovery of packet type `0x26faacb9`, which I'm presume is the one that corresponds to the new button commands, or at least `set_gm_button`. I'm digging into the payloads now, but I thought I'd share what I captured below. For brevity, I'm only including the payloads and not the preambles, but they're all `0x26faacb9` packets. Each line is one packet.\r\n\r\n```\r\n64\r\n\r\n011c000000430072006500610074006500200045006e0065006d0079002f0053006d0061006c006c0020005300740061006e0064006100720064000000\r\n\r\n011d000000430072006500610074006500200045006e0065006d0079002f004d0065006400690075006d0020005300740061006e0064006100720064000000\r\n\r\n011c000000430072006500610074006500200045006e0065006d0079002f004c00610072006700650020005300740061006e0064006100720064000000\r\n\r\n011b000000430072006500610074006500200045006e0065006d0079002f0053006d0061006c006c00200053006b0061007200610061006e000000\r\n\r\n011c000000430072006500610074006500200045006e0065006d0079002f004d0065006400690075006d00200053006b0061007200610061006e000000\r\n\r\n011b000000430072006500610074006500200045006e0065006d0079002f004c006100720067006500200053006b0061007200610061006e000000\r\n\r\n0115000000440065006c006500740065005c00530065006c0065006300740065006400200073006800690070000000\r\n\r\n0116000000440065006c006500740065005c006e006f006e002d007300680069007000730020006e006500610072000000\r\n\r\n0122000000430072006500610074006500200045006e0065006d0079002f004500780074007200610073002f004d0069006e0065006600690065006c00640020006100720063000000\r\n\r\n011c000000430072006500610074006500200045006e0065006d0079002f004500780074007200610073002f004e006500620075006c00610073000000\r\n\r\n011e000000430072006500610074006500200045006e0065006d0079002f004500780074007200610073002f00410073007400650072006f006900640073000000\r\n\r\n011d00000043007200650061007400650020005400720061006e00730070006f00720074002f0067006f0069006e00670020006e006f007200740068000000\r\n\r\n011c00000043007200650061007400650020005400720061006e00730070006f00720074002f0067006f0069006e006700200065006100730074000000\r\n\r\n012200000043007200650061007400650020005400720061006e00730070006f00720074002f0061006c00690065006e00200067006f0069006e006700200065006100730074000000\r\n\r\n0213000000540065006c00650070006f00720074002000530065006c0065006300740069006f006e000000c80000001e0000001e000000c8000000\r\n\r\n011b00000045006e0065006d007900200042007200610069006e002f00630068006100730065002000730074006100740069006f006e0073000000\r\n\r\n011900000045006e0065006d007900200042007200610069006e002f0063006800610073006500200070006c0061007900650072000000\r\n\r\n631700000054006800720065006500200042006100730065007300000065006500650065006500650065006500650065000000c50200005400680069007300200047004d0020006d0069007300730069006f006e0020007300630072006900700074002000690073002000640065007300690067006e0065006400200074006f00200070006c0061006300650020006f006e006500200070006c00610079006500720020007300680069007000200061006e00640020003300200062006100730065007300200069006e0020006100200073006500630074006f0072002c00200061006e00640020007400680065006e0020006c00650074002000740068006500200047004d00200061006400640020006300650072007400610069006e00200065006e0065006d00690065007300200061006e00640020007400650072007200610069006e002e005e005e002000520065006d0065006d006200650072002c0020006c006500660074002d0063006c00690063006b00200074006f002000730065006c00650063007400200061002000730068006900700020006f0072002000730074006100740069006f006e002c002000720069006700680074002d0063006c00690063006b00200074006f002000730065006c006500630074002000610020006c006f0063006100740069006f006e00200069006e002000730070006100630065002e0020006d0061006e00790020006f006600200074006800650020006d0065006e007500200063006f006d006d0061006e006400730020007200650071007500690072006500200079006f007500200074006f002000730065006c00650063007400200061006e0020006f0062006a0065006300740020006f00720020006c006f0063006100740069006f006e002000660069007200730074002e005e005e00200054006800690073002000730063007200690070007400200077006100730020007700720069007400740065006e002000620079002000540068006f006d00200052006f00620065007200740073006f006e002e000000650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065006500650065000000\r\n```"},"comment":{"url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/comments/241596158","html_url":"https://github.com/artemis-nerds/protocol-docs/issues/36#issuecomment-241596158","issue_url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/36","id":241596158,"user":{"login":"rjwut","id":5790951,"avatar_url":"https://avatars.githubusercontent.com/u/5790951?v=3","gravatar_id":"","url":"https://api.github.com/users/rjwut","html_url":"https://github.com/rjwut","followers_url":"https://api.github.com/users/rjwut/followers","following_url":"https://api.github.com/users/rjwut/following{/other_user}","gists_url":"https://api.github.com/users/rjwut/gists{/gist_id}","starred_url":"https://api.github.com/users/rjwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjwut/subscriptions","organizations_url":"https://api.github.com/users/rjwut/orgs","repos_url":"https://api.github.com/users/rjwut/repos","events_url":"https://api.github.com/users/rjwut/events{/privacy}","received_events_url":"https://api.github.com/users/rjwut/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T00:55:46Z","updated_at":"2016-08-23T00:55:46Z","body":"Subtype `0x00` removes a previously-created button. After the subtype is a string providing the label for the button to be removed."}}
{"actor":{"display_login":"rjwut"}}