Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma warning(disable : 4996) //_CRT_SECURE_NO_WARNINGS
- #include <windows.h>
- #include <d3d9.h>
- #include <d3dx9.h>//Hôm qua t thử hết trên máy t như thé mà ko dc :v Khóa chục cái @@
- #include "Xor.h"
- #include "Class.h"
- #include "Function.h"
- void ShowMessage(char* overtext)
- {
- DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
- if (CShell != NULL)
- {
- __asm
- {
- push 0;
- push overtext;
- push 0;
- push 0x75;
- push 0x2E;
- mov ESI, CShell;
- add ESI, 0x175720;
- call ESI;
- add ESP, 0x14;
- }
- }
- }
- bool ismsg = false;
- bool bView = false;
- bool isFPS = true;
- int ZomCpy = 0;
- int ZomFre = 0;
- void Hack()
- {
- DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
- DWORD Bag = *(DWORD*)(CShell + 0x11E2B80);
- if (Bag)
- if (GetAsyncKeyState('B'))
- *(DWORD*)(Bag + 0xC) = 0;
- //=========================================================//
- if(CShell)
- *(DWORD*)(CShell + 0x11E5E30) = 256;
- //=========================================================//
- DWORD View = *(DWORD*)(CShell + 0x11C6B08);
- if (GetAsyncKeyState('V'))
- {
- bView = !bView;
- Sleep(300);
- }
- if(View && bView)
- {
- *(DWORD*)(View + 0x64) = 3;
- isFPS = false;
- }
- if(View && !bView)
- {
- if(!isFPS)
- {
- *(DWORD*)(View + 0x64) = 1;
- isFPS = true;
- }
- }
- //=========================================================//
- DWORD ZombieV6_1 = *(DWORD*)(CShell + 0x11C6B50);
- if (GetAsyncKeyState(VK_F11) && ZombieV6_1)//
- {
- ZomCpy ++;
- Sleep(500);
- }
- if(ZomCpy == 1 && ZombieV6_1)
- {
- *(DWORD*)(ZombieV6_1 + 0x820) = 100;
- ZomCpy = 2;
- }
- if(ZomCpy == 2 && ZombieV6_1)
- {
- ShowMessage("COPY ON Zombie V6");
- ZomCpy = 3;
- }
- if(ZomCpy == 4 && ZombieV6_1)
- {
- ShowMessage("COPY OFF Zombie V6");
- *(DWORD*)(ZombieV6_1 + 0x820) = 0;
- ZomCpy = 0;
- }
- //=========================================================//
- DWORD ZombieV6_2 = *(DWORD*)(CShell + 0x11C6B50);
- if(GetAsyncKeyState(VK_F10) && ZombieV6_2)
- {
- ZomFre ++;
- Sleep(500);
- }
- if(ZombieV6_2 && ZomFre == 1)
- {
- ShowMessage("Bom Auto ON Zombie V4");
- ZomFre++;
- }
- if(ZombieV6_2 && ZomFre == 2)
- *(DWORD*)(ZombieV6_2 + 0x6e8) = 3;
- if(ZombieV6_2 && ZomFre == 3)
- {
- ShowMessage("Bom Auto OFF Zombie V4");
- ZomFre = 0;
- }
- }
- bool IsGameReadyForHook()
- {
- if (GetModuleHandleA(eCShell) != NULL && GetModuleHandleA(eClient) != NULL)
- return true;
- return false;
- }
- void Engine()
- {
- while (!IsGameReadyForHook()) {
- Sleep(200);
- }
- while (true)
- {
- if(!ismsg)
- {
- ShowMessage("By: QuangCFVN");
- ismsg = true;
- }
- Hack();
- Sleep(10);
- }
- }
- extern "C" __declspec(dllexport) BOOL WINAPI DllMain(HMODULE hDLL, DWORD dwReason, LPVOID lpvRe)
- {
- switch (dwReason)
- {
- case DLL_PROCESS_ATTACH:
- DisableThreadLibraryCalls(hDLL);
- CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Engine, 0, 0, 0);
- break;
- case DLL_PROCESS_DETACH:
- break;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement