From 3569d40faabe86c10fe096865bd9a13f86d41ffe Mon Sep 17 00:00:00 2001 From: itsre3 <105688454+itsre3@users.noreply.github.com> Date: Fri, 24 Jun 2022 20:08:53 +0100 Subject: [PATCH] Update bcs_plugin.py --- dist/ba_root/mods/plugins/bcs_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/ba_root/mods/plugins/bcs_plugin.py b/dist/ba_root/mods/plugins/bcs_plugin.py index aee1a93..88501ee 100644 --- a/dist/ba_root/mods/plugins/bcs_plugin.py +++ b/dist/ba_root/mods/plugins/bcs_plugin.py @@ -94,7 +94,7 @@ class BsDataThread(object): } for player in team.players: teamplayer={'name':player.getname(), - 'device_id':player.inputdevice.get_account_name(True), + 'device_id':player.inputdevice.get_v1_account_name(True), 'inGame':player.in_game, 'character':player.character, 'account_id':player.get_v1_account_id() @@ -143,4 +143,4 @@ class InitalRun: def enable(): InitalRun() # SAMPLE OUTPUT -# {'system': {'cpu': 80, 'ram': 34}, 'roster': {}, 'chats': [], 'playlist': {'current': 'Meteor Shower @ Rampage', 'next': 'Assault @ Step Right Up'}, 'teamInfo': {'sessionType': 'DualTeamSession', 0: {'name': 'Blue', 'color': (0.1, 0.25, 1.0), 'score': 1, 'players': [{'name': 'Jolly', 'device_id': '\ue030PC295588', 'inGame': True, 'character': 'xmas', 'account_id': 'pb-IF4TVWwZUQ=='}]}, 1: {'name': 'Red', 'color': (1.0, 0.25, 0.2), 'score': 0, 'players': []}}} \ No newline at end of file +# {'system': {'cpu': 80, 'ram': 34}, 'roster': {}, 'chats': [], 'playlist': {'current': 'Meteor Shower @ Rampage', 'next': 'Assault @ Step Right Up'}, 'teamInfo': {'sessionType': 'DualTeamSession', 0: {'name': 'Blue', 'color': (0.1, 0.25, 1.0), 'score': 1, 'players': [{'name': 'Jolly', 'device_id': '\ue030PC295588', 'inGame': True, 'character': 'xmas', 'account_id': 'pb-IF4TVWwZUQ=='}]}, 1: {'name': 'Red', 'color': (1.0, 0.25, 0.2), 'score': 0, 'players': []}}}