Question about "priority" in LED shows

22 views
Skip to first unread message

Brian Cox

unread,
Sep 13, 2016, 7:56:03 PM9/13/16
to MPF Users
Hi guys,

Is it normal to get these extremely large "priority" values when setting LED color, like so (during a virtual game):

2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : Removing key 'show_50.led_player' from stack
2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : +-------------- Adding to stack ----------------+
2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : priority: 5100
2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : start_time: 366705.245179934
2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : start_color: (0, 255, 0)
2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : dest_time: 0
2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : dest_color: (0, 255, 0)
2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : color: (0, 255, 0)
2016-09-13 16:40:39,709 : DEBUG : led.lighttatmyst_1 : key: show_50.led_player

The maximum mode priority I have in my game is 500, so seems out of the ordinary that a specific "priority" would be so large. In general, these priority values tend to increase as the game goes on, and have been as high as 10,000 for a short-ish game.

Haven't seen anything too weird with the actual lights during a real game,

BC

Quinn Capen

unread,
Sep 13, 2016, 8:13:59 PM9/13/16
to MPF Users
This is definitely a bug and will be a simple fix.  Thanks for discovering it and pointing it out. I've created an issue for it on GitHub: https://github.com/missionpinball/mpf/issues/481

Quinn

Brian Madden

unread,
Sep 16, 2016, 1:31:23 PM9/16/16
to MPF Users
This has been fixed in 0.31.
Reply all
Reply to author
Forward
0 new messages