Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 20:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[C++]Aimbot aber wie?

Discussion on [C++]Aimbot aber wie? within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2010
Posts: 25
Received Thanks: 0
[C++]Aimbot aber wie?

Hey leute,
Habe mir schon einen schönen Multihack für CoD4 gecoded.
Was mir aber noch fehlt ist ein ordentlicher Aimbot.
Ich hbae auch schon einige Sources für andere spiele gefunden, die haben aber leider immer noch D3D menues die das lesen des Codes für mich erschweren.
Ich weiß das es in CoD4 einige offsets für die sichtrichtung etc gibt aber ich weiß nich wie man die nutzen kann, da ich die meisten sources nicht verstehe.

Deshalb meine frage: Hat jemand von euch eine Simple aimbot source in C++?
Welches spiel ist mir egal hauptsache simpel.
Manner09 is offline  
Old 08/23/2011, 12:08   #2



 
Mr. Highlife's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 6,217
Received Thanks: 1,817
musste mal schauen, ob der vllt funkt:
Quote:
Code:

typedef WORD (*RegisterTag)( char *, int, size_t );
RegisterTag RegisterTag_ = (RegisterTag)0x518290;

Code:

bool GetBoneOrigin ( CEntity* Ent, Vector3 * Origin, WORD Bone )
{
if(!Ent||!Ent->bIsValidEnt||!Ent->bIsAlive) return 0;
if(!CODGetTagPos ( Bone, Ent, Origin ) )
Origin = &Ent->Location;
return Ent->Location;
}

Code:

class CGameServer
{
public:
char unknown0[8]; //0x0000
DWORD screenX; //0x0008 screenX
DWORD screenY; //0x000C screenY
float screenAspect; //0x0010 screenXBias
DWORD serverCommandSequence; //0x0014 serverCommandSequence
DWORD processedSnapshotNum; //0x0018 processedSnapshotNum
DWORD boolLocalServer; //0x001C
char GameType[4]; //0x0020 Dom, sd, sab, war, koth=HQ, dm = free for al
};
CGameServer* server = (CGameServer*)0x0074A908;

Code:

class CViewAngles
{
public:
float ViewAngleY;
float ViewAngleX;
};
CViewAngles* viewangles = (CViewAngles*)0xC84FD8;

Code:

BOOL DoAimbot( void )
{__try{
CEntity * pCurTarget = NULL;
CEntity * pBestTarget = NULL;
CClientInfo * pClientInfo = NULL;
float fClosestDistance = 999.0f;
D3DXVECTOR3 vAimPos, vLocalPos,ViewOrigin, Trajectory;
int iFound = -1;

WORD HeadBone = RegisterTag_( "j_helmet", 1,7 );
int nIndex;
for (nIndex = 0; nIndex < MAX_PLAYERS; nIndex++ )
{
pCurTarget = GetEntityIndex( nIndex );
pClientInfo = GetClientIndex( nIndex );
//below we check valid target, enemy team and is target alive
if ( ! ( IsValidEntity ( pCurTarget, pClientInfo )))
continue;

if ( !IsAlive( pCurTarget ) )
continue;

bool bEnemyTarget = ( pClientInfo->iTeamID != gLocalInfo->iTeamID || gLocalInfo->iTeamID == TEAM_FREE );
if ( bEnemyTarget == FALSE )
continue;
//FFA check for aimbot
if (!memcmp(server->GameType,"dm",2))
if(nIndex == gCG->iLocalClient)
continue;

if(!GetBoneOrigin( pCurTarget, VecAimSpot, HeadBone ))
continue;

float flCurrent = CMath.GetDistance(camera->Location, pCurTarget->Location ) / 48.0f;
//we check for target visibility on our just gotten aim location
if( Trace_Target ( camera->Location, VecAimSpot ) )
Mr. Highlife is offline  
Old 12/11/2012, 10:35   #3

 
AlaskaGaming's Avatar
 
elite*gold: 5
Join Date: Jul 2012
Posts: 183
Received Thanks: 18
Kann mir i wer beibringen wie ich nen Hack Code?
Ich kann mich mit vb.net gut aus hab aber von c++ nur Basic Knowledge
Gruß Alaska
AlaskaGaming is offline  
Old 12/12/2012, 09:20   #4
 
NikM's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
Warum wollen alle immer direkt den Code haben.
Versuch dich doch einfach mal selbst dran.
Völlig ausreichend sind die Positionen von dir und die der Gegner.
Mithilfe der Trigonometrischen Funktionen kannst du dann deine Blickwinkel bestimmen.
NikM is offline  
Old 12/13/2012, 14:39   #5

 
AlaskaGaming's Avatar
 
elite*gold: 5
Join Date: Jul 2012
Posts: 183
Received Thanks: 18
Wer sich von euch mit dem coden von gamehacks auskennt der möge mich bitte bei Skype adden...
Alaska-designs

Ich suche gute, schnelle coder für ein Community Projekt
Bitte adden, infos gibt's dann
AlaskaGaming is offline  
Old 12/14/2012, 13:17   #6
 
elite*gold: 9
Join Date: Dec 2009
Posts: 1,071
Received Thanks: 819
Quote:
Kann mir i wer beibringen wie ich nen Hack Code?
Ich kann mich mit vb.net gut aus hab aber von c++ nur Basic Knowledge
Gruß Alaska
Quote:
Ich suche gute, schnelle coder für ein Community Projekt
Bitte adden, infos gibt's dann
Your argument is invalid.

Außerdem ist das hier nicht dein Thread, also ist es völlig fehl am Platz.

€: Hoffentlich wirste zum Leichenschänder des Monats gewählt...
.Infinite is offline  
Thanks
1 User
Reply

Tags
aimbot, c++, hilfe, source, tutorial




All times are GMT +1. The time now is 20:59.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.