From ac70237458876d8ba298945a64207587957760e9 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 19:23:17 +0530 Subject: [PATCH 01/14] Fix APW for 1.7.53 --- plugins/utilities/advanced_party_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/utilities/advanced_party_window.py b/plugins/utilities/advanced_party_window.py index 6a7ef89..690237a 100644 --- a/plugins/utilities/advanced_party_window.py +++ b/plugins/utilities/advanced_party_window.py @@ -393,7 +393,7 @@ customchatThread().run() class ModifiedPartyWindow(bascenev1lib_party.PartyWindow): def __init__(self, origin: Sequence[float] = (0, 0)): - bui.set_party_window_open(True) + self._uiopenstate = bui.UIOpenState('classicparty') self._r = 'partyWindow' self.msg_user_selected = '' self._popup_type: Optional[str] = None From fc52116d5a0d0ee537cf5f7983d4c91fa5f40a28 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 19:28:26 +0530 Subject: [PATCH 02/14] Update utilities.json --- plugins/utilities.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 6263079..dfa01d9 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1036,6 +1036,7 @@ } ], "versions": { + "2.1.5": null, "2.1.4": { "api_version": 9, "commit_sha": "e604a3c", @@ -2310,4 +2311,4 @@ } } } -} \ No newline at end of file +} From d40571c0c8dc1c4d3743ccfe67cb2a0e8910fb63 Mon Sep 17 00:00:00 2001 From: Freaku17 <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 13:58:57 +0000 Subject: [PATCH 03/14] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index dfa01d9..4e8df38 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1036,7 +1036,12 @@ } ], "versions": { - "2.1.5": null, + "2.1.5": { + "api_version": 9, + "commit_sha": "fc52116", + "released_on": "27-10-2025", + "md5sum": "e756ad20c64cba906f7ce50172460ad0" + }, "2.1.4": { "api_version": 9, "commit_sha": "e604a3c", @@ -2311,4 +2316,4 @@ } } } -} +} \ No newline at end of file From a010f1ae0ed138facf389c7e41855f8580dff5cd Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 19:37:45 +0530 Subject: [PATCH 04/14] Also fix warnings for bui.WeakCall --- plugins/utilities/advanced_party_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/utilities/advanced_party_window.py b/plugins/utilities/advanced_party_window.py index 690237a..bcf0fb3 100644 --- a/plugins/utilities/advanced_party_window.py +++ b/plugins/utilities/advanced_party_window.py @@ -454,7 +454,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow): label="\xee\x80\x90", autoselect=True, button_type='square', - on_activate_call=bs.WeakCall(self._on_menu_button_press), + on_activate_call=bs.WeakCallStrict(self._on_menu_button_press), color=(0.55, 0.73, 0.25), icon=bui.gettexture('menuButton'), iconscale=1.2) @@ -633,7 +633,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow): self.smoothy_mode = 1 self.full_chat_mode = False self._update_timer = babase.AppTimer(1.0, - bs.WeakCall(self._update), + bs.WeakCallStrict(self._update), repeat=True) self._update() From d0b72a049827022f1bfa1a8034fb3d68b932462d Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 19:41:05 +0530 Subject: [PATCH 05/14] Fix ba.Call warnings in translate --- plugins/utilities/translate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/utilities/translate.py b/plugins/utilities/translate.py index 73247a7..9a81d97 100644 --- a/plugins/utilities/translate.py +++ b/plugins/utilities/translate.py @@ -103,7 +103,7 @@ class NewPW(bauiv1lib.party.PartyWindow): maxwidth=self._scroll_width * 0.94, shadow=0.3, flatness=1.0, - on_activate_call=bui.Call(self._copy_msg, msg), + on_activate_call=bui.CallPartial(self._copy_msg, msg), selectable=True, ) @@ -113,7 +113,7 @@ class NewPW(bauiv1lib.party.PartyWindow): bui.containerwidget(edit=self._columnwidget, visible_child=txt) bui.textwidget(edit=txt, - on_activate_call=bui.Call(self._translate_other, msg), + on_activate_call=bui.CallPartial(self._translate_other, msg), click_activate=True) def _translate_other(self, msg: str): From 5d5c19bffebb00b80687112c84aa2a1933bb3fbd Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 19:43:50 +0530 Subject: [PATCH 06/14] Update utilities.json --- plugins/utilities.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 4e8df38..ed5d25d 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -382,6 +382,7 @@ } ], "versions": { + "1.1.3": null, "1.1.2": { "api_version": 9, "commit_sha": "e604a3c", @@ -1036,12 +1037,7 @@ } ], "versions": { - "2.1.5": { - "api_version": 9, - "commit_sha": "fc52116", - "released_on": "27-10-2025", - "md5sum": "e756ad20c64cba906f7ce50172460ad0" - }, + "2.1.5": null, "2.1.4": { "api_version": 9, "commit_sha": "e604a3c", @@ -2316,4 +2312,4 @@ } } } -} \ No newline at end of file +} From 9164b1b496e6ddfc5d9aaef247840acb0a9d3943 Mon Sep 17 00:00:00 2001 From: Freaku17 <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 14:14:22 +0000 Subject: [PATCH 07/14] [ci] apply-version-metadata --- plugins/utilities.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index ed5d25d..f8761eb 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -382,7 +382,12 @@ } ], "versions": { - "1.1.3": null, + "1.1.3": { + "api_version": 9, + "commit_sha": "5d5c19b", + "released_on": "27-10-2025", + "md5sum": "8e8551b9a75a34959c12bfd0b3051ed3" + }, "1.1.2": { "api_version": 9, "commit_sha": "e604a3c", @@ -1037,7 +1042,12 @@ } ], "versions": { - "2.1.5": null, + "2.1.5": { + "api_version": 9, + "commit_sha": "5d5c19b", + "released_on": "27-10-2025", + "md5sum": "8220ef630cb598bcfe968d4f8b9edbf0" + }, "2.1.4": { "api_version": 9, "commit_sha": "e604a3c", @@ -2312,4 +2322,4 @@ } } } -} +} \ No newline at end of file From 73bb5ce76abe2ff9962f0ace81d3ba930afee656 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 19:56:14 +0530 Subject: [PATCH 08/14] Update remaining ba.Call warnings --- plugins/utilities/translate.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/utilities/translate.py b/plugins/utilities/translate.py index 9a81d97..241f794 100644 --- a/plugins/utilities/translate.py +++ b/plugins/utilities/translate.py @@ -52,7 +52,7 @@ def translate(text, _callback, source='auto', target='en'): for i in replace_list: result = result.replace(i[0], i[1]) if show_translate_result: - bui.pushcall(bui.Call(_callback, result), from_other_thread=True) + bui.pushcall(bui.CallPartial(_callback, result), from_other_thread=True) class NewPW(bauiv1lib.party.PartyWindow): @@ -155,7 +155,7 @@ class TranslateWindow: transition='in_scale', scale=(2 if self._uiscale is babase.UIScale.SMALL else 1.4 if self._uiscale is babase.UIScale.MEDIUM else 1.3), - on_outside_click_call=babase.Call(self._back, sound=True)) + on_outside_click_call=babase.CallPartial(self._back, sound=True)) self._tips_text = bui.textwidget(parent=self._root_widget, color=(0, 1, 1), @@ -200,7 +200,7 @@ class TranslateWindow: self.other_source_button = PopupMenu(parent=self._root_widget, position=(54, 140), autoselect=False, - on_value_change_call=babase.Call( + on_value_change_call=babase.CallStrict( self._set_translate_language, 'O Source Trans Lang'), choices=available_translate_languages, button_size=(150, 30), @@ -209,7 +209,7 @@ class TranslateWindow: self.other_target_button = PopupMenu(parent=self._root_widget, position=(243, 140), autoselect=False, - on_value_change_call=babase.Call( + on_value_change_call=babase.CallStrict( self._set_translate_language, 'O Target Trans Lang'), choices=available_translate_languages[1:], button_size=(150, 30), @@ -218,7 +218,7 @@ class TranslateWindow: self.your_source_button = PopupMenu(parent=self._root_widget, position=(54, 55), autoselect=False, - on_value_change_call=babase.Call( + on_value_change_call=babase.CallStrict( self._set_translate_language, 'Y Source Trans Lang'), choices=available_translate_languages, button_size=(150, 30), @@ -227,7 +227,7 @@ class TranslateWindow: self.your_target_button = PopupMenu(parent=self._root_widget, position=(243, 55), autoselect=False, - on_value_change_call=babase.Call( + on_value_change_call=babase.CallStrict( self._set_translate_language, 'Y Target Trans Lang'), choices=available_translate_languages[1:], button_size=(150, 30), @@ -247,7 +247,6 @@ class TranslateWindow: # ba_meta require api 9 - # ba_meta export babase.Plugin class byFreaku(babase.Plugin): def __init__(self): From 23f90dca53416434f33928162d92e05b1dd2c5e0 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 19:57:18 +0530 Subject: [PATCH 09/14] utilities.json update --- plugins/utilities.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index f8761eb..9578e42 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -382,12 +382,7 @@ } ], "versions": { - "1.1.3": { - "api_version": 9, - "commit_sha": "5d5c19b", - "released_on": "27-10-2025", - "md5sum": "8e8551b9a75a34959c12bfd0b3051ed3" - }, + "1.1.3": null, "1.1.2": { "api_version": 9, "commit_sha": "e604a3c", @@ -2322,4 +2317,4 @@ } } } -} \ No newline at end of file +} From 09c632df774a91bb608f001dd1ef7149fda1785d Mon Sep 17 00:00:00 2001 From: Freaku17 <92618708+Freaku17@users.noreply.github.com> Date: Mon, 27 Oct 2025 14:27:46 +0000 Subject: [PATCH 10/14] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 9578e42..e796ad9 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -382,7 +382,12 @@ } ], "versions": { - "1.1.3": null, + "1.1.3": { + "api_version": 9, + "commit_sha": "23f90dc", + "released_on": "27-10-2025", + "md5sum": "41f8d6185eda5571fd4c48f634e8d59d" + }, "1.1.2": { "api_version": 9, "commit_sha": "e604a3c", @@ -2317,4 +2322,4 @@ } } } -} +} \ No newline at end of file From b3011a8f6e2ce4f595d74f26bcc71b40d5e95bcc Mon Sep 17 00:00:00 2001 From: Ayush Saini <36878972+imayushsaini@users.noreply.github.com> Date: Mon, 27 Oct 2025 23:03:41 +0530 Subject: [PATCH 11/14] Update BCSSERVER to new domain --- plugins/utilities/advanced_party_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/utilities/advanced_party_window.py b/plugins/utilities/advanced_party_window.py index bcf0fb3..f1a8f4e 100644 --- a/plugins/utilities/advanced_party_window.py +++ b/plugins/utilities/advanced_party_window.py @@ -55,7 +55,7 @@ import urllib.parse from _thread import start_new_thread import threading version_str = "7" -BCSSERVER = 'mods.ballistica.workers.dev' +BCSSERVER = 'mods.69420555.xyz' cache_chat = [] connect = bs.connect_to_party From 0bab9ba916098228dd5bb0004810593522ebcb1b Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Tue, 28 Oct 2025 12:49:26 +0530 Subject: [PATCH 12/14] Add files via upload --- plugins/utilities/advanced_party_window.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/plugins/utilities/advanced_party_window.py b/plugins/utilities/advanced_party_window.py index f1a8f4e..6bdfd2e 100644 --- a/plugins/utilities/advanced_party_window.py +++ b/plugins/utilities/advanced_party_window.py @@ -55,7 +55,7 @@ import urllib.parse from _thread import start_new_thread import threading version_str = "7" -BCSSERVER = 'mods.69420555.xyz' +BCSSERVER = 'mods.ballistica.workers.dev' cache_chat = [] connect = bs.connect_to_party @@ -393,7 +393,10 @@ customchatThread().run() class ModifiedPartyWindow(bascenev1lib_party.PartyWindow): def __init__(self, origin: Sequence[float] = (0, 0)): - self._uiopenstate = bui.UIOpenState('classicparty') + if _babase.env().get("build_number") >= 22597: + self._uiopenstate = bui.UIOpenState('classicparty') + else: + bui.set_party_window_open(True) self._r = 'partyWindow' self.msg_user_selected = '' self._popup_type: Optional[str] = None @@ -703,7 +706,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow): shadow=0.3, flatness=1.0) bui.textwidget(edit=txt, - on_activate_call=babase.Call( + on_activate_call=babase.CallPartial( self._on_chat_press, msg, txt, showMute)) @@ -784,7 +787,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow): cbtn = bui.buttonwidget( parent=cnt, label=babase.Lstr(resource='cancelText'), - on_activate_call=babase.Call( + on_activate_call=babase.CallPartial( lambda c: bui.containerwidget(edit=c, transition='out_scale'), cnt), size=(180, 60), @@ -794,7 +797,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow): label='Rename', size=(180, 60), position=(c_width - 230, 30), - on_activate_call=babase.Call( + on_activate_call=babase.CallPartial( self._add_nick, arg), autoselect=True) bui.widget(edit=cbtn, right_widget=okb) @@ -1317,7 +1320,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow): # client_id is more readily available though). try: bui.textwidget(edit=widget, - on_activate_call=babase.Call( + on_activate_call=babase.CallPartial( self._on_party_member_press, self._roster[index]['client_id'], is_host, widget)) From a36e3c21941ee25815ab6dc8b36956ed1aa2bef3 Mon Sep 17 00:00:00 2001 From: ! Freaku <92618708+Freaku17@users.noreply.github.com> Date: Tue, 28 Oct 2025 12:50:23 +0530 Subject: [PATCH 13/14] Update utilities.json --- plugins/utilities.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index e796ad9..4c746c8 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1042,12 +1042,7 @@ } ], "versions": { - "2.1.5": { - "api_version": 9, - "commit_sha": "5d5c19b", - "released_on": "27-10-2025", - "md5sum": "8220ef630cb598bcfe968d4f8b9edbf0" - }, + "2.1.5": null, "2.1.4": { "api_version": 9, "commit_sha": "e604a3c", @@ -2322,4 +2317,4 @@ } } } -} \ No newline at end of file +} From ef638be3a5962f3dbf84ef92bb349a6df42893d2 Mon Sep 17 00:00:00 2001 From: Freaku17 <92618708+Freaku17@users.noreply.github.com> Date: Tue, 28 Oct 2025 07:20:49 +0000 Subject: [PATCH 14/14] [ci] apply-version-metadata --- plugins/utilities.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities.json b/plugins/utilities.json index 4c746c8..c339e9b 100644 --- a/plugins/utilities.json +++ b/plugins/utilities.json @@ -1042,7 +1042,12 @@ } ], "versions": { - "2.1.5": null, + "2.1.5": { + "api_version": 9, + "commit_sha": "a36e3c2", + "released_on": "28-10-2025", + "md5sum": "3709d73385137f6ae47ee1481213a014" + }, "2.1.4": { "api_version": 9, "commit_sha": "e604a3c", @@ -2317,4 +2322,4 @@ } } } -} +} \ No newline at end of file