idz: Remove profile ext id
Turns out (while researching team creation) the profile ext id is just the aime id. After creating a team a profile discovery request is immediately issued with the "profile id" in the field that holds the aime id during initial profile load.
This commit is contained in:
@@ -78,7 +78,7 @@ export function loadProfile2(res: LoadProfileResponse2) {
|
||||
buf.writeUInt16LE(0, 0x037c); // Team leader
|
||||
mission(res.missions.team).copy(buf, 0x038a);
|
||||
buf.writeUInt16LE(0xffff, 0x0388); // [1]
|
||||
buf.writeUInt32LE(res.profileId, 0x03b8);
|
||||
buf.writeUInt32LE(res.aimeId, 0x03b8);
|
||||
buf.writeUInt32LE(res.mileage, 0x03bc);
|
||||
buf.writeUInt16LE(res.settings.music, 0x03c8);
|
||||
buf.writeUInt16LE(res.lv, 0x03cc);
|
||||
|
||||
@@ -78,7 +78,7 @@ export function loadProfile3(res: LoadProfileResponse3) {
|
||||
buf.writeUInt16LE(0, 0x0456); // Team leader
|
||||
mission(res.missions.team).copy(buf, 0x0460);
|
||||
buf.writeUInt16LE(0xffff, 0x0462); // [1]
|
||||
buf.writeUInt32LE(res.profileId, 0x0494);
|
||||
buf.writeUInt32LE(res.aimeId, 0x0494);
|
||||
buf.writeUInt32LE(res.mileage, 0x0498);
|
||||
buf.writeUInt16LE(res.settings.music, 0x04a4);
|
||||
buf.writeUInt16LE(res.lv, 0x04a8);
|
||||
|
||||
Reference in New Issue
Block a user