diff --git a/gitadora@asphyxia/handlers/profiles.ts b/gitadora@asphyxia/handlers/profiles.ts index c93ccbd..121549b 100644 --- a/gitadora@asphyxia/handlers/profiles.ts +++ b/gitadora@asphyxia/handlers/profiles.ts @@ -391,20 +391,11 @@ export const getPlayer: EPR = async (info, data, send) => { player: K.ATTR({ 'no': `${no}` }, { now_date: K.ITEM('u64', time), secretmusic: { // TODO: FIX THIS - music: _.merge(_.range(0,2800), _.range(5000, 5100)).map(mid => { - return { - musicid: K.ITEM('s32', mid), - seq: K.ITEM('u16', 255), - kind: K.ITEM('s32', 40), - } - }), - }, - trbitem: { // TODO: FIX THIS - item: _.range(0,750).map(id => { - return { - itemid: K.ITEM('s32', id), - } - }), + music: { + musicid: K.ITEM('s32', 0), + seq: K.ITEM('u16', 255), + kind: K.ITEM('s32', 40), + } }, chara_list: {}, title_parts: {}, diff --git a/gitadora@asphyxia/index.ts b/gitadora@asphyxia/index.ts index 9bf221c..7902cc6 100644 --- a/gitadora@asphyxia/index.ts +++ b/gitadora@asphyxia/index.ts @@ -66,9 +66,12 @@ export function register() { MultiRoute('gametop.get', getPlayer); MultiRoute('gameend.regist', savePlayer); + // Misc + R.Route('bemani_gakuen.get_music_info', true) + R.Unhandled(async (info, data, send) => { if (["eventlog"].includes(info.module)) return; - logger.error(`Received Unhandled Response on ${info.method} by ${info.model}/${info.module}`) + logger.error(`Received Unhandled Request on Method "${info.method}" by ${info.model}/${info.module}`) logger.debugError(`Received Request: ${JSON.stringify(data, null, 4)}`) }) } \ No newline at end of file