mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
updated mods to api 7
This commit is contained in:
parent
de0199ad50
commit
ee12aa92a0
21 changed files with 715 additions and 193 deletions
3
dist/ba_root/mods/tools/servercheck.py
vendored
3
dist/ba_root/mods/tools/servercheck.py
vendored
|
|
@ -147,6 +147,7 @@ def on_player_join_server(pbid, player_data):
|
|||
if(device_id==None):
|
||||
device_id = _ba.get_client_device_uuid(cid)
|
||||
serverdata.clients[pbid]["deviceUUID"] = device_id
|
||||
logger.log("ip:"+serverdata.clients[pbid]["lastIP"]+",Device id"+device_id)
|
||||
_ba.screenmessage(settings["regularWelcomeMsg"] + " " + d_st,
|
||||
color=(0.60, 0.8, 0.6), transient=True,
|
||||
clients=[cid])
|
||||
|
|
@ -279,7 +280,7 @@ def my_acc_age(pb_id):
|
|||
|
||||
|
||||
def save_age(age, pb_id, display_string):
|
||||
pdata.add_profile(pb_id, display_string, display_string, age)
|
||||
_ba.pushcall(Call(pdata.add_profile,pb_id, display_string,display_string, age), from_other_thread=True)
|
||||
time.sleep(2)
|
||||
thread2 = FetchThread(
|
||||
target=get_device_accounts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue