Results 1 to 8 of 8
  1. #1
    peywzt's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    13
    My Mood
    Buzzed

    Angry Source Dll for Mayor Title

    somebody help me....!!
    i try to make dll, but i'm dont know source code for make mayor title in PB,
    can u share example for source code??

    this is my nick name on PB: EDITED OUT BY SCRUFFY

    thax for attention.....!!!
    Last edited by Scruffy; 02-23-2011 at 10:51 AM.

  2. The Following User Says Thank You to peywzt For This Useful Post:

    d3w4terc4c4d (03-04-2011)

  3. #2
    Scruffy's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Florida
    Posts
    6,560
    Reputation
    344
    Thanks
    1,195
    Don't post your ingame name on here. It will be found and banned by SGI along with anyone associated with your account (clan and friends)

    Gifts
    Czar [x][x]
    Liz [x][x]

  4. The Following User Says Thank You to Scruffy For This Useful Post:

    peywzt (02-27-2011)

  5. #3
    Chandielz's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Interl Inside
    Posts
    9
    Reputation
    10
    Thanks
    0
    My Mood
    Happy
    I have possible work or not

    Source code but maybe it work on Project Blackout
    Code:
    #define _CRT_SECURE_NO_WARNINGS
    #include <windows.h>
    #include <tlhelp32.h>
    
    // definisikan variable dengan 'window title', 'window classname' dan modul
    char *pProcessWindowTitle = "Point Blank";
    char *pProcessWindowClass = "I3VIEWER";
    char *pProcessModuleName  = "PointBlank.i3Exec";
    
    // etc...
    UINT_PTR uipUserRankValue = 35; // major? :D
    UINT_PTR uipUserPointsValue = 999999; // OMG!
    
    UINT_PTR uiptrFinalRank, uiptrFinalPoints;
    
    bool isInitMmhMemory = true;
    
    DWORD dwProcessID;
    UINT_PTR uipMmhBaseAddress;
    HANDLE hProcess;
    
    DWORD GetModuleBase(LPSTR lpModuleName, DWORD dwProcessId)
    {
       MODULEENTRY32 lpModuleEntry = {0};
       HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, dwProcessId);
     
       if(!hSnapShot)
          return NULL;
       lpModuleEntry.dwSize = sizeof(lpModuleEntry);
       BOOL bModule = Module32First( hSnapShot, &lpModuleEntry );
       while(bModule)
       {
          if(!strcmp( lpModuleEntry.szModule, lpModuleName ) )
          {
             CloseHandle(hSnapShot);
             return (DWORD)lpModuleEntry.modBaseAddr;
          }
          bModule = Module32Next( hSnapShot, &lpModuleEntry );
       }
       CloseHandle( hSnapShot );
       return NULL;
    }
    
    // DeRef() = credit L. Spiro (MHS)
    UINT_PTR DeRef( UINT_PTR _uiptrPointer ) {
        UINT_PTR uiptrRet;
        if (!::ReadProcessMemory(hProcess, reinterpret_cast<LPVOID>(_uiptrPointer), &uiptrRet, sizeof(uiptrRet), NULL)) { return 0UL; }
        return uiptrRet;
    }
    
    // inisialisasi proses
    void InitApplicationProcess()
    {
            bool isFindWindow = true;
            HWND hWnd = NULL;
            
            while(isFindWindow)
            {
                    if((hWnd = FindWindowA(pProcessWindowClass, pProcessWindowTitle)) != NULL) // jika window ditemukan
                    {
                            isFindWindow = false;
                    }
                    Sleep(500);
            }
    
            GetWindowThreadProcessId(hWnd, &dwProcessID);
            hProcess = OpenProcess(PROCESS_ALL_ACCESS|PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE|PROCESS_QUERY_INFORMATION, FALSE, dwProcessID);
    }
    
    void MajorMissionHack()
    {
            if(isInitMmhMemory)
            {
                    uipMmhBaseAddress = GetModuleBase(pProcessModuleName, dwProcessID);
                    
                    // misal: pointer yang didapat = PointBlank.i3Exec+00471234 dengan offset 0xA12, tuliskan seperti di bawah!
                    uiptrFinalRank = DeRef(uipMmhBaseAddress + 0x4XXXXX) + 0xXXX; // User rank pointer - masked, sorry!
                    uiptrFinalPoints = DeRef(uipMmhBaseAddress + 0x4XXXXX) + 0xXXX; // User points pointer - masked, sorry! 
    
                    isInitMmhMemory = false;
            }
            
            // WriteProcessMemory pada pointer 'rank', berikan nilai uipUserRankValue (35)
            ::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uiptrFinalRank), &uipUserRankValue, sizeof(uipUserRankValue), NULL);
    
            // WriteProcessMemory pada pointer 'points', berikan nilai uipUserPointsValue (999999) LOL!
            ::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uiptrFinalPoints), &uipUserPointsValue, sizeof(uipUserPointsValue), NULL);
    }
    
    void LovelyLoopy()
    {
            // ok, berikan salam dulu! :D
            MessageBox(0, "DLL berhasil di-inject. Lanjutkan!", "Hello World", MB_OK + MB_ICONASTERISK);
            
            InitApplicationProcess();
    
            while(1) // loop selamanya :D
            {
                    if(GetAsyncKeyState(VK_F12)&1) // jika F12 ditekan
                    {
                            MajorMissionHack(); // panggil fungsi 'MajorMissionHack()'
                            Sleep(500);
                    }
                    
                    Sleep(1);
            }
    }
    
    BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
            DisableThreadLibraryCalls(hDll);
            
            if(dwReason == DLL_PROCESS_ATTACH)
            {
                    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)LovelyLoopy, NULL, NULL, NULL);
            } 
            else if(dwReason == DLL_PROCESS_DETACH)
            {
                    CloseHandle(hProcess);
            }
    
            return TRUE;
    }

  6. #4
    peywzt's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    13
    My Mood
    Buzzed

    Thumbs up

    Can you give me a new offset value, such as the red line...
    thx verymuch...

    Code:
    uiptrFinalRank = DeRef(uipMmhBaseAddress + 0x4XXXXX) + 0xXXX; // User rank pointer - masked, sorry!
                    uiptrFinalPoints = DeRef(uipMmhBaseAddress + 0x4XXXXX) + 0xXXX; // User points pointer - masked, sorry!

  7. #5
    Chandielz's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Interl Inside
    Posts
    9
    Reputation
    10
    Thanks
    0
    My Mood
    Happy
    Quote Originally Posted by peywzt View Post
    Can you give me a new offset value, such as the red line...
    thx verymuch...

    Code:
    uiptrFinalRank = DeRef(uipMmhBaseAddress + 0x4XXXXX) + 0xXXX; // User rank pointer - masked, sorry!
                    uiptrFinalPoints = DeRef(uipMmhBaseAddress + 0x4XXXXX) + 0xXXX; // User points pointer - masked, sorry!
    ^^

    it's work?

  8. #6
    peywzt's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    13
    My Mood
    Buzzed
    not, that not work my friends, thats only example...

    are u indonesia???

  9. #7
    Chandielz's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Interl Inside
    Posts
    9
    Reputation
    10
    Thanks
    0
    My Mood
    Happy
    Quote Originally Posted by peywzt View Post
    not, that not work my friends, thats only example...

    are u indonesia???
    yes brother...

    this work... ^^

    kamu hanya perlu mengedit mencari SC lagi nanti ku kasih PM me

  10. #8
    peywzt's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    39
    Reputation
    10
    Thanks
    13
    My Mood
    Buzzed
    Quote Originally Posted by Chandielz View Post
    yes brother...

    this work... ^^

    kamu hanya perlu mengedit mencari SC lagi nanti ku kasih PM me
    yaps,, thx my brad...!!! terus udah coba lum ni SC???