Documente Academic
Documente Profesional
Documente Cultură
//buang yg tidak berguna #include // include untuk createthread #include #include LPTSTR ModulGame = "Audition.exe"; #define sleep Sleep BOOL WriteMemory( DWORD dwAddress, const void* cpvPatch, DWORD dwSize ) { DWORD dwProtect; Sleep(1); Sleep(1); if( VirtualProtect( (void*)dwAddress, dwSize, PAGE_READWRITE, &dwProtect ) ){ Sleep(1); Sleep(1); memcpy( (void*)dwAddress, cpvPatch, dwSize ); } else return false; Sleep(1); Sleep(1); return VirtualProtect( (void*)dwAddress, dwSize, dwProtect, new DWORD ); } bool Match(const BYTE* pData, const BYTE* bMask, const char* szMask) { for(;*szMask;++szMask,++pData,++bMask) if(*szMask=='x' && *pData!=*bMask ) return false; return (*szMask) == NULL; } DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask) { for(DWORD i=0; i < dwLen; i++) if( Match( (BYTE*)( dwAddress+i ),bMask,szMask) ) return (DWORD)(dwAddress+i); return 0; } bool Ready(void) { if( GetModuleHandle("Audition.exe") != NULL ) return true; return false; } DWORD WINAPI MemPacth(LPVOID param) { DWORD dwGHOST = FindPattern(0x400000,0x7FFFFFFF,(PBYTE)"\x0F\x84\xC9\x00\x00\x00 \x33\xFF\x8D\x5F\x77\x8D\xAE\x6C\x03\x00\x00\x90\x33","xxx???xxxxxxxxx??xx"); DWORD SKIP = FindPattern(0x400000,0x7FFFFFF,(PBYTE)"\x01\x00\x00\x00\x01\x00\x00 \x00\x08\x00\x00\x00\xFF\xFF","x???x???x???xx"); while (1) { if (GetAsyncKeyState(VK_RETURN)&1) {
WriteMemory(dwGHOST,(void*)(PBYTE)"\x0F\x85", 2); WriteMemory(SKIP,(void*)(PBYTE)"\x00", 1); } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 340; // x-coordinate water const int CURSOR_Y = 475; // y-coordinate water SetCursorPos(CURSOR_X,CURSOR_Y); sleep(50); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 340; // x-coordinate water const int CURSOR_Y = 475; // y-coordinate water SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 364; // x-coordinate bunga 1 const int CURSOR_Y = 398; // y-coordinate bunga 1 SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 425; // x-coordinate of bunga const int CURSOR_Y = 398; // y-coordinate of bunga SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 495; // x-coordinate of bunga const int CURSOR_Y = 398; // y-coordinate of bunga SetCursorPos(CURSOR_X,CURSOR_Y);
2 2
3 3
sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 554; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 618; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 681; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 746; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 679; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) {
of bunga 4 of bunga 4
bunga 5 bunga 5
of bunga 6 of bunga 6
of bunga 7 of bunga 7
of bunga 8 of bunga 8
{ } { const int CURSOR_X = 619; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 554; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 490; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 426; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 362; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 297; // x-coordinate const int CURSOR_Y = 333; // y-coordinate
bunga 9 bunga 9
bunga 10 bunga 10
of bunga 11 of bunga 11
of bunga 12 of bunga 12
of bunga 13 of bunga 13
bunga 14 bunga 14
SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 357; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 427; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 491; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 558; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 622; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1)
bunga 15 bunga 15
bunga 16 bunga 16
of bunga 17 of bunga 17
of bunga 18 of bunga 18
of bunga 19 of bunga 19
{ { } { const int CURSOR_X = 675; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 651; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 588; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 523; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 454; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 393; // x-coordinate
bunga 20 bunga 20
bunga 21 bunga 21
of bunga 22 of bunga 22
of bunga 23 of bunga 23
of bunga 24 of bunga 24
bunga 25
const int CURSOR_Y = 210; // y-coordinate bunga 25 SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 519; // x-lepas Siram const int CURSOR_Y = 478; // y-lepas Siram SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0); sleep(500); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { keybd_event(VK_RETURN,0x1C,0 , 0); sleep(100); keybd_event(VK_RETURN,0x1C,KEYEVENTF_KEYUP,0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { keybd_event(VK_RETURN,0x1C,0 , 0); sleep(100); keybd_event(VK_RETURN,0x1C,KEYEVENTF_KEYUP,0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 519; // x-coordinate sapu const int CURSOR_Y = 478; // y-coordinate sapu SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } {
const int CURSOR_X = 364; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 425; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 495; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 554; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 618; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 681; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); }
bunga 1 bunga 1
of bunga 2 of bunga 2
of bunga 3 of bunga 3
of bunga 4 of bunga 4
bunga 5 bunga 5
of bunga 6 of bunga 6
} if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 746; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 679; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 619; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 554; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 490; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { }
of bunga 7 of bunga 7
of bunga 8 of bunga 8
bunga 9 bunga 9
bunga 10 bunga 10
of bunga 11 of bunga 11
{ const int CURSOR_X = 426; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 362; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 297; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 357; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 427; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 491; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100);
of bunga 12 of bunga 12
of bunga 13 of bunga 13
bunga 14 bunga 14
bunga 15 bunga 15
bunga 16 bunga 16
of bunga 17 of bunga 17
} } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 558; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 622; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 675; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 651; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 588; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { {
of bunga 18 of bunga 18
of bunga 19 of bunga 19
bunga 20 bunga 20
bunga 21 bunga 21
of bunga 22 of bunga 22
} { const int CURSOR_X = 523; // x-coordinate of bunga const int CURSOR_Y = 210; // y-coordinate of bunga SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 454; // x-coordinate of bunga const int CURSOR_Y = 210; // y-coordinate of bunga SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 393; // x-coordinate bunga 25 const int CURSOR_Y = 210; // y-coordinate bunga 25 SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 519; // x-lepas Siram const int CURSOR_Y = 478; // y-lepas Siram SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0); sleep(500); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { keybd_event(VK_RETURN,0x1C,0 , 0); sleep(100); keybd_event(VK_RETURN,0x1C,KEYEVENTF_KEYUP,0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } {
23 23
24 24
keybd_event(VK_RETURN,0x1C,0 , 0); sleep(100); keybd_event(VK_RETURN,0x1C,KEYEVENTF_KEYUP,0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 402; // x-coordinate pupuk const int CURSOR_Y = 472; // y-coordinate pupuk SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 364; // x-coordinate bunga 1 const int CURSOR_Y = 398; // y-coordinate bunga 1 SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 425; // x-coordinate of bunga const int CURSOR_Y = 398; // y-coordinate of bunga SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 495; // x-coordinate of bunga const int CURSOR_Y = 398; // y-coordinate of bunga SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 554; // x-coordinate of bunga const int CURSOR_Y = 398; // y-coordinate of bunga
2 2
3 3
4 4
SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 618; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 681; // x-coordinate const int CURSOR_Y = 398; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 746; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 679; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 619; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1)
bunga 5 bunga 5
of bunga 6 of bunga 6
of bunga 7 of bunga 7
of bunga 8 of bunga 8
bunga 9 bunga 9
{ { } { const int CURSOR_X = 554; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 490; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 426; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 362; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 297; // x-coordinate const int CURSOR_Y = 333; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 357; // x-coordinate
bunga 10 bunga 10
of bunga 11 of bunga 11
of bunga 12 of bunga 12
of bunga 13 of bunga 13
bunga 14 bunga 14
bunga 15
const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 427; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 491; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 558; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 622; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 675; // x-coordinate const int CURSOR_Y = 271; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } }
bunga 15
bunga 16 bunga 16
of bunga 17 of bunga 17
of bunga 18 of bunga 18
of bunga 19 of bunga 19
bunga 20 bunga 20
if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 651; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 588; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 523; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 454; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 393; // x-coordinate const int CURSOR_Y = 210; // y-coordinate SetCursorPos(CURSOR_X,CURSOR_Y); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } {
bunga 21 bunga 21
of bunga 22 of bunga 22
of bunga 23 of bunga 23
of bunga 24 of bunga 24
bunga 25 bunga 25
const int CURSOR_X = 519; // x-lepas Siram const int CURSOR_Y = 478; // y-lepas Siram SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0); sleep(500); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { keybd_event(VK_RETURN,0x1C,0 , 0); sleep(100); keybd_event(VK_RETURN,0x1C,KEYEVENTF_KEYUP,0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { keybd_event(VK_RETURN,0x1C,0 , 0); sleep(100); keybd_event(VK_RETURN,0x1C,KEYEVENTF_KEYUP,0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 647; // x-coordinate water const int CURSOR_Y = 61; // y-coordinate water SetCursorPos(CURSOR_X,CURSOR_Y); sleep(150); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 647; // x-coordinate out garden const int CURSOR_Y = 61; // y-coordinate out garden SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { }
{ const int CURSOR_X = 597; // x-coordinate garden const int CURSOR_Y = 61; // y-coordinate garden SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 597; // x-coordinate garden const int CURSOR_Y = 61; // y-coordinate garden SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(100); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { keybd_event(VK_RETURN,0x1C,0 , 0); sleep(100); keybd_event(VK_RETURN,0x1C,KEYEVENTF_KEYUP,0); sleep(100); } } if(GetKeyState(VK_CAPITAL) == 1) { { } { const int CURSOR_X = 441; // Klik Enter const int CURSOR_Y = 693; // Klik Enter SetCursorPos(CURSOR_X,CURSOR_Y); mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); sleep(5); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); sleep(5); } } if(GetKeyState(VK_CAPITAL) == 1)// Enter { { } { keybd_event(VK_RETURN,0x1C,0 , 0); sleep(5); keybd_event(VK_RETURN,0x1C,KEYEVENTF_KEYUP,0); sleep(5); } }
Sleep(5); // Berikan jeda } return (0); // unhook } HANDLE hProcess; BOOL __stdcall DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved) { switch(dwReason) { case DLL_PROCESS_ATTACH: DisableThreadLibraryCalls(hDll); CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)MemPacth, NULL, NULL, NULL); CloseHandle(hProcess); } return TRUE; } Quote: Quote: Quote: [quote][right][center]