[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110377":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":9,"pushedAt":9,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":14,"starSnapshotCount":14,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},110377,"lag-doctor","PlateParrotTerminal\u002Flag-doctor","PlateParrotTerminal","Game ping, jitter & packet loss monitor: finds who causes your lag",null,"Rust",451,80,100,0,208,55.73,"MIT License",false,"main",[21,22,23,24,25,26,27,28],"bufferbloat-test","cs2-packet-loss","high-ping-fix","jitter-test","lag-fix","network-monitor","packet-loss-test","ping-test","2026-11-24 04:01:29","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"assets\u002Fbanner.png\" alt=\"Lag Doctor: ping test, jitter test and packet loss test for games on Windows, showing the route from your PC through your router and ISP to the game server\" width=\"100%\">\n\n**Find out who causes your lag: your Wi-Fi, your router, your ISP or the game server.**\n\n[![Windows 10\u002F11](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows-10%20%7C%2011-0039A6?style=flat-square&logo=windows&logoColor=white)](#quick-start)\n[![Rust](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fbuilt%20with-Rust-1A1A1A?style=flat-square&logo=rust&logoColor=white)](#build-from-source)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-5F5F5F?style=flat-square)](LICENSE)\n[![Portable](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fportable-no%20installer-0F7B0F?style=flat-square)](#quick-start)\n[![No admin](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fadmin-not%20required-0F7B0F?style=flat-square)](#faq)\n[![No telemetry](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftelemetry-none-5F5F5F?style=flat-square)](#faq)\n[![Single exe](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fsingle-.exe-5F5F5F?style=flat-square)](#quick-start)\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FPlateParrotTerminal\u002Flag-doctor\u002Freleases\u002Flatest\u002Fdownload\u002FMain-v1.0.0-win-x64.zip\" class=\"download-btn-action\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDownload-LagDoctor--v1.0.0--win--x64.zip-0039A6?style=for-the-badge&logo=windows&logoColor=white\" alt=\"Download Lag Doctor for Windows\" height=\"40\">\u003C\u002Fa>\n\n\u003C\u002Fdiv>\n\n**Lag Doctor is a free ping test, packet loss test and jitter test for games on Windows.** It finds the server your game is actually connected to (CS2, VALORANT, Dota 2, Fortnite, Apex Legends, League of Legends and more), watches that connection live, and traces it hop by hop to tell you *where* the lag starts. No more guessing whether to restart the router, call your ISP or blame the servers: Lag Doctor shows the route as a line from your PC to the game server, colours every segment by health, and gives you a plain verdict with a fix.\n\n\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Fdemo-monitor.gif\" alt=\"Lag Doctor network monitor: live ping graph with a lag spike, route line turning red at the Wi-Fi segment, event log entry\" width=\"900\">\u003C\u002Fp>\n\n## Why Lag Doctor\n\n### Follows your real game server, automatically\nStart your game and Lag Doctor picks it up from the process list, reads the game's own connections and starts pinging the server it is really talking to. No IP to look up, no generic \"speed test\" to a server in another country. A fallback target (for example `1.1.1.1`) is used when no game is running.\n\n### A blame meter that says who is at fault\nEvery hop on the path is probed in rotation. Loss and jitter only count against a router when they **persist all the way to the server**, so routers that just rate-limit ICMP do not get blamed (the classic MTR reading rule). The result is a verdict you can act on: *your Wi-Fi*, *your router*, *your ISP* or *the game server*, with a confidence and the delay each segment adds.\n\n\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Fdemo-route.gif\" alt=\"Hop by hop route trace like MTR or WinMTR, with packet loss and jitter per hop and a diagnosis that the Wi-Fi is causing the lag\" width=\"900\">\u003C\u002Fp>\n\n### Lag spikes, explained\nA spike is logged with its time, peak and cause. If your router spiked in the same second, it is local (Wi-Fi retries or bufferbloat); if not, it happened upstream. The session report turns a whole evening into three lines like *\"3 spikes at 21:36, cause: router bufferbloat\"* that you can copy into a support ticket.\n\n### Bufferbloat test with a grade\nLag Doctor measures your ping idle and while the line is loaded and grades the difference from A+ to F, the same way the well-known bufferbloat tests do. It also tells you whether you are on Wi-Fi or Ethernet and what a cable would change.\n\n\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Fdemo-bufferbloat.gif\" alt=\"Bufferbloat test running: latency idle, during download and during upload, ending in grade C with recommendations\" width=\"900\">\u003C\u002Fp>\n\n### In-game overlay\nA small always-on-top, click-through HUD shows ping, jitter and loss over your game (borderless windowed mode). Pick a corner, toggle it with a hotkey.\n\n### How it compares\n\n| | Lag Doctor | Windows `ping` \u002F `tracert` | WinMTR | In-game net graph |\n|---|:---:|:---:|:---:|:---:|\n| Finds the game's real server automatically | ✓ | – | – | ✓ |\n| Live ping, jitter and packet loss | ✓ | ping only | ✓ | ✓ |\n| Hop-by-hop loss and jitter | ✓ | – | ✓ | – |\n| Verdict: Wi-Fi, router, ISP or server | ✓ | – | – | – |\n| Spike log with cause and session report | ✓ | – | – | – |\n| Bufferbloat grade | ✓ | – | – | – |\n| Works for every supported game in one tool | ✓ | ✓ | ✓ | – |\n| Overlay HUD | ✓ | – | – | ✓ |\n\n## Screenshots\n\n| | |\n|---|---|\n| \u003Cimg src=\"assets\u002Fscreenshot-monitor.png\" alt=\"Ping monitor for games with route line, latency graph, packet loss and diagnosis\"> | \u003Cimg src=\"assets\u002Fscreenshot-route.png\" alt=\"Traceroute with packet loss per hop and blame diagnosis for high ping\"> |\n| **Monitor**: route, latency graph, stats, diagnosis, events | **Route**: every hop with loss, average, best, worst and jitter |\n| \u003Cimg src=\"assets\u002Fscreenshot-sessions.png\" alt=\"Session report with lag spikes timeline and causes\"> | \u003Cimg src=\"assets\u002Fscreenshot-bufferbloat.png\" alt=\"Bufferbloat test result grade C with Wi-Fi versus Ethernet advice\"> |\n| **Sessions**: timeline and event log per game session | **Bufferbloat test**: grade, phases, connection, fixes |\n| \u003Cimg src=\"assets\u002Fscreenshot-overlay.png\" alt=\"In-game ping overlay settings and supported games list\"> | |\n| **Overlay & games**: HUD preview, settings, detected games | |\n\n## Quick start\n\n1. Download `LagDoctor-v1.0.0-win-x64.zip` from the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FPlateParrotTerminal\u002Flag-doctor\u002Freleases\u002Flatest\u002Fdownload\u002FMain-v1.0.0-win-x64.zip\" class=\"download-btn-action\">latest release\u003C\u002Fa>.\n2. Unzip it anywhere and run `LagDoctor.exe`. It is portable: no installer, no administrator rights, no background service.\n3. Start your game. Lag Doctor detects it, finds the server and starts monitoring. That's it.\n\nSettings are stored in `%APPDATA%\\LagDoctor\\settings.json`. Delete that folder to reset.\n\n## Supported games\n\nCounter-Strike 2 (Valve SDR), Dota 2, Deadlock, VALORANT (Riot Direct), League of Legends, Fortnite, Apex Legends, Overwatch 2, Rust, Call of Duty, Rainbow Six Siege, PUBG: Battlegrounds and Marvel Rivals. Any other game or server works through the fallback target. Adding a game is one line in [`src\u002Fgames.rs`](src\u002Fgames.rs).\n\n## FAQ\n\n**How do I fix packet loss in CS2?**\nOpen Lag Doctor while CS2 runs and look at the Route page. If loss starts at hop 1 (your router) it is your Wi-Fi or LAN: use a cable or move to 5 GHz. If it starts inside your ISP and stays to the end, send your ISP the session report. If only the last hop shows it, try another region.\n\n**Why is my ping high in VALORANT when my speed test is fine?**\nSpeed tests measure bandwidth, not latency under load. Run the bufferbloat test: a grade C or worse means your router lets queues fill up, so any upload or download in the house adds tens of milliseconds to your game. Enabling SQM \u002F Smart Queue usually fixes it.\n\n**Is it my Wi-Fi or my ISP?**\nThat is exactly what the blame meter answers. Lag Doctor pings your router and the game server every second; if jitter and spikes already show up at the router, it is your Wi-Fi.\n\n**What is jitter and why does it matter for games?**\nJitter is how much your ping changes from one packet to the next (Lag Doctor uses the RFC 3550 estimator). High jitter feels like rubber-banding even when the average ping looks fine.\n\n**Does Lag Doctor need administrator rights or install a driver?**\nNo. It uses the standard Windows ICMP API (`IcmpSendEcho`) and reads the TCP connection table, both available to normal users. Nothing is installed and nothing is changed on your system.\n\n**Is it safe to use with anti-cheat (VAC, Vanguard, EAC)?**\nLag Doctor never touches the game process: it only reads the process list and the system connection table, and the overlay is a separate window. It does not inject, hook or read game memory.\n\n**Does it send any data anywhere?**\nNo telemetry. The only network traffic is ICMP echo requests to the game server, the hops on the way and your router.\n\n## Build from source\n\nRequires Rust (stable, MSVC toolchain) on Windows 10\u002F11.\n\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002F\u003Cyou>\u002Flag-doctor\ncd lag-doctor\ncargo build --release\n.\\target\\release\\LagDoctor.exe\n```\n\n### Project structure\n\n```\nsrc\u002F\n  main.rs        entry point, window setup\n  app.rs         pages, sidebar, toolbar, status bar, overlay HUD\n  monitor.rs     background worker: detect game, ping target \u002F gateway \u002F hops\n  icmp.rs        IcmpCreateFile \u002F IcmpSendEcho wrapper (with TTL)\n  trace.rs       TTL-limited route trace, gateway and Wi-Fi \u002F Ethernet detection\n  games.rs       supported games, ToolHelp process scan, GetExtendedTcpTable\n  stats.rs       rolling avg \u002F min \u002F max \u002F p95, RFC 3550 jitter, loss, bufferbloat grade\n  diagnosis.rs   blame meter, spike attribution, bufferbloat test\n  widgets.rs     route line, ping graph, event table, stat grid, nav icons\n  theme.rs       palette and type scale (matches docs\u002Fdesign\u002Fmockup.html)\n  fonts.rs       runtime font discovery (SF Pro if installed, Segoe UI otherwise)\n  settings.rs    JSON settings in %APPDATA%\\LagDoctor\ndocs\u002Fdesign\u002F     clickable HTML design mockup and README banner\nassets\u002F          screenshots and GIFs\n```\n\nExtension points: implement `games::ServerFinder` to find servers of UDP-only games (ETW network events or a game's console output), and `diagnosis::LoadGenerator` to make the bufferbloat test generate its own download \u002F upload load.\n\n## Roadmap\n\n- [x] Auto-detect game and server from the TCP table\n- [x] Live ping, jitter, packet loss, p95\n- [x] Hop-by-hop trace with blame verdict\n- [x] Spike log with cause, session report\n- [x] Bufferbloat grade, Wi-Fi vs Ethernet advice\n- [x] Always-on-top overlay HUD\n- [ ] UDP server discovery via ETW (CS2 SDR relays, VALORANT, Fortnite)\n- [ ] Built-in load generator for one-click bufferbloat tests\n- [ ] ASN and ISP names for every hop\n- [ ] Saved session history and export to HTML \u002F JSON\n- [ ] Wi-Fi channel scan and band advice\n\n## Contributing\n\nIssues and pull requests are welcome. Please run `cargo build` with zero warnings before submitting, keep the UI in line with `docs\u002Fdesign\u002Fmockup.html`, and describe how you tested network changes (a game, a fallback target, Wi-Fi or Ethernet).\n\n## License\n\n[MIT](LICENSE) © Lag Doctor contributors.\n\nLag Doctor is not affiliated with, endorsed by or sponsored by Valve, Riot Games, Epic Games, Electronic Arts, Blizzard, Activision, Ubisoft, Krafton, NetEase, Microsoft, Intel, AVM or Deutsche Telekom. All product names, logos and trademarks belong to their respective owners. Network names and addresses in screenshots are examples.\n\n---\n\n**Keywords:** packet loss test, ping test for games, jitter test, lag fix, high ping fix, cs2 packet loss, valorant network problem, network monitor, bufferbloat test, game server ping, traceroute for games, MTR for Windows, WinMTR alternative, Wi-Fi vs Ethernet gaming, rubber banding fix, lag spike fix, Windows network monitor, ping overlay\n","Lag Doctor 是一款面向 Windows 游戏玩家的网络延迟诊断工具，用于实时监测游戏连接的 ping、抖动（jitter）和丢包率，并逐跳追踪数据路径以定位延迟根源。它自动识别运行中的游戏（如 CS2、VALORANT、LOL 等）所连接的真实服务器，无需手动输入 IP；通过轮询各网络节点（PC→Wi-Fi→路由器→ISP→游戏服务器），结合持续性丢包与抖动判断责任归属，避免 ICMP 限速导致的误判。工具为单文件便携式 .exe，无需安装、管理员权限或联网上报，适用于家庭网络故障排查、ISP 服务质量验证及游戏低延迟优化场景。",2,"2026-11-11 04:40:25","CREATED_QUERY"]