Some questions about coding and compiling.
Ok so my previous thread got closed/ marked as solved before I could really get any answers about what I needed.
What I want to ask is for help.
I have this bit of code, What I want to know is if this is full code or if its missing some things. Also can someone teach me about offsets? I would love to maybe pair up with someone for a release or possibly get a mentor on these types of things.
Code:
const DWORD LocalPlayer = 0xa74c9c //me or current player
const DWORD EntityList = 0x4a16bd4;
const DWORD m_iCrossHairID = 0x2410; // crosshair
const DWORD SensivityAddress = 0xA7A434; // sens
const DWORD m_iTeamNum = 0xF0;
const DWORD EntitySize = 0x10;
const DWORD m_fFlags = 0x100;
float GetSens()
{
DWORD PlayerBase = GetLocal();
if (PlayerBase)
{
float result;
memmove(&result, (float*)(DW_Client + SensivityAddress), sizeof(float));
return result;
}
}
void SetSens(float x)
{
DWORD PlayerBase = GetLocal();
if (PlayerBase)
{
memmove((float*)(DW_Client + SensivityAddress), &x, sizeof(float));
}
}
void SensDemo()
{
float OrigSens = NULL;
while (OrigSens == NULL)
OrigSens = GetSens();
while (true) // adjusting the sens
{
int InCross = GetInCross();
if (InCross < 64 && InCross > 0 && GetTeamNum(InCross - 1) != GetTeamNum()) // aiming sens
SetSens((OrigSens*0.5)); // adjusted sens
if (InCross == NULL && GetSens() != OrigSens) // not aiming sens
SetSens(OrigSens);
Sleep(1);
}
}
I doubt anyone is willing to help but maybe a small payment would be of help.. maybe $5-10 just to help me get this working (all I want is the aim assist, no wallhacks or aimbots)
Thanks in advance
ALSO
how do I add my signature to my profile ._. sorry, new here kek rip