** BALL IS EJECTED FROM TROUGH ONTO PLUNGER LANE
Line 3665 of Sample-Log.txt:
2020-02-01 17:22:08,559 : INFO : SwitchController : <<<<<<< 's_plunger_lane' active >>>>>>>
Line 3680 of Sample-Log.txt :
2020-02-01 17:22:09,062 : INFO : EventManager : Event: ======'balldevice_bd_plunger_ball_eject_attempt'====== Args={'balls': 1, 'target': <playfield.playfield>, 'source': <ball_device.bd_plunger>, 'mechanical_eject': True, 'num_attempts': 0}
** PLAYER PLUNGES BALL
Line 3735 and 3736 of Sample-Log.txt :
2020-02-01 17:22:12,842 : INFO : SwitchController : <<<<<<< 's_plunger_lane' inactive >>>>>>>
2020-02-01 17:22:12,842 : INFO : EventManager : Event: ======'s_plunger_lane_inactive'====== Args={}
** GAME DETECTS playfield-active EVENT AND POSTS PLUNGER EJECT SUCESS
Line 3836 of Sample-Log.txt :
2020-02-01 17:22:14,505 : INFO : EventManager : Event: ======'balldevice_bd_plunger_ball_eject_success'====== Args={'balls': 1, 'target': <playfield.playfield>}
** PLAYFIELD BALL DEVICE IS UPDATED
Line 3843 and 3844 of Sample-Log.txt :
2020-02-01 17:22:14,521 : INFO : EventManager : Event: ======'balldevice_playfield_ball_enter'====== Args={'new_balls': 1, 'unclaimed_balls': 1, 'device': <playfield.playfield>}
2020-02-01 17:22:14,521 : INFO : EventManager : Event: ======'playfield_ball_count_change'====== Args={'balls': 1, 'change': 1}
** THIS IS ALL AS EXPECTED
** THEN OUT OF NOWHERE THIS EVENT FIRES, THERE ARE NO TROUGH OR PLUNGER EVENTS IN BETWEEN THIS EVENT AND THE PREVIOUS EVENTS.
Line 3987 of Sample-Log.txt :
2020-02-01 17:22:18,285 : INFO : EventManager : Event: ======'balldevice_bd_plunger_ball_eject_success'====== Args={'balls': 1, 'target': <playfield.playfield>}
** WHICH CHANGES THIS COUNTER AND THE GAME IS OUT OF SYNC NOW
Line 3994 of Sample-Log.txt :
2020-02-01 17:22:18,296 : INFO : EventManager : Event: ======'playfield_ball_count_change'====== Args={'balls': 2, 'change': 1}
** BALL DRAINS, TROUGH HAS THE CORRECT NUMBER OF BALLS, PLAYFIELD COUNT STILL HAS 1 BALL ON PLAYFIELD, BALL ENDS
Lines 4527 to 4538 of Sample-Log.txt :
2020-02-01 17:22:37,064 : INFO : SwitchController : <<<<<<< 's_trough4' active >>>>>>>
2020-02-01 17:22:37,065 : INFO : EventManager : Event: ======'machine_var_audits_switches_s_trough4'====== Args={'value': 2050, 'prev_value': 2049, 'change': 1}
2020-02-01 17:22:37,566 : INFO : EventManager : Event: ======'balldevice_bd_trough_ball_count_changed'====== Args={'balls': 4}
2020-02-01 17:22:37,566 : INFO : EventManager : Event: ======'balldevice_captured_from_playfield'====== Args={'balls': 1}
2020-02-01 17:22:37,566 : INFO : EventManager : Event: ======'sw_playfield_active'====== Args={'balls': 1}
2020-02-01 17:22:37,567 : INFO : EventManager : Event: ======'playfield_ball_count_change'====== Args={'balls': 1, 'change': -1}
2020-02-01 17:22:37,568 : INFO : EventManager : Event: ======'balldevice_bd_trough_ball_enter'====== Args={'new_balls': 1, 'unclaimed_balls': 1, 'new_available_balls': 1, 'device': <ball_device.bd_trough>}
2020-02-01 17:22:37,568 : INFO : EventManager : Event: ======'ball_drain'====== Args={'device': <ball_device.bd_trough>, 'balls': 1}
2020-02-01 17:22:37,570 : INFO : EventManager : Event: ======'ball_will_end'====== Args={}
2020-02-01 17:22:37,570 : INFO : EventManager : Event: ======'balldevice_balls_available'====== Args={}
2020-02-01 17:22:37,570 : INFO : EventManager : Event: ======'balldevice_bd_trough_ball_entered'====== Args={'new_balls': 1, 'device': <ball_device.bd_trough>}
2020-02-01 17:22:37,579 : INFO : EventManager : Event: ======'ball_ending'====== Args={}
** ATTRACT MODE HAS STARTED, NORMALLY IN ATTRACT MODE IT POSTS "collecting_balls_completed" BUT THIS DOES NO COMPLETE AND BALL SEARCH STARTS ABOUT 1.3 SECS LATER
Line 4815 of Sample-Log.txt :
2020-02-01 15:32:40,716 : INFO : EventManager : Event: ======'collecting_balls'====== Args={}
Line 4832 of Sample-Log.txt :
2020-02-01 17:22:54,695 : INFO : EventManager : Event: ======'ball_search_started'====== Args={}
** START BUTTONS REQUEST TO START A GAME IS REJECTED DUE TO BALL SEARCH RUNNING
Lines 4838 to 4842 of Sample-Log.txt :
2020-02-01 17:22:54,863 : INFO : SwitchController : <<<<<<< 's_start_button' active >>>>>>>
2020-02-01 17:22:54,863 : INFO : EventManager : Event: ======'s_start_button_active'====== Args={}
2020-02-01 17:22:54,984 : INFO : SwitchController : <<<<<<< 's_start_button' inactive >>>>>>>
2020-02-01 17:22:54,984 : INFO : EventManager : Event: ======'request_to_start_game'====== Args={}
2020-02-01 17:22:54,985 : INFO : EventManager : Event: ======'ball_search_prevents_game_start'====== Args={}
##! no_simulation
##! no_fake_game
#config_version=5
playfields:
playfield:
default_source_device: bd_plunger
tags: default
coils:
c_trough_eject:
number:
c_autolauncher:
number:
switches:
s_trough_switch1:
number:
s_trough_switch2:
number:
s_trough_switch3:
number:
s_trough_jam:
number:
s_ball_switch_plunger_lane:
number:
s_playfield:
number:
tags: playfield_active
ball_devices:
bd_trough:
eject_coil: c_trough_eject
ball_switches: s_trough_switch1, s_trough_switch2, s_trough_switch3, s_trough_jam
jam_switch: s_trough_jam
eject_targets: bd_plunger
eject_timeouts: 3s
tags: trough, drain, home
debug: true
bd_plunger:
eject_coil: c_autolauncher
ball_switches: s_ball_switch_plunger_lane
mechanical_eject: true
eject_targets: playfield
eject_timeouts: 4s
debug: true
##! test
#! # add balls to trough
#! hit_switch s_trough_switch1
#! hit_switch s_trough_switch2
#! hit_switch s_trough_switch3
#! # let balls settle
#! advance_time_and_run 2
#! start_game
#! advance_time_and_run .2
#! release_switch s_trough_switch1
#! advance_time_and_run 2
#! hit_switch s_ball_switch_plunger_lane
#! advance_time_and_run 3
#! release_switch s_ball_switch_plunger_lane
#! advance_time_and_run 3
#! hit_and_release_switch s_playfield
#! advance_time_and_run 10
#! # try to break that next assertion
#! assert_balls_on_playfield 1Jan