Results 1 to 1 of 1
  1. #1
    barr
    barr is offline
    Guest
    Join Date
    2014 Dec
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    [C++] unsure of how to read into structs generated by reclass

    Been lurking here quite a few days, love the tutorial section, but i've become stuck and a hell of a lot of googleing later
    and i still can't find the information i need.

    Im looking into displaying values to screen, i have located the player structure in the game. From there using reclass I made the following :
    PHP Code:
    class EntryPtr;
    class 
    FirstPtr;
    class 
    SecondPtr;
    class 
    PlayerPtr;

    class 
    EntryPtr
    {
    public:
        
    char _0x0000[416]; 
        
    FirstPtrOffset1//0x01A0 
        
    char _0x01A4[796]; //dont know why this is here, this is addrs after 1a0

    };//Size=0x04C0 

    class FirstPtr
    {
    public:
        
    char _0x0000[1800];
        
    SecondPtrOffset2//0x0708 
        
    char _0x070C[372]; //same as above

    };//Size=0x0880

    class SecondPtr
    {
    public:
        
    char _0x0000[608];
        
    PlayerPtrOffset3//0x0260 
        
    char _0x0264[28];

    };
    //Size=0x0280

    class PlayerPtr
    {
    public:
        
    char _0x0000[80];
        
    __int32 MaxHealth//0x0050 
        
    __int32 CurrHealth//0x0054 
        
    char _0x0058[28];
        
    __int32 MaxMana//0x0074 
        
    __int32 CurrMana//0x0078 
        
    char _0x007C[28];
        
    __int32 MaxSheild//0x0098 
        
    __int32 CurrSheild//0x009C 
        
    char _0x00A0[32];

    };
    //Size=0x00C0 
    What's the next step from here, I am injecting into the game and as such have access to its memory.

    Can i simply use my memoryreading function to read into the above?

    PHP Code:
    void Read(DWORD address
    {
        
    DWORD result;
        
    result = *(DWORD*)address;

    I've been stuck on this for a bit now and could really use some guidance. The game i'm trying to make this little tool for is Path Of Exile, a diablo type game.

    Thanks

Similar Threads

  1. [Guide] (READ) To who wants learn about programming
    By bisxcoito in forum Programming Tutorials
    Replies: 3
    Last Post: 2013-07-20, 11:35 PM
  2. [Info] Read only if you want know.
    By leeonardo in forum Aika Online
    Replies: 7
    Last Post: 2013-06-05, 08:04 PM
  3. [Help] Leonardo read here plis!!!!!!!
    By Gohanbasilica in forum Aika Online
    Replies: 3
    Last Post: 2013-01-17, 09:22 PM
  4. Dwar Please read, Thanks.
    By ragazzi05 in forum Martial Empires
    Replies: 4
    Last Post: 2011-07-06, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •