🕹️ This script introduces network lag and packet duplication for testing purposes using WinDivert. You can modify the parameters in configuration to increase your ping (in game) without having to turn on clumsy, as well as duplicate your packets
- 🧩 Adds custom outbound/inbound delay (in milliseconds)
- 🔁 Optionally duplicates UDP packets with a configurable probability
- 🧮 Displays live stats (packets in/out, duplicates, queue size)
- ⚙️ Uses WinDivert, the same driver used by Clumsy, for system-wide packet interception
- 🪶 Minimal, single-file Python script — easy to tweak and extend
- Windows (Administrator privileges required)
- Python 3.8+
- pydivert
Example configuration (inside the script):
DELAY_MS = 50 # add 50ms artificial lag DUPLICATE_UDP = True # enable UDP duplication DUPLICATE_PROB = 0.05 # 5% chance to duplicate each UDP packet