C++ UserFind Box

05/01/2011 18:18 Dr.Php#1
Hello,

I decided to release a userfinder box smile.gif
So Enjoy wink.gif

Code :

Code:
Include voids :

RECT rect6;
void DrawTextL(float x,float y,DWORD color,char *text,ID3DXFont *font)
{
SetRect( &rect6, x, y, x , y );
font->DrawTextA(NULL,text,-1,&rect6,DT_LEFT|DT_NOCLIP,color);
}

void DrawBox1(LPDIRECT3DDEVICE9 pDevice , int x, int y, int w, int h, DWORD Color)
{
    D3DRECT rec;
    rec.x1 = x;
    rec.x2 = x + w;
    rec.y1 = y;
    rec.y2 = y + h;
    pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, Color, 0, 0 );
}


void DrawBox( int x, int y, int w, int h, D3DCOLOR Color,LPDIRECT3DDEVICE9 pDevice)
{
    struct Vertex {
    float x,y,z,ht;
    DWORD Color;
    };
    Vertex V[4];
    V[0].Color = V[1].Color = V[2].Color = V[3].Color = Color;
    V[0].z   = V[1].z   = V[2].z   = V[3].z   = 0.0f;
    V[0].ht = V[1].ht = V[2].ht = V[3].ht = 0.0f;

    V[0].x = V[1].x = (float)x;
    V[0].y = V[2].y = (float)(y + h);
    V[1].y = V[3].y = (float)y;
    V[2].x = V[3].x = (float)(x + w);

pDevice->SetTexture(0, NULL);
pDevice->SetFVF(D3DFVF_XYZRHW|D3DFVF_DIFFUSE|D3DFVF_TEX1);
pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Vertex));
}

void DrawRectangle(int x, int y, int w, int h, int s, DWORD Color, LPDIRECT3DDEVICE9 pDevice)
{
    DrawBox1(pDevice, x, y, w, s, Color );
    DrawBox1(pDevice, x, y, s, h, Color );
    DrawBox1(pDevice, (x+w), y, s, h, Color );
    DrawBox1(pDevice, x, (y+h), w+s, s, Color );
}

In myPresent :

        /*Author : Dr.Php ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
        /*~~~~~UserFinder Box Written By Dr.Php~~~~~*/
        /*Copyrights www.hacklions.com~~~~~~~~~~~~~~*/
        /*~~~~~Do not Leech this without my Permission~~~~~*/
        /*~~~~~<<<<<<<<<<<<<<<Enjoy>>>>>>>>>>>>>>>>>>>~~~~~*/
         if (CH_UserFindBox && Mvisible)
         {
            if (CH_UserFindBox)
            {
            int Docter;
            Docter =(CH_UserFindBox -1);
            DWORD ADR_USERD3D = (ADR_D3DNAME + (STRUCTERSIZEOFPLAYER * Docter ) );
            DWORD ADR_USERIPS = (ADR_D3DIP + (STRUCTERSIZEOFPLAYER * Docter ) );
            DWORD ADR_USERHEALTH = (ADR_USERHP +(STRUCTERSIZEOFPLAYER * Docter));
            sprintf(D3DUser,"%s",(ADR_USERD3D));
            sprintf(D3DIP,"%s",(ADR_USERIPS));
            sprintf(D3DHealth,"Update Addie",(ADR_USERHEALTH));
            }
            else
            {
            sprintf(D3DUser,"----");
            sprintf(D3DIP,"----");
            sprintf(D3DHealth,"----");
            }
            DrawBox(560,60,130,80,RedLighted,pDevice); // Change to ur own color (If u don't have)
            DrawRectangle(560,60,130,80,1,Skyblue,pDevice); // Change to ur own color (If u don't have)
            /*[-------------------------------------------]*/
            DrawBox(560,30,130,25,RedLighted,pDevice); // Change to ur own color (If u don't have)
            DrawRectangle(560,30,130,25,1,Skyblue,pDevice); // Change to ur own color (If u don't have)
            DrawTextL(600,35,Skyblue,("UserFinder"),m_pFont); // Change to ur own color (If u don't have)
            DrawTextL(575,65,textWhite,("Name :"),m_pFont); // Change to ur own color (If u don't have)
            DrawTextL(615,65,textWhite,(D3DUser),m_pFont); // Change to ur own color (If u don't have)
            DrawTextL(575,77,textWhite,("IP :"),m_pFont); // Change to ur own color (If u don't have)
            DrawTextL(600,77,textWhite,(D3DIP),m_pFont); // Change to ur own color (If u don't have)
            DrawTextL(575,89,textWhite,("Health :"),m_pFont); // Change to ur own color (If u don't have)
            DrawTextL(620,89,textWhite,(D3DHealth),m_pFont); // Change to ur own color (If u don't have)
            }
05/01/2011 21:09 NikM#2
Gut kopiert und toll die Variablen Namen geänder :)

Give Credits to Willi27
05/01/2011 21:11 _Vendetta_#3
Das is leching und wird Reportet ;D
05/01/2011 21:25 theitfan1337#4
Quote:
Originally Posted by _H4rDStyL3_ View Post
Das is leching und wird Reportet ;D
Wo steht das Leeching verboten ist? :)
05/01/2011 21:28 Norbert8#5
UserFind Box was ist das??
05/01/2011 21:39 _Vendetta_#6
Quote:
Originally Posted by Nomad' View Post
Wo steht das Leeching verboten ist? :)
:awesome: wen man was als seins Ausgibt Z.b wen ich sagen würde sirosix is mein hack und meine credits angebe das ist verboten und er macht das gerade
05/01/2011 21:42 theitfan1337#7
Genau genommen ist es nicht verboten, nur unerwünscht.
05/01/2011 22:43 _Headsh0t_#8
Quote:
Originally Posted by Nomad' View Post
Wo steht das Leeching verboten ist? :)
Quote:
Originally Posted by Real~Life View Post
#Updated

Regel hinzugefügt: Das Leechen von Hacks ist verboten!

Grund

Uns Moderatoren ist des Öfteren aufgefallen, dass irgendwelche User Hacks nehmen
und deren Credits dort verändern/einfügen, und dann einen falschen Downloadlink (& Fake VT) posten,
der meistens einen Virus enthält.
Ob Hack oder sowas...Credits sind Credits und sollten nicht verändert werden

#credits entfernt
05/01/2011 22:54 theitfan1337#9
Quote:
Originally Posted by _Headsh0t_ View Post
Ob Hack oder sowas...Credits sind Credits und sollten nicht verändert werden

#credits entfernt
Eine Source ist kein Hack :) Übrigens wurde die Regel wieder annuliert bzw. verändert ;)
05/02/2011 00:25 _Vendetta_#10
du weißt dass das Urheberrechtsverletzung ist? .Wen man was als seins Ausgibt
05/02/2011 09:04 Dr.Php#11
Well, i did code this ;)
Don't trust me ?
Well i will make a video who is the boss here ;)
Than we will see who coded the box.
05/02/2011 14:02 _Headsh0t_#12
Quote:
Originally Posted by Nomad' View Post
Eine Source ist kein Hack :) Übrigens wurde die Regel wieder annuliert bzw. verändert ;)
Ich weiß dass das kein Hack ist. Deswegen sagte ich ja egal ob Hack oder sowas (Source). Die Credits dürfen nicht geändert werden.