{"action":"created","issue":{"url":"https://api.github.com/repos/wiremod/wire/issues/1673","repository_url":"https://api.github.com/repos/wiremod/wire","labels_url":"https://api.github.com/repos/wiremod/wire/issues/1673/labels{/name}","comments_url":"https://api.github.com/repos/wiremod/wire/issues/1673/comments","events_url":"https://api.github.com/repos/wiremod/wire/issues/1673/events","html_url":"https://github.com/wiremod/wire/pull/1673","id":334283454,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2Mjk4NDU2","number":1673,"title":"Fix clamp e2 ranger range","user":{"login":"brandonsturgeon","id":7936439,"node_id":"MDQ6VXNlcjc5MzY0Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/7936439?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonsturgeon","html_url":"https://github.com/brandonsturgeon","followers_url":"https://api.github.com/users/brandonsturgeon/followers","following_url":"https://api.github.com/users/brandonsturgeon/following{/other_user}","gists_url":"https://api.github.com/users/brandonsturgeon/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonsturgeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonsturgeon/subscriptions","organizations_url":"https://api.github.com/users/brandonsturgeon/orgs","repos_url":"https://api.github.com/users/brandonsturgeon/repos","events_url":"https://api.github.com/users/brandonsturgeon/events{/privacy}","received_events_url":"https://api.github.com/users/brandonsturgeon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-06-20T23:24:25Z","updated_at":"2018-08-21T20:01:38Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wiremod/wire/pulls/1673","html_url":"https://github.com/wiremod/wire/pull/1673","diff_url":"https://github.com/wiremod/wire/pull/1673.diff","patch_url":"https://github.com/wiremod/wire/pull/1673.patch"},"body":"This fixes an exploit with E2's ranger functions.\r\n\r\nTested on my development server and it seems to work well.\r\n\r\n(excluding a bit, message me on steam if you want more info)\r\n```\r\nRD = rangerOffset(inf(), entity():pos(), vec(inf(),inf(),inf()))\r\n```\r\n\r\nThis code was previously causing issues on servers, due to two pieces:\r\n- The first parameter of `rangerOffset(distance, vector from, vector direction)` wasn't limited its size\r\n- The third parameter of `rangerOffset(distance, vector from, vector direction)` wasn't limiting the size of the `x,y,z`\r\n\r\nI've addressed both of these problems as best as I understand them, but someone else who worked on this should take a closer look to see if this problem could be exploited elsewhere in the `ranger` function.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/wiremod/wire/issues/comments/414802840","html_url":"https://github.com/wiremod/wire/pull/1673#issuecomment-414802840","issue_url":"https://api.github.com/repos/wiremod/wire/issues/1673","id":414802840,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDgwMjg0MA==","user":{"login":"thegrb93","id":6713261,"node_id":"MDQ6VXNlcjY3MTMyNjE=","avatar_url":"https://avatars1.githubusercontent.com/u/6713261?v=4","gravatar_id":"","url":"https://api.github.com/users/thegrb93","html_url":"https://github.com/thegrb93","followers_url":"https://api.github.com/users/thegrb93/followers","following_url":"https://api.github.com/users/thegrb93/following{/other_user}","gists_url":"https://api.github.com/users/thegrb93/gists{/gist_id}","starred_url":"https://api.github.com/users/thegrb93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thegrb93/subscriptions","organizations_url":"https://api.github.com/users/thegrb93/orgs","repos_url":"https://api.github.com/users/thegrb93/repos","events_url":"https://api.github.com/users/thegrb93/events{/privacy}","received_events_url":"https://api.github.com/users/thegrb93/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T20:01:38Z","updated_at":"2018-08-21T20:01:38Z","author_association":"CONTRIBUTOR","body":"Good catch, I can do that."}}
{"actor":{"display_login":"thegrb93"}}