Skip to content

Commit

Permalink
Commenting out XTEA key sending since maps are not encrypted in the f…
Browse files Browse the repository at this point in the history
…lat file store
  • Loading branch information
Katilith committed Nov 23, 2021
1 parent be8a77f commit 3788683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/net/outbound-packet-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ export class OutboundPacketHandler {
for(let mapX = 29; mapX <= 30; mapX++) {
const xteaRegion = xteaRegions[`l${mapX}_79`];
for(let seeds = 0; seeds < 4; seeds++) {
packet.put(xteaRegion?.key[seeds] || 0, 'int');
packet.put(/*xteaRegion?.key[seeds] || */0, 'int');
}
}

Expand All @@ -672,7 +672,7 @@ export class OutboundPacketHandler {
for(let mapY = startY; mapY <= endY; mapY++) {
const xteaRegion = xteaRegions[`l${mapX}_${mapY}`];
for(let seeds = 0; seeds < 4; seeds++) {
packet.put(xteaRegion?.key[seeds] || 0, 'int');
packet.put(/*xteaRegion?.key[seeds] || */0, 'int');
}
}
}
Expand Down

0 comments on commit 3788683

Please sign in to comment.