diff --git a/iidx@asphyxia/README.md b/iidx@asphyxia/README.md index 8cda96e..c592811 100644 --- a/iidx@asphyxia/README.md +++ b/iidx@asphyxia/README.md @@ -1,6 +1,6 @@ # beatmaniaIIDX -Plugin Version: **v0.1.12** +Plugin Version: **v0.1.13** --- @@ -115,6 +115,7 @@ Changelogs - Fixed where shop name always displayed as "CORE" instead of saved one - Fixed where rlist STEP UP achieve value was fixed value instead of saved one - Fixed where fcombo isn't saving (Resort Anthem) + - Removed shop.savename as not working as intented. **v0.1.13** - - Added Initial support for DJ TROOPERS (WIP) + - Added Initial support for DJ TROOPERS diff --git a/iidx@asphyxia/handlers/shop.ts b/iidx@asphyxia/handlers/shop.ts index 76cd9ce..615024e 100644 --- a/iidx@asphyxia/handlers/shop.ts +++ b/iidx@asphyxia/handlers/shop.ts @@ -10,19 +10,20 @@ export const shopgetname: EPR = async (info, data, send) => { await DB.Insert({ collection: "shop_data", - opname: "CORE", + opname: "CORE", pid: 57, cls_opt: 0, }); return send.object( K.ATTR({ - opname: "CORE", + opname: "CORE", pid: "57", cls_opt: "0", hr: "0", mi: "0", - }) + }), + { encoding: "shift_jis" } ); } @@ -33,24 +34,13 @@ export const shopgetname: EPR = async (info, data, send) => { cls_opt: String(shop_data.cls_opt), hr: "0", mi: "0", - }) + }), + { encoding: "shift_jis" } ); }; export const shopsavename: EPR = async (info, data, send) => { - await DB.Upsert( - { - collection: "shop_data", - }, - { - $set: { - opname: $(data).attr().opname, - pid: parseInt($(data).attr().pid), - cls_opt: parseInt($(data).attr().cls_opt), - }, - } - ); - + // removed saving code as opname attribute being sent as shift_jis but KDataReader read as utf-8 // return send.success(); };