{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls/2","id":46471278,"html_url":"https://github.com/slayergod13/slashdiablo-maphack/pull/2","diff_url":"https://github.com/slayergod13/slashdiablo-maphack/pull/2.diff","patch_url":"https://github.com/slayergod13/slashdiablo-maphack/pull/2.patch","issue_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/issues/2","number":2,"state":"closed","locked":false,"title":"CPU over-utilization patch","user":{"login":"clucksoft","id":2180075,"avatar_url":"https://avatars.githubusercontent.com/u/2180075?v=3","gravatar_id":"","url":"https://api.github.com/users/clucksoft","html_url":"https://github.com/clucksoft","followers_url":"https://api.github.com/users/clucksoft/followers","following_url":"https://api.github.com/users/clucksoft/following{/other_user}","gists_url":"https://api.github.com/users/clucksoft/gists{/gist_id}","starred_url":"https://api.github.com/users/clucksoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clucksoft/subscriptions","organizations_url":"https://api.github.com/users/clucksoft/orgs","repos_url":"https://api.github.com/users/clucksoft/repos","events_url":"https://api.github.com/users/clucksoft/events{/privacy}","received_events_url":"https://api.github.com/users/clucksoft/received_events","type":"User","site_admin":false},"body":"D2 doesn't sleep properly each frame and uses way more cpu than it needs to. This fix is described at: http://d2mods.info/forum/viewtopic.php?f=8&t=62379&sid=31c24eb3e296cecbdcc8f371c8c69a07\r\n\r\nThe jump they NOP for singleplayer seems to be the right one for regular online play, I assume the multiplayer part is for hosting a tcp/ip game. I didn't patch that since I don't feel like testing it. \r\nI also NOP the two instructions before the jump since they have no purpose without it.\r\n\r\nThis cuts my D2 cpu usage in half without adversely affecting gameplay.\r\nThe same problem exists while in menus, but this doesn't fix that.. I'll try and figure that out too.","created_at":"2015-09-30T23:49:07Z","updated_at":"2015-10-01T00:37:06Z","closed_at":"2015-10-01T00:37:05Z","merged_at":"2015-10-01T00:37:05Z","merge_commit_sha":"5731e7a69d28e5e003f465ce4ca93728c26b0b26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls/2/commits","review_comments_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls/2/comments","review_comment_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/issues/2/comments","statuses_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/statuses/0cbbd0495cdd5138f0788eeb3fc15da3a3973436","head":{"label":"clucksoft:master","ref":"master","sha":"0cbbd0495cdd5138f0788eeb3fc15da3a3973436","user":{"login":"clucksoft","id":2180075,"avatar_url":"https://avatars.githubusercontent.com/u/2180075?v=3","gravatar_id":"","url":"https://api.github.com/users/clucksoft","html_url":"https://github.com/clucksoft","followers_url":"https://api.github.com/users/clucksoft/followers","following_url":"https://api.github.com/users/clucksoft/following{/other_user}","gists_url":"https://api.github.com/users/clucksoft/gists{/gist_id}","starred_url":"https://api.github.com/users/clucksoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clucksoft/subscriptions","organizations_url":"https://api.github.com/users/clucksoft/orgs","repos_url":"https://api.github.com/users/clucksoft/repos","events_url":"https://api.github.com/users/clucksoft/events{/privacy}","received_events_url":"https://api.github.com/users/clucksoft/received_events","type":"User","site_admin":false},"repo":{"id":42460480,"name":"slashdiablo-maphack","full_name":"clucksoft/slashdiablo-maphack","owner":{"login":"clucksoft","id":2180075,"avatar_url":"https://avatars.githubusercontent.com/u/2180075?v=3","gravatar_id":"","url":"https://api.github.com/users/clucksoft","html_url":"https://github.com/clucksoft","followers_url":"https://api.github.com/users/clucksoft/followers","following_url":"https://api.github.com/users/clucksoft/following{/other_user}","gists_url":"https://api.github.com/users/clucksoft/gists{/gist_id}","starred_url":"https://api.github.com/users/clucksoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clucksoft/subscriptions","organizations_url":"https://api.github.com/users/clucksoft/orgs","repos_url":"https://api.github.com/users/clucksoft/repos","events_url":"https://api.github.com/users/clucksoft/events{/privacy}","received_events_url":"https://api.github.com/users/clucksoft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clucksoft/slashdiablo-maphack","description":"A customized maphack for the slashdiablo D2 server","fork":true,"url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack","forks_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/forks","keys_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/teams","hooks_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/hooks","issue_events_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/issues/events{/number}","events_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/events","assignees_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/assignees{/user}","branches_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/branches{/branch}","tags_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/tags","blobs_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/git/refs{/sha}","trees_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/statuses/{sha}","languages_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/languages","stargazers_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/stargazers","contributors_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/contributors","subscribers_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/subscribers","subscription_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/subscription","commits_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/commits{/sha}","git_commits_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/git/commits{/sha}","comments_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/comments{/number}","issue_comment_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/issues/comments{/number}","contents_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/contents/{+path}","compare_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/merges","archive_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/downloads","issues_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/issues{/number}","pulls_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/pulls{/number}","milestones_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/milestones{/number}","notifications_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/labels{/name}","releases_url":"https://api.github.com/repos/clucksoft/slashdiablo-maphack/releases{/id}","created_at":"2015-09-14T16:12:43Z","updated_at":"2015-09-14T16:12:44Z","pushed_at":"2015-09-30T23:30:40Z","git_url":"git://github.com/clucksoft/slashdiablo-maphack.git","ssh_url":"git@github.com:clucksoft/slashdiablo-maphack.git","clone_url":"https://github.com/clucksoft/slashdiablo-maphack.git","svn_url":"https://github.com/clucksoft/slashdiablo-maphack","homepage":null,"size":2116,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"slayergod13:master","ref":"master","sha":"76297dd900f0c5cf0c64b6cb15d1b35bc7b4c66a","user":{"login":"slayergod13","id":12982513,"avatar_url":"https://avatars.githubusercontent.com/u/12982513?v=3","gravatar_id":"","url":"https://api.github.com/users/slayergod13","html_url":"https://github.com/slayergod13","followers_url":"https://api.github.com/users/slayergod13/followers","following_url":"https://api.github.com/users/slayergod13/following{/other_user}","gists_url":"https://api.github.com/users/slayergod13/gists{/gist_id}","starred_url":"https://api.github.com/users/slayergod13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slayergod13/subscriptions","organizations_url":"https://api.github.com/users/slayergod13/orgs","repos_url":"https://api.github.com/users/slayergod13/repos","events_url":"https://api.github.com/users/slayergod13/events{/privacy}","received_events_url":"https://api.github.com/users/slayergod13/received_events","type":"User","site_admin":false},"repo":{"id":37788449,"name":"slashdiablo-maphack","full_name":"slayergod13/slashdiablo-maphack","owner":{"login":"slayergod13","id":12982513,"avatar_url":"https://avatars.githubusercontent.com/u/12982513?v=3","gravatar_id":"","url":"https://api.github.com/users/slayergod13","html_url":"https://github.com/slayergod13","followers_url":"https://api.github.com/users/slayergod13/followers","following_url":"https://api.github.com/users/slayergod13/following{/other_user}","gists_url":"https://api.github.com/users/slayergod13/gists{/gist_id}","starred_url":"https://api.github.com/users/slayergod13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slayergod13/subscriptions","organizations_url":"https://api.github.com/users/slayergod13/orgs","repos_url":"https://api.github.com/users/slayergod13/repos","events_url":"https://api.github.com/users/slayergod13/events{/privacy}","received_events_url":"https://api.github.com/users/slayergod13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slayergod13/slashdiablo-maphack","description":"A customized maphack for the slashdiablo D2 server","fork":true,"url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack","forks_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/forks","keys_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/teams","hooks_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/hooks","issue_events_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/issues/events{/number}","events_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/events","assignees_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/assignees{/user}","branches_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/branches{/branch}","tags_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/tags","blobs_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/git/refs{/sha}","trees_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/statuses/{sha}","languages_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/languages","stargazers_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/stargazers","contributors_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/contributors","subscribers_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/subscribers","subscription_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/subscription","commits_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/commits{/sha}","git_commits_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/git/commits{/sha}","comments_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/comments{/number}","issue_comment_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/issues/comments{/number}","contents_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/contents/{+path}","compare_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/merges","archive_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/downloads","issues_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/issues{/number}","pulls_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls{/number}","milestones_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/milestones{/number}","notifications_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/labels{/name}","releases_url":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/releases{/id}","created_at":"2015-06-20T22:36:42Z","updated_at":"2015-07-25T13:32:20Z","pushed_at":"2015-10-01T00:37:06Z","git_url":"git://github.com/slayergod13/slashdiablo-maphack.git","ssh_url":"git@github.com:slayergod13/slashdiablo-maphack.git","clone_url":"https://github.com/slayergod13/slashdiablo-maphack.git","svn_url":"https://github.com/slayergod13/slashdiablo-maphack","homepage":null,"size":2154,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls/2"},"html":{"href":"https://github.com/slayergod13/slashdiablo-maphack/pull/2"},"issue":{"href":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/issues/2"},"comments":{"href":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/slayergod13/slashdiablo-maphack/statuses/0cbbd0495cdd5138f0788eeb3fc15da3a3973436"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"slayergod13","id":12982513,"avatar_url":"https://avatars.githubusercontent.com/u/12982513?v=3","gravatar_id":"","url":"https://api.github.com/users/slayergod13","html_url":"https://github.com/slayergod13","followers_url":"https://api.github.com/users/slayergod13/followers","following_url":"https://api.github.com/users/slayergod13/following{/other_user}","gists_url":"https://api.github.com/users/slayergod13/gists{/gist_id}","starred_url":"https://api.github.com/users/slayergod13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slayergod13/subscriptions","organizations_url":"https://api.github.com/users/slayergod13/orgs","repos_url":"https://api.github.com/users/slayergod13/repos","events_url":"https://api.github.com/users/slayergod13/events{/privacy}","received_events_url":"https://api.github.com/users/slayergod13/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":8,"deletions":5,"changed_files":3}}