Results 1 to 2 of 2
  1. #1
    GEHhgerhgerhgerhrhr's Avatar
    Join Date
    Jan 2013
    Gender
    female
    Location
    <------> ◕‿◕ <------>
    Posts
    675
    Reputation
    107
    Thanks
    11,410
    My Mood
    Angelic

    Post Diablo Series [D3]Basic Maphack

     
    class Minimap
    {
    public:
    PAD(0xC); // 0x00
    MinimapArea* firstArea; // 0x0C
    }; // 0x10

    class MinimapArea
    {
    public:
    INT areaId; // 0x00
    INT sceneId; // 0x04
    INT worldId; // 0x08
    INT snoId; // 0x0C
    POINT posStart; // 0x10
    POINT posEnd; // 0x18
    PAD(0x4); // 0x20
    DWORD* revealMap; // 0x24
    UINT sizeX; // 0x28
    UINT sizeY; // 0x2C
    PAD(0xC); // 0x30
    MinimapArea* next; // 0x3C
    }; // 0x40


     
    VOID RevealArea(MinimapArea* area)
    {
    if(area == NULL)
    return;

    DWORD* revealMap = area->revealMap;
    if(revealMap == NULL)
    return;

    __asm
    {
    push edi;
    mov edi, area;

    push revealMap;
    call D3_RevealArea;
    add esp, 0x4;

    pop edi;
    }
    }


    Minimap* - xyyyyxxx?xxxxxxxxxx \xA1\x00\x00\x00\x00\x85\xC0\x74\x00\x33\xC9\x39\x 48\x58\x0F\x94\xC1\x89\x48
    D3_RevealArea - xxxxxxxxxxxxx \x55\x8B\xEC\x83\xEC\x0C\x8B\x47\x2C\x8B\x4F\x28\x 56

    Example code, has to be called within a hook for TLS.

     
    VOID RevealMap()
    {
    MinimapArea* area = D3_Minimap->firstArea;
    if(area == NULL)
    return;

    for(; area; area = area->next)
    {
    if(area->revealMap == NULL)
    continue;

    UINT mapSize = area->sizeX * area->sizeY;
    for(UINT i = 0; i < mapSize; i++)
    area->revealMap[i] |= 0x7000FFFF; // changes to non-local player explored
    // can be set to fully explored

    RevealArea(area);
    }
    }

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

    a3724 (02-27-2013)

  3. #2
    a3724's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    3
    My Mood
    Amazed
    Very nice work But its all Chinese 2 all of us (Mainly me by the looks of it)

    Please could you compile the code and release the hack? Or isnt it that simple?

Similar Threads

  1. [Release] [Coding] Basic Maphack
    By blaazed in forum Diablo 3 Hacks / Bots
    Replies: 1
    Last Post: 10-14-2012, 08:04 AM
  2. [Tutorial] The basics of Direct3D[Series][Part 1]
    By Hell_Demon in forum C++/C Programming
    Replies: 10
    Last Post: 06-26-2011, 10:23 PM
  3. [Release] ValiantChaos Basic Maphack v1.0.1 for StarCraft II v1.3.3.18574
    By Havik in forum Starcraft 2 Hacks
    Replies: 2
    Last Post: 05-28-2011, 02:19 AM
  4. Basic Animation
    By Chronologix in forum Tutorials
    Replies: 29
    Last Post: 09-15-2008, 09:05 AM
  5. Basic Signature
    By Chronologix in forum Tutorials
    Replies: 68
    Last Post: 09-25-2007, 12:33 AM