diff --git a/AdjustTheFov/DllMain.cpp b/AdjustTheFov/DllMain.cpp index 7b2ae8c..e166724 100644 --- a/AdjustTheFov/DllMain.cpp +++ b/AdjustTheFov/DllMain.cpp @@ -1,3 +1,4 @@ +#include #include #include @@ -33,6 +34,9 @@ void ReadConfig() DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating AdjustTheFov..."); std::string aob = "8d ? ? ? ? 0f 28 ? e8 ? ? ? ? 80 ? ? ? ? ? ? ? 0f 28 ? f3 ? 0f 10 ? ? ? ? ? ? 0f 57 ? f3 ? 0f 59"; uintptr_t hookAddress = AobScan(aob); diff --git a/CameraFix/DllMain.cpp b/CameraFix/DllMain.cpp index a010787..404d432 100644 --- a/CameraFix/DllMain.cpp +++ b/CameraFix/DllMain.cpp @@ -1,3 +1,4 @@ +#include #include #include "ModUtils.h" @@ -31,6 +32,9 @@ void ReadConfig() DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating camera fixes..."); ReadConfig(); diff --git a/DisableRuneLoss/DllMain.cpp b/DisableRuneLoss/DllMain.cpp index 9ca8835..9cebe6c 100644 --- a/DisableRuneLoss/DllMain.cpp +++ b/DisableRuneLoss/DllMain.cpp @@ -1,3 +1,4 @@ +#include #include #include "ModUtils.h" @@ -6,6 +7,9 @@ using namespace ModUtils; DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating DisableRuneLoss..."); std::string aob = "b0 01 ? 8b ? e8 ? ? ? ? ? 8b ? ? ? 32 c0 ? 83 ? 28 c3"; std::string expectedBytes = "e8"; diff --git a/IncreaseAnimationDistance/DllMain.cpp b/IncreaseAnimationDistance/DllMain.cpp index da6d8f9..e7ff935 100644 --- a/IncreaseAnimationDistance/DllMain.cpp +++ b/IncreaseAnimationDistance/DllMain.cpp @@ -1,3 +1,4 @@ +#include #include #include "ModUtils.h" @@ -6,6 +7,9 @@ using namespace ModUtils; DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating IncreaseAnimationDistance..."); std::string aob = "c7 ? ? ? 01 00 00 00 f3 ? 0f 10 ? ? ? f3 ? 0f 10 ? ? ? f3 0f 59 ? ? ? ? ? ? 0f 28 ? f3 ? 0f 5c ? ? 58"; std::string expectedBytes = "f3 ? 0f 5e ? ? ?"; diff --git a/PauseTheGame/DllMain.cpp b/PauseTheGame/DllMain.cpp index a3abd60..ce3610d 100644 --- a/PauseTheGame/DllMain.cpp +++ b/PauseTheGame/DllMain.cpp @@ -1,3 +1,4 @@ +#include #include #include @@ -134,6 +135,9 @@ void ReadConfig() DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating PauseTheGame..."); std::string aob = "0f 84 ? ? ? ? c6 ? ? ? ? ? 00 ? 8d ? ? ? ? ? ? 89 ? ? 89 ? ? ? 8b ? ? ? ? ? ? 85 ? 75"; patchAddress = AobScan(aob); diff --git a/RemoveChromaticAberration/DllMain.cpp b/RemoveChromaticAberration/DllMain.cpp index 48b7882..f2f9152 100644 --- a/RemoveChromaticAberration/DllMain.cpp +++ b/RemoveChromaticAberration/DllMain.cpp @@ -1,3 +1,4 @@ +#include #include #include "ModUtils.h" @@ -6,6 +7,9 @@ using namespace ModUtils; DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating RemoveChromaticAberration..."); std::string aob = "0f 11 ? 60 ? 8d ? 80 00 00 00 0f 10 ? a0 00 00 00 0f 11 ? f0 ? 8d ? b0 00 00 00 0f 10 ? 0f 11 ? 0f 10 ? 10"; std::string expectedBytes = "0f 11 ? ?"; diff --git a/RemoveVignette/DllMain.cpp b/RemoveVignette/DllMain.cpp index b5f800a..976a3ed 100644 --- a/RemoveVignette/DllMain.cpp +++ b/RemoveVignette/DllMain.cpp @@ -1,3 +1,4 @@ +#include #include #include "ModUtils.h" @@ -6,6 +7,9 @@ using namespace ModUtils; DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating RemoveVignette..."); std::string aob = "f3 0f 10 ? 50 f3 0f 59 ? ? ? ? ? e8 ? ? ? ? f3 ? 0f 5c ? f3 ? 0f 59 ? ? 8d ? ? a0 00 00 00"; std::string expectedBytes = "f3 ? 0f 59 ?"; diff --git a/UltrawideFix/DllMain.cpp b/UltrawideFix/DllMain.cpp index c4bd9a9..fb4edd4 100644 --- a/UltrawideFix/DllMain.cpp +++ b/UltrawideFix/DllMain.cpp @@ -1,3 +1,4 @@ +#include #include #include "ModUtils.h" @@ -6,6 +7,9 @@ using namespace ModUtils; DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating ultrawide fix..."); std::string aob = "48 c7 45 b8 fe ff ff ff 48 89 58 10 48 89 70 18 48 89 78 20 0f 29 70 c8 48 8b"; std::string expectedBytes = "74"; diff --git a/UnlockTheFps/DllMain.cpp b/UnlockTheFps/DllMain.cpp index c7e3fd7..8c4e877 100644 --- a/UnlockTheFps/DllMain.cpp +++ b/UnlockTheFps/DllMain.cpp @@ -1,5 +1,6 @@ #include #include +#include #include "ModUtils.h" @@ -28,6 +29,9 @@ void ReadConfig() DWORD WINAPI MainThread(LPVOID lpParam) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(5s); + Log("Activating UnlockTheFps..."); { ReadConfig();