Results 1 to 5 of 5
  1. #1
    kauknochen's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    1
    My Mood
    Devilish

    Question Need Help with ESP bzw D3DXVECTOR3

    Hey MPGH

    I need your help ,
    i have an problem... I have tryed to build a ESP func.
    I have the x,y,z coards from the enemy and from my player.
    But it crash. Can anybode help me? :/
    Thanks


    Code:
    void ESP()
    {
            PlayerPosition* pTargetPlayerPosition = 0;
    	PlayerPosition* pOwnPosition = 0;
    	if(g_ESP == true & g_iESP == false)//hack on off
    	{
    		if(*(DWORD*)(ADR_RoomState) == 1)//check if you are in room or not 
    		{
    	//-------------------Get X,Y,Z from Enemy----------------//
    	pTargetPlayerPosition = reinterpret_cast<PlayerPosition*>(GetPlayerAddress(g_iSelectedPlayer)); //get x,y,z from selected player
            D3DXVECTOR3 View(0,0,0);
            D3DXVECTOR3 Enemy2 (pTargetPlayerPosition->X,pTargetPlayerPosition->Y,pTargetPlayerPosition->Z);
            if(GetScreenCoordFromWorld(pDevice, View, Enemy2))
            {
            DrawBox(View.x,View.y,10,10,RED,pDevice);
            }
    }
    }
    struct PlayerPosition
    {
    	float X;
    	float Z;
    	float Y;	
    };
    Thanks!

  2. #2
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    maybe pDevice gout be invalid?


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  3. #3
    ~Kau~'s Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Nono. I solved it. But now I have a new problem.. I cant access/find the x,y,z pointer/ofs for the enemys :/
    could some help me?

  4. #4
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,750
    Reputation
    66
    Thanks
    14,529
    My Mood
    Angelic
    Quote Originally Posted by ~Kau~ View Post
    Nono. I solved it. But now I have a new problem.. I cant access/find the x,y,z pointer/ofs for the enemys :/
    could some help me?
    For what game is it?
    Last edited by MarkHC; 07-31-2012 at 02:55 PM.


    CoD Minion from 09/19/2012 to 01/10/2013

  5. #5
    ~Kau~'s Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    BrickForce

Similar Threads

  1. [Help Request] Need Help With A.V.A Error
    By ch1025 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 7
    Last Post: 05-14-2011, 09:15 AM
  2. [Help Request] Need help with making binds !
    By JonathanTBM in forum Vindictus Help
    Replies: 4
    Last Post: 05-10-2011, 07:40 PM
  3. [Help Request] Need help with numpad while recording macro !
    By JonathanTBM in forum Vindictus Help
    Replies: 2
    Last Post: 05-10-2011, 07:37 PM
  4. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 12:40 PM
  5. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 09:06 PM

Tags for this Thread