PostHelpNeed someone help me to make Auto Update

Posts 1–4 of 4 · Page 1 of 1
Need someone help me to make Auto Update
I have try use FindPattern to auto update Pointer/Offset with the byte i have search on MPGH but it always return the differnt Pointer(
*Here is my code to Find:
bool bCompare(const BYTE *pData, const BYTE *bMask, const char *szMask)
{
for (; *szMask; ++szMask, ++pData, ++bMask)
{
if (*szMask == 'x' && *pData != *bMask) return 0;
}
return *szMask == NULL;
}

DWORD FindPattern(DWORD dwAddress, DWORD dwLen, BYTE *bMask, char *szMask)
{
for (DWORD i = 0; i < dwLen; i++)
{
if (bCompare((BYTE*)(dwAddress + i), bMask, szMask)) return (DWORD)(dwAddress + i);
}
return 0;
}
*Here is my code how to use:
DWORD Base_WeaponMgr = FindPattern(Base_CShellDLL, GetFileSize("CShell.dll", 0), (PBYTE)"\x8B\x0D\x00\x00\x00\x00\x85\xC9\x8B\x5A\x 04", "xx????xxxxx");
P/s: When i use that code it return the Address in Olly Debug not the Address to plus with CShell.dll to hack No Reload.
Quote Originally Posted by Nemo[4ever] View Post
I have try use FindPattern to auto update Pointer/Offset with the byte i have search on MPGH but it always return the differnt Pointer(
*Here is my code to Find:

*Here is my code how to use:

P/s: When i use that code it return the Address in Olly Debug not the Address to plus with CShell.dll to hack No Reload.
- Base_CShellDLL
I know that. But when i -Base_CShellDLL it still wrong Maby can you post your code for auto find + the byte to find
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?