{"action":"created","issue":{"url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/issues/95","labels_url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/issues/95/comments","events_url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/issues/95/events","html_url":"https://github.com/Theseus-Aegis/tac-a3-mods/pull/95","id":123955212,"number":95,"title":"Add pass to Headless Clients","user":{"login":"jonpas","id":7935003,"avatar_url":"https://avatars.githubusercontent.com/u/7935003?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpas","html_url":"https://github.com/jonpas","followers_url":"https://api.github.com/users/jonpas/followers","following_url":"https://api.github.com/users/jonpas/following{/other_user}","gists_url":"https://api.github.com/users/jonpas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpas/subscriptions","organizations_url":"https://api.github.com/users/jonpas/orgs","repos_url":"https://api.github.com/users/jonpas/repos","events_url":"https://api.github.com/users/jonpas/events{/privacy}","received_events_url":"https://api.github.com/users/jonpas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/labels/feature%20request","name":"feature request","color":"0052CC"},{"url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/labels/WIP","name":"WIP","color":"FAD8C7"}],"state":"open","locked":false,"assignee":{"login":"jonpas","id":7935003,"avatar_url":"https://avatars.githubusercontent.com/u/7935003?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpas","html_url":"https://github.com/jonpas","followers_url":"https://api.github.com/users/jonpas/followers","following_url":"https://api.github.com/users/jonpas/following{/other_user}","gists_url":"https://api.github.com/users/jonpas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpas/subscriptions","organizations_url":"https://api.github.com/users/jonpas/orgs","repos_url":"https://api.github.com/users/jonpas/repos","events_url":"https://api.github.com/users/jonpas/events{/privacy}","received_events_url":"https://api.github.com/users/jonpas/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/milestones/3","html_url":"https://github.com/Theseus-Aegis/tac-a3-mods/milestones/1.2.0","labels_url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/milestones/3/labels","id":1161037,"number":3,"title":"1.2.0","description":"","creator":{"login":"jonpas","id":7935003,"avatar_url":"https://avatars.githubusercontent.com/u/7935003?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpas","html_url":"https://github.com/jonpas","followers_url":"https://api.github.com/users/jonpas/followers","following_url":"https://api.github.com/users/jonpas/following{/other_user}","gists_url":"https://api.github.com/users/jonpas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpas/subscriptions","organizations_url":"https://api.github.com/users/jonpas/orgs","repos_url":"https://api.github.com/users/jonpas/repos","events_url":"https://api.github.com/users/jonpas/events{/privacy}","received_events_url":"https://api.github.com/users/jonpas/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":9,"state":"open","created_at":"2015-06-11T21:14:48Z","updated_at":"2016-01-01T18:58:17Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-12-27T00:57:03Z","updated_at":"2016-01-01T19:00:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/pulls/95","html_url":"https://github.com/Theseus-Aegis/tac-a3-mods/pull/95","diff_url":"https://github.com/Theseus-Aegis/tac-a3-mods/pull/95.diff","patch_url":"https://github.com/Theseus-Aegis/tac-a3-mods/pull/95.patch"},"body":"Closes #57 \r\n\r\n- [x] Recurring waitAndExecute\r\n- [x] InitPost serverInit - AI created starts a waitAndExecute (eg 15 seconds) transferGroups, those spawned within those 15 seconds would not trigger anything\r\n- [x] Mission module / ACE Settings\r\n- [ ] Module icon\r\n- [x] `playerChanged` ACE3 event for joining (automatic HC recognition)\r\n- [x] `HandleDisconnect` EH for leaving\r\n- [x] Rebalance if one HC has more than a third of all groups\r\n- [x] Rebalance if an HC leaves or joins\r\n\r\nHelper script (not used in actual logging due to sync delays - apparently):\r\n```\r\nlocalServer = 0;\r\nlocalHC1 = 0;\r\nlocalHC2 = 0;\r\nlocalHC3 = 0;\r\n{\r\n    if (local _x) then {localServer = localServer + 1};\r\n    if (!local hc1 && {owner ((units _x) select 0) == owner hc1}) then {localHC1 = localHC1 + 1};\r\n    if (!local hc2 && {owner ((units _x) select 0) == owner hc2}) then {localHC2 = localHC2 + 1};\r\n    if (!local hc3 && {owner ((units _x) select 0) == owner hc3}) then {localHC3 = localHC3 + 1};\r\n} forEach allGroups;\r\n\r\ndiag_log format [\"Server: %1, HC1: %2, HC2: %3, HC3: %4\", localServer, localHC1, localHC2, localHC3];\r\n```"},"comment":{"url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/issues/comments/168332291","html_url":"https://github.com/Theseus-Aegis/tac-a3-mods/pull/95#issuecomment-168332291","issue_url":"https://api.github.com/repos/Theseus-Aegis/tac-a3-mods/issues/95","id":168332291,"user":{"login":"jonpas","id":7935003,"avatar_url":"https://avatars.githubusercontent.com/u/7935003?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpas","html_url":"https://github.com/jonpas","followers_url":"https://api.github.com/users/jonpas/followers","following_url":"https://api.github.com/users/jonpas/following{/other_user}","gists_url":"https://api.github.com/users/jonpas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpas/subscriptions","organizations_url":"https://api.github.com/users/jonpas/orgs","repos_url":"https://api.github.com/users/jonpas/repos","events_url":"https://api.github.com/users/jonpas/events{/privacy}","received_events_url":"https://api.github.com/users/jonpas/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T19:00:09Z","updated_at":"2016-01-01T19:00:09Z","body":"Welp, Git went a bit crazy there (double commits)!"}}