Skip to content

League of Legends throws unexpected error when AdGuard is enabled - #69

Open
AlexandrPkhm wants to merge 2 commits into
masterfrom
issue/68
Open

League of Legends throws unexpected error when AdGuard is enabled#69
AlexandrPkhm wants to merge 2 commits into
masterfrom
issue/68

Conversation

@AlexandrPkhm

@AlexandrPkhm AlexandrPkhm commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Resolves #68

Adds three entries to windows/route_exclusions_apps.json so that "Route traffic through AdGuard" is OFF by default for Riot Games titles. Reporter confirmed this exact executable set resolves the LoL login "unexpected error".

Entry Executables
Riot Client RiotClientServices.exe, RiotClientUx.exe, RiotClientUxRender.exe
League of Legends LeagueClient.exe, LeagueClientUx.exe, LeagueClientUxRender.exe, League of Legends.exe
Riot Vanguard vgc.exe, vgm.exe

Why three entries, not one: Riot Client (shared login for LoL/TFT/VALORANT/LoR/2XKO), League of Legends and Riot Vanguard are separate products with separate install roots and separate install-detection keys. installed_conditions are OR-ed, so merging them would either mislabel rows or miss installs, and users should be able to unroute the launcher independently of the game.

Detection notes: the install root is user-selectable (default C:\Riot Games\, not %PROGRAMFILES%), so the games are detected via registry keys only. FilePath is used only for the fixed-location Vanguard install and the legacy %PROGRAMFILES(x86)%\Riot Games root.

Reviewer question — Vanguard: this repo's precedent (PUBG/BattlEye, Arknights: Endfield/Tencent ACE) is to omit anti-cheat executables. vgc.exe and vgm.exe are included here because the reporter confirmed them and Riot's
own firewall article lists both as network-facing.

@AlexandrPkhm
AlexandrPkhm requested review from adbuker and a lite review from Copilot August 24, 2026 19:04
@AlexandrPkhm AlexandrPkhm self-assigned this Aug 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request extends the Windows route-exclusions app definitions to cover Riot Games components implicated in issue #68, aiming to prevent AdGuard traffic routing from causing login/runtime errors in League of Legends and related Riot processes.

Changes:

  • Added new route-exclusion app entries for Riot Client, League of Legends, and Riot Vanguard.
  • Introduced registry/file-based installation detection and executable name lists for the new entries.
  • Linked the new entries to the public CompatibilityIssues report (#68).
Suppressed comments (1)

windows/route_exclusions_apps.json:445

  • The PR description says the League of Legends entry includes both registry- and file path-based installation checks, but the entry currently contains only registry checks. If file path-based detection is intended (also matching the issue report’s suggested paths), add FilePath conditions for common install locations (keeping the existing registry checks as fallbacks).
    "installed_conditions": [
      {
        "type": "RegistryKey",
        "pattern": "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Riot Game league_of_legends.live"
      },
      {
        "type": "RegistryKey",
        "pattern": "HKEY_LOCAL_MACHINE\\Software\\Riot Games, Inc\\League of Legends"
      },
      {
        "type": "RegistryKey",
        "pattern": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Riot Games, Inc\\League of Legends"
      }
    ],

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread windows/route_exclusions_apps.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Windows]: League of Legends throws unexpected error when AdGuard is enabled

2 participants