Welcome to GamerZAlliance
Would you like to react to this message? Create an account in a few clicks or log in to continue.


GamerZAlliance All gaming you need
 
HomeLatest imagesSearchRegisterLog in

 

 USF Hack Code ( Player Esp/Aimbot Start/No Spread/NoRecoil )

Go down 
AuthorMessage
Flameswor10




Posts : 4
Join date : 2011-09-05
Age : 30

USF Hack Code ( Player Esp/Aimbot Start/No Spread/NoRecoil ) Empty
PostSubject: USF Hack Code ( Player Esp/Aimbot Start/No Spread/NoRecoil )   USF Hack Code ( Player Esp/Aimbot Start/No Spread/NoRecoil ) EmptyMon Sep 05, 2011 7:20 am

so credits goes to maxhax195 for making it and giving to me

Code :
Quote :

#define GAME_PTR 0xA79968
#define IS_DEAD 0x1BF60

class c_Base
{
public:
char unknown0[28]; //0x0000
DWORD Player_Ptr; //0x001C
};

class c_Game
{
public:
char unknown0[48]; //0x0000
c_Base *Base; //0x0030
};

bool IsIngame()
{
DWORD Ptr = *(DWORD*)GAME_PTR;

if( !Ptr || !pGame || !pGame->Base || !pGame->Base->Player_Ptr )
return 0;

return 1;
}


BYTE GetTeam( int pID )
{
DWORD TeamID = NULL;
DWORD cPlayer = pGame->Base->Player_Ptr;

__asm
{
MOV EDX, pID
ADD EDX, 0x186B;
IMUL EDX, EDX, 8
SUB EDX, 0x186B
SUB EDX, pID
IMUL EDX, EDX, 4
ADD EDX, [cPlayer]
MOV TeamID, EDX
}
return *(BYTE*)TeamID;
}


void NoSprdRcl()
{
DWORD cPlyr = pGame->Base->Player_Ptr;
if(!cPlyr)return;

DWORD WepBase = *(DWORD*)(cPlyr + 0x54);

*(DWORD*)(WepBase + 0x161D8) = 0;
*(DWORD*)(WepBase + 0x161DC) = 0;
*(DWORD*)(WepBase + 0x16204) = 0;
}

void DoEsp()
{
DWORD cPlayer = pGame->Base->Player_Ptr;

if(!cPlayer)return;

for(int i = 0;i < 16;i++ )
{
//BYTE LclID = *(BYTE*)(Player_Ptr + 0x13B44);
//Add( "LclID: %X", LclID );

DWORD player = *(DWORD*)( cPlayer+(i*4)+0x14 );

if( !player )continue;

DWORD IsAlive = *(DWORD*)( player+IS_DEAD );

if( !IsAlive )continue;

BYTE Team = GetTeam( i );

//player cords added! working 100%
D3DXVECTOR3 PlyrPos = *(D3DXVECTOR3*)( player + 0x1BC2C );

D3DXVECTOR3 ScrnPos;

if( GetScreenCoordFromWorld( PlyrPos, &ScrnPos ) )//you will need to hook d3d to do w2s
{
D3DCOLOR EspColor = (Team) ? 0xFFFFFFFF : 0xFFFF0000;
Draw_Text( ScrnPos.x, ScrnPos.y, EspColor, "Test" );
}

Add(" playerID( %i )\n Plyr_ptr( 0x%X )\n TeamID( %X )\n Health( %X )\n Player is Alive!\n", i, player, Team, health );
}
}




DWORD InitDll()
{
while( !GAME_PTR || !*(DWORD*)GAME_PTR )
Sleep(100);

pGame = (c_Game*)*(DWORD*)GAME_PTR;
//Add("pGame 0x%X, 0x%X", pGame, *(DWORD*)GAME_PTR );

while(1)
{
if( pEsp.IsIngame() )
{
[You must be registered and logged in to see this link.]
pMem.NoSprdRcl();
}

Sleep(100);
}

return 0;
}


//call this in dll main
CreateThread( 0, 0,(LPTHREAD_START_ROUTINE)InitDll, 0, 0, 0 );

go +rep him for more sources
Back to top Go down
 
USF Hack Code ( Player Esp/Aimbot Start/No Spread/NoRecoil )
Back to top 
Page 1 of 1
 Similar topics
-
» [USF] No Recoil & No Spread [SOURCE]
» Make wallhack for any game with 1 code!

Permissions in this forum:You cannot reply to topics in this forum
Welcome to GamerZAlliance :: Coding :: C++-
Jump to: