PazerOP / tf2_bot_detector

Automatically detects and votekicks cheaters/bots in TF2 casual.
MIT License
401 stars 55 forks source link

Weird Mouse Lag When Using Bot Detector #398

Open Casual-Furry opened 2 years ago

Casual-Furry commented 2 years ago

Describe the bug For a while now every time I launch the game through the TF2 bot detector I am getting this weird issue where only my mouse lags. I have no idea why this would be an issue, but it's starting to get on my nerves. It only happens when I launch the game through the detector, and I would really rather not have to play the game without it for obvious reasons (but I just might have to). I haven't been able to find anyone else online with a similar problem, but I did run into somebody on the Discord who claimed to have the same issue.

To Reproduce Launch Game Through the Detector ((Unknown What Is Actually Causing It))

Logs [23:02:23] Filesystem.cpp(68):Init: Initializing filesystem... [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg\.non_portable", PathUsage::Read) -> "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64gfhb27j5214f4\app\cfg\.non_portable" [23:02:23] Filesystem.cpp(78):Init: Installation detected as non-portable. [23:02:23] Filesystem.cpp(90):Init: Set working directory to "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector" [23:02:23] Filesystem.cpp(131):Init: Filesystem initialized. Search paths: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector" "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector" "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64gfhb27j5214f4\app\" [23:02:23] Filesystem.cpp(134):Init: WorkingDir: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector" [23:02:23] Filesystem.cpp(135):Init: LocalAppDataDir: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector" [23:02:23] Filesystem.cpp(136):Init: RoamingAppDataDir: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector" [23:02:23] Filesystem.cpp(137):Init: TempDir: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\TempState\TF2 Bot Detector" [23:02:23] Log.cpp(106):Init: Initializing LogManager... [23:02:23] Log.cpp(143):Init: Dumped all pending log messages to "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector\logs\2022-04-17_23-02-23.log". [23:02:23] DLLMain.cpp(100):RunProgram: Initializing TF2BDApplication... [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("temp/db", PathUsage::WriteLocal) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector\temp/db" [23:02:23] Application.cpp(20):TF2BDApplication: Initializing MainWindow... [23:02:23] GLContext.cpp(159):GetOrCreateGLContext: [ImGuiDesktop] Initializing OpenGL 4.3... [23:02:23] GLContext.cpp(114):InstallDebugCallback: [ImGuiDesktop] Installed GL_KHR_debug debug message callback. [23:02:23] Window.cpp(72):ValidateDriver: [ImGuiDesktop] GL_VENDOR = NVIDIA Corporation [23:02:23] Window.cpp(73):ValidateDriver: [ImGuiDesktop] GL_RENDERER = NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 [23:02:23] Window.cpp(74):ValidateDriver: [ImGuiDesktop] GL_VERSION = 4.3.0 NVIDIA 497.29 [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/settings.json", PathUsage::Read) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/settings.json" [23:02:23] ConfigHelpers.cpp(292):LoadFileInternalAsync: Loading "cfg/settings.json"... [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/settings.json", PathUsage::Read) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/settings.json" [23:02:23] ConfigHelpers.cpp(354):LoadFileInternalAsync: Skipping auto-update for "cfg/settings.json" because allowAutoupdate = false. [23:02:23] ConfigHelpers.cpp(368):LoadFileInternalAsync: Loaded "cfg/settings.json" in 0.0009593 seconds [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/settings.json", PathUsage::WriteRoaming) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/settings.json" [23:02:23] UpdateManager.cpp(581):CleanupOldUpdates: Cleaning up old downloaded updates from "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\TempState\TF2 Bot Detector\Portable Updates"... [23:02:23] UpdateManager.cpp(593):CleanupOldUpdates: Nothing to delete from "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\TempState\TF2 Bot Detector\Portable Updates". [23:02:23] UpdateManager.cpp(270):UpdateManager: UpdateStatus(4): Initializing update check... [23:02:23] PathUtils.cpp(217):DeleteOldFiles: Removing old file "logs\2022-04-10_16-19-18.log" [23:02:23] PathUtils.cpp(217):DeleteOldFiles: Removing old file "logs/console\console_2022-04-10_16-19-18.log" [23:02:23] MainWindow.cpp(362):PrintDebugInfo: Debug Info: Steam dir: "C:\Program Files (x86)\Steam\" TF dir: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" SteamID: [U:1:247866405] Version: 1.2.1.949 Is CI Build: true Compile Timestamp: Mon Jul 5 01:53:40 2021 OpenGL Version: 4.3 Is Debug Build: false -D _MSC_FULL_VER: 192930038 -D _M_X64: 100 -D _MT: 1 [23:02:23] DLLMain.cpp(103):RunProgram: Entering event loop... [23:02:23] UpdateManager.cpp(317):Update: UpdateStatus::Checking: Checking for updates... [23:02:23] UpdateManager.cpp(218):SetUpdateCheck: void cdecl `anonymous-namespace'::UpdateManager::StateManager::SetUpdateCheck<class std::future>(const struct std::source_location &,enum tf2_bot_detector::UpdateStatus,const class std::basic_string_view<char,struct std::char_traits > &,class std::future) [23:02:23] UpdateManager.cpp(324):operator (): HTTP GET https://tf2bd-util.pazer.us/AppInstaller/LatestVersion.json?type=Nightly [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("images/heart_16.png", PathUsage::Read) -> "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64__gfhb27j5214f4\app\images/heart_16.png" [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("images/vac_icon_16.png", PathUsage::Read) -> "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64gfhb27j5214f4\app\images/vac_icon_16.png" [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("images/game_ban_icon_16.png", PathUsage::Read) -> "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64gfhb27j5214f4\app\images/game_ban_icon_16.png" [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("fonts/ProggyTiny.ttf", PathUsage::Read) -> "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64gfhb27j5214f4\app\fonts/ProggyTiny.ttf" [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("fonts/ProggyTiny.ttf", PathUsage::Read) -> "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64gfhb27j5214f4\app\fonts/ProggyTiny.ttf" [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("fonts/ProggyClean.ttf", PathUsage::Read) -> "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64__gfhb27j5214f4\app\fonts/ProggyClean.ttf" [23:02:23] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/settings.json", PathUsage::WriteRoaming) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/settings.json" [23:02:24] HTTPClient.cpp(174):GetStringAsync: [540ms] HTTP GET #2: https://tf2bd-util.pazer.us:443/AppInstaller/LatestVersion.json?type=Nightly [23:02:24] UpdateManager.cpp(360):Update: UpdateStatus::UpToDate: Up to date (v1.2.1.949 Nightly) [23:02:24] UpdateManager.cpp(218):SetUpdateCheck: void cdecl anonymous-namespace'::UpdateManager::StateManager::SetUpdateCheck<structanonymous-namespace'::UpdateManager::AvailableUpdate>(const struct std::source_location &,enum tf2_bot_detector::UpdateStatus,const class std::basic_string_view<char,struct std::char_traits > &,struct `anonymous-namespace'::UpdateManager::AvailableUpdate) [23:02:24] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/settings.json", PathUsage::WriteRoaming) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/settings.json" [23:02:24] Filesystem.cpp(183):operator (): Unable to find "cfg/addons_list.json" in any search path. Full search paths [3 paths]: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector\cfg/addons_list.json" "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/addons_list.json" "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64gfhb27j5214f4\app\cfg/addons_list.json" [23:02:24] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/addons_list.json", PathUsage::Read) -> "" [23:02:24] Filesystem.cpp(227):ReadFile: Filename: "": class std::filesystem::filesystem_error: ResolvePath returned an empty path.: no such file or directory: "" [23:02:24] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/addons_list.json", PathUsage::WriteLocal) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector\cfg/addons_list.json" [23:02:24] AddonManagerPage.cpp(301):RemoveAddonsList: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector\cfg/addons_list.json" does not exist, skipping delete [23:02:24] AddonManagerPage.cpp(156):BuildAddonsList: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\aaaaaaaaaa_votefailed_eraser_v2" already exists, trying "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\aaaaaaaaaa_votefailed_eraser_v2_2"... [23:02:24] AddonManagerPage.cpp(156):BuildAddonsList: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\aaaaaaaaaa_votefailed_eraser_v2_2" already exists, trying "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\aaaaaaaaaa_votefailed_eraser_v2_3"... [23:02:24] AddonManagerPage.cpp(162):BuildAddonsList: Selecting "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\aaaaaaaaaa_votefailed_eraser_v2_3" [23:02:24] Filesystem.cpp(183):operator (): Unable to find "cfg/addons_list.json" in any search path. Full search paths [3 paths]: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector\cfg/addons_list.json" "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/addons_list.json" "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64gfhb27j5214f4\app\cfg/addons_list.json" [23:02:24] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/addons_list.json", PathUsage::Read) -> "" [23:02:24] Filesystem.cpp(227):ReadFile: Filename: "": class std::filesystem::filesystem_error: ResolvePath returned an empty path.: no such file or directory: "" [23:02:24] AddonManagerPage.cpp(206):SaveAddonsList: Saving cfg/addons_list.json: { "addons": [ { "source": "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64__gfhb27j5214f4\app\tf2_addons\aaaaaaaaaa_votefailed_eraser_v2", "target": "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\aaaaaaaaaa_votefailed_eraser_v2_3" } ] } [23:02:24] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/addons_list.json", PathUsage::WriteLocal) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector\cfg/addons_list.json" [23:02:24] AddonManagerPage.cpp(259):ConnectAddons: Permission denied when trying to create symlink "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\aaaaaaaaaa_votefailed_eraser_v2_3" --> "C:\Program Files\WindowsApps\tf2-bot-detector_1.2.1.949_x64__gfhb27j5214f4\app\tf2_addons\aaaaaaaaaa_votefailed_eraser_v2", copying instead [23:02:24] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/settings.json", PathUsage::WriteRoaming) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/settings.json" [23:02:24] ChatWrappersGeneratorPage.cpp(100):Init: TF2 was found running, trying to load saved chat wrappers... [23:02:24] Filesystem.cpp(200):ResolvePath: ResolvePath("cfg/settings.json", PathUsage::WriteRoaming) -> "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\RoamingState\TF2 Bot Detector\cfg/settings.json" [23:02:24] HTTPClient.cpp(174):GetStringAsync: [1107ms] HTTP GET #1: https://tf2bd-util.pazer.us:443/SteamAPIProxy/ISteamUser/GetFriendList/v0001?steamid=76561198208132133 [23:02:27] Window.cpp(72):ValidateDriver: [ImGuiDesktop] GL_VENDOR = NVIDIA Corporation [23:02:27] Window.cpp(73):ValidateDriver: [ImGuiDesktop] GL_RENDERER = NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 [23:02:27] Window.cpp(74):ValidateDriver: [ImGuiDesktop] GL_VERSION = 4.3.0 NVIDIA 497.29 [23:05:30] Shell.cpp(75):ExploreTo: "C:\Users\skull\AppData\Local\Packages\tf2-bot-detector_gfhb27j5214f4\LocalState\TF2 Bot Detector\logs"

Desktop (please complete the following information): Using Windows 10, update 21 H1 Bot detector version 1.2.1.949

UAVXP commented 2 years ago

I think this is related to assigning a high priority to hl2.exe. That's why I'm setting a normal priority through Process Hacker app automatically

Casual-Furry commented 2 years ago

I think this is related to assigning a high priority to hl2.exe. That's why I'm setting a normal priority through Process Hacker app automatically

HL2.exe has normal priority for me.

UAVXP commented 2 years ago

Bot Detector sets the priority of the game to high by default