{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3153","repository_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3153/labels{/name}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3153/comments","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3153/events","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3153","id":142161404,"number":3153,"title":"Added network desync handling.","user":{"login":"Sixsmorphugus","id":7923357,"avatar_url":"https://avatars.githubusercontent.com/u/7923357?v=3","gravatar_id":"","url":"https://api.github.com/users/Sixsmorphugus","html_url":"https://github.com/Sixsmorphugus","followers_url":"https://api.github.com/users/Sixsmorphugus/followers","following_url":"https://api.github.com/users/Sixsmorphugus/following{/other_user}","gists_url":"https://api.github.com/users/Sixsmorphugus/gists{/gist_id}","starred_url":"https://api.github.com/users/Sixsmorphugus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sixsmorphugus/subscriptions","organizations_url":"https://api.github.com/users/Sixsmorphugus/orgs","repos_url":"https://api.github.com/users/Sixsmorphugus/repos","events_url":"https://api.github.com/users/Sixsmorphugus/events{/privacy}","received_events_url":"https://api.github.com/users/Sixsmorphugus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/labels/multiplayer","name":"multiplayer","color":"bfd4f2"},{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/labels/work%20in%20progress","name":"work in progress","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-03-20T12:56:50Z","updated_at":"2016-03-20T22:30:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/pulls/3153","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3153","diff_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3153.diff","patch_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3153.patch"},"body":"The game now resyncs in multiplayer when a desync is detected.\r\n- Options menu now shows \"Resync after desync\" (alternative is disconnect)\r\n- Added new strings to english_uk and us for this\r\n- Client can send a resync request with their camera coords to be resent the map (with the view position modified with their camera coords for minimal disruption)\r\n- Windows open on the client are not kept yet.\r\n- There is no spam filtering/handling for resync requests yet."},"comment":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/comments/199048926","html_url":"https://github.com/OpenRCT2/OpenRCT2/pull/3153#issuecomment-199048926","issue_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3153","id":199048926,"user":{"login":"Sixsmorphugus","id":7923357,"avatar_url":"https://avatars.githubusercontent.com/u/7923357?v=3","gravatar_id":"","url":"https://api.github.com/users/Sixsmorphugus","html_url":"https://github.com/Sixsmorphugus","followers_url":"https://api.github.com/users/Sixsmorphugus/followers","following_url":"https://api.github.com/users/Sixsmorphugus/following{/other_user}","gists_url":"https://api.github.com/users/Sixsmorphugus/gists{/gist_id}","starred_url":"https://api.github.com/users/Sixsmorphugus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sixsmorphugus/subscriptions","organizations_url":"https://api.github.com/users/Sixsmorphugus/orgs","repos_url":"https://api.github.com/users/Sixsmorphugus/repos","events_url":"https://api.github.com/users/Sixsmorphugus/events{/privacy}","received_events_url":"https://api.github.com/users/Sixsmorphugus/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T22:30:03Z","updated_at":"2016-03-20T22:30:03Z","body":"```\r\nfor (int i = 0; i < 721; i++) {\r\n    rct_object_entry_extended *entry = &(RCT2_ADDRESS(0x00F3F03C, rct_object_entry_extended)[i]);\r\n\r\n    if (gObjectList[i] == (void *)0xFFFFFFFF) {\r\n\t\tmemset(&s6->objects[i], 0xFF, sizeof(rct_object_entry));\r\n\t}\r\n\telse {\r\n\t\ts6->objects[i] = *((rct_object_entry*)entry);\r\n\t}\r\n}\r\n```\r\nWhat is this code doing? When I disable it and try to resync, the client bails with \"unable to load file: \"  and no file."}}