Skip to content

Commit

Permalink
Add support for draenor expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
karliky committed Apr 18, 2020
1 parent 0e50c03 commit a4d43a8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/core/logic/patterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const getVersion = (Memory) => {
if (buildFound === '8606') return { client: 'tbc', build: '2.4.3' };
if (buildFound === '12340') return { client: 'wlk', build: '3.3.5a' };
if (buildFound === '15595') return { client: 'ctl', build: '4.3.4' };
if (buildFound === '20779') return { client: 'draenor', build: '6.2.3' };
};

export const vanilla = {
Expand Down Expand Up @@ -156,3 +157,21 @@ export const ctl = {
}
},
};

export const draenor = {
SpectatePointer: [0x00E379B0, 0xD4, 0x50, 0x350],
CameraPointer: [0x012AF270, 0x7610, 0],
EnableSpectate: new Buffer([0x00, 0x00, 0x48, 0x00]),
DisableSpectate: new Buffer([0, 0, 0, 0]),
CameraValuesPointer: 0x01325968,
Collision: 0x80,
Speed: 0x7C,
cameraViewMatrix: {
version: {
['6.2.3']: {
pattern: new Buffer([0x83, 0xC4, 0x18, 0x8B, 0xC8, 0xE8, 0xB2, 0x9D, 0xFF, 0xFF, 0x6A, 0x09, 0x59, 0x8B, 0xF0, 0xF3, 0xA5]),
fix: new Buffer([0x83, 0xC4, 0x18, 0x8B, 0xC8, 0xE8, 0xB2, 0x9D, 0xFF, 0xFF, 0x6A, 0x09, 0x59, 0x8B, 0xF0, 0x90, 0x90])
}
}
}
};

0 comments on commit a4d43a8

Please sign in to comment.