From 0fb45f5e657f760bafe8c7fe9242dce5340ed75f Mon Sep 17 00:00:00 2001 From: Freaku17 <92618708+Freaku17@users.noreply.github.com> Date: Wed, 31 Aug 2022 22:51:42 +0530 Subject: [PATCH 1/4] Removing encrypted credits in volleyball --- plugins/minigames/volleyball.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/minigames/volleyball.py b/plugins/minigames/volleyball.py index 5d8907a..c4bae45 100644 --- a/plugins/minigames/volleyball.py +++ b/plugins/minigames/volleyball.py @@ -365,8 +365,16 @@ class VolleyBallGame(ba.TeamGameActivity[Player, Team]): }))) self._update_scoreboard() ba.playsound(self._chant_sound) - import base64 - exec(base64.b64decode("aWYgc2VsZi5jcmVkaXRfdGV4dDoKICAgICMjIFBlb3BsZSBzdGVhbGVkIGNyZWRpdHMgc28gdGhhdHMgd2h5IEkgZW5jb2RlZCB0aGlzLi4uCiAgICAjIyBFdmVuIHRobyB0aGVyZSBpcyBhIG9wdGlvbiwgdGhleSBjaGFuZ2VkIGNyZWF0ZWQgYnkKICAgICMjIGxpa2Ugd3RmIGlzIHRoaWVyIHByb2JsZW0/PwogICAgCiAgICAjIyBBbnl3YXlzIGhhdmUgYSBnb29kIGRheSEKICAgIHQgPSBiYS5uZXdub2RlKCd0ZXh0JywKICAgICAgICAgICAgICAgYXR0cnM9eyAndGV4dCc6IkNyZWF0ZWQgYnkg7oGIRnJlYWt1XG5Wb2xsZXlCYWxsIiwgIyMgRGlzYWJsZSAnRW5hYmxlIEJvdHRvbSBDcmVkaXRzJyB3aGVuIG1ha2luZyBwbGF5bGlzdCwgTm8gbmVlZCB0byBlZGl0IHRoaXMgbG92ZWx5Li4uCiAgICAgICAgJ3NjYWxlJzowLjcsCiAgICAgICAgJ3Bvc2l0aW9uJzooMCwwKSwgI0xldHMgaG9wZSBoZSB1c2VzIFRWIGJvcmRlciBvZiBzZXR0aW5ncz5HcmFwaGljcwogICAgICAgICdzaGFkb3cnOjAuNSwKICAgICAgICAnZmxhdG5lc3MnOjEuMiwKICAgICAgICAnY29sb3InOigxLCAxLCAxKSwKICAgICAgICAnaF9hbGlnbic6J2NlbnRlcicsCiAgICAgICAgJ3ZfYXR0YWNoJzonYm90dG9tJ30p").decode('UTF-8')) + if self.credit_text: + t = ba.newnode('text', + attrs={ 'text':"Created by Freaku\nVolleyBall", ## Disable 'Enable Bottom Credits' when making playlist, No need to edit this lovely... + 'scale':0.7, + 'position':(0,0), + 'shadow':0.5, + 'flatness':1.2, + 'color':(1, 1, 1), + 'h_align':'center', + 'v_attach':'bottom'}) shared = SharedObjects.get() self.blocks.append(ba.NodeActor(ba.newnode('region', attrs={'position': (0, 2.4, 0), 'scale': ( 0.8, 6, 20), 'type': 'box', 'materials': (self._fake_wall_material, )}))) From 5d2b2bc9dd75db9cd4a8b454f19b3c3e69e771f8 Mon Sep 17 00:00:00 2001 From: Freaku17 Date: Wed, 31 Aug 2022 17:22:04 +0000 Subject: [PATCH 2/4] [ci] auto-format --- plugins/minigames/volleyball.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/minigames/volleyball.py b/plugins/minigames/volleyball.py index c4bae45..d4aeacc 100644 --- a/plugins/minigames/volleyball.py +++ b/plugins/minigames/volleyball.py @@ -367,14 +367,14 @@ class VolleyBallGame(ba.TeamGameActivity[Player, Team]): ba.playsound(self._chant_sound) if self.credit_text: t = ba.newnode('text', - attrs={ 'text':"Created by Freaku\nVolleyBall", ## Disable 'Enable Bottom Credits' when making playlist, No need to edit this lovely... - 'scale':0.7, - 'position':(0,0), - 'shadow':0.5, - 'flatness':1.2, - 'color':(1, 1, 1), - 'h_align':'center', - 'v_attach':'bottom'}) + attrs={'text': "Created by Freaku\nVolleyBall", # Disable 'Enable Bottom Credits' when making playlist, No need to edit this lovely... + 'scale': 0.7, + 'position': (0, 0), + 'shadow': 0.5, + 'flatness': 1.2, + 'color': (1, 1, 1), + 'h_align': 'center', + 'v_attach': 'bottom'}) shared = SharedObjects.get() self.blocks.append(ba.NodeActor(ba.newnode('region', attrs={'position': (0, 2.4, 0), 'scale': ( 0.8, 6, 20), 'type': 'box', 'materials': (self._fake_wall_material, )}))) From 0bc952246bdbf2f7f245767a9dfe86163067f332 Mon Sep 17 00:00:00 2001 From: Freaku17 <92618708+Freaku17@users.noreply.github.com> Date: Wed, 31 Aug 2022 22:57:04 +0530 Subject: [PATCH 3/4] Update minigames.json --- plugins/minigames.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/minigames.json b/plugins/minigames.json index 8cf7288..d6537d3 100644 --- a/plugins/minigames.json +++ b/plugins/minigames.json @@ -33,13 +33,8 @@ } ], "versions": { - "1.1.0": { - "api_version": 7, - "commit_sha": "0553bb9", - "released_on": "31-08-2022", - "md5sum": "9cd1416e086597684ceb17a5712791b1" - } + "1.1.0": null } } } -} \ No newline at end of file +} From efc1bda88754f04473b31f7cbaf5bd686284ffca Mon Sep 17 00:00:00 2001 From: Freaku17 Date: Wed, 31 Aug 2022 17:27:21 +0000 Subject: [PATCH 4/4] [ci] apply-version-metadata --- plugins/minigames.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/minigames.json b/plugins/minigames.json index d6537d3..b262ccb 100644 --- a/plugins/minigames.json +++ b/plugins/minigames.json @@ -33,8 +33,13 @@ } ], "versions": { - "1.1.0": null + "1.1.0": { + "api_version": 7, + "commit_sha": "0bc9522", + "released_on": "31-08-2022", + "md5sum": "a7ad7f1ac908fd871bcbcf665d49828c" + } } } } -} +} \ No newline at end of file