From 29ad2097e3bdc5c8c76460fb23edd4b9d0e6ed15 Mon Sep 17 00:00:00 2001 From: Ayush Saini <36878972+imayushsaini@users.noreply.github.com> Date: Sun, 2 Oct 2022 17:27:15 +0530 Subject: [PATCH] updated changelogs --- README.md | 8 +- dist/ba_root/mods/changelogs.json | 12 +- dist/ba_root/mods/maps/WoodenFloor.py | 147 ------------------------ dist/ba_root/mods/tools/ServerUpdate.py | 6 +- 4 files changed, 19 insertions(+), 154 deletions(-) diff --git a/README.md b/README.md index ba5bad3..e0c2ff7 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Bombsquad-Ballistica-Modded-Server -Modder server scripts to host ballistica (Bombsquad).Running on BS1.7.2. +Modder server scripts to host ballistica (Bombsquad).Running on BS1.7.10. ## Requirements -- Ubuntu 20 +- Ubuntu 20 and above - python3.10 ## Getting Started @@ -33,6 +33,7 @@ Here you can ban player , mute them , disable their kick votes ## Features - Rank System. - Chat commands. +- V2 Account with cloud console for server. - Easy role management , create 1000 of roles as you wish add specific chat command to the role , give tag to role ..many more. - Rejoin cooldown. - Leaderboard , top 3 rank players name on top right corner. @@ -62,6 +63,9 @@ Here you can ban player , mute them , disable their kick votes - Integrated ElPatronPowerups. - Auto switch to coop mode when players are less then threshold. - Change playlist on fly with playlist code or name , i.e /playlist teams , /playlist coop , /playlist 34532 +- rotate prop nodes with node.changerotation(x,y,z) +- set 2d mode with _ba.set_2d_mode(true) +- set 2d plane with _ba.set_2d_plane(z) - beta , not works with spaz.fly = true. - New Splitted Team in game score screen. - New final score screen , StumbledScoreScreen. - other small small feature improvement here there find yourself. diff --git a/dist/ba_root/mods/changelogs.json b/dist/ba_root/mods/changelogs.json index 35d5b34..547b5fb 100644 --- a/dist/ba_root/mods/changelogs.json +++ b/dist/ba_root/mods/changelogs.json @@ -26,6 +26,14 @@ "69":{ "log":"added StumbledScoreScreen, End Vote System , in-game pop chat,error logging , other bug fix", "time":"1st June 2022" + }, + "70":{ + "log":"BS 1.7.5 update , more games and maps", + "time":"17 July 2022" + }, + "71":{ + "log":"BS 1.7.10 update , bug fix , V2 account support, prop rotation", + "time":"2 Oct 2022" } - -} \ No newline at end of file + +} diff --git a/dist/ba_root/mods/maps/WoodenFloor.py b/dist/ba_root/mods/maps/WoodenFloor.py index 62a904c..27229af 100644 --- a/dist/ba_root/mods/maps/WoodenFloor.py +++ b/dist/ba_root/mods/maps/WoodenFloor.py @@ -108,153 +108,6 @@ class WoodenFloor(ba.Map): zpos = (point.z - box_position[2]) / box_scale[2] return xpos < -0.5 or xpos > 0.5 or zpos < -0.5 or zpos > 0.5 - def map_extend(self): - pass - # p=[-6,-4.3,-2.6,-0.9,0.8,2.5,4.2,5.9] - # q=[-4,-2.3,-0.6,1.1,2.8,4.5,6.2] - # for i in p: - # for j in q: - # self.create_ramp(i,j) - - # self.create_ramp(10.9) - # self.ground() - - def ground(self): - shared = SharedObjects.get() - self._real_wall_material=ba.Material() - - self._real_wall_material.add_actions( - - actions=( - ('modify_part_collision', 'collide', True), - ('modify_part_collision', 'physical', True) - - )) - self.mat = ba.Material() - self.mat.add_actions( - - actions=( ('modify_part_collision','physical',False), - ('modify_part_collision','collide',False)) - ) - spaz_collide_mat=ba.Material() - spaz_collide_mat.add_actions( - conditions=('they_have_material',shared.player_material), - actions=( - ('modify_part_collision', 'collide', True), - ( 'call','at_connect',ba.Call(self._handle_player_collide )), - ), - ) - pos=(0,0.1,-5) - self.main_region=ba.newnode('region',attrs={'position': pos,'scale': (21,0.001,20),'type': 'box','materials': [shared.footing_material,self._real_wall_material,spaz_collide_mat]}) - - - def create_ramp_111(self,x,z): - - # print("creating pad ar x "+str(x)+" and z"+str(z)) - - try: - _ba.prop_axis(1,0,0) - except: - pass - shared = SharedObjects.get() - self._real_wall_material=ba.Material() - - self._real_wall_material.add_actions( - - actions=( - ('modify_part_collision', 'collide', True), - ('modify_part_collision', 'physical', True) - - )) - self.mat = ba.Material() - self.mat.add_actions( - - actions=( ('modify_part_collision','physical',False), - ('modify_part_collision','collide',False)) - ) - spaz_collide_mat=ba.Material() - # spaz_collide_mat.add_actions( - # conditions=('they_have_material',shared.player_material), - # actions=( - # ('modify_part_collision', 'collide', True), - # ( 'call','at_connect',ba.Call(self._handle_player_pad_collide,real )), - # ), - # ) - pos=(x,0,z) - ud_1_r=ba.newnode('region',attrs={'position': pos,'scale': (1.5,1,1.5),'type': 'box','materials': [shared.footing_material,self._real_wall_material ]}) - - node = ba.newnode('prop', - owner=ud_1_r, - attrs={ - 'model':ba.getmodel('image1x1'), - 'light_model':ba.getmodel('powerupSimple'), - 'position':(2,7,2), - 'body':'puck', - 'shadow_size':0.0, - 'velocity':(0,0,0), - 'color_texture':ba.gettexture('tnt'), - 'model_scale':1.5, - 'reflection_scale':[1.5], - 'materials':[self.mat, shared.object_material,shared.footing_material], - - 'density':9000000000 - }) - mnode = ba.newnode('math', - owner=ud_1_r, - attrs={ - 'input1': (0, 0.6, 0), - 'operation': 'add' - }) - - - - ud_1_r.connectattr('position', mnode, 'input2') - mnode.connectattr('output', node, 'position') - - - # base / bottom ==================================== - - # pos=(0.0, 2.004164695739746, -3.3991328477859497) - # self.ud_2_r=ba.newnode('region',attrs={'position': pos,'scale': (2,1,2),'type': 'box','materials': [shared.footing_material,self._real_wall_material,spaz_collide_mat ]}) - - # self.node2 = ba.newnode('prop', - # owner=self.ud_2_r, - # attrs={ - # 'model':ba.getmodel('bridgitLevelBottom'), - # 'light_model':ba.getmodel('powerupSimple'), - # 'position':(2,7,2), - # 'body':'puck', - # 'shadow_size':0.0, - # 'velocity':(0,0,0), - # 'color_texture':ba.gettexture('bridgitLevelColor'), - - # 'reflection_scale':[1.5], - # 'materials':[self.mat, shared.object_material,shared.footing_material], - - # 'density':9000000000 - # }) - # mnode = ba.newnode('math', - # owner=self.ud_2_r, - # attrs={ - # 'input1': (0, -1.8, 0), - # 'operation': 'add' - # }) - - # self.ud_2_r.connectattr('position', mnode, 'input2') - # mnode.connectattr('output', self.node2, 'position') - - # /// region to stand long bar =============== - - - # pos=(-9.67+loc,0.1,0+z_marg) - # self.left_region=ba.newnode('region',attrs={'position': pos,'scale': (2.4,0.7,3.2),'type': 'box','materials': [shared.footing_material,self._real_wall_material,spaz_collide_mat ]}) - - # pos=(-5.67+loc,0.1,0+z_marg) - # self.center_region=ba.newnode('region',attrs={'position': pos,'scale': (8,0.7,1),'type': 'box','materials': [shared.footing_material,self._real_wall_material,spaz_collide_mat ]}) - # pos=(-1.3+loc,0.1,0+z_marg) - # self.right_region=ba.newnode('region',attrs={'position': pos,'scale': (2.4,0.7,3.2),'type': 'box','materials': [shared.footing_material,self._real_wall_material,spaz_collide_mat ]}) - - def _handle_player_collide(self): try: player = ba.getcollision().opposingnode.getdelegate( diff --git a/dist/ba_root/mods/tools/ServerUpdate.py b/dist/ba_root/mods/tools/ServerUpdate.py index 3ff41dc..4ab8cfc 100644 --- a/dist/ba_root/mods/tools/ServerUpdate.py +++ b/dist/ba_root/mods/tools/ServerUpdate.py @@ -4,7 +4,7 @@ import _thread import urllib.request from efro.terminal import Clr import json -VERSION=69 +VERSION=71 def check(): _thread.start_new_thread(updateProfilesJson,()) @@ -25,7 +25,7 @@ def updateProfilesJson(): def fetchChangelogs(): url="https://raw.githubusercontent.com/imayushsaini/Bombsquad-Ballistica-Modded-Server/public-server/dist/ba_root/mods/changelogs.json" - + if 2*2==4: try: data=urllib.request.urlopen(url) @@ -58,7 +58,7 @@ def checkChangelog(): msg=changelog[log]["log"] print(f'{Clr.MAG} {msg} {Clr.RST}',flush=True) - +