wip update expedition maybe?

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent 1eaab8aaab
commit bdda290193
6 changed files with 50 additions and 1 deletions
+13 -1
View File
@@ -123,7 +123,12 @@ export class Encoder extends Transform {
case "get_record_v2_res":
buf = Buffer.alloc(0x0d30);
//buf.fill(1, 0x0000, 0x0698); // -------- SPRAYING -----------
//buf.fill(1, 0x01a6, 0x0279); // -------- SPRAYING -----------
for (let i = 0x1a; i < 0x26; i++) {
//buf.writeUInt8(1, 0x0206 + i);
}
buf.writeUInt16LE(MSG.GET_RECORD_V2_RES, 0x0000);
buf.writeUInt32LE(obj.teamId, 4 + 0x3b4);
buf.writeUInt16LE(obj.lv, 4 + 0x03c8);
@@ -174,6 +179,13 @@ export class Encoder extends Transform {
break;
case "update_expedition_res":
buf = Buffer.alloc(0x17c0);
buf.writeUInt16LE(MSG.UPDATE_EXPEDITION_RES, 0x0000);
// in awe of the size of this lad
break;
case "update_provisional_store_rank_res":
buf = Buffer.alloc(0x02b0);
buf.writeUInt16LE(MSG.UPDATE_PROVISIONAL_STORE_RANK_RES, 0x0000);