ttwizz / Open-Aimbot

✨Universal Aim Assist Framework✨
https://moderka.org/Open-Aimbot
MIT License
27 stars 15 forks source link

Lag issues stutters #63

Closed Dafuuh closed 5 months ago

Dafuuh commented 5 months ago

Every second, it keeps dropping by 10 fps, and it's so annoying. It keeps stuttering, and every time I aim, it drops to 40 fps. Turning off notifications helped, and the random aim-part mode is causing the stutters and lag.

ttwizz commented 5 months ago

I will check it later. Thanks a lot for reporting

DaniHRE commented 5 months ago

Notifications cause this lag as @Dafuuh says. When i disable the notifications my fps goes up to 200 normally. When its enabled i have spike lags.

ttwizz commented 5 months ago

The reason is starting threads (spawning tasks) in RenderStepped, that notifications create. Probably, the only one way to resolve this issue is to remove the notifications calls from Aimbot Loop.

ttwizz commented 5 months ago

Issue resolved. Thanks for patience