zzzz Now we lack HSCRC. OMGF....
I give some of my ideas on that: (I no time to test coz i hav to chiong my legit spearman up to 50 b4 2/9/10, as u know, legit playing really hurtz w/o cash, i can only level 2~3 times a day, not like last time got sVac, 1~40 in one day(and get banned)T.T)
* All C++
1) ReadProcessMemory:
Code: Select all
BOOL WINAPI ReadProcessMemoryHook(HANDLE hProcess, LPCVOID lpBaseAddress, LPVOID lpBuffer, SIZE_T nSize, SIZE_T* lpNumberOfBytesRead)
{
if ( GetProcessId(hProcess) == dwMapleStoryPID )
{
if ( (lpBaseAddress <= 0x00400000) || (lpBaseAddress+nSize >= 0x00BF0000) ) // See if memory being read is within game's image
lpBaseAddress += lpDumpOffset; // Adjust the base address to read the dump instead of the real game memory
}
Same like OpenProcess, but this time we`ll crash up Ehsvc.dll`s thread. (Same as suspending threads)
(means, return ERROR_INVALID_PARAMETER if something tries to access Ehsvc.dll)
If you dunno that, just leave it.