diff --git a/apex_guest/Client/Client/Client.vcxproj b/apex_guest/Client/Client/Client.vcxproj index fb98142..2dbb687 100644 --- a/apex_guest/Client/Client/Client.vcxproj +++ b/apex_guest/Client/Client/Client.vcxproj @@ -66,7 +66,7 @@ NotUsing Level3 - MinSpace + MaxSpeed true _DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true diff --git a/apex_guest/Client/Client/main.cpp b/apex_guest/Client/Client/main.cpp index c2118c1..dd610de 100644 --- a/apex_guest/Client/Client/main.cpp +++ b/apex_guest/Client/Client/main.cpp @@ -54,6 +54,10 @@ uint64_t g_Base = 0; //write float max_dist = 3800.0f * 40.0f; //read //Max Distance of ESP 3800 is full map float smooth = 110.0f; //Min 100 for safe aimbotting float max_fov = 15.0f; //15 is the sweetspot for 1080p +// Dynamic Fov +float dynamicfov = 10; +float dynamicfovmax = 15.0f; +float max_fov2 = 15.f; int bone = 2; //0 Head, 1 Neck, 2 Body, 3 Stomace, 4 Nuts //Player Glow Color and Brightness float glowr = 120.0f; //Red Value @@ -523,7 +527,7 @@ world Olympus(ImVec2(0, 0), ImVec2(0, 0), ImVec2(0, 0), ImVec2(0, 0)); //to be m // 1080p world StormPoint(ImVec2(-21264.427734, -47086.878906), ImVec2(711, 983), ImVec2(40298.070313, 21163.728516), ImVec2(1321, 306)); // 1440p world StormPoint(ImVec2(-21264.427734, -47086.878906), ImVec2(948, 1310), ImVec2(40298.070313, 21163.728516), ImVec2(1761, 306)); -world StormPoint(ImVec2(-21264.427734, -47086.878906), ImVec2(711, 983), ImVec2(40298.070313, 21163.728516), ImVec2(1321, 408)); +world StormPoint(ImVec2(-21264.427734, -47086.878906), ImVec2(711, 983), ImVec2(40298.070313, 21163.728516), ImVec2(1321, 306)); //Arena world Overflow(ImVec2(-3344.994629, -4018.093018), ImVec2(552, 431), ImVec2(5039.592773, -4639.289063), ImVec2(1322, 489)); world DropOff(ImVec2(3135.113281, 1654.107666), ImVec2(1151, 603), ImVec2(-2920.918701, 811.240479), ImVec2(722, 663)); @@ -688,6 +692,15 @@ void Overlay::RenderEsp() distance = distance.substr(0, distance.find('.')) + "m(" + std::to_string(players[i].entity_team) + ")"; float radardistance = (int)((players[i].LocalPlayerPosition, players[i].dist) / 39.62); + //Dynamic FOV + if (players[i].dist / 39.62 < dynamicfovmax) + { + max_fov = dynamicfov; + } + else + { + max_fov = max_fov2; + } //Radar Stuff if (minimapradar == true) { @@ -817,7 +830,7 @@ int main(int argc, char** argv) add[91] = (uintptr_t)&itemglowbrightness; - printf(XorStr("Game Version v3.0.12.19 |-| Main Map Radar Test |-| Add me offset: 0x%I64x\n"), (uint64_t)&add[0] - (uint64_t)GetModuleHandle(NULL)); + printf(XorStr("Game Version v3.0.12.19 |-| Dynamic Fov Test |-| Add me offset: 0x%I64x\n"), (uint64_t)&add[0] - (uint64_t)GetModuleHandle(NULL)); Overlay ov1 = Overlay(); ov1.Start(); @@ -956,6 +969,9 @@ int main(int argc, char** argv) config >> itemglowbrightness; config >> mainmapradardotsize1; config >> mainmapradardotsize2; + config >> dynamicfov; + config >> dynamicfovmax; + config >> max_fov2; config.close(); } } diff --git a/apex_guest/Client/Client/overlay.cpp b/apex_guest/Client/Client/overlay.cpp index 72ae00a..47ad3dc 100644 --- a/apex_guest/Client/Client/overlay.cpp +++ b/apex_guest/Client/Client/overlay.cpp @@ -19,6 +19,10 @@ extern bool use_nvidia; extern float max_dist; extern float smooth; extern float max_fov; +//Dynamic Fov +extern float dynamicfov; +extern float dynamicfovmax; +extern float max_fov2; extern int bone; extern bool thirdperson; extern int spectators; @@ -260,6 +264,19 @@ void Overlay::RenderMenu() ImGui::TextColored(GREEN, "%.f meters", aimdist / 39.62); ImGui::SliderFloat(XorStr("##Aim Distance"), &aimdist, 10.0f * 39.62, 1600.0f * 39.62, "##"); ImGui::Dummy(ImVec2(0.0f, 10.0f)); + + + ImGui::Text(XorStr("Set Dynamic Fov:")); + ImGui::SameLine(); + ImGui::TextColored(GREEN, "%.f Fov", dynamicfov); + ImGui::SliderFloat(XorStr("##Dynamic Fov Max"), &dynamicfov, 5.0f, 150.0f, "##"); + ImGui::Text(XorStr("Set Dynamic Fov Max Distance:")); + ImGui::SameLine(); + ImGui::TextColored(GREEN, "%.f meters", dynamicfovmax); + ImGui::SliderFloat(XorStr("##Dynamic Fov"), &dynamicfovmax, 5.0f, 50.0f, "##"); + ImGui::Dummy(ImVec2(0.0f, 10.0f)); + + ImGui::Text(XorStr("Aiming Keys:")); ImGui::RadioButton("Left Mouse", &e, 1); ImGui::SameLine(); ImGui::RadioButton("Right Mouse ", &e, 2); ImGui::SameLine(); @@ -295,8 +312,8 @@ void Overlay::RenderMenu() ImGui::Dummy(ImVec2(0.0f, 10.0f)); ImGui::Text(XorStr("Max FOV:")); ImGui::SameLine(); - ImGui::TextColored(GREEN, "%.f", max_fov); - ImGui::SliderFloat(XorStr("##3"), &max_fov, 1.0f, 50.0f, "##"); + ImGui::TextColored(GREEN, "%.f", max_fov2); + ImGui::SliderFloat(XorStr("##3"), &max_fov2, 1.0f, 50.0f, "##"); ImGui::Dummy(ImVec2(0.0f, 10.0f)); ImGui::Text(XorStr("Aiming Bone:")); ImGui::Text(XorStr("0=Head, 1=Neck, 2=Chest, 3=Stomach")); @@ -429,8 +446,10 @@ void Overlay::RenderMenu() config << aimdist << "\n"; config << itemglowbrightness << "\n"; config << mainmapradardotsize1 << "\n"; - config << mainmapradardotsize2; - + config << mainmapradardotsize2 << "\n"; + config << dynamicfov << "\n"; + config << dynamicfovmax << "\n"; + config << max_fov2; config.close(); } } @@ -546,6 +565,9 @@ void Overlay::RenderMenu() config >> itemglowbrightness; config >> mainmapradardotsize1; config >> mainmapradardotsize2; + config >> dynamicfov; + config >> dynamicfovmax; + config >> max_fov2; config.close(); } @@ -780,9 +802,9 @@ void Overlay::RenderMenu() void Overlay::RenderInfo() { ImGui::SetNextWindowPos(ImVec2(0, 0)); - ImGui::SetNextWindowSize(ImVec2(154, 25)); + ImGui::SetNextWindowSize(ImVec2(250, 25)); ImGui::Begin(XorStr("##info"), (bool*)true, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar); - DrawLine(ImVec2(1, 5), ImVec2(154, 5), RED, 2); + DrawLine(ImVec2(1, 5), ImVec2(250, 5), RED, 2); ImGui::TextColored(RED, "%d", spectators); ImGui::SameLine(); ImGui::Text("--"); @@ -791,6 +813,10 @@ void Overlay::RenderInfo() ImGui::SameLine(); ImGui::Text("--"); ImGui::SameLine(); + ImGui::TextColored(WHITE, "%.f", max_fov); + ImGui::SameLine(); + ImGui::Text("--"); + ImGui::SameLine(); //Aim is on = 2, On but No Vis Check = 1, Off = 0 if (aim == 2) {