Skip to content

Troubleshooting Guide

This guide helps you solve common issues with the Visual Aim Assist Tool.

Table of Contents


Antivirus Issues

Problem: Antivirus flags the tool as malware

Symptoms: - Windows Defender shows "Trojan:Win32/Wacatac.B!ml" - Other antivirus software blocks or quarantines the executable - Cannot run the tool without it being deleted

Solutions:

  1. Add an exclusion (see Security Information for detailed instructions)

  2. Verify it's a false positive:

  3. Review the source code in this repository
  4. Compile from source yourself
  5. Submit to VirusTotal and review behavioral analysis

  6. Report the false positive to your antivirus vendor

  7. Use Windows Defender specific steps:

    # Temporarily disable real-time protection (not recommended long-term)
    Set-MpPreference -DisableRealtimeMonitoring $true
    
    # Re-enable after adding exclusion
    Set-MpPreference -DisableRealtimeMonitoring $false
    


Detection Problems

Problem: Tool doesn't detect any colors

Possible Causes & Solutions:

  1. Wrong window title
  2. Check the window setting in config.json
  3. It should partially match your game window title
  4. Try running the game in windowed or borderless windowed mode

  5. Incorrect colors

  6. Verify the color codes match what's on screen
  7. Use a color picker tool to get exact hex values
  8. Increase tolerance value (try 100-150)

  9. Color space mismatch

  10. Try different color_space values: "bgr", "rgb", or "hsv"
  11. BGR is typically correct for OpenCV captures

  12. FOV too small

  13. Increase fov value to search a larger area
  14. Enable debug overlay to see the FOV circle

  15. Area filters too restrictive

  16. Lower min_area if targets are small
  17. Raise max_area if targets are being filtered out

  18. Debug overlay not showing anything

  19. Ensure debug: true in config
  20. Check console output for errors
  21. Verify the game window is not minimized

Problem: Detects wrong objects/background

Solutions:

  1. Tighten color matching
  2. Decrease tolerance value
  3. Be more specific with color codes

  4. Adjust area filters

  5. Increase min_area to ignore small noise
  6. Decrease max_area to ignore large background elements

  7. Use HSV color space

  8. HSV can be more selective than BGR/RGB
  9. Adjust tolerance_h, tolerance_s, tolerance_v independently

Performance Issues

Problem: Tool causes lag or stuttering

Solutions:

  1. Reduce target FPS

    {
        "target_fps": 60
    }
    

  2. Decrease FOV

    {
        "fov": 150
    }
    

  3. Disable debug overlay

    {
        "debug": false
    }
    

  4. Lower resolution

  5. Run game at lower resolution
  6. Smaller frames = faster processing

  7. Close other applications

  8. Free up CPU resources
  9. Especially other screen capture software

Problem: High CPU usage

Solutions:

  1. Set appropriate FPS limit
  2. Don't use target_fps: 0 (unlimited) unless necessary
  3. 60-120 FPS is usually sufficient

  4. Optimize detection parameters

  5. Smaller FOV = less pixels to process
  6. Stricter color tolerance = fewer contours to analyze

  7. Check for memory leaks

  8. Restart the tool periodically
  9. Update to latest version if available

Aiming Issues

Problem: Aim is too jumpy/jittery

Solutions:

  1. Increase smoothness

    {
        "smoothness": 0.8
    }
    

  2. Reduce max strength

    {
        "max_strength": 0.02
    }
    

  3. Enable steady aim

    {
        "steady_aim": true,
        "steady_dist": 30.0
    }
    

  4. Add minimum strength floor

    {
        "min_strength": 0.01
    }
    

Problem: Aim is too slow/sluggish

Solutions:

  1. Decrease smoothness

    {
        "smoothness": 0.4
    }
    

  2. Increase max strength

    {
        "max_strength": 0.08
    }
    

  3. Increase target FPS

    {
        "target_fps": 144
    }
    

Problem: Aim misses the target

Solutions:

  1. Adjust offset values
    {
        "offset_x": 0.0,
        "offset_y": 0.0
    }
    
  2. Positive offset_y aims lower
  3. Negative offset_y aims higher

  4. Fine-tune lead prediction

    {
        "lead": 0.0  // Disable for stationary targets
    }
    

  5. Check calibration

  6. Ensure game sensitivity is consistent
  7. Test in controlled environment first

