Hi everyone,
I have a strange behaviour with multiballs, in monitor mode for now.
I have a multiball lock with 3 balls. When I lock balls, ball counts are good in the trough, playfield and bd_lock.
Starting multiball is also ok, no problem.
I wait for the save and grace period, and drain a ball => ball is ejected from the drain ... Why ?? I have put the logs at the bottom.
When I lose 2 balls, ball is ending but I have one active ball on playfield and the message
[BallController] Playfields still contain balls. Waiting for those to drain.
I think this a consequence of the strange eject before.
At each stage, ball counts are good everywhere.
ball_devices:
bd_trough:
ball_switches: s_ball_trough_1,s_ball_trough_2,s_ball_trough_3
jam_switch: s_ball_trough_jam
eject_coil: c_ball_trough
tags: trough, home, drain
eject_timeouts: 1s
player_controlled_eject_event: s_launch_button_active
bd_lock:
ball_switches: s_lock_1,s_lock_2,s_lock_3
eject_coil: c_lock_release
tags: lock
eject_targets: playfield
eject_timeouts: 1s
eject_events: eject_bd_lock
multiballs:
classic_multiball:
ball_count: 3
ball_count_type: add
hurry_up_time: 2s
grace_period: 2s
start_events: start_classic_multiball
ball_locks: bd_lock
multiball_locks:
classic_mb_lock:
lock_devices: bd_lock
balls_to_lock: 3
enable_events: sequential_targets_done
disable_events: multiball_lock_classic_mb_lock_locked_ball, ball_will_end
locked_ball_counting_strategy: virtual_only
reset_count_for_current_player_events: multiball_lock_classic_mb_lock_full
23:25:05.244 : INFO [SwitchController] <<<<<<< 's_ball_trough_1' active >>>>>>>
23:25:05.244 : INFO [EventManager] Event: ======'machine_var_audits_switches_s_ball_trough_1'====== Args={'value': 45, 'prev_value': 44, 'change': 1}
23:25:05.744 : INFO [EventManager] Event: ======'balldevice_bd_trough_ball_count_changed'====== Args={'balls': 1}
23:25:05.745 : INFO [ball_device.bd_trough] Received unexpected ball
23:25:05.745 : INFO [EventManager] Event: ======'balldevice_captured_from_playfield'====== Args={'balls': 1}
23:25:05.745 : INFO [EventManager] Event: ======'sw_playfield_active'====== Args={'balls': 1}
23:25:05.746 : INFO [EventManager] Event: ======'playfield_ball_count_change'====== Args={'balls': 2, 'change': -1}
23:25:05.747 : INFO [EventManager] Event: ======'balldevice_bd_trough_ball_enter'====== Args={'new_balls': 1, 'unclaimed_balls': 1, 'new_available_balls': 1, 'device': <ball_device.bd_trough>}
23:25:05.747 : INFO [EventManager] Event: ======'ball_drain'====== Args={'device': <ball_device.bd_trough>, 'balls': 1}
23:25:05.747 : INFO [EventManager] Event: ======'balls_in_play'====== Args={'balls': 2}
23:25:05.748 : INFO [EventManager] Event: ======'multiball_classic_multiball_ball_lost'====== Args={}
23:25:05.749 : INFO [EventManager] Event: ======'balldevice_balls_available'====== Args={}
23:25:05.751 : INFO [EventManager] Event: ======'balldevice_balls_available'====== Args={}
23:25:05.756 : INFO [EventManager] Event: ======'balldevice_bd_trough_ball_entered'====== Args={'new_balls': 1, 'device': <ball_device.bd_trough>}
23:25:05.756 : INFO [ball_device.bd_trough] State: waiting_for_target_ready
23:25:05.758 : INFO [EventManager] Event: ======'balldevice_bd_trough_ball_eject_attempt'====== Args={'balls': 1, 'target': <playfield.playfield>, 'source': <ball_device.bd_trough>, 'mechanical_eject': False, 'num_attempts': 0}
23:25:05.759 : INFO [ball_device.bd_trough] State: ejecting
23:25:05.759 : INFO [ball_device.bd_trough] Ejecting ball to <playfield.playfield>
23:25:05.759 : INFO [EventManager] Event: ======'balldevice_bd_trough_ejecting_ball'====== Args={'balls': 1, 'target': <playfield.playfield>, 'source': <ball_device.bd_trough>, 'mechanical_eject': False, 'num_attempts': 0}
23:25:05.759 : INFO [ball_device.bd_trough] Wait for ball to leave device
23:25:05.759 : INFO [coil.c_ball_trough] Pulsing Driver for 22ms (0.55 pulse_power)
23:25:05.759 : INFO [SwitchController] <<<<<<< 's_ball_trough_1' inactive >>>>>>>
23:25:05.762 : INFO [ball_device.bd_trough] State: ball_left
23:25:05.762 : INFO [ball_device.bd_trough] Ball left
23:25:05.762 : INFO [ball_device.bd_trough] Wait for confirm with timeout 1.0
23:25:06.764 : INFO [ball_device.bd_trough] State: failed_confirm
23:25:06.764 : INFO [ball_device.bd_trough] Got timeout (1.0s) before confirm from <playfield.playfield>
23:25:06.868 : INFO [ball_device.bd_trough] Confirming eject because target is playfield and ball did not return.
23:25:06.868 : INFO [ball_device.bd_trough] Eject successful
23:25:06.868 : INFO [EventManager] Event: ======'balldevice_bd_trough_ball_eject_success'====== Args={'balls': 1, 'target': <playfield.playfield>}