PeruHack™ . Comunidad de Games .. Somos Mas Que Un Foro Somos Una Familia...
[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Registrate1


Unirse al foro, es rápido y fácil

PeruHack™ . Comunidad de Games .. Somos Mas Que Un Foro Somos Una Familia...
[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Registrate1
PeruHack™ . Comunidad de Games .. Somos Mas Que Un Foro Somos Una Familia...
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
INSCRIPCIONES
Documento sin título

PERUHACK

*CARGO QUE DECEA POSTULAR





Donaciones Para Peruhack.

[NEW] Funciones útiles para tu hack codigos ! OWNEER420

4 participantes

Ir abajo

[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Empty [NEW] Funciones útiles para tu hack codigos ! OWNEER420

Mensaje por owner420 Lun 19 Jul 2010, 6:15 am

OWNEER420ONLYGRIFO [NEW] Funciones útiles para tu hack codigos ! OWNEER420 Lol

He reunido
algunas funciones útiles Hack.
Otros créditos a las personas pero mas ami amigos
piolonietor14,samsung no me acuerdo el numero,tumamatmata,droper,
Y EL ZOMBIE grasias amigos por estar conmigo
[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Lol

Hice la función punto de mira.

TALVES esto podría dejarte tonto o peor un nob XD


Antes de empezar, Asegúrese de tener esto
UN CIGARRO UNA BUENA ROLA Y UN VASO DE SODA COCACOLA POR LO REGULAR AA I EL HACK es para la suerte o apenas creando XD este post NO ES APTO PARA NOBS O SANGIJUELAS XD



Draw
Text:


After Globals:
PHP Code:
void PrintText(LPD3DXFONT Font, long x, long y, D3DCOLOR fontColor, char *text, ...)//Draw Text Function

{

RECT rct;

rct.left = x - 1;

rct.right = x + 1;

rct.top = y - 1 ;

rct.bottom = y + 1;


if(!
text) { return; }

va_list va_alist;

char logbuf[256] = {0};

va_start (va_alist, text);

_vsnprintf (logbuf+strlen(logbuf), sizeof(logbuf) - strlen(logbuf), text, va_alist);

va_end (va_alist);

RECT FontRect = { x, y, x, y };

pFont->DrawText(NULL, logbuf, -1, &rct, DT_NOCLIP, fontColor);

}




And to use the
function (In Endscene):
PHP Code:
PrintText(pFont, X, Y, D3DCOLOR_XRGB(0,0,0), "Your Text Here");





NOP

After Globals:
PHP Code:
bool Memoria( void * pDest, char * szPatch, size_t sSize )//NOP Function

{

DWORD dwOrgProtect = NULL;

if ( !
VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))

return
FALSE;


memcpy( pDest, szPatch, sSize );

VirtualProtect( pDest, sSize, dwOrgProtect, NULL );

return
TRUE;

}




And to use it:
PHP Code:
Memoria(0x000000, "\x90\x90\x90", 3);





Draw
Crosshair:


Globals:
PHP Code:
float ScreenCenterX = 0.0f;//Horizontal Position

float ScreenCenterY = 0.0f;//Vertical Position




After Globals:
PHP Code:
void DrawXHair(LPDIRECT3DDEVICE9 pDevice, D3DCOLOR color)

{

D3DVIEWPORT9 viewP;

pDevice->GetViewport( &viewP );

DWORD ScreenCenterX = viewP.Width / 2;

DWORD ScreenCenterY = viewP.Height / 2;



D3DRECT rec1 = {ScreenCenterX-25, ScreenCenterY, ScreenCenterX+ 25, ScreenCenterY+1};

D3DRECT rec2 = {ScreenCenterX, ScreenCenterY-25, ScreenCenterX+ 1,ScreenCenterY+25};


pDevice->Clear( 1, &rec1, D3DCLEAR_TARGET, color, 0, 0 );

pDevice->Clear( 1, &rec2, D3DCLEAR_TARGET, color, 0, 0 );

}




SetViewport:
PHP Code:
ScreenCenterX = ( float )pViewport->Width / 2;

ScreenCenterY = ( float )pViewport->Height / 2;




Make Crosshair
(Endscene):
PHP Code:
DrawXHair(pDevice,D3DCOLOR_XRGB(0,0,0));





Draw
Box WITH Border


After Globals:

PHP Code:
void FillRGB( int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9* pDevice )

{

if(
w < 0 )w = 1;

if(
h < 0 )h = 1;

if(
x < 0 )x = 1;

if(
y < 0 )y = 1;


D3DRECT rec = { x, y, x + w, y + h };

pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, color, 0, 0 );

}


void DrawBorder( int x, int y, int w, int h, int px, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice )

{

FillRGB( x, (y + h - px), w, px, BorderColor, pDevice );

FillRGB( x, y, px, h, BorderColor, pDevice );

FillRGB( x, y, w, px, BorderColor, pDevice );

FillRGB( (x + w - px), y, px, h, BorderColor, pDevice );

}


void DrawBox( int x, int y, int w, int h, D3DCOLOR BoxColor, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice )

{

FillRGB( x, y, w, h, BoxColor, pDevice );

DrawBorder( x, y, w, h, 1, BorderColor, pDevice );

}




And to create
the box (Endscene):
PHP Code:
DrawBox (X,Y,W,H,Back Color,Border Color,pDevice);





Draw
Circle


Globals:
PHP Code:
ID3DXLine *pLine;

#define PI 3.14159265




After Globals:
PHP Code:
void DrawCircle(int X, int Y, int radius, int numSides, DWORD Color)

{

D3DXVECTOR2 Line[128];

float Step = PI * 2.0 / numSides;

int Count = 0;

for (
float a=0; a < PI*2.0; a += Step)

{

float X1 = radius * cos(a) + X;

float Y1 = radius * sin(a) + Y;

float X2 = radius * cos(a+Step) + X;

float Y2 = radius * sin(a+Step) + Y;

Line[Count].x = X1;

Line[Count].y = Y1;

Line[Count+1].x = X2;

Line[Count+1].y = Y2;

Count += 2;

}

pLine->Begin();

pLine->Draw(Line,Count,Color);

pLine->End();

}




Create the
line(with your font):
PHP Code:
D3DXCreateLine(pDevice,&pLine);




And to draw the
circle(Endscene):
PHP Code:
DrawCircle(X,Y,R,S,COLOR);




He perfeccionado el círculo, pero cuando lo hago me va a actualizar.

Universal
Draw FPS:
- grasias langg xD

Globals:
PHP Code:
float fFps = NULL;

float fLastTickCount = NULL;

float fCurrentTickCount;

char cFrameRate[50] = {NULL};




After Globals:
PHP Code:
char *GetFrameRate()

{

fCurrentTickCount = clock() * 0.001f;

++
fFps;

if((
fCurrentTickCount - fLastTickCount) > 1.0f)

{

fLastTickCount = fCurrentTickCount;

sprintf( cFrameRate, "[ Current FPS: %d ]", int( fFps ) );

fFps = 0;

}

return
cFrameRate;

}




And to show the
FPS (Endscene):
PHP Code:
pFont->DrawTextA( 5, 0, D3DCOLOR_XRGB( 255, 250, 0 ), GetFrameRate());




Espero
que esto Le haga un buen uso y ayudar a matar alos nobs.
Correcion yo no ayudo ala gente que sea una basurahumana
[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Lol .

Gracias y TAL VES sería bueno UNA CAJA DE CIGARROS,UNA SODA,BUENA MUSICA
digo seria bueno xD
owner420
owner420
STAFF SERGEANT I
STAFF SERGEANT I

Advertencias : [NEW] Funciones útiles para tu hack codigos ! OWNEER420 010
Juegos de Preferencia : todos
Barra de Respeto :
[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Vote_lcap1100 / 100100 / 100[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Vote_rcap1

Puntos Vit : 5294
Reputación : 65535
Localización : MEXICO


Volver arriba Ir abajo

[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Empty Re: [NEW] Funciones útiles para tu hack codigos ! OWNEER420

Mensaje por abcdefg Lun 19 Jul 2010, 6:31 am

gRACIAS POR el codigo para el menu we Te la rifas xD
avatar
abcdefg
TRAINEE
TRAINEE

Advertencias : [NEW] Funciones útiles para tu hack codigos ! OWNEER420 010
Juegos de Preferencia : combat arms
Barra de Respeto :
[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Vote_lcap1100 / 100100 / 100[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Vote_rcap1

Puntos Vit : 5032
Reputación : 65535
Localización : mexicoo


Volver arriba Ir abajo

[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Empty Re: [NEW] Funciones útiles para tu hack codigos ! OWNEER420

Mensaje por 123probando Lun 19 Jul 2010, 8:47 am

jajajaja como siempre buen aporte mi bro...
123probando
123probando
Silver Axe
Silver Axe

Advertencias : [NEW] Funciones útiles para tu hack codigos ! OWNEER420 010
Juegos de Preferencia : combat arms
Barra de Respeto :
[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Vote_lcap1100 / 100100 / 100[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Vote_rcap1

Puntos Vit : 5174
Reputación : 65535
Localización : en una cueva jugando vitilla con Bin Laden


Volver arriba Ir abajo

[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Empty Re: [NEW] Funciones útiles para tu hack codigos ! OWNEER420

Mensaje por NOOBS Lun 19 Jul 2010, 9:02 am

QUE ES XD
NOOBS
NOOBS
Sub Administrador
 Sub Administrador

Advertencias : [NEW] Funciones útiles para tu hack codigos ! OWNEER420 010
Juegos de Preferencia : Call Of Duty4,6,7,crisys,GTA IV,NEED FOR SPEED WORD,COUNTER-STRIKE SOURCE FarCry 2 Assasing Crep 1,2 Y CALL OF DUTY BLACK OPS
Barra de Respeto :
[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Vote_lcap1100 / 100100 / 100[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Vote_rcap1

Puntos Vit : 6747
Reputación : 6
Localización : republica dominicana


Volver arriba Ir abajo

[NEW] Funciones útiles para tu hack codigos ! OWNEER420 Empty Re: [NEW] Funciones útiles para tu hack codigos ! OWNEER420

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.