You must be registered for see images
///I coi
icoi
Controller.cpp
///
void __declspec(naked) iconHook()
{
static DWORD dwIcon = (DWORD)LoadIcon(gController.Instance, MAKEINTRESOURCE(IDI_ICON1));//chuckhai
static DWORD dwJmp = 0x004D0E3C;
_asm
{
MOV EAX, dwIcon
JMP dwJmp
}
}
bool Controller::Load()
{
this->VKF9_State = 0;
if( !this->MouseHook )
{
this->MouseHook = SetWindowsHookEx(WH_MOUSE, this->Mouse, gController.Instance, GetCurrentThreadId());
// ----
if( !this->MouseHook )
{
return false;
}
}
// ----
if( !this->KeyboardHook )
{
this->KeyboardHook = SetWindowsHookEx(WH_KEYBOARD_LL, this->Keyboard, gController.Instance, NULL);
// ----
if( !this->KeyboardHook )
{
return false;
}
}
//chuckhai
SetRange((LPVOID)0x004D0E2F, 13, ASM::NOP);
SetOp((LPVOID)0x004D0E2F, iconHook, ASM::CALL);
return true;
}
////
///
giòng chữ
////
sprintf_s(test, sizeof(test), "Server: %s || Player: %s || Level: %d ",gProtect.m_MainInfo.WindowName,gObjUser.lpPlayer->Name, gObjUser.lpPlayer->Level );
SetWindowText(pGameWindow, test);//chuckhai
// nhét vào void Interface::Work() là chạy nhé
// nếu dùng nhớ ghi rõ nguồn nhé đừng như mấy thanh niên lấy dung mà không ghi gì hết kkkk mà con chia sẻ tùm lum nữa