Results 1 to 7 of 7
  1. #1
    Nikita1482's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    106
    Reputation
    15
    Thanks
    34
    My Mood
    Cheerful

    2D and 3D box!!!

    I saw in some dll, what there is such function as 2D or 3D boxes, that is terrorists were in a red square, and SWAT were in dark blue squares how to make such squares won't prompt a code? I searched on a forum haven't found.

  2. #2
    joered's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Netherlands
    Posts
    345
    Reputation
    17
    Thanks
    332
    you want to know how to make them??? you need to hook cf and add a world 2 screen and search in the playerclass for the right addies and then draw a box


    “Imagination, devotion, perseverance, together with divine grace, will assure your success.”

    ―Haile Selassie





    Work from back in the days:

    Soldierfront Public d3d - Detected since 2011

    Crossfire VIP:

  3. #3
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by joered View Post
    you want to know how to make them??? you need to hook cf and add a world 2 screen and search in the playerclass for the right addies and then draw a box
    I not sure if that will work but, If he Hook CF get the Players Location(ESP) and Draw a Box around them, he be find.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  4. #4
    Nikita1482's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    106
    Reputation
    15
    Thanks
    34
    My Mood
    Cheerful
    Quote Originally Posted by joered View Post
    Вы хотите знать, как их делать?? Вам нужно подключить CF и добавить 2 мировой экран и искать в playerclass за право addies, а затем нарисовать прямоугольник
    I mean a code of the rectangle, and all the rest I can make.

  5. #5
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    struct sVertex
    {

    float x, y, z, RHW;
    DWORD color;

    enum FVF
    {
    FVF_Flags = (D3DFVF_XYZRHW | D3DFVF_DIFFUSE)
    };
    };
    sVertex new_sVertex(DWORD x, DWORD y, DWORD color)
    {
    float fx = float(x);
    float fy = float(y);
    float fz = float(0);
    float RHW = float(0);
    sVertex ret = {fx,fy,fz,RHW, color};
    return ret;
    }
    void DrawBox(LPDIRECT3DDEVICE9 pDevice, DWORD x, DWORD y, DWORD w, DWORD h, DWORD color)
    {
    sVertex Veri[4] =
    {
    new_sVertex(x,y,color),
    new_sVertex(x+w,y,color),
    new_sVertex(x,y+h,color),
    new_sVertex(x+w,y+h,color)
    };

    pDevice->SetFVF( sVertex::FVF_Flags );
    pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,Veri,sizeof (sVertex));
    }
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  6. #6
    Assassin's Creed's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    1,210
    Reputation
    54
    Thanks
    1,408
    My Mood
    Worried
    Quote Originally Posted by topblast View Post
    Code:
    struct sVertex
    {
    	
        float x, y, z, RHW;
    	DWORD color;
    	
        enum FVF
        {
            FVF_Flags = (D3DFVF_XYZRHW | D3DFVF_DIFFUSE)
        };
    };
    sVertex new_sVertex(DWORD x, DWORD y, DWORD color)
    {
    	float fx = float(x);
    	float fy = float(y);
    	float fz = float(0);
    	float RHW = float(0);
    	sVertex ret = {fx,fy,fz,RHW, color};
    	return ret;
    }
    void DrawBox(LPDIRECT3DDEVICE9 pDevice, DWORD x, DWORD y, DWORD w, DWORD h, DWORD color)
    {
    	sVertex Veri[4] =
    	{
    		new_sVertex(x,y,color),
    		new_sVertex(x+w,y,color),
    		new_sVertex(x,y+h,color),
    		new_sVertex(x+w,y+h,color)
    	};
    
    	pDevice->SetFVF( sVertex::FVF_Flags  );
    	pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,Veri,sizeof(sVertex));
    }
    I doubt he would understand any thing from that
     

    Contributer Since 20/2/2012
    MPGH Member Since December 2011

     





     

    offical thread> Assassin V15<

    To all People who thinks am a leecher,hate me,are jelly from me....
    Refer to this thread...
    https://www.mpgh.net/forum/232-crossf...stop-hate.html

  7. #7
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    i think that he will make a post asking for the rest maybe i make a mistake but...

Similar Threads

  1. Trading CoD4 key for Steam w/ CS:S1.6 and Orange Box
    By Rave. in forum Trade Accounts/Keys/Items
    Replies: 1
    Last Post: 01-03-2011, 07:12 AM
  2. Me and zidnietje in a BOX - READ
    By obsedianpk in forum WarRock - International Hacks
    Replies: 19
    Last Post: 10-23-2007, 10:59 AM
  3. a list of every retail box and where to get them.
    By zkII24 in forum WarRock - International Hacks
    Replies: 16
    Last Post: 08-23-2007, 06:42 PM
  4. [TuT] How to make PW and value box for Guns/Superjump/SkyStormer(VB6)
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 14
    Last Post: 06-30-2007, 01:09 PM
  5. What Are Boxes And How Do You Make Stand Alone Trainers?
    By condor01 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 04-19-2007, 02:17 AM