Author Topic: [Release] Windows Network Latency Optimizer  (Read 3063 times)

Offline Buttercraft

  • Grunt
  • ***
  • Posts: 63
    • View Profile
[Release] Windows Network Latency Optimizer
« on: December 08, 2024, 02:18:19 PM »
Since so many suffer from latency issues despite having otherwise decent connections I thought I should repost this here

This is the same script I wrote for Harry in an earlier thread but it fixes a bunch of other issues that affect latency, e.g.,

* Disables network throttling (by default windows reserves 20% of bandwidth for multimedia applications)
* Disables FlowControl/InterruptModeration/AdaptiveIFS at the driver level
* Disables all offloading to the NIC, CPU is faster
* Disables green energy options that restrict bandwidth
* Disables Jumbo Packets which interfere with VPN traffic

And a bunch of other optimizations.

If you change from ethernet to wifi or vice verse OR change network card, run the script again.

Run the script as admin, right click -> run as Administrator.

« Last Edit: December 09, 2024, 02:27:59 AM by Buttercraft »

Offline Buttercraft

  • Grunt
  • ***
  • Posts: 63
    • View Profile
Re: [Release] Windows Network Stack Optimizer
« Reply #1 on: December 08, 2024, 02:51:15 PM »
You can run the script on any system from Vista and up

it will have no affect on connectivity whatsoever, but may help in some cases like a bad driver, etc

Offline {Lance}

  • Sappers
  • ******
  • Posts: 922
    • View Profile
Re: [Release] Windows Network Stack Optimizer
« Reply #2 on: December 08, 2024, 05:08:14 PM »
Script looks legit, nothing malicious in it.   Whether it actually helps anyone,  no idea.  I've not heard of anyone having latency problems recently.  However,  there is a glaring missing piece.  The uninstall version ;)  Something that stores the original values the user had so that they can all be reverted easily.
« Last Edit: December 08, 2024, 05:20:53 PM by {Lance} »
Dk At hall is cause I started with temple at start and didn't need the castle . Not a hack .  I wouldn't bother editing a ss btw

^---- Dellam doesnt hack!  See, even by his own admission, no hack!!  LMFAO.

Offline Harrywangs

  • Berserker
  • *****
  • Posts: 524
    • View Profile
Re: [Release] Windows Network Stack Optimizer
« Reply #3 on: December 08, 2024, 09:48:55 PM »
Who is Buttercraft?

Offline Harrywangs

  • Berserker
  • *****
  • Posts: 524
    • View Profile
Re: [Release] Windows Network Latency Optimizer
« Reply #4 on: December 16, 2024, 02:27:31 PM »
This didn't work btw.

Offline {Lance}

  • Sappers
  • ******
  • Posts: 922
    • View Profile
Re: [Release] Windows Network Latency Optimizer
« Reply #5 on: December 21, 2024, 03:54:01 PM »
This didn't work btw.

To be expected.  Most "lag" issues that people experience or inability to enter a game isnt due to something they control locally.  It's just how the interwebz works.  Not all players can play with each other all the time.  In War2 many players noticed this and they call it "conflict between A and B".  This is caused by network routes between the 2 players being bad.  The only way around it is to change the route of one of the players like a VPN or something but VPNs suck for a latency heavy game like war2 or switching to another provider such as using one's phone connection which sometimes works if the cell connection doesnt suck.  It's been decades since there has been an issue where the problem is actually the player's local setup such as what this fix is attempting to fix.
Dk At hall is cause I started with temple at start and didn't need the castle . Not a hack .  I wouldn't bother editing a ss btw

^---- Dellam doesnt hack!  See, even by his own admission, no hack!!  LMFAO.

Offline Buttercraft

  • Grunt
  • ***
  • Posts: 63
    • View Profile
Re: [Release] Windows Network Latency Optimizer
« Reply #6 on: December 22, 2024, 03:04:01 PM »
To be expected.  Most "lag" issues that people experience or inability to enter a game isnt due to something they control locally.  It's just how the interwebz works.  Not all players can play with each other all the time.  In War2 many players noticed this and they call it "conflict between A and B".  This is caused by network routes between the 2 players being bad.  The only way around it is to change the route of one of the players like a VPN or something but VPNs suck for a latency heavy game like war2 or switching to another provider such as using one's phone connection which sometimes works if the cell connection doesnt suck.  It's been decades since there has been an issue where the problem is actually the player's local setup such as what this fix is attempting to fix.

Mostly true, the script ensures you always take the fastest I/O path, that packets are processed without delay or preference, so first-in-first-out, not out of order, and moves _everything_ to the CPU so bad drivers and local network settings can be ruled out almost entirely. Wacraft has a fixed latency but it is peer to peer so one bad link in an eight player game might cause jitter, and this can help there, but you are likely see more benefits in high bandwidth games like twitch shooters, where you are pushing 200 plus packets/second. There is not much else you can do here other than change ISP or VPN like Lance said, close down browsers, torrent clients and other background programs while gaming, and move to ethernet if you are using wifi, other than that  use the ISP provided router, they usually bundle them for new customers.

Offline fois

  • Axe Thrower
  • ****
  • Posts: 255
  • Chicken
    • View Profile
Re: [Release] Windows Network Latency Optimizer
« Reply #7 on: December 23, 2024, 07:45:49 PM »
I told harry already to use the port tester: https://github.com/FunkyFr3sh/Warcraft-II-Port-Test/releases

His result was "Symmetric" - so that means the issue is on the server (it only happens when using a VPN) and it's not possible for him to fix with changes made locally (except of course, installing a different VPN)

If you get a "Symmetric" result in the test occasionally then you're going to "conflict" (you cannot connect to certain players)