{"id":968,"date":"2017-05-19T12:06:18","date_gmt":"2017-05-19T18:06:18","guid":{"rendered":"http:\/\/artistedancediva.co.uk\/wp\/?p=968"},"modified":"2017-05-19T12:06:18","modified_gmt":"2017-05-19T18:06:18","slug":"the-mj-rule-excessive-wait-times-in-an-autofx-line-entry","status":"publish","type":"post","link":"https:\/\/artistedancediva.co.uk\/wp\/?p=968","title":{"rendered":"The MJ Rule &#8211; Excessive Wait Times in an AutoFX Line Entry"},"content":{"rendered":"<p>It is called the MJ rule because MJ first stumbled upon it.<\/p>\n<p>*events<br \/>\nTRACE,on<br \/>\nELAPSED<br \/>\n1,&#8221;Event #1&#8243;,3<br \/>\n2,&#8221;Event #2&#8243;,5<br \/>\n<strong>3,&#8221;Event #3&#8243;,9<\/strong><br \/>\n4,&#8221;Event #4&#8243;,21<br \/>\n5,&#8221;Event #5&#8243;,37<br \/>\n6,&#8221;Event #6&#8243;,44<br \/>\n<strong>7,&#8221;Event #7&#8243;,52<\/strong><br \/>\n8,&#8221;Event #8&#8243;,79<\/p>\n<p>*autofx<br \/>\n3,r15=Shoot$WAIT=3$r15=Holster$WAIT=4$<\/p>\n<p>In this example the total wait times for event #3 is \u00a0(3+4) = 7. While it is less than the event time on event #3 (9), this is not the event that is applied. It is always the difference between the\u00a0<span style=\"color: #ff0000;\"><strong>PREVIOUS\u00a0\u00a0<\/strong><\/span>event and <strong><span style=\"color: #0000ff;\">CURRENT <\/span><\/strong>event when ELAPSED time is used \u00a0which is the DURATION of Event #3, which is the most common type of EVENT TYPE used.<\/p>\n<p>Subtract Event #2 time (5) from Event #3 Time (9). \u00a09 &#8211; 5 = 4<\/p>\n<p>Event #3. Its duration is only 4. \u00a0And so 7 seconds is greater than 4\u00a0seconds. There is not enough time for the WAITS to happen. This is an ERROR!<\/p>\n<p>What we found out is that the consequences often happen many events later so its not obvious that the problem is on Event #3 because functions attached to event #3 might work fine. \u00a0In the real life case, the emote\u00a0attached to event #7 did not fire. Where the behaviour will falter and suffer is complex and unpredictable.<\/p>\n<p>This was argued to me. But once I\u00a0found the problem and fixed the WAIT times so they were less than the duration of Event #3, the problem in Event #7 was fixed<\/p>\n<p>======================<\/p>\n<p>*events<br \/>\nTRACE,on<br \/>\nDURATION<br \/>\n1,&#8221;Event #1&#8243;,3<br \/>\n2,&#8221;Event #2&#8243;,2<br \/>\n<strong>3,&#8221;Event #3&#8243;,4<\/strong><br \/>\n4,&#8221;Event #4&#8243;,12<br \/>\n5,&#8221;Event #5&#8243;,16<br \/>\n6,&#8221;Event #6&#8243;,7<br \/>\n<strong>7,&#8221;Event #7&#8243;,8<\/strong><br \/>\n8,&#8221;Event #8&#8243;,27<\/p>\n<p>When using DURATION as the Event Type, it is a lot easier and intuitive to detect. The DURATION for EVENT #3 is 4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is called the MJ rule because MJ first stumbled upon it. *events TRACE,on ELAPSED 1,&#8221;Event #1&#8243;,3 2,&#8221;Event #2&#8243;,5 3,&#8221;Event #3&#8243;,9 4,&#8221;Event #4&#8243;,21 5,&#8221;Event #5&#8243;,37 6,&#8221;Event #6&#8243;,44 7,&#8221;Event #7&#8243;,52 8,&#8221;Event #8&#8243;,79 *autofx 3,r15=Shoot$WAIT=3$r15=Holster$WAIT=4$ In this example the total wait times for event #3 is \u00a0(3+4) = 7. While it is less than the event time &hellip; <a href=\"https:\/\/artistedancediva.co.uk\/wp\/?p=968\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">The MJ Rule &#8211; Excessive Wait Times in an AutoFX Line Entry<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/968"}],"collection":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=968"}],"version-history":[{"count":7,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/968\/revisions"}],"predecessor-version":[{"id":975,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/968\/revisions\/975"}],"wp:attachment":[{"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artistedancediva.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}