Results 1 to 3 of 3
  1. #1
    cucuYeL's Avatar
    Join Date
    Jun 2012
    Gender
    female
    Location
    En la revista
    Posts
    1,361
    Reputation
    272
    Thanks
    2,532

    Distinguishing between Enemy and Player Pointers?

    Pre-Question: My hack is going to be a GDI Drawing, and from what i've read, these external hacks use the function ReadProcessMemory- which, by my data, is the only very useful non-aCI/VAC detected hacking function that can be used.

    That leads to my first question: is this true?

    I've gone through the address thread a couple times, and in my ESP Source, (GDI Drawing), I need to get enemy pointers as well as player pointers.

    The PlayerRet vector is easy enough to understand, but the Enemy vector is a bit harder, partly due to there being extra things multiplied to the address. I've just gone through basic C++ Functions, and Variables, but I don't know addresses very well.

    For example, right here, in my enemy vec



    That is part of my enemy vector, what confuses me is the multiplying by other bytes whereas the player vectors are just the addresses themselves. Are those offsets of the same address?

    Secondly, getting to the main point of the thread, how do I get the enemy pointers? I am under the assumption that the addresses in the thread are just for the player (Team, Health, etc.)

    I would appreciate any help. Thanks

  2. #2
    cucuYeL's Avatar
    Join Date
    Jun 2012
    Gender
    female
    Location
    En la revista
    Posts
    1,361
    Reputation
    272
    Thanks
    2,532
    My link failed >.>
    http://imgur.com/yO8qgko.png

  3. #3
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,877
    My Mood
    Psychedelic
    In CG stores the local player number.
    Use that to find the ClientInfo structure for the given player. In that ClientInfo struct stores the local team number.

    So a check would be like:
    Code:
    for(int i=0; i<18; i++)
    {
      if(ClientInfo[CG->ClientNumber]->Team == ClientInfo[i]->Team) continue; //This means the loop will start over if they are on the same team. Use != for only teammember check
      //Do whatever you want to the enemy here. If you used != it's for the team members.
    }
    Last edited by Kenshin13; 03-23-2013 at 12:08 AM.

Similar Threads

  1. are my server and player pointer are correct ? please check!
    By jennifer anne lopez in forum WarRock Philippines Help & Discussions
    Replies: 4
    Last Post: 07-19-2012, 12:45 PM
  2. [Help] How to Find NoBugDamage and Player Pointer addie in OllyDbg?
    By CheatCreatorzz in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 2
    Last Post: 06-30-2011, 10:21 AM
  3. no spread and player pointer and addylogger
    By norto in forum WarRock Hack Source Code
    Replies: 21
    Last Post: 03-10-2011, 01:39 PM
  4. Enemy Player Pointer
    By StupidLittleNoob in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 49
    Last Post: 10-25-2010, 04:17 PM
  5. The Enemy Player Pointer Address
    By NOOB in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 39
    Last Post: 10-23-2010, 09:07 PM