Ir para conteúdo
Faça parte da equipe! (2024) ×

Source Fly Hacker


matheus28107
 Compartilhar

Posts Recomendados

Créditos: Glauco Mendes (GM)

 

-------------------------------------------------------------------

-------------------------------------------------------------------

-------------------------------------------------------------------

-------------------------------------------------------------------

-------------------------------------------------------------------

-------------------------------------------------------------------

-------------------------------------------------------------------

-------------------------------------------------------------------

 

 

Galeraaa meu Visual Stdudio 2010 expirou e se alguém tiver um crack ou algo do tipo me add Skype: MatheusSudden (ou melhor comente)

 

 

Source:

 

//CRIADOR: GlaucoMendes ( EU QUE MANDO NESSA POHHA )

// SKYPER : GlaucoMendes1

//Flyhack Simples em C++ e ASM

// Se tiverem dificultado em eentender o fly tá aqui uma ajuda : Pauls Online Notes : Calculus III - Spherical Coordinates

int FlyhackAddress = 0x76ED96;// + suddenattack.exe

int FlyhackPatchLen = 5;

 

void EnableFlyhack(void)

{

if(!HacksInitialized || FlyhackOn) return;

 

//ReadMemory((LPVOID)FlyhackAddress, FlyhackBytes, FlyhackPatchLen); // Salvar data

MakeJump(FlyhackAddress,(DWORD)&FlyhackCodecave,FlyhackBytes);

//WriteMemory((LPVOID)WalkThruWallsAddress,(PBYTE)"\xEB",1);

ReadMemory((LPVOID)WalkThruWallsAddress, WalkWallBytes, WalkThruWallsLen); // Salvar data

MakeJump(WalkThruWallsAddress,(WalkThruWallsAddress+6+(*(DWORD*)(WalkThruWallsAddress+2))));

WriteMemory((LPVOID)(WalkThruWallsAddress+5),(PBYTE)"\x90",1);

//WriteMemory((LPVOID)(FlyhackAddress+5),(PBYTE)"\x90\x90\x90\x90",4);

FlyhackOn = true;

 

 

 

#ifdef USECONSOLE

printf("Flyhack ENABLED\n");

#endif

}

 

__declspec(naked) void FlyhackCodecave(void)

{

__asm

{

fld [flyX]

fstp [ebx]

fld [flyY]

fstp [ebx+0x04]

fld [flyZ]

fstp [ebx+0x08]

// original code

pop ebx

pop ecx

retn 4

}

}

 

#include <cmath>

void FlyhackThread(void)

