aa stuff
This commit is contained in:
parent
7297288020
commit
0d84c87ebc
@ -50,6 +50,7 @@
|
|||||||
<Option name="FakeLeft" value="19"/>
|
<Option name="FakeLeft" value="19"/>
|
||||||
<Option name="FakeRight" value="20"/>
|
<Option name="FakeRight" value="20"/>
|
||||||
<Option name="FakeREdge" value="21"/>
|
<Option name="FakeREdge" value="21"/>
|
||||||
|
<Option name="TestAA" value="22"/>
|
||||||
</Select>
|
</Select>
|
||||||
</LabeledObject>
|
</LabeledObject>
|
||||||
</List>
|
</List>
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
<Box name="NavBot" width="content" height="content" padding="12 6 6 6" x="390">
|
<Box name="NavBot" width="content" height="content" padding="12 6 6 6" x="390">
|
||||||
<List width="170">
|
<List width="170">
|
||||||
<AutoVariable width="fill" target="misc.pathing" label="Enable Pathing"/>
|
<AutoVariable width="fill" target="misc.pathing" label="Enable Pathing"/>
|
||||||
<AutoVariable width="fill" target="misc.pathing.draw" label="Draw Path"/>
|
<AutoVariable width="fill" target="misc.pathing.draw" label="Draw Path"/>
|
||||||
<AutoVariable width="fill" target="navbot.enable" label="Enable NavBot"/>
|
<AutoVariable width="fill" target="navbot.enable" label="Enable NavBot"/>
|
||||||
<AutoVariable width="fill" target="navbot.spy-mode" label="Enable Spy Mode"/>
|
<AutoVariable width="fill" target="navbot.spy-mode" label="Enable Spy Mode"/>
|
||||||
<AutoVariable width="fill" target="navbot.heavy-mode" label="Enable Heavy Mode"/>
|
<AutoVariable width="fill" target="navbot.heavy-mode" label="Enable Heavy Mode"/>
|
||||||
|
@ -401,6 +401,7 @@ void FakeCrouch(CUserCmd *cmd)
|
|||||||
if ((cmd->buttons & IN_ATTACK))
|
if ((cmd->buttons & IN_ATTACK))
|
||||||
*bSendPackets = true;
|
*bSendPackets = true;
|
||||||
}
|
}
|
||||||
|
static float randyaw = 0.0f;
|
||||||
void ProcessUserCmd(CUserCmd *cmd)
|
void ProcessUserCmd(CUserCmd *cmd)
|
||||||
{
|
{
|
||||||
if (!enable)
|
if (!enable)
|
||||||
@ -546,6 +547,14 @@ void ProcessUserCmd(CUserCmd *cmd)
|
|||||||
y = useEdge(y) + 180.0f;
|
y = useEdge(y) + 180.0f;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 22: // Omegayaw
|
||||||
|
if (*bSendPackets)
|
||||||
|
{
|
||||||
|
randyaw += RandFloatRange(-30.0f, 30.0f);
|
||||||
|
y = randyaw;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
y = randyaw - 180.0f + RandFloatRange(-40.0f, 40.0f);
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
4
src/hacks/AntiAntiAim.cpp
Executable file → Normal file
4
src/hacks/AntiAntiAim.cpp
Executable file → Normal file
@ -49,6 +49,10 @@ void hacks::shared::anti_anti_aim::resolveEnt(int IDX, IClientEntity *entity)
|
|||||||
if (angles.y < 0)
|
if (angles.y < 0)
|
||||||
angles.y += 360.0f;
|
angles.y += 360.0f;
|
||||||
angles.y -= 180.0f;
|
angles.y -= 180.0f;
|
||||||
|
if (angles.x >= 90)
|
||||||
|
angles.x = -89;
|
||||||
|
if (angles.x <= -90)
|
||||||
|
angles.x = 89;
|
||||||
if (quota < 0.8f)
|
if (quota < 0.8f)
|
||||||
switch (g_Settings.brute.brutenum[IDX])
|
switch (g_Settings.brute.brutenum[IDX])
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,8 @@ int re::CTFPartyClient::LoadSavedCasualCriteria()
|
|||||||
void re::CTFPartyClient::RequestQueueForStandby()
|
void re::CTFPartyClient::RequestQueueForStandby()
|
||||||
{
|
{
|
||||||
typedef void (*RequestStandby_t)(re::CTFPartyClient *);
|
typedef void (*RequestStandby_t)(re::CTFPartyClient *);
|
||||||
static uintptr_t addr = gSignatures.GetClientSignature("55 89 E5 57 56 53 83 EC ? 8B 7D ? 8B 4F ? 85 C9 74");
|
static uintptr_t addr = gSignatures.GetClientSignature(
|
||||||
|
"55 89 E5 57 56 53 83 EC ? 8B 7D ? 8B 4F ? 85 C9 74");
|
||||||
static RequestStandby_t RequestStandby_fn = RequestStandby_t(addr);
|
static RequestStandby_t RequestStandby_fn = RequestStandby_t(addr);
|
||||||
RequestStandby_fn(this);
|
RequestStandby_fn(this);
|
||||||
return;
|
return;
|
||||||
|
@ -13,9 +13,7 @@ settings::Int queue{ "autoqueue.mode", "7" };
|
|||||||
|
|
||||||
CatCommand cmd_queue_start("mm_queue_casual", "Start casual queue",
|
CatCommand cmd_queue_start("mm_queue_casual", "Start casual queue",
|
||||||
[]() { tfmm::startQueue(); });
|
[]() { tfmm::startQueue(); });
|
||||||
CatCommand queue_party("mm_queue_party", "Queue for Party",
|
CatCommand queue_party("mm_queue_party", "Queue for Party", []() {
|
||||||
[]()
|
|
||||||
{
|
|
||||||
re::CTFPartyClient *client = re::CTFPartyClient::GTFPartyClient();
|
re::CTFPartyClient *client = re::CTFPartyClient::GTFPartyClient();
|
||||||
client->RequestQueueForStandby();
|
client->RequestQueueForStandby();
|
||||||
});
|
});
|
||||||
@ -61,7 +59,7 @@ void startQueue()
|
|||||||
if (*queue == 7)
|
if (*queue == 7)
|
||||||
client->LoadSavedCasualCriteria();
|
client->LoadSavedCasualCriteria();
|
||||||
client->RequestQueueForMatch((int) queue);
|
client->RequestQueueForMatch((int) queue);
|
||||||
client->RequestQueueForStandby();
|
client->RequestQueueForStandby();
|
||||||
hacks::shared::autojoin::resetQueueTimer();
|
hacks::shared::autojoin::resetQueueTimer();
|
||||||
queuecount++;
|
queuecount++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user