mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
commit
3e2b1a2e84
1 changed files with 2 additions and 2 deletions
4
dist/ba_root/mods/plugins/bcs_plugin.py
vendored
4
dist/ba_root/mods/plugins/bcs_plugin.py
vendored
|
|
@ -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': []}}}
|
||||
# {'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': []}}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue