mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-04-22 17:27:25 -05:00
fix: 🐛 Trying to fix ex's bg event bug after nt support
This commit is contained in:
parent
860e2c8c7b
commit
edc6b09a33
|
|
@ -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: {},
|
||||
|
|
|
|||
|
|
@ -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)}`)
|
||||
})
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user