Results 1 to 3 of 3
  1. #1
    I love myself
    나도 너를 사랑해

    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    167,646,447
    Posts
    5,150
    Reputation
    1220
    Thanks
    7,394
    My Mood
    Stressed

    Ironsight Steam Pointers & Offsets

    Someone PMed to create ESP for this game, I'm kind of busy lately and got no time to do it and I got hooked working on it. (I have wasted my time for this dead game).

    Code:
    struct Player
    {
    public:
    	Table* p_Table() { return *(Table**)(this + 0x4); }
    	Actor* p_LocalOwner() { return *(Actor**)(this + 0x8); }
    };
    
    struct  Table
    {
    	char space[0x14];
    	Actor** Players;
    };
    
    struct Actor
    {
    	char _0x0000[8];
    	D3DXVECTOR3 Position; //0x0008 
    	char _0x0014[48];
    	float Health; //0x0044 
    	char _0x0048[744];
    	D3DXMATRIX ViewMatrix; //0x0330 
    	char _0x0370[1208];
    	wchar_t * Name[16]; //0x0828 
    	char _0x0838[8];
    };
    
    struct Render
    {
    	char pad_0x0000[0x20];
    	IDirect3DDevice9* pDevice; 
    	int Width; 
    	int Height; 
    };
    
    struct cMatrix
    {
    	D3DXMATRIX Matrix; //0x0000 
    	char _0x0040[1024];
    };
    
    Player* pBase = (Player*)(pUtils.modBase.dwBase + 0xA88B2C); //C7 05 ? ? ? ? ? ? ? ? 68 ? ? ? ? 0F 11 05 ? ? ? ? C7 05 ? ? ? ? ? ? ? ? C6 05 ? ? ? ? ?
    Render* pRender = *(Render**)(pUtils.modBase.dwBase + 0xA89198); //8B 0D ? ? ? ? 8D 44 24 18 50
    cMatrix* pMatrix = *(cMatrix**)(pUtils.modBase.dwBase + 0xA91D00); //03 05 ? ? ? ? 50
    Usage:
    Code:
    void function::CallEsp(LPDIRECT3DDEVICE9 pDevice)
    {
    	Player* pBase = (Player*)(pUtils.modBase.dwBase + 0xA88B2C);
    	if (!pBase)
    		return;
    
    	Render* pRender = *(Render**)(pUtils.modBase.dwBase + 0xA89198);
    	if (!pRender)
    		return;
    
    	auto pLocal = pBase->p_LocalOwner();
    	if (!pLocal || !pBase->p_Table())
    		return;
    
    	for (int i = 0; i < 32; i++)
    	{
    		auto pPlayer = pBase->p_Table()->Players[i];
    		if (!pPlayer)
    			continue;
    
    		D3DXVECTOR3 vPlayer = pPlayer->Position, vScreen;
    		if (WorldToScreen(vPlayer, vScreen))
    		{
    			pMenu.sWriteText(vScreen.x, vScreen.y, D3DCOLOR_ARGB(255, 000, 255, 000), "%X - %0.2f", pPlayer, pPlayer->Health);
    		}
    	}
    }



    Credits to:
    N_FIDANzza
    Finz Rus
    Last edited by Jhem; 11-20-2019 at 08:32 AM.

  2. The Following User Says Thank You to Jhem For This Useful Post:

    sepehrkiller (12-20-2019)

  3. #2
    Baby Yoda's Avatar
    Join Date
    Jan 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Innocent
    noob here. how would i use this?

  4. #3
    Threadstarter
    I love myself
    나도 너를 사랑해

    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    167,646,447
    Posts
    5,150
    Reputation
    1220
    Thanks
    7,394
    My Mood
    Stressed
    Quote Originally Posted by Baby Yoda View Post
    noob here. how would i use this?
    It is a source for dev/coder.

Similar Threads

  1. [Release] Some Crossfire EU ( Addy's , Pointer's , Offsets )
    By BlackLite in forum CrossFire Europe Hack Source Code
    Replies: 35
    Last Post: 03-24-2012, 04:18 PM
  2. [Release] Pointers, Addys, Offsets, WeaponLog, ETC
    By DaRk in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 3
    Last Post: 02-05-2012, 02:16 PM
  3. [Request] Need pointer and offsets
    By badboy3 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 2
    Last Post: 12-28-2011, 02:17 PM
  4. MapleStory Pointers And Offsets v1.0
    By Dreamer in forum MapleStory Hack Coding/Source Code
    Replies: 2
    Last Post: 08-22-2011, 12:35 AM
  5. Pointers and Offsets
    By aanthonyz in forum C++/C Programming
    Replies: 8
    Last Post: 03-03-2011, 02:37 AM