From 0d76548a4737622d779123481d8e43f631058ba8 Mon Sep 17 00:00:00 2001 From: NerfBatInc <112824641+NerfBatInc@users.noreply.github.com> Date: Fri, 30 Sep 2022 08:21:03 -0400 Subject: [PATCH] Testing crashing --- apex_dma/apex_dma.cpp | 10 +++++----- apex_guest/Client/Client/main.cpp | 8 ++++++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/apex_dma/apex_dma.cpp b/apex_dma/apex_dma.cpp index 109476d..2988a33 100644 --- a/apex_dma/apex_dma.cpp +++ b/apex_dma/apex_dma.cpp @@ -484,12 +484,12 @@ static void EspLoop() } Vector bs = Vector(); - WorldToScreen(EntityPosition, m.matrix, 1920, 1080, bs); + WorldToScreen(EntityPosition, m.matrix, 1920, 1080, bs); //2560, 1440 if (esp) { Vector hs = Vector(); Vector HeadPosition = Target.getBonePositionByHitbox(0); - WorldToScreen(HeadPosition, m.matrix, 1920, 1080, hs); + WorldToScreen(HeadPosition, m.matrix, 1920, 1080, hs); //2560, 1440 float height = abs(abs(hs.y) - abs(bs.y)); float width = height / 2.0f; float boxMiddle = bs.x - (width / 2.0f); @@ -564,12 +564,12 @@ static void EspLoop() } Vector bs = Vector(); - WorldToScreen(EntityPosition, m.matrix, 1920, 1080, bs); + WorldToScreen(EntityPosition, m.matrix, 1920, 1080, bs); //2560, 1440 if (esp) { Vector hs = Vector(); Vector HeadPosition = Target.getBonePositionByHitbox(0); - WorldToScreen(HeadPosition, m.matrix, 1920, 1080, hs); + WorldToScreen(HeadPosition, m.matrix, 1920, 1080, hs); //2560, 1440 float height = abs(abs(hs.y) - abs(bs.y)); float width = height / 2.0f; float boxMiddle = bs.x - (width / 2.0f); @@ -1740,7 +1740,7 @@ static void item_glow_t() } k=1; - std::this_thread::sleep_for(std::chrono::milliseconds(1)); + std::this_thread::sleep_for(std::chrono::milliseconds(300)); } else { diff --git a/apex_guest/Client/Client/main.cpp b/apex_guest/Client/Client/main.cpp index 95fc989..cba13e9 100644 --- a/apex_guest/Client/Client/main.cpp +++ b/apex_guest/Client/Client/main.cpp @@ -511,11 +511,15 @@ public: // // First set is the x cord, then the y cord, then the screen pos from the screenshot, do the same for the second set. //Battel Royal -//Screen res 1080p +//default creen res 1080p +// 1440p is x1.333333 world KingsCanyon(ImVec2(25223.177734, 28906.144531), ImVec2(1197, 185), ImVec2(10399.223633, 13334.792969), ImVec2(1014, 381)); //could be more accurate world WorldsEdge(ImVec2(-9190.608398, 8443.554688), ImVec2(824, 412), ImVec2(-19529.794922, -8933.173828), ImVec2(707, 608)); world Olympus(ImVec2(0, 0), ImVec2(0, 0), ImVec2(0, 0), ImVec2(0, 0)); //to be measured -world StormPoint(ImVec2(-21264.427734, -47086.878906), ImVec2(711, 983), ImVec2(40298.070313, 21163.728516), ImVec2(1321, 306)); +// 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)); //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));