"this is my current source code 100% credits to me."
Burn in hell, leeching ******.
Hello everybody im a new programmer and im making a simple DLL hack for warrock, Well I have Premium hack, and 5th slot hack currently and am trying to Incorporate Speed hack. this is my current source code 100% credits to me.
And the Speed hack is not working, any tips on making it work?Code://////////////////////////INCLUDES//////////////////// #include <Windows.h> ///////////////////////////INCLUDES////////////////////// //////////////DEFINES////////////////////////////////// #define ADR_PLAYERPOINTER 0xA01808 #define ADR_SERVERPOINTER 0xA017A4 #define OFS_SLOT5 0x1021BC #define OFS_PREM 0x58C #define ADR_SPEED 0x864A48 /////////////////////////DEFINES/////////////////////// /////////////////////INGAME/OUTGAME Defines//////////////// DWORD *ingame = (DWORD*)ADR_PLAYERPOINTER; DWORD *outgame = (DWORD*)ADR_SERVERPOINTER; //////////////////////////////////////////////////// /////////////////////////////SLOT 5//////////////////////////// void SLOT_5() { DWORD wrServerPtr = *(DWORD*)ADR_SERVERPOINTER; if(wrServerPtr != 0) { *(long*)(wrServerPtr + OFS_SLOT5) = 1; } } /////////////////////////////////////////////////////////////// ////////////////////PREMIUM///////////////////////////// void PREM() { DWORD wrServerPtr = *(DWORD*)ADR_SERVERPOINTER; if(wrServerPtr != 0) { *(long*)(wrServerPtr + OFS_PREM) = 4; } } ///////////////////////////////////////////////////// //////////////////SPEED//////////////////////////// void SPEED() { *(float*)(ADR_SPEED) = 300; } //////////////////FOR LOOP//////////////// void myloop() { for(;;) { if(*ingame) { SPEED(); } if(*outgame) { SLOT_5(); PREM(); } } Sleep(200); } ////////////////////////////////////////////////////////// //////////////////CREATE DLL THREAD//////////////////////////// BOOL WINAPI DllMain(HINSTANCE mod, DWORD GIGGLE_BASE, LPVOID res) { switch(GIGGLE_BASE) { case 1: CreateThread(0, 0, (LPTHREAD_START_ROUTINE)myloop, 0, 0, 0); break; } return TRUE; } /////////////////////////////////////////////////////////
"this is my current source code 100% credits to me."
Burn in hell, leeching ******.
Ah we-a blaze the fyah, make it bun dem!
Hassan (03-19-2012),Jason (03-18-2012),t7ancients (03-18-2012)
The player pointer address is most likely wrong since the functions that is being called while you are "out of the game" works and looks exactly the same.
Last edited by Variant; 03-18-2012 at 02:57 PM.
GIGGLE_BASE
creative never heard of that before in dll main
Way she fuckin goes boys
Found this when i was learning stuff back in the day so creditz to who ever made it and i just commented it and made a few tweaks. Its a basic memory injector that should work for most things, (LULZ its pointed at calculator)Code:#include <iostream> //Noobz beware this has magic powers also it helps us output stuff #include <windows.h> // Win32API (For Functions like FindWindow(0, "NullVoid") using namespace std; // Ill kill you if you are trying to make hacks and still dont know what that is int main(int argc, char *argv[]) { int nVal = 1237; // Declaring an int (Integer) that were going to use for changing the value of an address HWND hWND = FindWindow(0, "Calculator"); // Ok liek this totaly finds the Application with the name Calculator if(hWND == 0){ // Checking to see if hWnd == 0 (THis would mean that its not found) cerr << "Application not found" << endl; // Sending an error message telling the user App not found } else { //Else is basicly a function that says if 1 statement didn't occur then this one must (If you can't tell im mocking you GiggleBush2012) DWORD pID; // Im not even going to bother explaining a DWORD LOOK IT UP PLEASE (ill say raise the 8 bit flags) GetWindowThreadProcessId(hWND, &pID); // some more handles and stuff HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE,pID); // Open the process for penetration (hehe pentration) } if(hProc) { // that says if its false then cerr a messsage cerr << "Process not detected please open it and try again" << endl; } else { //ZOMG THE 1337 hacks are injected into the main frame for leet winning ability int DidiInject = WriteProcessMemory(hProc, (LPVOID)0x00380FE4, &nVal, (DWORD)sizeof(nVal),NULL); //Im sure you allready know this but in c++ all addys start with 0x (Saying its a hex address) } if(DidiInject > 0) { clog << "Yo Dawg we injected into the bank" << endl; }else{ cerr << "Shit failed at the point of penetration" << endl; } return a.exec(); }