{"action":"created","issue":{"url":"https://api.github.com/repos/EpochModTeam/DayZ-Epoch/issues/1773","repository_url":"https://api.github.com/repos/EpochModTeam/DayZ-Epoch","labels_url":"https://api.github.com/repos/EpochModTeam/DayZ-Epoch/issues/1773/labels{/name}","comments_url":"https://api.github.com/repos/EpochModTeam/DayZ-Epoch/issues/1773/comments","events_url":"https://api.github.com/repos/EpochModTeam/DayZ-Epoch/issues/1773/events","html_url":"https://github.com/EpochModTeam/DayZ-Epoch/pull/1773","id":181377723,"number":1773,"title":"Add M240Nest_DZ to maintain classes variable.","user":{"login":"oiad","id":16484437,"avatar_url":"https://avatars.githubusercontent.com/u/16484437?v=3","gravatar_id":"","url":"https://api.github.com/users/oiad","html_url":"https://github.com/oiad","followers_url":"https://api.github.com/users/oiad/followers","following_url":"https://api.github.com/users/oiad/following{/other_user}","gists_url":"https://api.github.com/users/oiad/gists{/gist_id}","starred_url":"https://api.github.com/users/oiad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oiad/subscriptions","organizations_url":"https://api.github.com/users/oiad/orgs","repos_url":"https://api.github.com/users/oiad/repos","events_url":"https://api.github.com/users/oiad/events{/privacy}","received_events_url":"https://api.github.com/users/oiad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T10:24:40Z","updated_at":"2016-10-06T17:47:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/EpochModTeam/DayZ-Epoch/pulls/1773","html_url":"https://github.com/EpochModTeam/DayZ-Epoch/pull/1773","diff_url":"https://github.com/EpochModTeam/DayZ-Epoch/pull/1773.diff","patch_url":"https://github.com/EpochModTeam/DayZ-Epoch/pull/1773.patch"},"body":"This makes it so M240Nest can be maintained. (Which it should be)"},"comment":{"url":"https://api.github.com/repos/EpochModTeam/DayZ-Epoch/issues/comments/252037174","html_url":"https://github.com/EpochModTeam/DayZ-Epoch/pull/1773#issuecomment-252037174","issue_url":"https://api.github.com/repos/EpochModTeam/DayZ-Epoch/issues/1773","id":252037174,"user":{"login":"ebaydayz","id":7761693,"avatar_url":"https://avatars.githubusercontent.com/u/7761693?v=3","gravatar_id":"","url":"https://api.github.com/users/ebaydayz","html_url":"https://github.com/ebaydayz","followers_url":"https://api.github.com/users/ebaydayz/followers","following_url":"https://api.github.com/users/ebaydayz/following{/other_user}","gists_url":"https://api.github.com/users/ebaydayz/gists{/gist_id}","starred_url":"https://api.github.com/users/ebaydayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebaydayz/subscriptions","organizations_url":"https://api.github.com/users/ebaydayz/orgs","repos_url":"https://api.github.com/users/ebaydayz/repos","events_url":"https://api.github.com/users/ebaydayz/events{/privacy}","received_events_url":"https://api.github.com/users/ebaydayz/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T17:47:06Z","updated_at":"2016-10-06T17:47:06Z","body":"The root cause of the \"fling\" issue is the delay between pressing the gear key and cursorTarget being retrieved in fn_gearMenuChecks. Everything from the KeyDown EH firing to the onLoad of the gear display is running unscheduled, so it should be very fast. But there is always some fraction of a second delay waiting for the code to finish running.\r\n\r\nThe slowest part of the code is probably selecting from the big keyboard_keys array in the KeyDown EH. We should retrieve the cursorTarget at the very top of the keyDown EH so it registers as quickly as possible. \r\nhttps://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/keyboard.sqf#L2\r\n```sqf\r\ndayz_cursorTarget = cursorTarget; \r\n```\r\nand initialize in variables.sqf on clients only:\r\n```sqf\r\ndayz_cursorTarget = objNull;\r\n```\r\n\r\nThat will definitely help a little. It may even eliminate the need for this. "}}
{"actor":{"display_login":"ebaydayz"}}