File tree Expand file tree Collapse file tree 5 files changed +20
-6
lines changed
Expand file tree Collapse file tree 5 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ def __init__(self, default_agent_id: Optional[str] = None):
4949 self ._handle_ball_prediction
5050 )
5151 self ._game_interface .controllable_team_info_handlers .append (
52- self ._handle_player_mappings
52+ self ._handle_controllable_team_info
5353 )
5454 self ._game_interface .packet_handlers .append (self ._handle_packet )
5555
@@ -97,7 +97,9 @@ def _handle_field_info(self, field_info: flat.FieldInfo):
9797 ):
9898 self ._initialize ()
9999
100- def _handle_player_mappings (self , player_mappings : flat .ControllableTeamInfo ):
100+ def _handle_controllable_team_info (
101+ self , player_mappings : flat .ControllableTeamInfo
102+ ):
101103 self .team = player_mappings .team
102104 controllable = player_mappings .controllables [0 ]
103105 self .spawn_id = controllable .spawn_id
Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ def __init__(self, default_agent_id: Optional[str] = None):
5050 self ._game_interface .ball_prediction_handlers .append (
5151 self ._handle_ball_prediction
5252 )
53+ self ._game_interface .controllable_team_info_handlers .append (
54+ self ._handle_controllable_team_info
55+ )
5356 self ._game_interface .packet_handlers .append (self ._handle_packet )
5457
5558 self .renderer = Renderer (self ._game_interface )
@@ -97,7 +100,9 @@ def _handle_field_info(self, field_info: flat.FieldInfo):
97100 ):
98101 self ._initialize ()
99102
100- def _handle_player_mappings (self , player_mappings : flat .ControllableTeamInfo ):
103+ def _handle_controllable_team_info (
104+ self , player_mappings : flat .ControllableTeamInfo
105+ ):
101106 self .team = player_mappings .team
102107 for controllable in player_mappings .controllables :
103108 self .spawn_ids .append (controllable .spawn_id )
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ def __init__(self, default_agent_id: Optional[str] = None):
4747 self ._game_interface .ball_prediction_handlers .append (
4848 self ._handle_ball_prediction
4949 )
50+ self ._game_interface .controllable_team_info_handlers .append (
51+ self ._handle_controllable_team_info
52+ )
5053 self ._game_interface .packet_handlers .append (self ._handle_packet )
5154
5255 self .renderer = Renderer (self ._game_interface )
@@ -91,7 +94,9 @@ def _handle_field_info(self, field_info: flat.FieldInfo):
9194 ):
9295 self ._initialize ()
9396
94- def _handle_player_mappings (self , player_mappings : flat .ControllableTeamInfo ):
97+ def _handle_controllable_team_info (
98+ self , player_mappings : flat .ControllableTeamInfo
99+ ):
95100 self .team = player_mappings .team
96101 controllable = player_mappings .controllables [0 ]
97102 self .spawn_id = controllable .spawn_id
Original file line number Diff line number Diff line change 1- __version__ = "5.0.0-beta.9 "
1+ __version__ = "5.0.0-beta.10 "
22
33
44RESET_SEQ = "\033 [0m"
@@ -15,6 +15,9 @@ def _get_color(color: int) -> str:
1515)
1616
1717RELEASE_NOTES = {
18+ "5.0.0-beta.10" : """
19+ Fix bug in hivemind & script start
20+ """ ,
1821 "5.0.0-beta.9" : """
1922 Rename the `initialize_agent` method to `initialize`
2023 Update to new sockets spec
Original file line number Diff line number Diff line change 11[rlbot ]
22launcher = " steam"
3- auto_start_bots = true
43
54[match ]
65game_mode = " Soccer"
You can’t perform that action at this time.
0 commit comments