Skip to content

riggedc/lag-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🕹️ 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

🚀 Features

  • 🧩 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

⚙️ Requirements

  • 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

About

lag simulator via cmd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages