GankMeDaddy

agent
Guvenlik Denetimi
Uyari
Health Uyari
  • License — License: NOASSERTION
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Uyari
  • process.env — Environment variable access in src/config/configManager.ts
  • process.env — Environment variable access in src/index.ts
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

GankMeDaddy — Dota 2 Live Coaching Agent

README.md

GankMeDaddy — Dota 2 Live Coaching Agent

A lightweight Windows 11 system tray application that provides real-time voice coaching for all five positions, using pro player match data and STRATZ pro guides as benchmarks.

Features

  • Real-time voice coaching via offline high-quality neural Piper TTS with standard OneCore Speech fallback. Volume adjustable (0-100) from the tray.
  • Data-driven benchmarks from pro player STRATZ match history and STRATZ pro guides (item timings, GPM, KDA).
  • Dota 2 Game State Integration for live game telemetry (HP, mana, gold, items, abilities), locked down locally to 127.0.0.1.
  • 32 heroes across all 5 positions with dedicated, robust strategy modules.
  • Dynamic Build-Path Branching — Automatically detects physical/magical item trajectories and filters advice dynamically.
  • Enemy Counter Briefings — Pre-game analysis and counter tips for dangerous opponent heroes.
  • Rune/Lotus/Shrine timers with voice reminders.
  • Creep score checkpoints at 10/20/30 min vs pro player pace.
  • Priority-based TTS queue with interrupt protection and cooldown deduplication.
  • Lightweight System Tray — Position selector (mid/pos1/pos3/pos4/pos5), voice toggle, volume +/- controls, setup GSI, or close the application.

Supported Heroes

Mid (9)

Hero ID Strategy Module
Void Spirit 126 Power spikes, Dissimilate dodge, Astral Step rotations
Sniper 35 Positioning safety, Shrapnel rune control, Headshot harass
Shadow Fiend 11 Soul management, Raze combos, Eul's Requiem setup
Ember Spirit 106 Remnant safety, Chains+Fist combos, mana emergency
Storm Spirit 17 Mana management, level 6 spike, Overload weaving
Monkey King 114 Jingu trading, tree positioning, Wukong's Command
Queen of Pain 39 Blink+Scream harass, Sonic Wave kills, rune mobility
Zeus 22 Arc Lightning farming, global ult sniping, mana items
Kez 145 Katana vs Sai stance trade values, Falcon Blade rush, ultimate windows

Pos 5 — Hard Support (4)

Hero ID Strategy Module
Crystal Maiden 5 Mana aura, Frostbite farming, freezing field positioning
Lich 31 Frost Shield, Sinister Gaze, Chain Frost timing
Witch Doctor 30 Maledict kills, Cask bounces, Death Ward positioning
Warlock 37 Fatal Bonds, Shadow Word sustain, Golem timing

Pos 4 — Soft Support (5)

Hero ID Strategy Module
Rubick 86 Spell steal priority, Telekinesis setup, Fade Bolt harass
Lion 26 Mana Drain, Earth Spike setup, Finger burst threshold
Hoodwink 123 Acorn Shot bushwhack, Scurry escape, Sharpshooter snipes
Earth Spirit 107 Rolling Boulder initiations, Magnetize spreads, Stone Remnant walls
Tusk 100 Snowball saves, Ice Shards blocking, Walrus Punch bursts

Pos 3 — Offlane (7)

Hero ID Strategy Module
Axe 2 Berserker's Call blink, Helix farming, Culling Blade threshold
Tidehunter 29 Anchor Smash trading, Ravage blink, Gush slows
Sand King 16 Sand Storm escape, Caustic Finale farming, Epicenter blink
Centaur 96 Double Edge last hits, Stampede initiations, Return trading
Mars 129 Spear wall combo, Bulwark positioning, Arena of Blood ult
Dawnbreaker 135 Hammer throw trading, Global Presence saves, Celestial Hammer impact
Primal Beast 137 Trample uptime, Onslaught initiations, Pulverize ult

Pos 1 — Safelane Carry (7)

Hero ID Strategy Module
Phantom Assassin 44 Dagger crit harass, Blur evasion, Coup de Grace burst
Faceless Void 41 Time Lock bash procs, Time Walk dodge, Chrono setups
Spectre 67 Desolate haunt, Spectral Dagger chase, Reality global pickoffs
Luna 48 Lucent Beam harass, Moon Glaive farm, Eclipse burst
Juggernaut 8 Blade Fury magic immunity, Healing Ward sustain, Omnislash kills
Morphling 10 Adaptive Strike combos, Waveform escape, Replicate morph
Troll Warlord 95 Fervor stack management, Whirling Axes blind, Battle Trance

Quick Start

1. Install dependencies

npm install

2. Configure .env

The .env file should contain your STRATZ API token and Steam ID:

STRATZ_API_TOKEN=your_token_here
STEAM_ACCOUNT_ID=your_steam_id

3. Dota 2 Setup

Add -gamestateintegration to Dota 2's Steam launch options:

  1. Open Steam → Right-click Dota 2 → Properties
  2. In Launch Options, add: -gamestateintegration

The app will auto-copy the GSI config file to your Dota 2 directory on first run.

4. Run

npm start

The app will:

  1. Initialize GSI Server on port 3001 (listening on localhost 127.0.0.1 only).
  2. Load configuration and pre-fetch pro match data/STRATZ guides for enabled heroes in the background.
  3. Show the system tray icon with status alerts.

How It Works

Dota 2 Client (GSI) ───► GSIServer (Port 3001, localhost)
                                 │
                           MatchTracker
                                 │
                         CoachingEngine ◄─── STRATZ API (Pro / Guide data)
                                 │
                           VoiceOutput (TTS)
  1. Dota 2 GSI sends real-time game state to 127.0.0.1:3001 every 0.5s.
  2. Match Tracker converts GSI data into normalized snapshots.
  3. STRATZ Pro Analyzer provides real item timing benchmarks from pro matches or fallback pro guides.
  4. Coaching Engine evaluates general, build-path, counter, and hero-specific rules.
  5. Voice Output plays speech via Windows SAPI or neural Piper TTS with queue deduplication.

Architecture & Code Map

For a detailed breakdown of the components, read our Codemaps Index.

src/
├── index.ts                   # Entry point and event coordinator
├── config/configManager.ts    # Settings persistence (%APPDATA%)
├── stratz/
│   ├── stratzClient.ts        # STRATZ GraphQL client with timeouts/retries
│   ├── proAnalyzer.ts         # Pro match & guide analyzer
│   └── queries.ts             # GraphQL queries
├── gsi/
│   ├── gsiServer.ts           # GSI HTTP server (localhost-only)
│   └── gsiTypes.ts            # TypeScript types for GSI
├── coaching/
│   ├── coachingEngine.ts      # Main coaching engine (role-aware)
│   ├── matchTracker.ts        # Match/draft orchestrator
│   ├── heroesData.ts          # Static hero index metadata
│   └── types.ts               # Shared types (Role, HERO_IDS, HERO_ROLES)
├── strategies/                # Hero-specific strategy modules (32)
│   ├── index.ts               # Registry — maps hero ID → strategy
│   ├── voidSpiritStrategy.ts, sniperStrategy.ts, ...
│   └── (+30 more for pos1/3/4/5)
├── voice/voiceOutput.ts       # Offline Piper & OneCore TTS manager (volume-aware)
└── tray/trayApp.ts            # System tray UI controller (position + volume)

License

Licensed under the GNU General Public License v3.0.

Yorumlar (0)

Sonuc bulunamadi