hey all , i injected my hack the message box appears and all things good and there are no Xtrap errors but when i am in game seeghosts didn't work i tried alot but same thing .,so here is the code can you help me
Code:
#include<windows.h>
char Msg[] = {'M','a','d','e',' ','b','y',' ','N','a','n','o','g','o','l','d',0 };
char Title[] = {'N','A',' ','C','F',' ','H','A','C','K',0 };
DWORD WINAPI NanoGold(LPVOID)
{
bool seeghosts = true;
while(true)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD BasicPlayerInfo = *(DWORD*)(CShell + 0xAD0200);//is the pointer right
//seeghosts
if(seeghosts)
{
*(float*)(BasicPlayerInfo + 0x88) = (float)300;// is the float value right ?
*(float*)(BasicPlayerInfo + 0x8C) = (float)300;
*(float*)(BasicPlayerInfo + 0x90) = (float)300;
}
}
Sleep(100);
}
BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
DisableThreadLibraryCalls(hDll);
if(dwReason == DLL_PROCESS_ATTACH) {
MessageBoxA(0, Msg,Title, 0);
_asm {
PUSH 0;
PUSH 0;
CALL NanoGold;
PUSH 0;
PUSH 0;
PUSH 0;
CALL CreateThread;
}
_asm {
MOV EAX, 1;
RET;
}
}
return TRUE;
}
@
luizimoloko for the dllmain