vmread
MisterY52 4 years ago
parent d452786677
commit 4597aff8e4

@ -1,8 +1,8 @@
# apex_dma_kvm_pub 1.4
# apex_dma_kvm_pub 1.5
Apex Legends QEMU/KVM hack
UnknownCheats thread: https://www.unknowncheats.me/forum/apex-legends/406426-kvm-vmread-apex-esp-aimbot.html
Bone IDs reference: https://www.unknowncheats.me/wiki/Apex_Legends_Bones_and_Hitboxes
Game version (Steam & Origin): v3.0.6.97
Game version (Steam & Origin): v3.0.3.94

@ -4,16 +4,17 @@ float smooth = 12.0f;
bool aim_no_recoil = true;
int bone = 2;
uint64_t Entity::Observing(WinProcess& mem, uint64_t entitylist)
bool Entity::Observing(WinProcess& mem, uint64_t entitylist)
{
uint64_t index = *(uint64_t*)(buffer + OFFSET_OBSERVING_TARGET);
/*uint64_t index = *(uint64_t*)(buffer + OFFSET_OBSERVING_TARGET);
index &= ENT_ENTRY_MASK;
if (index > 0)
{
uint64_t centity2 = mem.Read<uint64_t>(entitylist + ((uint64_t)index << 5));
return centity2;
}
return 0;
return 0;*/
return *(bool*)(buffer + OFFSET_OBSERVER_MODE);
}
int Entity::getTeamId()

@ -43,7 +43,7 @@ public:
void SetViewAngles(WinProcess& mem, SVector angles);
void SetViewAngles(WinProcess& mem, QAngle& angles);
Vector getBonePosition(WinProcess& mem, int id);
uint64_t Observing(WinProcess& mem, uint64_t entitylist);
bool Observing(WinProcess& mem, uint64_t entitylist);
void get_name(WinProcess& mem, uint64_t g_Base, uint64_t index, char* name);
};

