i just posted some inputs in your 1st post in WarRock ph section![]()
Code:So i'm trying to make my own hack and here's my code.. why so many error? can some one fix this? #include <windows.h> #include <stdio.h> //--------------------------Define Hacks--------------------------// #define ADR_PlayerPointer 0x00 #define ADR_ServerPointer 0x00 #define ADR_Glasswall 0x00 //--------------------------End Define Addies--------------------------// //--------------------------Define HackThread--------------------------// DWORD *ingame= (DWORD*)PlayerPointer; DWORD *outgame= (DWORD*)ServerPointer; //--------------------------Start Hacks--------------------------// void GWall() { DWORD dwPlayerPtr = *(DWORD*)Playerpointer; if(dwPlayerPtr != 0) { if(GetAsyncKeyState(VK_CONTROL) ) { *(float*)GlassWall = 4; } } void HackThread() { for(;; ) { if(*ingame) { GlassWall(); } } Sleep(200); //prevent for overloading the cpu }
i just posted some inputs in your 1st post in WarRock ph section![]()
A good coder is someone who always looks both ways before crossing a one-way street.
~Doug Linder
Ramzking Injector: Press Here
MPGH member since: 07-18-2012
molecul3 (02-20-2014)
Code:void glasswall() { if(GetKeyState(VK_MBUTTON)) *(int*)ADR_Glasswall = 1; else { *(int**)ADR_Glasswall = 0; } } } void HackThread() { for(;; ) { if(*ingame) { WallClimb(); } if(*outgame) { } Sleep(30); //prevent for overloading the cpu } } BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved) { if(dwReason == DLL_PROCESS_ATTACH) { MessageBoxA(NULL, "Made by *Any name Here*", "MPGH Coder", MB_OK); MessageBoxA(NULL, "A.K.A *CodeName mo*", "CODER", MB_OK); MessageBoxA(NULL, "Thanks to **", " ", MB_OK); CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0); } return TRUE; }
Last edited by Mayion; 02-23-2014 at 10:36 PM.
C&P go go go
A good coder is someone who always looks both ways before crossing a one-way street.
~Doug Linder
Ramzking Injector: Press Here
MPGH member since: 07-18-2012
wrong section. you should post it to WarRock Help Section.
-_-
Code:#include <windows.h> #include <stdio.h> //--------------------------Define Hacks--------------------------// #define ADR_PlayerPointer 0x00 #define ADR_ServerPointer 0x00 #define ADR_Glasswall 0x00 //--------------------------End Define Addies--------------------------// //--------------------------Define HackThread--------------------------// DWORD *ingame= (DWORD*)ADR_PlayerPointer; DWORD *outgame= (DWORD*)ADR_ServerPointer; //--------------------------Start Hacks--------------------------// void GWall() { if(GetKeyState(VK_MBUTTON)&1) *(int*)(ADR_Glasswall) = 1; else { *(int*)(ADR_Glasswall) = 0; } } void Hacktread() { for(;; ) { if(*ingame) { GWall(); } if(*outgame) { } Sleep(200); } } BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved) { if(dwReason == DLL_PROCESS_ATTACH) { MessageBoxA(NULL,"Your Name","Yamashi",MB_OK); CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Hacktread, 0, 0, 0);Sleep(700); } return TRUE; }
Last edited by Mayion; 02-28-2014 at 01:57 AM.