From c2ee09bce02df17f14c724e424c2e5cd84a30511 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Tue, 2 May 2023 11:41:35 -0400 Subject: [PATCH] diva: integrate latest changes --- titles/diva/base.py | 37 ++---------------------------------- titles/diva/handlers/user.py | 2 +- 2 files changed, 3 insertions(+), 36 deletions(-) diff --git a/titles/diva/base.py b/titles/diva/base.py index 84e0516..bc77b27 100644 --- a/titles/diva/base.py +++ b/titles/diva/base.py @@ -44,8 +44,8 @@ class DivaBase: resp.atnd_prm3[0] = 100 resp.atnd_prm3[1] = 0 resp.atnd_prm3[10:13] = [2, 3, 4] - resp.atnd_prm3[16: 19] = [3, 4, 5] - resp.atnd_prm3[22: 25] = [4, 5, 6] + resp.atnd_prm3[16:19] = [3, 4, 5] + resp.atnd_prm3[22:25] = [4, 5, 6] resp.atnd_prm3[80:] = [0] * 20 resp.atnd_prm3[28:79] = [5,6,7,4,4,4,9,10,14,5,10,10,25,20,50,30,90,5, 10,10,25,20,50,30,90,5,10,10,25,20,50,30,90,5,10,10,25,20,50,30,90, @@ -488,35 +488,6 @@ class DivaBase: resp.dsp_clr_sts = {profile['dsp_clr_sts']} resp.rgo_sts = {profile['rgo_sts']} - response += "&accept_idx=100" - response += f"&hp_vol={profile['hp_vol']}" - response += f"&btn_se_vol={profile['btn_se_vol']}" - response += f"&btn_se_vol2={profile['btn_se_vol2']}" - response += f"&sldr_se_vol2={profile['sldr_se_vol2']}" - response += f"&sort_kind={profile['sort_kind']}" - response += f"&player_name={profile['player_name']}" - response += f"&lv_num={profile['lv_num']}" - response += f"&lv_pnt={profile['lv_pnt']}" - response += f"&lv_efct_id={profile['lv_efct_id']}" - response += f"&lv_plt_id={profile['lv_plt_id']}" - response += f"&mdl_have={mdl_have}" - response += f"&cstmz_itm_have={cstmz_itm_have}" - response += f"&use_pv_mdl_eqp={int(profile['use_pv_mdl_eqp'])}" - response += f"&use_mdl_pri={int(profile['use_mdl_pri'])}" - response += f"&use_pv_skn_eqp={int(profile['use_pv_skn_eqp'])}" - response += f"&use_pv_btn_se_eqp={int(profile['use_pv_btn_se_eqp'])}" - response += f"&use_pv_sld_se_eqp={int(profile['use_pv_sld_se_eqp'])}" - response += f"&use_pv_chn_sld_se_eqp={int(profile['use_pv_chn_sld_se_eqp'])}" - response += f"&use_pv_sldr_tch_se_eqp={int(profile['use_pv_sldr_tch_se_eqp'])}" - response += f"&vcld_pts={profile['lv_efct_id']}" - response += f"&nxt_pv_id={profile['nxt_pv_id']}" - response += f"&nxt_dffclty={profile['nxt_dffclty']}" - response += f"&nxt_edtn={profile['nxt_edtn']}" - response += f"&dsp_clr_brdr={profile['dsp_clr_brdr']}" - response += f"&dsp_intrm_rnk={profile['dsp_intrm_rnk']}" - response += f"&dsp_clr_sts={profile['dsp_clr_sts']}" - response += f"&rgo_sts={profile['rgo_sts']}" - # Contest progress response += f"&cv_cid=-1,-1,-1,-1" response += f"&cv_sc=-1,-1,-1,-1" @@ -600,10 +571,6 @@ class DivaBase: # Store stuff to add to rework response += f"&mdl_eqp_tm={self.time_lut}" - mdl_eqp_ary = "-999,-999,-999" - c_itm_eqp_ary = "-999,-999,-999,-999,-999,-999,-999,-999,-999,-999,-999,-999" - ms_itm_flg_ary = "1,1,1,1,1,1,1,1,1,1,1,1" - # get the common_modules, customize_items and customize_item_flags # from the profile shop if profile_shop: diff --git a/titles/diva/handlers/user.py b/titles/diva/handlers/user.py index 726bcba..737aff2 100644 --- a/titles/diva/handlers/user.py +++ b/titles/diva/handlers/user.py @@ -108,4 +108,4 @@ class StartResponse(BaseResponse): self.mdl_eqp_tm: str = parse.quote(datetime.now().strftime(DivaConstants.LUT_TIME_FMT)) self.mdl_eqp_ary = ",".join(["-999"] * 3) self.c_itm_eqp_ary = ",".join(["-999"] * 12) - self.ms_itm_flg_ary = ",".join(["-999"] * 12) + self.ms_itm_flg_ary = ",".join(["1"] * 12)