@ -78,10 +78,10 @@ float lastvis_aim[100];
void ProcessPlayer(WinProcess& mem, Entity& LPlayer, Entity& target, uint64_t entitylist, int index)
{
int entity_team = target.getTeamId();
uint64_t obs = target.Observing(mem, entitylist);
bool obs = target.Observing(mem, entitylist);
if (obs)
{
if(obs == LPlayer.ptr)
/*if(obs == LPlayer.ptr)
{
if (entity_team == team_player)
{
@ -91,7 +91,8 @@ void ProcessPlayer(WinProcess& mem, Entity& LPlayer, Entity& target, uint64_t en
{
tmp_spec++;
}
}
}*/
tmp_spec++;
return;
}
Vector EntityPosition = target.getPosition();

@ -5,9 +5,9 @@
#if VERSION == STEAM
#define OFFSET_ENTITYLIST 0x18c62f8
#define OFFSET_LOCAL_ENT 0x1c75558 //LocalPlayer
#define OFFSET_NAME_LIST 0x80ddf20
#define OFFSET_ENTITYLIST 0x18da2a8
#define OFFSET_LOCAL_ENT 0x1c89868 //LocalPlayer
#define OFFSET_NAME_LIST 0x81330f0
#define OFFSET_TEAM 0x450 //m_iTeamNum
#define OFFSET_HEALTH 0x440 //m_iHealth
@ -19,19 +19,19 @@
#define OFFSET_ZOOMING 0x1b41 //m_bZooming
#define OFFSET_LIFE_STATE 0x798 //m_lifeState, >0 = dead
#define OFFSET_BLEED_OUT_STATE 0x25f0 //m_bleedoutState, >0 = knocked
#define OFFSET_BLEED_OUT_STATE 0x25e8 //m_bleedoutState, >0 = knocked
#define OFFSET_ORIGIN 0x14c //m_vecAbsOrigin
#define OFFSET_BONES 0xF38 //m_bConstrainBetweenEndpoints
#define OFFSET_AIMPUNCH 0x2390 //m_currentFrameLocalPlayer.m_vecPunchWeapon_Angle
#define OFFSET_CAMERAPOS 0x1e30
#define OFFSET_VIEWANGLES 0x2470 //m_ammoPoolCapacity - 0x14
#define OFFSET_VIEWANGLES 0x2478 //m_ammoPoolCapacity - 0x14
#define OFFSET_BREATH_ANGLES OFFSET_VIEWANGLES - 0x10
#define OFFSET_OBSERVER_MODE 0x32a4 //m_iObserverMode
#define OFFSET_OBSERVING_TARGET 0x32a8 //m_hObserverTarget
#define OFFSET_MATRIX 0x1b3bd0
#define OFFSET_RENDER 0x4076fc0
#define OFFSET_RENDER 0x408b768
#define OFFSET_WEAPON 0x19ec //m_latestPrimaryWeapons
#define OFFSET_BULLET_SPEED 0x1e50
@ -47,9 +47,9 @@
#elif VERSION == ORIGIN
#define OFFSET_ENTITYLIST 0x18c62f8
#define OFFSET_LOCAL_ENT 0x1c75558 //LocalPlayer
#define OFFSET_NAME_LIST 0x80ddf20
#define OFFSET_ENTITYLIST 0x18da2a8
#define OFFSET_LOCAL_ENT 0x1c89868 //LocalPlayer
#define OFFSET_NAME_LIST 0x81330f0
#define OFFSET_TEAM 0x450 //m_iTeamNum
#define OFFSET_HEALTH 0x440 //m_iHealth
@ -61,19 +61,19 @@
#define OFFSET_ZOOMING 0x1b41 //m_bZooming
#define OFFSET_LIFE_STATE 0x798 //m_lifeState, >0 = dead
#define OFFSET_BLEED_OUT_STATE 0x25f0 //m_bleedoutState, >0 = knocked
#define OFFSET_BLEED_OUT_STATE 0x25e8 //m_bleedoutState, >0 = knocked
#define OFFSET_ORIGIN 0x14c //m_vecAbsOrigin
#define OFFSET_BONES 0xF38 //m_bConstrainBetweenEndpoints
#define OFFSET_AIMPUNCH 0x2390 //m_currentFrameLocalPlayer.m_vecPunchWeapon_Angle
#define OFFSET_CAMERAPOS 0x1e30
#define OFFSET_VIEWANGLES 0x2470
#define OFFSET_VIEWANGLES 0x2478 //m_ammoPoolCapacity - 0x14
#define OFFSET_BREATH_ANGLES OFFSET_VIEWANGLES - 0x10
#define OFFSET_OBSERVER_MODE 0x32a4 //m_iObserverMode
#define OFFSET_OBSERVING_TARGET 0x32a8 //m_hObserverTarget
#define OFFSET_MATRIX 0x1b3bd0
#define OFFSET_RENDER 0x4076fc0
#define OFFSET_RENDER 0x408b768
#define OFFSET_WEAPON 0x19ec //m_latestPrimaryWeapons
#define OFFSET_BULLET_SPEED 0x1e50

@ -209,27 +209,27 @@ void Overlay::RenderMenu()
void Overlay::RenderInfo()
{
ImGui::SetNextWindowPos(ImVec2(0, 0));
ImGui::SetNextWindowSize(ImVec2(50, 20));
ImGui::SetNextWindowSize(ImVec2(20, 20));
ImGui::Begin(XorStr("##info"), (bool*)true, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoScrollbar);
switch (safe_level)
{
case 0:
DrawLine(ImVec2(18, 5), ImVec2(35, 5), RED, 2);
DrawLine(ImVec2(9, 5), ImVec2(17, 5), RED, 2);
break;
case 1:
DrawLine(ImVec2(18, 5), ImVec2(35, 5), ORANGE, 2);
DrawLine(ImVec2(9, 5), ImVec2(17, 5), ORANGE, 2);
break;
case 2:
DrawLine(ImVec2(18, 5), ImVec2(35, 5), GREEN, 2);
DrawLine(ImVec2(9, 5), ImVec2(17, 5), GREEN, 2);
break;
default:
break;
}
ImGui::TextColored(RED, "%d", spectators);
ImGui::SameLine();
ImGui::Text("-");
/*ImGui::Text("-");
ImGui::SameLine();
ImGui::TextColored(GREEN, "%d", allied_spectators);
ImGui::TextColored(GREEN, "%d", allied_spectators);*/
ImGui::End();
}

Loading…
Cancel
Save