{"action":"opened","number":63,"pull_request":{"url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls/63","id":39873888,"html_url":"https://github.com/samp-incognito/samp-streamer-plugin/pull/63","diff_url":"https://github.com/samp-incognito/samp-streamer-plugin/pull/63.diff","patch_url":"https://github.com/samp-incognito/samp-streamer-plugin/pull/63.patch","issue_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/63","number":63,"state":"open","locked":false,"title":"AttachDynamicObjectToObject","user":{"login":"uint32","id":11378362,"avatar_url":"https://avatars.githubusercontent.com/u/11378362?v=3","gravatar_id":"","url":"https://api.github.com/users/uint32","html_url":"https://github.com/uint32","followers_url":"https://api.github.com/users/uint32/followers","following_url":"https://api.github.com/users/uint32/following{/other_user}","gists_url":"https://api.github.com/users/uint32/gists{/gist_id}","starred_url":"https://api.github.com/users/uint32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uint32/subscriptions","organizations_url":"https://api.github.com/users/uint32/orgs","repos_url":"https://api.github.com/users/uint32/repos","events_url":"https://api.github.com/users/uint32/events{/privacy}","received_events_url":"https://api.github.com/users/uint32/received_events","type":"User","site_admin":false},"body":"There is an issue with objects attached to objects, when I tested the function, objects were created without issues, but they weren't being attached at all. After adding some debug messages, I found out that the attachments were being streamed before the base object, so when attempting to attach them it would fail silently because it wasn't able to find the base object in the *internalObjects* map.\r\n\r\nThis small commit adds a small offset (0.01) to the distance that is used as key when adding them to *discoveredObjects*, so they get processed AFTER the base object.\r\n\r\n***Related:*** *#46 #47*","created_at":"2015-07-14T01:26:20Z","updated_at":"2015-07-14T01:26:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48ae1811a9336cf40b4770417497a34990d9b86b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls/63/commits","review_comments_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls/63/comments","review_comment_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/63/comments","statuses_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/statuses/8739d99d7476cb980c0d709f6dae7264b46a80ef","head":{"label":"uint32:master","ref":"master","sha":"8739d99d7476cb980c0d709f6dae7264b46a80ef","user":{"login":"uint32","id":11378362,"avatar_url":"https://avatars.githubusercontent.com/u/11378362?v=3","gravatar_id":"","url":"https://api.github.com/users/uint32","html_url":"https://github.com/uint32","followers_url":"https://api.github.com/users/uint32/followers","following_url":"https://api.github.com/users/uint32/following{/other_user}","gists_url":"https://api.github.com/users/uint32/gists{/gist_id}","starred_url":"https://api.github.com/users/uint32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uint32/subscriptions","organizations_url":"https://api.github.com/users/uint32/orgs","repos_url":"https://api.github.com/users/uint32/repos","events_url":"https://api.github.com/users/uint32/events{/privacy}","received_events_url":"https://api.github.com/users/uint32/received_events","type":"User","site_admin":false},"repo":{"id":39044823,"name":"samp-streamer-plugin","full_name":"uint32/samp-streamer-plugin","owner":{"login":"uint32","id":11378362,"avatar_url":"https://avatars.githubusercontent.com/u/11378362?v=3","gravatar_id":"","url":"https://api.github.com/users/uint32","html_url":"https://github.com/uint32","followers_url":"https://api.github.com/users/uint32/followers","following_url":"https://api.github.com/users/uint32/following{/other_user}","gists_url":"https://api.github.com/users/uint32/gists{/gist_id}","starred_url":"https://api.github.com/users/uint32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uint32/subscriptions","organizations_url":"https://api.github.com/users/uint32/orgs","repos_url":"https://api.github.com/users/uint32/repos","events_url":"https://api.github.com/users/uint32/events{/privacy}","received_events_url":"https://api.github.com/users/uint32/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/uint32/samp-streamer-plugin","description":" Streamer Plugin for SA-MP (San Andreas Multiplayer)","fork":true,"url":"https://api.github.com/repos/uint32/samp-streamer-plugin","forks_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/forks","keys_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/teams","hooks_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/hooks","issue_events_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/events","assignees_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/tags","blobs_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/languages","stargazers_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/stargazers","contributors_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/contributors","subscribers_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/subscribers","subscription_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/subscription","commits_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/merges","archive_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/downloads","issues_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/labels{/name}","releases_url":"https://api.github.com/repos/uint32/samp-streamer-plugin/releases{/id}","created_at":"2015-07-14T00:40:11Z","updated_at":"2015-07-14T00:40:17Z","pushed_at":"2015-07-14T01:02:03Z","git_url":"git://github.com/uint32/samp-streamer-plugin.git","ssh_url":"git@github.com:uint32/samp-streamer-plugin.git","clone_url":"https://github.com/uint32/samp-streamer-plugin.git","svn_url":"https://github.com/uint32/samp-streamer-plugin","homepage":null,"size":8529,"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":"samp-incognito:master","ref":"master","sha":"8e1a23868f973dbd2e0b53e7d6364ec419e6dfc5","user":{"login":"samp-incognito","id":1184719,"avatar_url":"https://avatars.githubusercontent.com/u/1184719?v=3","gravatar_id":"","url":"https://api.github.com/users/samp-incognito","html_url":"https://github.com/samp-incognito","followers_url":"https://api.github.com/users/samp-incognito/followers","following_url":"https://api.github.com/users/samp-incognito/following{/other_user}","gists_url":"https://api.github.com/users/samp-incognito/gists{/gist_id}","starred_url":"https://api.github.com/users/samp-incognito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samp-incognito/subscriptions","organizations_url":"https://api.github.com/users/samp-incognito/orgs","repos_url":"https://api.github.com/users/samp-incognito/repos","events_url":"https://api.github.com/users/samp-incognito/events{/privacy}","received_events_url":"https://api.github.com/users/samp-incognito/received_events","type":"User","site_admin":false},"repo":{"id":16149293,"name":"samp-streamer-plugin","full_name":"samp-incognito/samp-streamer-plugin","owner":{"login":"samp-incognito","id":1184719,"avatar_url":"https://avatars.githubusercontent.com/u/1184719?v=3","gravatar_id":"","url":"https://api.github.com/users/samp-incognito","html_url":"https://github.com/samp-incognito","followers_url":"https://api.github.com/users/samp-incognito/followers","following_url":"https://api.github.com/users/samp-incognito/following{/other_user}","gists_url":"https://api.github.com/users/samp-incognito/gists{/gist_id}","starred_url":"https://api.github.com/users/samp-incognito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samp-incognito/subscriptions","organizations_url":"https://api.github.com/users/samp-incognito/orgs","repos_url":"https://api.github.com/users/samp-incognito/repos","events_url":"https://api.github.com/users/samp-incognito/events{/privacy}","received_events_url":"https://api.github.com/users/samp-incognito/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samp-incognito/samp-streamer-plugin","description":" Streamer Plugin for SA-MP (San Andreas Multiplayer)","fork":false,"url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin","forks_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/forks","keys_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/teams","hooks_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/hooks","issue_events_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/events","assignees_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/tags","blobs_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/languages","stargazers_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/stargazers","contributors_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/contributors","subscribers_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/subscribers","subscription_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/subscription","commits_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/merges","archive_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/downloads","issues_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/labels{/name}","releases_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/releases{/id}","created_at":"2014-01-22T19:09:03Z","updated_at":"2015-07-13T18:40:00Z","pushed_at":"2015-07-14T01:26:22Z","git_url":"git://github.com/samp-incognito/samp-streamer-plugin.git","ssh_url":"git@github.com:samp-incognito/samp-streamer-plugin.git","clone_url":"https://github.com/samp-incognito/samp-streamer-plugin.git","svn_url":"https://github.com/samp-incognito/samp-streamer-plugin","homepage":null,"size":8529,"stargazers_count":55,"watchers_count":55,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":3,"forks":23,"open_issues":3,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls/63"},"html":{"href":"https://github.com/samp-incognito/samp-streamer-plugin/pull/63"},"issue":{"href":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/63"},"comments":{"href":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/statuses/8739d99d7476cb980c0d709f6dae7264b46a80ef"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}