Welcome to Ramleague,

Ramleague - the best site for pinoy chat, games chat and mobiles chat,

Sign Up
  1. Hello guest Guest , Are you tired from Ads? to remove some ads you need to register and be active. :D

[Tutorial] How to build your own hack [C++]

Discussion in 'Point Blank Source Code & Tutorials' started by Mae, Jan 10, 2016.

  1. Mae
    No wonder you are gay.
    Staff Member Staff Admin Donator

    Mae
    Joined:
    Feb 9, 2015
    Gender:
    Female
    Posts:
    2,769
    Reputation:
    488
    Thanks:
    1,535
    Location:
    Bed? something wrong?
    In-Love
    United States
    None
    None
    Skype name: Mae
    None
    Fvkyou
    None

    How to build your own hack [C++]

    I made a new tutorial that explains how to build your own hack using c++, a lot of users are asking me how to make their own hack. You should learn basic c++ first, like creating a method/function.. closing/opening the function.. after that.. learn how the game works. You want to learn how to code you should search this on google "c++ beginner exercises" and test yourself and create your own hack. But today, i'm going to explain how I usually create/build my own hack using c++ with screen shots!

    step1. Create a new project.
    Q: Why do we need to create a new project?
    A: Are you really going to ask me that Q?
    [​IMG]

    step2. Select "Win32>>Win32 Project>>your project name>>Ok"
    [​IMG]

    step3. click next..
    [​IMG]

    step4. click "Dll>>Empty Project>>Finish"
    [​IMG]

    step5. 1. you're going to change your build setting from debug to release.
    Q: Why?
    A: That thing can help you to prevent from getting your dll detect.
    2. Create/Add a new item
    [​IMG]

    step6. Create your main c++ source now.
    [​IMG]

    step7. you can now create your own code now but you must have your main dll function.
    [​IMG]

    Q: How can I create my own code if I'm a beginner?
    A: I shared some useful things and all you need to do it build it and find a tricks how to make it undetected.
    Q: Can you at least post some ready to build codes?
    A: Search.

    Example: esp health & name memory
    main.h
    Code:
    Code:
    Code:
    DWORD FindPatternPointer( DWORD dwStart, DWORD dwLen, BYTE* pszPatt, char pszMask[] )
    {
    unsigned int i = NULL;
    int iLen = strlen( pszMask ) - 1;
    for( DWORD dwRet = dwStart; dwRet < dwStart + dwLen; dwRet++ )
    {
    if( *(BYTE*)dwRet == pszPatt || pszMask == '?' )
    {
    if( pszMask[i+1] == '\0' ) return( dwRet - iLen ); i++;
    }
    else i = NULL;
    } return NULL;
    }
    
    void MemWrite(void *adress,void *bytes,int size)
    {
    DWORD dwProtect;
    VirtualProtect((void*)adress,size,PAGE_EXECUTE_READWRITE,&dwProtect);
    memcpy((void *)adress,(PBYTE)bytes,size);
    VirtualProtect((void*)adress,size,dwProtect,&dwProtect);
    }
    
    


    main.cpp
    Code:
    Code:
    Code:
    #include <windows.h>
    #include <process.h>
    #include "main.h"
    
    LPTSTR PBSTR = "PointBlank.exe";
    LPTSTR PBi3Gfxx = "i3GfxDx.dll";
    DWORD DwStartAddress, DwSize;
    DWORD ResultESP1, ResultESP2, ResultPlayerBase;
    bool logaddress = false;
    void SearchPatterns(void)
    {
    Sleep(100);
    DwStartAddress = 0x400000;
    do {
    DwStartAddress = (DWORD)GetModuleHandle(PBSTR);
    }while(!DwStartAddress);
    DwSize = 0xA00000;
    
    DWORD dwPlayerBase = FindPatternPointer(DwStartAddress,DwSize,(PBYTE)"\xC7\x05\x00\x00\x00\x00\x00\x00\x00\x00\xC3\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\x55\x8B\xEC\x56","xx????????xxxxxxxxxxxxxxx");
    DWORD dwNameESP = FindPatternPointer(DwStartAddress,DwSize,(PBYTE)"\x75\x58\x68\x00\x00\x00\x00\x8D\x4D\xD8\xE8\x00\x00\x00\x00","xxx????xxxx????");
    DWORD dwHealthESP = FindPatternPointer(DwStartAddress,DwSize,(PBYTE)"\x0F\x84\x00\x00\x00\x00\x8B\x4E\x00\xE8\x00\x00\x00\x00\x8B\x4E\x00","xx????xx?x????xx?");
    
    ReadProcessMemory(GetCurrentProcess(), (LPCVOID) (dwPlayerBase+0x2), &ResultPlayerBase, sizeof(ResultPlayerBase), NULL);
    ResultESP1 = dwNameESP;
    ResultESP2 = dwHealthESP;
    }
    
    bool enable = false;
    unsigned __stdcall RAMLeague(LPVOID param)
    {
    SearchPatterns();
    while( TRUE )
    {
    if(ResultPlayerBase)
    {
    DWORD g_pPlayer = *(DWORD*)ResultPlayerBase;
    if(g_pPlayer != 0)
    {
    if(enable == false)
    {
    MemWrite((void *)(ResultESP2),(void*)(PBYTE)"\x90\x90\x90\x90\x90\x90", 6);
    MemWrite((void *)(ResultESP1),(void*)(PBYTE)"\x90\x90", 2);
    enable = true;
    }
    }
    }
    }
    return 0;
    }
    
    BOOL WINAPI DllMain(HINSTANCE hinstModule, DWORD dwReason, LPVOID lpvReserved)
    {
    if(dwReason == DLL_PROCESS_ATTACH)
    {
    _beginthreadex(0, 0, RAMLeague, 0, 0, 0);
    }
    return true;
    }
    
    
     
    zStraiker, shiinshan and Drex thanks this.
    • BE A GAMER - RAMLeague
  2. Destroyerz Member
    Member Lvl1

    Destroyerz
    Joined:
    Feb 11, 2015
    Gender:
    Female
    Posts:
    17
    Reputation:
    0
    Thanks:
    1
    Drunk
    @Mae Can PBGI???
     
  3. Mae
    No wonder you are gay.
    Staff Member Staff Admin Donator

    Mae
    Joined:
    Feb 9, 2015
    Gender:
    Female
    Posts:
    2,769
    Reputation:
    488
    Thanks:
    1,535
    Location:
    Bed? something wrong?
    In-Love
    United States
    None
    None
    Skype name: Mae
    None
    Fvkyou
    None
    Of course.. but you need to change the pattern..
     
  4. Destroyerz Member
    Member Lvl1

    Destroyerz
    Joined:
    Feb 11, 2015
    Gender:
    Female
    Posts:
    17
    Reputation:
    0
    Thanks:
    1
    Drunk
    hohohoho ...
    seems like you have to create a tutorial of how to create :
    "\xC7\x05\x00\x00\x00\x00\x00\x00\x00\x00\xC3\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\x55\x8B\xEC\x56"
    certainly we will always love you /pls
     
  5. omnuirniinngin Newbie Member

    omnuirniinngin
    Joined:
    Jan 22, 2016
    Gender:
    Male
    Posts:
    4
    Reputation:
    0
    Thanks:
    0
    Angelic
    Hi mae ? How to make this ? in PBPH
     
  6. str1k3r21 Member
    Member Lvl1

    str1k3r21
    Joined:
    Feb 15, 2016
    Posts:
    21
    Reputation:
    0
    Thanks:
    8
    For what point blank version is this ??
     
  7. Ronel Pamintuan Well-Known Member
    Member Lvl1

    Ronel Pamintuan
    Joined:
    Aug 12, 2015
    Gender:
    Male
    Posts:
    65
    Reputation:
    0
    Thanks:
    0
    Brooding
    @Mae this Source still working?
    or ca i get source for Norecoil only because i try this last time it works and i can add another Feature and now i cant
    plsss share another source :)
     
  8. Member Lvl1

    xxXIvanzkieXxx
    Joined:
    Sep 11, 2015
    Gender:
    Male
    Posts:
    9
    Reputation:
    0
    Thanks:
    0
    Happy
    But My cheat doesnt work? it says unable to load error?
     
  9. Member Lvl1

    ramLisTheBest
    Joined:
    Sep 2, 2015
    Gender:
    Male
    Posts:
    11
    Reputation:
    1
    Thanks:
    0
    Cloud_9
  10. str1k3r21 Member
    Member Lvl1

    str1k3r21
    Joined:
    Feb 15, 2016
    Posts:
    21
    Reputation:
    0
    Thanks:
    8
    remove the and from the project ...
     
  11. johnskie12xxxx Adict Gamer
    Member Lvl1

    johnskie12xxxx
    Joined:
    Sep 4, 2018
    Gender:
    Female
    Posts:
    161
    Reputation:
    0
    Thanks:
    11
    ok i try this if working plsss share cheats ros source code
     
  12. ricsorblade Well-Known Member
    Member Lvl1

    ricsorblade
    Joined:
    Oct 10, 2015
    Gender:
    Male
    Posts:
    59
    Reputation:
    0
    Thanks:
    3
    Fine
    hi ms. mae /pls can you help me how to create wallhack for pointblank ph /gassum/gassum/gassum/baba/baba/baba
     
    dopper thanks this.
  13. DjXzylrey Active Member
    Member Lvl1

    DjXzylrey
    Joined:
    Jul 19, 2015
    Gender:
    Male
    Posts:
    44
    Reputation:
    0
    Thanks:
    2
    Location:
    General Santos City
    Yeehaw
    Philippines
    xzylrey12@gmail.com
    xzylrey12@gmail.com
    Skype name: xzylrey12@gmail.com
    xzylrey12@gmail.com
    zel.pon
    xzylrey12
Loading...

Advertisement

Similar Threads Forum Date
Resource Hacker 5.1.8 Build 360 PC Apllications Nov 20, 2020
UnHackMe 11.99 Build 999 PC Apllications Oct 8, 2020
UnHackMe 11.99 Build 999 PC Apllications Oct 8, 2020
UnHackMe 11.99 Build 999 PC Apllications Oct 7, 2020
UnHackMe 11.97 Build 997 PC Apllications Sep 11, 2020
UnHackMe 11.97 Build 997 PC Apllications Sep 9, 2020

Tags for this Thread

:

Share This Page