Skip to content

UniClick v1.2.0

Latest

Choose a tag to compare

@Plesnamdwa Plesnamdwa released this 07 Nov 17:21

What's Changed in UniClick v1.2.0 — "The Color-Trigger Update"

🎨 Color-Triggered Pixel Detection

  • Sub-Microsecond Screen Sampling: Built directly on native Win32 GDI (GetDC / GetPixel) with microsecond sampling latency (~1.46 µs) and zero heavy third-party dependencies.
  • 3D Euclidean Distance Tolerance: Color matching uses normalized 3D RGB Euclidean distance with a customizable tolerance slider (0% – 50%, default 30%) to reliably compensate for anti-aliasing, dynamic lighting, and game shading.
  • Dual Execution Modes:
    • Queue Mode (Wait in Sequence): Engine waits indefinitely (default 0s) until the target pixel color appears on screen before clicking and proceeding to the next step. Can be paused or stopped anytime via F6 or the Stop button.
    • Instant Sentinel Mode (Autonomous Watcher): Background watcher thread continuously monitors screen coordinates and clicks immediately whenever the target color appears under the pin (equipped with a 0.4s identity-based debounce cooldown).

🗂️ Inline Expandable Drawer (No Popups)

  • Direct Card Expansion: Clicking the palette button (🎨) on any target card smoothly expands its settings downward directly within the sequence column—no disruptive modal windows.
  • Toggle On / Off Easily: Click 🎨 again or press ✕ Exit to Normal Mode inside the drawer to instantly return the target to normal click mode and collapse the card.
  • Full In-Place Controls: Includes Trigger Mode segmented button, color swatch, HEX entry, quick action buttons, base palette chips, tolerance slider, and real-time live under-pin match monitor.

🔍 Precision Color Acquisition

  • 🎯 Under Pin Sampling: Captures the exact screen color beneath the pin's coordinates with instant unobstructed unmasking (momentarily hides the pin for 45ms to read the real application/game pixel underneath, not the pin itself).
  • 🔍 Eyedropper Pipet Tool: Floating magnifier overlay tracks cursor movement across all connected monitors to sample exact colors anywhere on screen.
  • 8 Base Color Palette: One-click preset chips for Red (#FF3B30), Yellow (#FFCC00), Green (#34C759), Blue (#007AFF), Orange (#FF9500), Purple (#AF52DE), White (#FFFFFF), and Black (#000000).

🎯 Tactical Reticle & 2-Row Hover HUD

  • Optical Reticle Aperture: Reticles now feature a 4px transparent peep-hole at the exact crosshair center, keeping the underlying pixel visible, along with a colored edge indicator pip when color mode is active.
  • 2-Row Centered Hover HUD: Pin hover tooltip is now formatted into two compact rows and auto-centered above the reticle:
    • Row 1: Target step, coordinates, interval delay, and color trigger specs.
    • Row 2: Tactile mouse shortcuts (Scroll wheel for delay tuning, Right-click to delete).

⚡ Performance & Multi-Monitor Hardening

  • Multi-Monitor Coordinate Hardening: Safe negative-coordinate handling for multi-monitor setups with CLR_INVALID (0xFFFFFFFF) safeguards and strict Device Context lifecycle management (GetDC(0) / ReleaseDC(0, hdc)).
  • Thread-Safe Sentinel Identity: Cooldown tracking in the sentinel thread now uses stable Python object identities (id(pt)), preventing cooldown misassignments if targets are reordered, inserted, or removed mid-run.
  • Queue Isolation: Instant sentinel points are excluded from the sequential queue loop so they never block sequential delay or skew progress bar tracking.
  • Non-Blocking Sound Worker: Sound cues (snipe, pipet, add, delete) run through a dedicated background queue, keeping GUI interactions 100% fluid.

🧪 Automated Testing

  • Added comprehensive unit test suite in tests/test_color_trigger.py covering color distance, queue wait-until, sentinel watcher, and stop interruption (10/10 tests passing).

Full Changelog: v1.1.0...v1.2.0