Thread: Entity

Results 1 to 8 of 8
  1. #1
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    533
    Reputation
    10
    Thanks
    5,879
    My Mood
    Happy

    Entity

    Could be useful?
    Code:
    DWORD EntityList = 0x101FA9BE;
    
    class cPlayer
    {
    public:
    	int GetHealth(DWORD Entity);
    	int GetAP(DWORD Entity);
    	int GetPrimaryAmmo(DWORD Entity);
    	int GetSecondaryAmmo(DWORD Entity);
    	int GetTotalShotsFired(DWORD Entity);
    	bool IsShooting(DWORD Entity);
    };
    
    int cPlayer::GetHealth(DWORD Entity)
    {
    	return (int)*(DWORD*)(Entity - 0x212);
    }
    
    int cPlayer::GetAP(DWORD Entity)
    {
    	return (int)*(DWORD*)(Entity - 0x216);
    }
    
    int cPlayer::GetPrimaryAmmo(DWORD Entity)
    {
    	return (int)*(DWORD*)(Entity - 0x13E);
    }
    
    int cPlayer::GetSecondaryAmmo(DWORD Entity)
    {
    	return (int)*(DWORD*)(Entity - 0x13A);
    }
    
    int cPlayer::GetTotalShotsFired(DWORD Entity)
    {
    	return (int)*(DWORD*)(Entity + 0x17);
    }
    
    bool cPlayer::IsShooting(DWORD Entity)
    {
    	return (bool)((*(DWORD*)(Entity + 0xDA)) == 1 ? true : false);
    }
    Last edited by failnoobgamer; 06-28-2016 at 06:18 AM.

  2. The Following 3 Users Say Thank You to failnoobgamer For This Useful Post:

    RuShi (06-28-2016),Obliteration (06-28-2016),weelen11 (07-01-2016)

  3. #2
    Obliteration's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    707
    Reputation
    154
    Thanks
    646
    The TotalShotsFired and IsShooting is nice, thanks.

  4. #3
    RuShi's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    File Not Found 404!
    Posts
    2,531
    Reputation
    210
    Thanks
    13,009
    My Mood
    Innocent
    Quote Originally Posted by failnoobgamer View Post
    Could be useful?
    Code:
    DWORD EntityList = 0x101FA9BE;
    
    class pLocalEntity
    {
    public:
    	int GetHealth(DWORD Entity);
    	int GetAP(DWORD Entity);
    	int GetPrimaryAmmo(DWORD Entity);
    	int GetSecondaryAmmo(DWORD Entity);
    	int GetTotalShotsFired(DWORD Entity);
    	bool IsShooting(DWORD Entity);
    };
    
    int pLocalEntity::GetHealth(DWORD Entity)
    {
    	return *(DWORD*)(Entity - 0x212);
    }
    
    int pLocalEntity::GetAP(DWORD Entity)
    {
    	return *(DWORD*)(Entity - 0x216);
    }
    
    int pLocalEntity::GetPrimaryAmmo(DWORD Entity)
    {
    	return *(DWORD*)(Entity - 0x13E);
    }
    
    int pLocalEntity::GetSecondaryAmmo(DWORD Entity)
    {
    	return *(DWORD*)(Entity - 0x13A);
    }
    
    int pLocalEntity::GetTotalShotsFired(DWORD Entity)
    {
    	return *(DWORD*)(Entity + 0x17);
    }
    
    bool pLocalEntity::IsShooting(DWORD Entity)
    {
    	return (bool)((*(DWORD*)(Entity + 0xDA)) == 1 ? true : false);
    }
    This for SEA right ? hmm nice .
    Last edited by Heroes; 06-28-2016 at 06:08 AM.


    MPGH History:
    Member: 02/1/2016
    Contributor: 29/6/2016
    Minion: 25/8/2016
    Former Staff: 07/02/2017
    Minion: 21/9/2017

  5. #4
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    533
    Reputation
    10
    Thanks
    5,879
    My Mood
    Happy
    Yes. It is for SEA.

  6. #5
    Caezer99's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    577
    Reputation
    10
    Thanks
    1,243
    Function return type is int but you return DWORD...
    Last edited by Caezer99; 06-28-2016 at 06:14 AM.


    Mess with the best, die like the rest.


  7. #6
    failnoobgamer's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    china #1
    Posts
    533
    Reputation
    10
    Thanks
    5,879
    My Mood
    Happy
    Quote Originally Posted by Caezer99 View Post
    Function return type is int but your return DWORD...
    Ooops i forgot.. I was rushing it

  8. #7
    Caezer99's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    577
    Reputation
    10
    Thanks
    1,243
    class pEntity?

    not

    class cPlayer?

    Are you sure other entities have those things.


    Mess with the best, die like the rest.


  9. The Following User Says Thank You to Caezer99 For This Useful Post:

    failnoobgamer (06-28-2016)

  10. #8
    nikazizi97's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    677
    Reputation
    10
    Thanks
    590
    My Mood
    Angelic
    WOW !! Nice Code

    until
    I cannot understand them !!

    @Caezer99 @failnoobgamer Can Teach or Tell me How to Use it ?
    [Outdated] Weapon Hack All Server (BlackShot SEA) - 20/03
     
    [Outdated] Weapon Hack All Server (BlackShot SEA)
    [Preview] Simple Hack v0.0.1 + Weapon Hack + Aimbot [BlackShot SEA]

    Video Preview :


    Just Simple Hack v0.0.1

    Features :
    8 xDamage
    44.8 xSpeed
    xRapidFire
    Weapon2Melee



    Code:
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Similar Threads

  1. Respawn Entities ( Without reloading map )
    By dwrowla in forum Vindictus Help
    Replies: 3
    Last Post: 10-17-2011, 03:52 AM
  2. [HELP] Adding entities / brushes to mods?
    By ThrowTheCat in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 10-02-2010, 06:07 PM
  3. [AssaultCube]Get local player entity
    By Retoxified in forum C++/C Programming
    Replies: 1
    Last Post: 04-04-2010, 10:24 PM
  4. [AssaultCube]Get player entities(external)
    By Retoxified in forum C++/C Programming
    Replies: 1
    Last Post: 04-03-2010, 07:23 AM
  5. Replies: 10
    Last Post: 10-15-2009, 03:22 PM