Hi all,
Steps:
- Start Visual C++.
- Create new project, win32 dll.
- When created new project, create a new source file (by example main.ccp).
- Then paste this:
- Last step, edit addies.Code:#include <windows.h> #include <stdio.h> /// Adress List \\\ #define Playerpointer Outdated #define Serverpointer Outdated #define Fast_Ammo Outdated #define Fast_Health Outdated #define Fast_Repair Outdated #define Fast_Flag Outdated #define No_Spread Outdated #define No_Water Outdated #define Speed Outdated #define Near_Fog Outdated #define GlassWalls_FarFog Outdated #define Full_Bright_1 Outdated #define Full_Bright_2 Outdated #define Full_Bright_3 Outdated #define No_Bounds_1 Outdated #define No_Bounds_2 Outdated #define ADR_QUICKSPAWN1 Outdated #define ADR_QUICKSPAWN2 Outdated #define Stamina_10Porcent Outdated #define Extra_Ammo_1 Outdated #define Extra_Ammo_2 Outdated #define Stamina_OffSet Outdated #define NoRecoil_1_OffSet Outdated #define NoRecoil_2_OffSet Outdated #define NoRecoil_3_OffSet Outdated #define OFS_X Outdated #define OFS_Y Outdated #define OFS_Z Outdated #define Slot5_OffSet Outdated #define NFD_Player_OffSet Outdated #define Premium_OffSet Outdated #define Super_Master_OffSet Outdated #define ADR_ANTIKICK Outdated int Telx = 1; int Tely = 1; int Telz = 1; DWORD *ingame= (DWORD*)Playerpointer; DWORD *outgame= (DWORD*)Serverpointer; // Hack Codes \\ void Supermaster () { DWORD dwSrvrPtr = *(DWORD*)Serverpointer; if(dwSrvrPtr != 0){ *(int*)(dwSrvrPtr+Super_Master_OffSet) = 1; } } void Spawn () { long t=0; unsigned long Protection; VirtualProtect((void*)ADR_QUICKSPAWN1, sizeof(t), PAGE_READWRITE, &Protection); memcpy((void*)ADR_QUICKSPAWN1, &t , sizeof(t)); VirtualProtect((void*)ADR_QUICKSPAWN1, sizeof(t), Protection, 0); VirtualProtect((void*)ADR_QUICKSPAWN2, sizeof(t), PAGE_READWRITE, &Protection); memcpy((void*)ADR_QUICKSPAWN2, &t , sizeof(t)); VirtualProtect((void*)ADR_QUICKSPAWN2, sizeof(t), Protection, 0); } void Teleport () { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; /// Player Pointer Addie if(dwPlayerPtr != 0) { float PositionY = 0.0; float PositionX = 0.0;float PositionZ = 0.0; PositionX = *(float*)(dwPlayerPtr + OFS_X); PositionY = *(float*)(dwPlayerPtr + OFS_Y); PositionZ = *(float*)(dwPlayerPtr + OFS_Z); if(GetAsyncKeyState(VK_NUMPAD4)&1){ Telx = PositionX; Tely = PositionY; Telz = PositionZ;} if(GetAsyncKeyState(VK_NUMPAD5)&1){ *(float*)(dwPlayerPtr + OFS_X) = Telx; *(float*)(dwPlayerPtr + OFS_Y) = Tely; *(float*)(dwPlayerPtr + OFS_Z) = Telz;} if(GetAsyncKeyState(VK_NUMPAD6)&1){ *(float*)(dwPlayerPtr + OFS_X) += 30;}}} void FastAll () { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; if(dwPlayerPtr != 0) { *(float*)Fast_Repair = 10.0f; *(float*)Fast_Health = 5.0f; *(float*)Fast_Flag = 10.0f; *(float*)Fast_Ammo = 5.0f; }} void fullbright () //fullbright { if(GetAsyncKeyState(VK_NUMPAD9) &1<< 0xF) { *(int*)(Full_Bright_1) = 1092779973; *(int*)(Full_Bright_2) = 1092779973; *(int*)(Full_Bright_3) = 1092779973; } } void nofog () //no fog { *(float*)0x00B0E148 = 1166127104;//far fog address *(float*)0x00B0E144 = 0; //nearfog addres } void speedon1 () { if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF) { *(float*)(Speed) = 200.0f; } } void speedon2 () { if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF) { *(float*)(Speed) = 300.0f; } } void speedon3 () { if(GetAsyncKeyState(VK_NUMPAD3) &1<< 0xF) { *(float*)(Speed) = 500.0f; } } void speedoff () { if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF) { *(float*)(Speed) = 100.0f; } } void jump () //super jump { if(GetAsyncKeyState(VK_CONTROL) &1) { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; if(dwPlayerPtr != 0) { *(float*)(dwPlayerPtr+OFS_Z) = 1000; } } } void stamina () //stamina { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; if(dwPlayerPtr != 0) { *(float*)(dwPlayerPtr+Stamina_OffSet) = 100; } } void norecoil () //norecoil { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; if(dwPlayerPtr != 0) { *(float*)(dwPlayerPtr+0x00) = 0; *(float*)(dwPlayerPtr+0x04) = 0; *(float*)(dwPlayerPtr+0x08) = 0; } } void nfd () //NFD { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; if(dwPlayerPtr != 0) { *(float*)(dwPlayerPtr+NFD_Player_OffSet) = -20000; } } void nobounds () //nobounds { long t=0; unsigned long Protection; VirtualProtect((void*)No_Bounds_2, sizeof(t), PAGE_READWRITE, &Protection); memcpy((void*)No_Bounds_2, &t , sizeof(t)); VirtualProtect((void*)No_Bounds_2, sizeof(t), Protection, 0); VirtualProtect((void*)No_Bounds_2, sizeof(t), PAGE_READWRITE, &Protection); memcpy((void*)No_Bounds_2, &t , sizeof(t)); VirtualProtect((void*)No_Bounds_2, sizeof(t), Protection, 0); } void nowater () //no water { long t=0; unsigned long Protection; VirtualProtect((void*)No_Water, sizeof(t), PAGE_READWRITE, &Protection); memcpy((void*)No_Water, &t , sizeof(t)); VirtualProtect((void*)No_Water, sizeof(t), Protection, 0); } void PXItemSP2 () { *(int*)(Stamina_10Porcent) = 1; }//+ 5% hp void Dig() { if(GetAsyncKeyState(VK_MENU) &1) { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; if(dwPlayerPtr != 0) { *(float*)(dwPlayerPtr+OFS_Z) = -2000; } } } void ExtraAmmo () //we want extrea clip allways =) { *(int*)(Extra_Ammo_1) = 1; } void ExtraAmmo2 () //we want extrea clip allways =) { *(int*)(Extra_Ammo_2) = 1; } void premium () //Gold Premium { DWORD dwPlayerPtr = *(DWORD*)Serverpointer; if(dwPlayerPtr != 0) { *(long*)(dwPlayerPtr+Premium_OffSet) = 3, 10; // 1 = bronze 2 = silver 3 = gold } } void spread () //no spread { *(float*) No_Spread = 0; } void Slots5 () { DWORD dwPlayerPtr = *(DWORD*)Serverpointer; if(dwPlayerPtr != 0) { *(long*)(dwPlayerPtr+Slot5_OffSet) = 1; } } void AntiKick () { const BYTE KICKON [] = {0xEB, 0x0D}; { DWORD dwProtect; VirtualProtect((void*)(ADR_ANTIKICK), 1, PAGE_EXECUTE_READWRITE, &dwProtect); memcpy((void*)(ADR_ANTIKICK), &KICKON, 1); VirtualProtect((void*)(ADR_ANTIKICK), 1, dwProtect, NULL);}} void HackThread() { for(;; ) { if(*ingame) { jump(); nfd(); premium(); spread(); nowater(); nobounds(); norecoil(); stamina(); speedon1(); speedon2(); speedon3(); speedoff(); nofog(); Dig(); fullbright(); FastAll(); Teleport(); Slots5(); Spawn(); AntiKick(); } if(*outgame) { premium(); ExtraAmmo(); ExtraAmmo2(); Slots5(); PXItemSP2(); Supermaster(); AntiKick(); } } Sleep(200); //prevent for overloading the cpu } BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res) { switch(DWORD_GRUND) { case 1: CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0); //create the hackthread break; } return TRUE; }
Use this source to study! This is the basics of programming WarRock hacks.
All enjoy, Noxit.
Credits:
Noxit & Legendary, A thank is the least thing you can do
Last edited by Noxit; 09-16-2009 at 03:14 PM.
--
but you need more to make a hack right?
Visual Basic C++ eh? I lol'd... ch00b xD
Last edited by why06; 09-16-2009 at 01:47 PM.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
Last edited by why06; 09-16-2009 at 06:11 PM.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
Did u copy and paste from like diff sources o.O? The functions are inconsistent some functions have capitals and some dont. You use a virtual protect wrapper for some functions and dont for other functions. The source is really messy and needs some cleaning up.
There are five possible operations for any army. If you can fight, fight; if you cannot fight, defend; if you cannot defend, flee; if you cannot flee, surrender; if you cannot surrender, die." - Sima Yi
gitorla15 (06-07-2010)
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
Nice! But following Errors:
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(46) : error C2065: 'Serverpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(48) : error C2065: 'Super_Master_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(56) : error C2065: 'ADR_QUICKSPAWN1': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(57) : error C2065: 'ADR_QUICKSPAWN1': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(58) : error C2065: 'ADR_QUICKSPAWN1': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(60) : error C2065: 'ADR_QUICKSPAWN2': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(61) : error C2065: 'ADR_QUICKSPAWN2': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(62) : error C2065: 'ADR_QUICKSPAWN2': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(67) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(71) : error C2065: 'OFS_X': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(72) : error C2065: 'OFS_Y': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(73) : error C2065: 'OFS_Z': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(75) : error C2065: 'Telx': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(76) : error C2065: 'Tely': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(77) : error C2065: 'Telz': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(79) : error C2065: 'OFS_X': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(79) : error C2065: 'Telx': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(80) : error C2065: 'OFS_Y': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(80) : error C2065: 'Tely': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(81) : error C2065: 'OFS_Z': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(81) : error C2065: 'Telz': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(83) : error C2065: 'OFS_X': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(87) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(148) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(151) : error C2065: 'OFS_Z': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(158) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(161) : error C2065: 'Stamina_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(167) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(178) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(181) : error C2065: 'NFD_Player_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(216) : error C2065: 'Playerpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(219) : error C2065: 'OFS_Z': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(236) : error C2065: 'Serverpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(239) : error C2065: 'Premium_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(250) : error C2065: 'Serverpointer': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(253) : error C2065: 'Slot5_OffSet': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(262) : error C2065: 'ADR_ANTIKICK': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(263) : error C2065: 'ADR_ANTIKICK': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(264) : error C2065: 'ADR_ANTIKICK': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(270) : error C2065: 'ingame': nichtdeklarierter Bezeichner
1>c:\dokumente und einstellungen\dennis'\desktop\warrick\warrick\warr ick.cpp(293) : error C2065: 'outgame': nichtdeklarierter Bezeichner
Lol i cant read german, I'll help you later.
--
Hell_Demon (09-20-2009)