{

#ifdef USECONSOLE

printf("Starting the flyhack thread...\n");

#endif

 

const float PI = 3.141592;

const float halfPI = PI/2;

 

float FlySpeed=0;

bool Wkey=false,Akey=false,Skey=false,Dkey=false;

 

 

double angletan,anglecos,anglesin;

double angle;

double UpDownAngleMult = halfPI*0.933799; // 0.9950041771 max value, 1.459480047 max angle in radians

double YSpeedMultiplier = 0.5888;

//double YSpeedMultiplier = 1.0;

//double MaxUDAngle = 1.459480047;

 

//DWORD AnglePointer = *(DWORD*)(*(DWORD*)((DWORD)saModuleInfo.lpBaseOfDll+0x004B4D78)+0x414);

// +AC = tan, +E4 = cos, +EC = sin

int xaddress = 0x73BA78+(DWORD)saModuleInfo.lpBaseOfDll;//0x73B618; // found by searching Y address by increase-decrease. this is one of the very first addresses

while(1)

{

if(C_flyhack)

{

if(!C_flyhacko)

{

flyX = *(float*)(xaddress);

flyY = *(float*)(xaddress+0x10);

flyZ = *(float*)(xaddress+0x20);

EnableFlyhack();

C_flyhacko=C_flyhack;

}

 

// if we are teleporting (spawning, moving to another map), reset the fly location

if(sqrt(pow(flyX-*(float*)(xaddress),2)+pow(flyZ-*(float*)(xaddress+0x20),2))>50.0)

{

flyX = *(float*)(xaddress);

flyY = *(float*)(0x10);

flyZ = *(float*)(0x20);

}

 

FlySpeed = (5.0+((float)C_flyspeed)*1.5)/2;

Wkey=Akey=Skey=Dkey=false;

 

//if(GetAsyncKeyState(VK_SPACE)) flyY += FlySpeed;

//if(GetAsyncKeyState(VK_CONTROL)) flyY -= FlySpeed;

if(GetAsyncKeyState('W')) Wkey=true;

if(GetAsyncKeyState('A')) Akey=true;

if(GetAsyncKeyState('S')) Skey=true;

if(GetAsyncKeyState('D')) Dkey=true;

 

if(Wkey)

{

anglecos = *(float*)(xaddress+0x14);

anglesin = *(float*)(xaddress+0x34);

angletan = *(float*)(xaddress+0xC)*UpDownAngleMult; // change it to radians from degrees;

 

if(anglecos==0) anglecos = 0.0001;

if(anglesin==0) anglesin = 0.0001;

angle = atan2(anglesin,anglecos);

 

if(Dkey) angle = angle+halfPI/2; // shift it by 45 degrees

else if(Akey) angle = angle-halfPI/2; // shift it by 45 degrees

 

anglecos = cos(angle);

anglesin = sin(angle);

 

//http://tutorial.math.lamar.edu/Classes/CalcIII/SphericalCoords.aspx

 

float Yspeed = FlySpeed*sin(angletan)*YSpeedMultiplier;

float r = cos(-angletan);

 

flyX -= FlySpeed*anglecos*sin®;

flyZ += FlySpeed*anglesin*sin®;

 

flyY += Yspeed;

 

}

else if(Skey)

{

anglecos = *(float*)(xaddress+0x14);

anglesin = *(float*)(xaddress+0x34);

angletan = *(float*)(xaddress+0xC)*UpDownAngleMult; // change it to radians from degrees;

 

if(anglecos==0) anglecos = 0.0001;

if(anglesin==0) anglesin = 0.0001;

angle = atan2(anglesin,anglecos);

 

if(Akey) angle = angle+halfPI/2; // shift it by 45 degrees

else if(Dkey) angle = angle-halfPI/2; // shift it by 45 degrees

 

anglecos = cos(angle);

anglesin = sin(angle);

 

//http://tutorial.math.lamar.edu/Classes/CalcIII/SphericalCoords.aspx

 

float Yspeed = FlySpeed*sin(angletan)*YSpeedMultiplier;

float r = cos(-angletan);

 

flyX += FlySpeed*anglecos*sin®;

flyZ -= FlySpeed*anglesin*sin®;

 

flyY -= Yspeed;

 

 

}

else if(Akey)

{

anglecos = *(float*)(xaddress+0x14);

anglesin = *(float*)(xaddress+0x34);

angletan = *(float*)(xaddress+0xC)*UpDownAngleMult; // change it to radians from degrees;

 

if(anglecos==0) anglecos = 0.0001;

if(anglesin==0) anglesin = 0.0001;

angle = atan2(anglesin,anglecos);

 

angle = angle+halfPI; // shift it by 90 degrees

 

anglecos = cos(angle);

anglesin = sin(angle);

 

//http://tutorial.math.lamar.edu/Classes/CalcIII/SphericalCoords.aspx

 

//float Yspeed = FlySpeed*sin(angletan);

float r = cos(-angletan);

 

flyX += FlySpeed*anglecos;

flyZ -= FlySpeed*anglesin;

 

//flyY -= Yspeed;

}

else if(Dkey)

{

anglecos = *(float*)(xaddress+0x14);

anglesin = *(float*)(xaddress+0x34);

angletan = *(float*)(xaddress+0xC)*UpDownAngleMult; // change it to radians from degrees;

 

angle = atan2(anglesin,anglecos);

 

if(anglecos==0) anglecos = 0.0001;

if(anglesin==0) anglesin = 0.0001;

angle = angle-halfPI; // shift it by 90 degrees

 

anglecos = cos(angle);

anglesin = sin(angle);

 

//http://tutorial.math.lamar.edu/Classes/CalcIII/SphericalCoords.aspx

 

//float Yspeed = FlySpeed*sin(angletan);

float r = cos(-angletan);

 

flyX += FlySpeed*anglecos;

flyZ -= FlySpeed*anglesin;

 

//flyY -= Yspeed;

}

//flyY = *(float*)((DWORD)saModuleInfo.lpBaseOfDll+0x73B628);

}

else if(!C_flyhack && C_flyhacko)

{

DisableFlyhack();

C_flyhacko=C_flyhack;

}

Sleep(5);

}

}

Link para o comentário
Compartilhar em outros sites

  • Velha Guarda

Tópico Movido

Motivo: Área Errada

Antes de criar um tópico leia a descrição da área onde está postando. Tópicos em área errada desorganizam o fórum e deixam a área suja, dificultando a procura de conteúdos de qualidade.

 

Atenciosamente, Equipe Web Cheats!

F2UgKsw.png
Link para o comentário
Compartilhar em outros sites

  • 1 mês depois...
Este tópico está impedido de receber novos posts.
 Compartilhar

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...

Informação Importante

Nós fazemos uso de cookies no seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies , caso contrário, vamos supor que você está bem para continuar.