Nextage Beta Release

This commit is contained in:
DitFranXX 2021-04-26 07:09:18 +09:00
parent 18f05da297
commit fbebd9eac8
5 changed files with 10 additions and 6 deletions

View File

@ -6,14 +6,19 @@ Supported Versions
==================
- Matixx
- Exchain
- NEX+AGE (Work In Progress)
- NEX+AGE (Beta)
Note about newer version of Asphyxia Core
-----------------------------------------
Since newer version of Core separate the save db per each plugin, Seems there was an error after the migration process. till it's fixed on Core side, you maybe need backup the old save and start from zero.
Release Notes
=============
v1.1.0 (Current)
----------------
* NEX+AGE Support (WIP)
* NEX+AGE Support (Beta)
v1.0.0
------

View File

@ -5,7 +5,7 @@ export async function processData() {
return await readB64JSON("data/mdb_ex.b64");
}
const { music } = await readJSONOrXML('data/mdb_ex.json', 'data/mdb_ex.xml', processRawData)
await IO.WriteFile("data/mdb_ex.b64", Buffer.from(JSON.stringify({music})).toString("base64"))
// await IO.WriteFile("data/mdb_ex.b64", Buffer.from(JSON.stringify({music})).toString("base64"))
return { music };
}

View File

@ -5,7 +5,7 @@ export async function processData() {
return await readB64JSON("data/mdb_mt.b64");
}
const { music } = await readJSONOrXML('data/mdb_mt.json', 'data/mdb_mt.xml', processRawData)
await IO.WriteFile("data/mdb_mt.b64", Buffer.from(JSON.stringify({music})).toString("base64"))
// await IO.WriteFile("data/mdb_mt.b64", Buffer.from(JSON.stringify({music})).toString("base64"))
return { music };
}

View File

@ -5,7 +5,7 @@ export async function processData() {
return await readB64JSON("data/mdb_nt.b64");
}
const { music } = await readJSONOrXML('data/mdb_nt.json', 'data/mdb_nt.xml', processRawData)
await IO.WriteFile("data/mdb_nt.b64", Buffer.from(JSON.stringify({music})).toString("base64"))
// await IO.WriteFile("data/mdb_nt.b64", Buffer.from(JSON.stringify({music})).toString("base64"))
return { music };
}

View File

@ -758,7 +758,6 @@ async function registerUser(refid: string, version: string, id = _.random(0, 999
export const savePlayer: EPR = async (info, data, send) => {
const refid = $(data).str('player.refid');
if (!refid) return send.deny();
console.debug(JSON.stringify(data.obj, null, 4))
const no = getPlayerNo(data);
const version = getVersion(info);