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. Thank you for your support. Tom Speirs

Patreon

LED plugin bug?


piggei

Recommended Posts

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

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

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

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

Link to comment
Share on other sites

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