skewba98z28 Posted September 22, 2013 Share Posted September 22, 2013 I don't know if this is a bug or something i'm doing wrong. I'm using the old ledset and ledclear files to turn my buttons on for my cabinet. Now they come on fine when I first load Hyperpin. I can play a non DOF table, exit the table, and my cab buttons come back on and work just fine. Now if I play a DOF table and exit the table my buttons come on for a split second and then go right back off. I can play a non DOF table after that and when I exit the non DOF table they will stay on like they should. Seems something in DOF is turning them off. Hopefully this is just something i'm overlooking. Link to comment Share on other sites More sharing options...
Content Provider arngrim Posted September 22, 2013 Content Provider Share Posted September 22, 2013 Just to be sure, what do you consider a dof and a non dof table Link to comment Share on other sites More sharing options...
skewba98z28 Posted September 22, 2013 Author Share Posted September 22, 2013 A table using the direct output framework beta and a table not using the direct output beta Link to comment Share on other sites More sharing options...
skewba98z28 Posted September 22, 2013 Author Share Posted September 22, 2013 On the led set vbscript I changed the delay at the top of the script from 10 to 150 and this seems to have fixed the issue. Maybe hyperpin was running the ledset vbscript and then DOF was doing a led clear right after. Now with the delay DOF is doing a ledclear before the ledset script finishes maybe????? Link to comment Share on other sites More sharing options...
Content Provider swisslizard Posted September 22, 2013 Content Provider Share Posted September 22, 2013 There is probably a simple explanation. Visual Pinball seems to be a bit slow releasing resources like COM objects after a table is exited. B2S.Server is a COM object (same as Pinmame). When B2S.Server shuts down it does also finish DOF. When DOF finishes it turns off all outputs. So if DOF is only shut down after focus is back to Hyperpin it will probably shut down the leds which have already been turned on by Hyperpin. I have never tested this explicitely, but this will likely not happen if a table uses the controller.Stop command in the Table_Exit sub, since this will finish DOF when the table exits and not only when Visual Pinball is finnaly shut down. Link to comment Share on other sites More sharing options...
skewba98z28 Posted September 23, 2013 Author Share Posted September 23, 2013 Ok that explains it. I'll give that a try. Thanks swisslizard! Link to comment Share on other sites More sharing options...
ArcadiusMaximus Posted March 21, 2015 Share Posted March 21, 2015 Sorry to revive an old thread but has a better solution come out to fix this issue? I cant see editing the scripts of 60+ tables. Is there any sort of global setting that can be automatically applied to directB2S tables? Thanks ! Link to comment Share on other sites More sharing options...
randr Posted March 21, 2015 Share Posted March 21, 2015 Copy paste the script in your tables would take less then 5 min to do 60 tables really not a big deal Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.