hi ive been trying to find the pattern to get the g_ClientConnection for 3.0.2 wotlk build 8962 but without luck so far i think ive found the objectmanager.
Code:
0046F7A5 |. EB 02 JMP SHORT Wow.0046F7A9
0046F7A7 |> 33C0 XOR EAX,EAX
0046F7A9 |> 8B0D 44972E01 MOV ECX,DWORD PTR DS:[12E9744]
0046F7AF |. 64:8B15 2C0000>MOV EDX,DWORD PTR FS:[2C]
0046F7B6 |. 8B348A MOV ESI,DWORD PTR DS:[EDX+ECX*4]
this is what i got so far
Code:
ObjectManager.CodeAddress = dwFindPattern(hProcess, 0x400000, 0x600000,
"EB 02 33 00 8B 0D 00 00 00 00 64 8B 15 2C 00 00 00 8B 34 8A",
"xxxx?xx????xxxxxxxxx");
here's the one for 2.4.3 and it works great
Code:
ObjectManager.CodeAddress = dwFindPattern(hProcess, 0x400000, 0x600000,
"EB 02 33 00 64 8B 15 2C 00 00 00 8B 0D 00 00 00 00 8B 0C 8A",
"xxx?xxxxxxxxx????xxx");
if (ObjectManager.CodeAddress == uint.MaxValue)
throw new Exception("Could not find game routine from which we get the g_clientConnection pointer.");
any ideas on what im doing wrong?