Начинающий
-
Автор темы
- #1
this isn't from the newest eax, but from a newer version
air resolver:
void Resolver::ResolveAir(AimPlayer* data, LagRecord* record, Player* player) {
if (g_menu.main.aimbot.nospread.get()) {
AirNS(data, record);
return;
}
IF U HAVE THEIR NETWORK U CAN USE THIS
/*if (g_menu.main.aimbot.correct_network1.get() && (data->m_is_cheese_crack || data->m_is_kaaba) && data->m_network_index <= 1) {
record->m_eye_angles.y = data->m_networked_angle;
record->m_resolver_color = { 155, 210, 100 };
record->m_resolver_mode = "NETWORKED";
record->m_mode = Modes::RESOLVE_NETWORK;
return;
}*/
float velyaw = math::rad_to_deg(std::atan2(record->m_anim_velocity.y, record->m_anim_velocity.x));
pointer for easy access.
LagRecord* move = &data->m_walk_record;
LagRecord* previous = data->m_records.size() > 1 ? data->m_records[1].get()->dormant() ? nullptr : data->m_records[1].get() : nullptr;
iPlayers[player->index()] = true;
float back_diff = fabsf(velyaw + 180.0f - record->m_body);
record->m_mode = Modes::RESOLVE_AIR;
bool can_last_move_air = move->m_anim_time > 0.f &&
fabsf(move->m_body - record->m_body) < 12.5f
&& data->m_air_brute_index < 1;
if (back_diff <= 18.f && data->m_air_brute_index < 2) {
record->m_resolver_mode = XOR("AIR-BACK");
record->m_resolver_color = colors::transparent_green;
record->m_eye_angles.y = velyaw + 180.f;
}
else if (can_last_move_air)
{
record->m_resolver_mode = XOR("AIR-MOVE");
record->m_resolver_color = colors::transparent_green;
record->m_eye_angles.y = move->m_body;
}
else
{
switch (data->m_air_brute_index % 3) {
case 0:
record->m_resolver_mode = XOR("BAIR-BACK");
record->m_resolver_color = colors::transparent_green;
record->m_eye_angles.y = velyaw + 180.f;
break;
case 1:
record->m_resolver_mode = XOR("BAIR-LBYPOS");
record->m_resolver_color = colors::red;
record->m_eye_angles.y = record->m_body + 35.f;
break;
case 2:
record->m_resolver_mode = XOR("BAIR-LBYNEG");
record->m_resolver_color = colors::red;
record->m_eye_angles.y = record->m_body - 35.f;
break;
default:
break;
}
}
}