From 2af97e685d113816561731c376afd449f8d1dc93 Mon Sep 17 00:00:00 2001 From: duel0213 <156279499+duel0213@users.noreply.github.com> Date: Sun, 11 Oct 2026 22:16:18 +0900 Subject: [PATCH] IIDX: Fixed where unable to login in 9th Style IIDX: Fixed where CYBER LOADER event data get saved incorrectly IIDX: Fixed where Entry background brightness option doesn't get saved IIDX: Fixed where classic_hispeed option doesn't get applied IIDX: Add qpro_back on shop_rank_data response --- iidx@asphyxia/README.md | 8 ++- iidx@asphyxia/handlers/music.ts | 2 + iidx@asphyxia/handlers/pc.ts | 4 +- iidx@asphyxia/handlers/userdata.ts | 2 +- iidx@asphyxia/util.ts | 70 +++++++-------------- iidx@asphyxia/webui/asset/js/setting.js | 2 +- iidx@asphyxia/webui/profile_----setting.pug | 2 +- 7 files changed, 35 insertions(+), 55 deletions(-) diff --git a/iidx@asphyxia/README.md b/iidx@asphyxia/README.md index 73344b2..8c2a4f0 100644 --- a/iidx@asphyxia/README.md +++ b/iidx@asphyxia/README.md @@ -1,6 +1,6 @@ # beatmaniaIIDX -Plugin Version: **v0.1.18** +Plugin Version: **v0.1.18a** --- @@ -201,3 +201,9 @@ Changelogs - Fixed where unable to login after playing a while on old versions - Improved WebUI customization settings with descriptive dropdown menus (@COLV9) - Improved WebUI score viewer with song title mapping, detailed difficulty breakdown and sorting (@COLV9) + +**v0.1.18a** + - Fixed where unable to login (9th Style) + - Fixed where CYBER LOADER event data get saved incorrectly (Sparkle Shower) + - Fixed where Entry background brightness option doesn't get saved (Sparkle Shower) + - Fixed where classic\_hispeed option doesn't get saved on WebUI diff --git a/iidx@asphyxia/handlers/music.ts b/iidx@asphyxia/handlers/music.ts index fb620d5..e200ee6 100644 --- a/iidx@asphyxia/handlers/music.ts +++ b/iidx@asphyxia/handlers/music.ts @@ -1115,6 +1115,7 @@ export const musicreg: EPR = async (info, data, send) => { face: String(rankscore[3][2]), body: String(rankscore[3][3]), hand: String(rankscore[3][4]), + back: String(rankscore[3][5]), myFlg: String(1), s_baron: String(0), p_baron: String(0), @@ -1140,6 +1141,7 @@ export const musicreg: EPR = async (info, data, send) => { face: String(rankscore[3][2]), body: String(rankscore[3][3]), hand: String(rankscore[3][4]), + back: String(rankscore[3][5]), myFlg: String(0), s_baron: String(0), p_baron: String(0), diff --git a/iidx@asphyxia/handlers/pc.ts b/iidx@asphyxia/handlers/pc.ts index fe166f2..71063d6 100644 --- a/iidx@asphyxia/handlers/pc.ts +++ b/iidx@asphyxia/handlers/pc.ts @@ -2212,7 +2212,7 @@ export const pcsave: EPR = async (info, data, send) => { const hasTowerData = !(_.isNil($(data).element("tower_data"))); const hasSkinData = !(_.isNil($(data).element("skin_equip"))) || !(_.isNil($(data).element("pskin_equip"))); const hasTDJSkinData = !(_.isNil($(data).element("tdjskin_equip"))) || !(_.isNil($(data).element("vskin_equip"))); - const hasVisualSkinData = !(_.isNil($(data).element("vskin_customize_setting"))); + const hasVisualSkinData = !(_.isNil($(data).element("vskin_setting"))); const hasMusicFilter = !(_.isNil($(data).element("music_filter"))); const hasBadgeData = !(_.isNil($(data).element("badge"))); const hasActivityData = !(_.isNil($(data).element("activity_data"))); @@ -5037,7 +5037,7 @@ export const pcsave: EPR = async (info, data, send) => { }, { $set: { - play_num: Number(vocaloEvt.attr().play_num), + play_num: Number(vocaloEvt.attr().event_play_num), last_select_music: Number(vocaloEvt.attr().last_select_music), point_get: Number(vocaloEvt.attr().point_get), point_use_0: Number(vocaloEvt.attr().point_use_0), diff --git a/iidx@asphyxia/handlers/userdata.ts b/iidx@asphyxia/handlers/userdata.ts index 467fc77..96a2411 100644 --- a/iidx@asphyxia/handlers/userdata.ts +++ b/iidx@asphyxia/handlers/userdata.ts @@ -9,7 +9,7 @@ export const userdataread: EPR = async (info, data, send) => { return send.object({ b: K.ITEM("str", user.userdata), - }, { format: false, header: false }); + }, { status: "SOK", format: false, header: false }); } export const userdatawrite: EPR = async (info, data, send) => { diff --git a/iidx@asphyxia/util.ts b/iidx@asphyxia/util.ts index c1b1770..a5a7496 100644 --- a/iidx@asphyxia/util.ts +++ b/iidx@asphyxia/util.ts @@ -166,40 +166,20 @@ export async function ReftoPcdata(refid: string, version: number) { version: version, }); - let p_data = []; + let p_data: number[] = []; try { - switch (version) { - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - p_data = [ - pcdata.sgid, - pcdata.dgid, - pcdata.sach, - pcdata.dach, - pcdata.st_sp_ach, - pcdata.st_dp_ach, - ]; - break; - default: - p_data = [ - pcdata.sgid, - pcdata.dgid, - pcdata.sach, - pcdata.dach, - ]; - break; - } + p_data = [ + pcdata.sgid ?? 0, + pcdata.dgid ?? 0, + pcdata.sach ?? 0, + pcdata.dach ?? 0, + ]; - // this seems leftover from tricoro but still being referenced until HEROIC VERSE [st_sp_ach/st_dp_ach] // - for (let a = 0; a < p_data.length; a++) { - if (_.isNil(p_data[a])) p_data[a] = 0; + if (version >= 20) { + // this seems leftover from tricoro but still being referenced until HEROIC VERSE [st_sp_ach/st_dp_ach] // + p_data.push(pcdata.st_sp_ach ?? 0); + p_data.push(pcdata.st_dp_ach ?? 0); } - } catch { p_data = [0, 0, 0, 0, 0, 0]; } @@ -213,26 +193,18 @@ export async function ReftoQPRO(refid: string, version: number) { version: version, }); - let qpro_data = []; + let qpro_data: number[] = []; try { + qpro_data = [ + custom.qpro_hair ?? 0, + custom.qpro_head ?? 0, + custom.qpro_face ?? 0, + custom.qpro_body ?? 0, + custom.qpro_hand ?? 0 + ]; + if (version >= 31) { - qpro_data = [ - custom.qpro_hair, - custom.qpro_head, - custom.qpro_face, - custom.qpro_body, - custom.qpro_hand, - custom.qpro_back, - ]; - } - else { - qpro_data = [ - custom.qpro_hair, - custom.qpro_head, - custom.qpro_face, - custom.qpro_body, - custom.qpro_hand, - ]; + qpro_data.push(custom.qpro_back ?? 0); } } catch { qpro_data = [0, 0, 0, 0, 0, 0]; diff --git a/iidx@asphyxia/webui/asset/js/setting.js b/iidx@asphyxia/webui/asset/js/setting.js index 929664c..a8502cb 100644 --- a/iidx@asphyxia/webui/asset/js/setting.js +++ b/iidx@asphyxia/webui/asset/js/setting.js @@ -53,7 +53,7 @@ $("#version").on("change", function () { $("#rival_info").prop("checked", data["custom"].rival_info); $("#hide_playcount").prop("checked", data["custom"].hide_playcount); $("#disable_graph_cutin").prop("checked", data["custom"].disable_graph_cutin); - $("#class_hispeed").prop("checked", data["custom"].class_hispeed); + $("#classic_hispeed").prop("checked", data["custom"].classic_hispeed); $("#rival_played_folder").prop("checked", data["custom"].rival_played_folder); $("#hide_iidxid").prop("checked", data["custom"].hide_iidxid); diff --git a/iidx@asphyxia/webui/profile_----setting.pug b/iidx@asphyxia/webui/profile_----setting.pug index ea15809..f3ca996 100644 --- a/iidx@asphyxia/webui/profile_----setting.pug +++ b/iidx@asphyxia/webui/profile_----setting.pug @@ -1405,7 +1405,7 @@ div .field label.label Classic Hi-SPEED .control - input(type="checkbox" name="class_hispeed", id="class_hispeed", checked=Boolean(custom.class_hispeed)) + input(type="checkbox" name="classic_hispeed", id="classic_hispeed", checked=Boolean(custom.classic_hispeed)) .field label.label Rival Played Folder .control