Searching offsets & reading process memory

This is a discussion on Searching offsets & reading process memory within the DotA 2 Hacks board part of the DotA 2 category; Hello. I want to start new thread about memory in dota . So, i'm searching for dota offsets. Like HP, ...

Results 1 to 3 of 3
  1. #1
    dAsTex is offline Newbie
    Array
    Join Date
    Jan 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Searching offsets & reading process memory

    Hello.
    I want to start new thread about memory in dota.
    So, i'm searching for dota offsets.
    Like HP, MP Nick lenght and so on.
    Here is code to get base address and another info in C#.

    Offsets:
    HP: BA+0x14+0x7FC;(Int32);
    MP:BA+0x14+0x804;(float)
    Code:
    #region Adresses
            static IntPtr getClientAdress()
            {
                Process[] processes = Process.GetProcessesByName("dota");
               
                foreach (ProcessModule pm in processes[0].Modules)
                {
                    if (pm.ModuleName == "client.dll")
                    {
                        return pm.BaseAddress;
                    }
                }
                return (IntPtr)0x00;
            }
    
    
            static IntPtr getAddressByOffset(Int32 Pointer, Int32[] offsets)
            {
                VAM = new VAMemory("dota");
                Int32 DestAddress = 0;
                IntPtr currPointer = (IntPtr)Pointer;
                for (int i = 0; i < offsets.Length; i++)
                {
                    DestAddress = VAM.ReadInt32(currPointer);
                    currPointer = (IntPtr)(DestAddress + offsets[i]);
    
    
                }
    
    
                return currPointer;
            }
            #endregion
            static VAMemory VAM;
            static void Main(string[] args)
            {
                
                VAM = new VAMemory("dota");
                Int32 BaseAdr = Convert.ToInt32((Int32)getClientAdress()+0x1ECB80C);
                Int32[] off = new Int32[] {0x14,0x7FC };
                IntPtr adr = getAddressByOffset(BaseAdr, off);
                Console.WriteLine("Current HP:{0}",VAM.ReadInt32(adr));
                        Console.ReadLine();
            }
            
        }
    As you see, this code can give you baseAdress, and current HP.
    So, is there somebody who want to work with me?
    We need in dev community to get all info from memory.

    Last edited by dAsTex; 01-11-2013 at 07:21 PM.

  2. #2
    Djingad's Avatar
    Djingad is offline Guru
    Array
    Join Date
    Feb 2010
    Location
    Moscow, Russia
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    10
    What exactly you wanna find? Something more usefull? )
    Interesting idea, but what you need from volunteers?

  3. #3
    juvlarN's Avatar
    juvlarN is offline Newbie
    Array
    Join Date
    Feb 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    5
    Reputation
    4
    hey,

    just posted some infos you might be interested in here: DotA 2 Offsets - Collection

    i'll dig further into it at the weekend or something ;-)

Similar Threads

  1. Reading memory
    By NabySara in forum Starcraft 2 Coding
    Replies: 16
    Last Post: 09-12-2012, 09:16 PM
  2. [VB6] Memory Hacking/Writing/Reading
    By Darchrow in forum Development
    Replies: 0
    Last Post: 01-19-2011, 08:48 PM
  3. White Paper : Memory reading
    By tttommeke in forum WoW Guides
    Replies: 0
    Last Post: 12-01-2007, 08:33 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
  •