piggei Posted August 26, 2015 Share Posted August 26, 2015 Hi guys, finally I found why my pinballx freeze when it starts the attract mode: I think there's a problem in the Led plugin and the loop command. If I end the sequence wit a loop the pinballx freeze in attract mode after the first loop... If I remove the command, all works OK...This is the portion of the ini for my attract mode...[Commands_Select_Attract_1]device=0cmd=2ports=wait=0[Commands_Select_Attract_2]device=0cmd=0ports=0;1;16wait=80[Commands_Select_Attract_3]device=0cmd=1ports=0;16wait=0[Commands_Select_Attract_4]device=0cmd=0ports=2;19;20;22;23wait=80[Commands_Select_Attract_5]device=0cmd=1ports=1;2;19;20;22;23wait=0[Commands_Select_Attract_6]device=0cmd=0ports=3;16wait=80[Commands_Select_Attract_7]device=0cmd=1ports=3;16wait=0[Commands_Select_Attract_8]device=0cmd=0ports=2;19;20;22;23wait=80[Commands_Select_Attract_9]device=0cmd=1ports=2;19;20;22;23wait=0[Commands_Select_Attract_10]device=0cmd=1ports=wait=0 Link to comment Share on other sites More sharing options...
Draco1962 Posted August 26, 2015 Share Posted August 26, 2015 Please provide complete copies of your pinballx.ini and log.txt (Click here for additional information on how to find these files and others that may be required). Also, if you have a separate .ini for your LED plugin, provide that as well (full file). Thanks! Link to comment Share on other sites More sharing options...
Adultery Posted August 26, 2015 Share Posted August 26, 2015 I'm not positive but don't you need to exit the loop for PinballX to process the next command? I think it will halt until the plugin code executes and if you loop it, it won't ever finish processing.Just a guess, I'm not familiar with this plugin at all. Normally if I have a loop I need to process it in another thread to avoid that. Link to comment Share on other sites More sharing options...
piggei Posted August 26, 2015 Author Share Posted August 26, 2015 I'm not positive but don't you need to exit the loop for PinballX to process the next command? I think it will halt until the plugin code executes and if you loop it, it won't ever finish processing.Just a guess, I'm not familiar with this plugin at all. Normally if I have a loop I need to process it in another thread to avoid that.Yes, I think the problem is that another loop starts when the first is working... That's because the problem appears at the second "table change"...There are the files... led.ini is without the loop command at the end...log.txtLED.iniPinballX.ini Link to comment Share on other sites More sharing options...
Recommended Posts