Multiball Lock Not Counting

74 views
Skip to first unread message

Cameron Drummond

unread,
Sep 30, 2026, 8:05:04 AMSep 30
to MPF Users
I have a physical multiball lock which should trap 3 balls (replace the first 2 from trough when they lock) and then when 3 in there to release them all for a multiball.

My ball device seems to be working fine and is showing them as locking.
And my multiball_lock is showing as enabled all fine from my state machine.
But when i enable the switches, the multiball_lock is refusing to up its locked ball count to be the same as the ball device.

as such it then doesnt recognise balls being in there and doesnt trigger the multiball.

Been going in loops on the docs and on ai chatbot so reaching out here for help.   
screenshot below is of monitor to show at the top the multiball lock being enabled but empty, while at the bottom the ball device is counted up all fine.
Below is code for the bd, multiball lock  and the multiball itself.

Any help greatly appreciated.
Many thanks


 bd_multiball_clonebay_lock:
        ball_switches: s_clonebay_lock_1, s_clonebay_lock_2, s_clonebay_lock_3
        eject_coil: c_clonebay_multiball_lock_pole
        eject_targets: playfield
        eject_timeouts: 1s
        captures_from: playfield

multiball_locks:
  multiball_lock_clonebay:
    balls_to_lock: 3
    balls_to_replace: 2          
    lock_devices: bd_multiball_clonebay_lock
    locked_ball_counting_strategy: physical_only
    enable_events: enable_clonebay_multiball_lock
    disable_events: disable_clonebay_multiball_lock
    reset_all_counts_events: mode_multiball_status_clonebay_started{current_player.multiball_status_clonebay==2}
multiballs:
  clonebay_multiball:
    ball_count: 3        
    ball_locks: bd_multiball_clonebay_lock        
    start_events: multiball_lock_multiball_lock_clonebay_locked
    stop_events: force_clonebay_multiball_mode_shutdown  
    source_playfield: playfield  


Lisa Sue Jones

unread,
Oct 4, 2026, 6:53:22 PMOct 4
to MPF Users
We had this same issue with The Greatest Showman and I about lost my mind trying to figure it out.  I later found out that the group of guys who did Saw also had this issue.  It seems that MPF cannot do a physical ball lock.  I eventually gave up and did a virtual ball lock and plan to do the same with Christmas Vacation that we're working on now.  I feel your pain and frustration.  

cobra18t

unread,
Oct 6, 2026, 6:55:35 PMOct 6
to MPF Users
I am posting on behalf of Rossc since he was having trouble posting here. Attached is an example from his Firepower.

I have used physical_only multiple times with success but that has always been with multiple single ball devices like eject saucers on Tag Team or Firepower. Maybe there is something strange that happens with a device that holds multiple balls?

From Rossc:
"This works 100% between players as well if P1 locks a ball MPF will eject the ball at drain P2 locks SAME ball it wont empty the lock coz both players now have the same ball locked
I think his issue is using not using virtual only"
mb_1.yaml

cobra18t

unread,
Oct 6, 2026, 7:17:36 PMOct 6
to MPF Users
You need to use replace_balls_in_play for the multiball when using physical locks:
multiballs: Config Reference - The Mission Pinball Framework
Screenshot 2026-10-06 161512.png

cobra18t

unread,
Oct 6, 2026, 7:24:29 PMOct 6
to MPF Users
Also, your start event does not look like a standard event. Do you create that elsewhere or did you mean to use the "full" event like what is posted here:
Multiball Locks - The Mission Pinball Framework

Cameron Drummond

unread,
Oct 7, 2026, 1:49:48 AMOct 7
to mpf-...@googlegroups.com
The weird event names are because of state machine events I fire based on some other conditions that happen 

I actually managed to get it working in the end (not at computer to share result code). And it’s nice and consistent now. 
Not fully sure what the issue was as I suspect my fix was many little changes instead of one big key line but suspect it’s the reset_all_counts_events might have been partial to blame as well as some other stuff. 

I will advise to make sure your counts reflect desires. 
I had it setup as 3 to lock and 2 replace, with intent of when third ball goes in and locks it then releases all 3. 
But that led to issue of it only releasing 2 of them. 
Changing it to 2 and 2 and then making the start multiball event be of the third ball going into its switch when the state has advanced due to the other 2 being locked then fixed that


From: mpf-...@googlegroups.com <mpf-...@googlegroups.com> on behalf of cobra18t <tfule...@gmail.com>
Sent: Wednesday, 07 October 2026 00:24:29
To: MPF Users <mpf-...@googlegroups.com>
Subject: [mpf-users] Re: Multiball Lock Not Counting
 
--
You received this message because you are subscribed to the Google Groups "MPF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpf-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mpf-users/e7943332-f71a-4331-8101-d7ea16cac177n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages