Skip to content

2.1.7 v2

Compare
Choose a tag to compare
@TaylorIsBlue TaylorIsBlue released this 11 Aug 01:36
· 393 commits to Aimmy-V2 since this release

Description

Enhance screen capture with Direct3D and refactor code... This is a preview of whats to come to regular Aimmy so... yay

beware. I made these updates at 4 in the morning, if there are bugs just let me know and be patient...

Bug Fixes (8/16/24)

  • stops detecting out of no where using closest to mouse (fixed)
  • collect data auto-collecting when off
  • collect data not collecting when its not detecting anything
  • open directory doesnt open the right folder (maybe fixed)
  • rewrote screen capture method for performance and bug updates
  • added a debug mode for iterations and error logs.
  • added more razer checks
  • fixed resolution changes (for ex alt tabbing to fullscreen/windowed breaks aimmy)
  • add a clamping thing to stop aimmy from crashing when your cursor goes out of bounds (to a different monitor)

Github Copilot log:

Transitioned screen capture from GDI+ to Direct3D for improved efficiency

  • Integrated Direct3D-based screen capture (InitializeDirect3D, D3D11Screen, ScreenGrab).
  • Added InitializeCaptureMethod to select capture method based on user settings.

Improved performance and debugging:

  • Updated AiLoop to include FPS calculation and display.

Refactored code for better readability and maintainability:

  • Split UpdateOverlay into smaller methods (UpdateConfidence, UpdateTracers, UpdateFocusBox).
  • Optimized HandlePredictions and GetClosestPrediction.
  • Enhanced PrepareKDTreeData with pre-allocated lists.

Enhanced resource and thread management:

  • Introduced DisposeResources for proper resource disposal.
  • Ensured proper thread termination and cleanup.

Minor cleanups and UI updates:

  • Removed deprecated GDI+ method and commented out unused CaptureMethod.
  • Added new settings and UI elements for screen capture method, debug mode, and FPS display.
  • Commented out and removed references to ddxoft Virtual Input Driver.
  • Adjusted dropdown items and added new sliders and toggles in MainWindow.xaml.cs.
  • Added FPS label in DetectedPlayerWindow.xaml.

Updated project dependencies:

  • Added Vortice.Direct3D11 package reference in Aimmy2.csproj.

Full Changelog: 2.1.6...2.17