Problem: Aim goes to wrong target

Solutions:

  1. Adjust scoring priorities
  2. The tool typically selects closest to crosshair
  3. Reduce FOV to limit candidate targets

  4. Improve color specificity

  5. More specific colors = fewer false targets
  6. Use multiple specific colors if needed

  7. Adjust area filters

    {
        "min_area": 50,
        "max_area": 500
    }
    


Triggerbot Problems

Problem: Triggerbot doesn't fire

Solutions:

  1. Check if enabled
  2. Press F2 to toggle
  3. Verify triggerbot: true in config

  4. Adjust trigger distance

    {
        "trigger_dist": 20.0
    }
    

  5. Increase if it's not firing soon enough
  6. Decrease for more precision

  7. Check trigger button

  8. Ensure you're holding the correct mouse button
  9. Default is right click ("trigger": "right")

  10. Verify detection is working

  11. Enable debug overlay
  12. Confirm targets are being detected

Problem: Triggerbot fires too fast/slow

Solutions:

  1. Adjust trigger delay
    {
        "trigger_delay": 50  // milliseconds
    }
    
  2. Lower = faster fire rate
  3. Higher = slower fire rate
  4. Match to your weapon's fire rate

  5. Check game limitations

  6. Some games have internal fire rate limits
  7. Server tick rate may affect perceived fire rate

Build Errors

Problem: CMake cannot find dependencies

Windows:

# Ensure vcpkg is properly integrated
vcpkg integrate install

# Specify toolchain explicitly
cmake .. -DCMAKE_TOOLCHAIN_FILE=C:/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake

Linux:

# Install missing dependencies
sudo apt-get install libopencv-dev nlohmann-json3-dev

# Or for Fedora
sudo dnf install opencv-devel nlohmann-json-devel

Problem: OpenCV not found

Solutions:

  1. Verify installation

    # Linux
    pkg-config --modversion opencv4
    
    # Windows (vcpkg)
    vcpkg list
    

  2. Specify OpenCV directory

    cmake .. -DOpenCV_DIR=/path/to/opencv
    

Problem: X11 errors on Linux

Solutions:

  1. Install X11 development libraries

    sudo apt-get install libx11-dev libxext-dev libxtst-dev
    

  2. Ensure XShm is available

  3. Most modern X11 installations include it
  4. Check with xdpyinfo | grep SHM

General Issues

Problem: Tool crashes on startup

Solutions:

  1. Check config file syntax
  2. Validate JSON syntax at jsonlint.com
  3. Ensure all required fields are present

  4. Run as administrator (Windows)

  5. Right-click → Run as Administrator
  6. Some systems require elevated privileges for input simulation

  7. Check console output

  8. Error messages often indicate the problem
  9. Look for missing dependencies or permission issues

  10. Try default config

  11. Delete/rename existing config.json
  12. Let the tool generate a fresh one

Problem: Hotkeys don't work

Solutions:

  1. Check for conflicts
  2. Other software may be intercepting F1-F4
  3. Try closing other applications

  4. Run as administrator

  5. Global hotkeys may require elevated privileges

  6. Verify application is running

  7. Check task manager for the process
  8. Look for console output

Problem: Config changes don't take effect

Solutions:

  1. Restart the application
  2. Most config changes require a restart
  3. Close completely (F4) and relaunch

  4. Check config file location

  5. Ensure you're editing the correct config.json
  6. Check both executable directory and AppData/.config locations

  7. Validate JSON syntax

  8. Malformed JSON may cause silent failures
  9. Use a JSON validator

Still Having Issues?

If you've tried all the above and still have problems:

  1. Check the repository issues - Someone may have reported the same problem
  2. Review recent updates - A recent change may have introduced a bug
  3. Gather information:
  4. Console output/error messages
  5. Your configuration file
  6. System specifications
  7. Steps to reproduce
  8. Open a new issue with the gathered information

Quick Reference Table

Symptom First Thing to Try
Antivirus flag Add exclusion, verify source
No detection Check window title, increase tolerance
Jumpy aim Increase smoothness, reduce max_strength
Slow aim Decrease smoothness, increase max_strength
Triggerbot not firing Increase trigger_dist, check F2 toggle
High CPU usage Lower target_fps, reduce fov, disable debug
Build fails Install dependencies, check paths
Crashes on startup Validate config JSON, run as admin

Additional Resources