{"action":"created","issue":{"url":"https://api.github.com/repos/acemod/ACE3/issues/3082","labels_url":"https://api.github.com/repos/acemod/ACE3/issues/3082/labels{/name}","comments_url":"https://api.github.com/repos/acemod/ACE3/issues/3082/comments","events_url":"https://api.github.com/repos/acemod/ACE3/issues/3082/events","html_url":"https://github.com/acemod/ACE3/pull/3082","id":124157752,"number":3082,"title":"Deterministic overheating (updated)","user":{"login":"PabstMirror","id":9376747,"avatar_url":"https://avatars.githubusercontent.com/u/9376747?v=3","gravatar_id":"","url":"https://api.github.com/users/PabstMirror","html_url":"https://github.com/PabstMirror","followers_url":"https://api.github.com/users/PabstMirror/followers","following_url":"https://api.github.com/users/PabstMirror/following{/other_user}","gists_url":"https://api.github.com/users/PabstMirror/gists{/gist_id}","starred_url":"https://api.github.com/users/PabstMirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabstMirror/subscriptions","organizations_url":"https://api.github.com/users/PabstMirror/orgs","repos_url":"https://api.github.com/users/PabstMirror/repos","events_url":"https://api.github.com/users/PabstMirror/events{/privacy}","received_events_url":"https://api.github.com/users/PabstMirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/acemod/ACE3/labels/Bug%20fix","name":"Bug fix","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/acemod/ACE3/milestones/13","html_url":"https://github.com/acemod/ACE3/milestones/3.5.0","labels_url":"https://api.github.com/repos/acemod/ACE3/milestones/13/labels","id":1433522,"number":13,"title":"3.5.0","description":"Version 3.5.0","creator":{"login":"Glowbal","id":5007509,"avatar_url":"https://avatars.githubusercontent.com/u/5007509?v=3","gravatar_id":"","url":"https://api.github.com/users/Glowbal","html_url":"https://github.com/Glowbal","followers_url":"https://api.github.com/users/Glowbal/followers","following_url":"https://api.github.com/users/Glowbal/following{/other_user}","gists_url":"https://api.github.com/users/Glowbal/gists{/gist_id}","starred_url":"https://api.github.com/users/Glowbal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glowbal/subscriptions","organizations_url":"https://api.github.com/users/Glowbal/orgs","repos_url":"https://api.github.com/users/Glowbal/repos","events_url":"https://api.github.com/users/Glowbal/events{/privacy}","received_events_url":"https://api.github.com/users/Glowbal/received_events","type":"User","site_admin":false},"open_issues":94,"closed_issues":8,"state":"open","created_at":"2015-11-28T19:44:20Z","updated_at":"2015-12-30T14:45:12Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-12-29T03:23:46Z","updated_at":"2015-12-30T18:33:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/acemod/ACE3/pulls/3082","html_url":"https://github.com/acemod/ACE3/pull/3082","diff_url":"https://github.com/acemod/ACE3/pull/3082.diff","patch_url":"https://github.com/acemod/ACE3/pull/3082.patch"},"body":"Contains both of esteldunedain's PRs, I've tried to finish and modernized them:\r\n\r\n - #143 setVariablePublic:\r\nBroadcasts change in a variable immedietly instead of waiting for a delay. I've rewritten it slightly to use waitAndExecute instead of creating new PFEHs.\r\n \r\n - #146 deterministic Overheating - That PR's notes:\r\n\r\nContinuing the ongoing effort to get bullet trajectories to behave as identical as possible on all clients. \r\n\r\n- Weapon temperatures are synced regularly for clients.\r\n- Bullet dispersion changed from random to pseudo-random, to allow deterministic computing on each client.\r\n- The pseudo-randomness is based on a synced list of random values and uses the remaining ammo count to lookup on that table. The index could be also salted using other deterministic things like the rounded bullet coordinates.\r\n\r\nOther changes:\r\n - Simplified weapon configs:\r\n    ```\r\n    ACE_MRBS = 3000; //Mean Rounds Between Stoppages (this will be scaled based on the barrel temp)\r\n    ACE_Dispersion = 1;\r\n    ACE_SlowdownFactor = 1;\r\n    ```\r\n    \r\n - Added ace setting for overheating Dispersion. Dispersion is now running on all clients, and is semi-costly. Disabling would just run the jamming simulation on the local player.\r\n    \r\n - Now runs the heatup/cooldown simulation every 3 shots `(_unit ammo _weapon) % 3) != 0`\r\n   Difference in heat between 3 shots is minor and get some performance savings, downside is 10/25/100 round magazines will be off by a small amount (10 round mags can't be fired that fast)\r\n\r\n - Attempting to update thermal numbers based on real physics.\r\n~1.333x increased heating\r\n~1.45x less cooling\r\nFix #2978"},"comment":{"url":"https://api.github.com/repos/acemod/ACE3/issues/comments/168050418","html_url":"https://github.com/acemod/ACE3/pull/3082#issuecomment-168050418","issue_url":"https://api.github.com/repos/acemod/ACE3/issues/3082","id":168050418,"user":{"login":"PabstMirror","id":9376747,"avatar_url":"https://avatars.githubusercontent.com/u/9376747?v=3","gravatar_id":"","url":"https://api.github.com/users/PabstMirror","html_url":"https://github.com/PabstMirror","followers_url":"https://api.github.com/users/PabstMirror/followers","following_url":"https://api.github.com/users/PabstMirror/following{/other_user}","gists_url":"https://api.github.com/users/PabstMirror/gists{/gist_id}","starred_url":"https://api.github.com/users/PabstMirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabstMirror/subscriptions","organizations_url":"https://api.github.com/users/PabstMirror/orgs","repos_url":"https://api.github.com/users/PabstMirror/repos","events_url":"https://api.github.com/users/PabstMirror/events{/privacy}","received_events_url":"https://api.github.com/users/PabstMirror/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T18:33:34Z","updated_at":"2015-12-30T18:33:34Z","body":"@esteldunedain Yes, if you can post them somewhere I will try to see what I can take from it."}}