Results 1 to 3 of 3
  1. #1
    cantbeatme's Avatar
    Join Date
    May 2014
    Gender
    male
    Posts
    36
    Reputation
    10
    Thanks
    90
    My Mood
    Bored

    Reading m_iKills internally

    I'm having trouble reading the m_iKills count internally. It returns 4, then on first kill jumps to 11 and stays.

    Reading: DT_CSPlayerResource > m_iKills

    as DWORD m_iKills

    under struct OffsetList (OffsetList offsetlist

    and returning int value by:

    return *(int*)(offsetlist.m_iKills);

    What is wrong here I don't get it ;-;
    MPGH is my new place
    -=Messin wit cs:go=-

  2. #2
    legit_player's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    /root
    Posts
    313
    Reputation
    10
    Thanks
    2,784
    My Mood
    Cool
    Code:
    int GetHealth()
    {
    	return *reinterpret_cast<int*>(this + NetVars.m_iKills);
    }

  3. #3
    Hunter's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Depths Of My Mind.
    Posts
    17,468
    Reputation
    3771
    Thanks
    6,159
    My Mood
    Cheerful
    Believe this has been solved.

    /Closed.

Similar Threads

  1. Replies: 3
    Last Post: 07-08-2011, 01:19 PM
  2. Combat Arms Internal Maintenance [Read More]
    By Jabuuty671 in forum Combat Arms Discussions
    Replies: 22
    Last Post: 07-20-2010, 11:35 PM
  3. Read Before Requesting
    By Chronologix in forum Help & Requests
    Replies: 0
    Last Post: 01-14-2006, 04:56 PM
  4. Helbreath International
    By Mortifix in forum General Game Hacking
    Replies: 0
    Last Post: 01-09-2006, 08:24 PM
  5. Rules - Read Before Posting
    By Dave84311 in forum General Game Hacking
    Replies: 0
    Last Post: 12-31-2005, 11:13 AM