Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

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
Posted

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!

Posted

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.

Posted

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.txt

LED.ini

PinballX.ini

Guest
This topic is now closed to further replies.
×
×
  • Create New...