mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
1.7.13 , client_ping, player account privacy added
added _ba.get_client_ping(113) and _ba.hide_player_device_id(True) . to hide players device id from roster of clients.
This commit is contained in:
parent
59730e19b3
commit
e5034cbb6f
282 changed files with 35005 additions and 23205 deletions
9
dist/ba_data/python/bastd/gameutils.py
vendored
9
dist/ba_data/python/bastd/gameutils.py
vendored
|
|
@ -27,8 +27,10 @@ class SharedObjects:
|
|||
def __init__(self) -> None:
|
||||
activity = ba.getactivity()
|
||||
if self._STORENAME in activity.customdata:
|
||||
raise RuntimeError('Use SharedObjects.get() to fetch the'
|
||||
' shared instance for this activity.')
|
||||
raise RuntimeError(
|
||||
'Use SharedObjects.get() to fetch the'
|
||||
' shared instance for this activity.'
|
||||
)
|
||||
self._object_material: ba.Material | None = None
|
||||
self._player_material: ba.Material | None = None
|
||||
self._pickup_material: ba.Material | None = None
|
||||
|
|
@ -111,7 +113,8 @@ class SharedObjects:
|
|||
if self._death_material is None:
|
||||
mat = self._death_material = ba.Material()
|
||||
mat.add_actions(
|
||||
('message', 'their_node', 'at_connect', ba.DieMessage()))
|
||||
('message', 'their_node', 'at_connect', ba.DieMessage())
|
||||
)
|
||||
return self._death_material
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue