EDT 18:38 CEST 00:38 KST 07:38

Streams: 120 live
44668 total viewers

Active: 9339
Pizza Meter
[WCS AM] Ro16 Group B Prev…
WCS AM - Ro16 Interviews a…
AMD Premier League S1 Gran…
[WCS KR] Semis: Soulkey vs…
[WCS AM] Premier League Ro…
LGD.cn and RaTtLeSnAkE Adv…
GomTV: about the gamespeed…
Papa John's explores EG, L…
TeamLiquid Map Contest Fin…
Liquid wins the Curse Invi…
mousesports defeats DD.Dot…
Dragon joins Clarity Gaming
New Get 50% off Papa Joh…
TL Advertising Features
Best way to "move on" af…
High Thread
New XBOX reveal May 21st
[SFW] Random pics that m…
[TV/BOOK] *SPOILERS* Gam…
Gay Starcraft Players
New York, NY | WCS America…
The Automated Ban List
Ask TL Staff Anything
Seoul LoL allstars Meetup …
The State Fanclub
Naniwa FanClub!
[Stream] Kane
Stream LoLvsxD
Chosing a laptop for SC2 h…
HOTS lag spikes
Computer Build Resource Th…
Simple Questions Simple An…
Recent Twitch.TV iPhone Up…
Papa John's explores EG,…
Update on Papa John's ES…
Never Miss An Inject? W…
[Show] Unfiltered w/ Cha…
Fantasy GSTL: HotS Seaso…
GomTV: about the gamespe…
[WCS AM] RO16 Group B Prem…
[SHOUTcraft AM] Final - Ma…
[Code S] Placement Matches…
[Code S] RO4 Day 1 WCS Kor…
[WCS EU] Challenger League…
Khaldor's HotKey Trick Vid…
[D] Warpgateless PvZ
Simple Questions Simple An…
[G] NaNiwa's PvZ (vs HyuN)…
The HotS Protoss Help Me T…
[M] (8) Crux Breeze
[M] (4) TPW Strangewood Mire
[D] Favorite Maps that Did…
Work In Progress Melee Maps
[TLMC] Originality Selecti…
LGD.cn and RaTtLeSnAkE A…
Dota 2 QQ thread
Inhouse Dota
General Discussion
Introducing IXDL-Open!
The new report system in…
Dota 2 General LR thread
Liquid Pasture Community L…
[TPL S5] Demon Edge Cup
Starladder Season 6
[The International] Easter…
Drafting, my thoughts on it
Solo Mid - Who? What? How?
Simple Questions, Simple A…
A guide to Krobelus, the D…
Newly ported Hero discussi…
Op TeamLiquid @ iCCup
Pucca Comeback?
SC2 Player looking to le…
DES Sonic Interview 5/18…
[TLS2] Qualifier #4 VODs
BW Liquibet Season 25
D Ranks Teamleague Season 4
[GC S3] Gambit's Cup Semif…
C Ranks Teamleague Season 1
[TLS2] Qualifier #4
Gem League II
Practice Partner Thread
Challenger map on Starcraf…
Simple Questions, Simple A…
Increasing APM/EAPM
NBA Playoffs 2013
UFC 160: Velasquez vs Bi…
EVE Corporation
RollPlay -- D&D Campaign…
Myth kickstarter- Diablo…
[LoL] [SFW] Random Pics & …
[Patch 3.07: Nerf Everythi…
[Learn 5HIT] Replay Analys…
[LCS] All-Star Tournament
[OGN] Olympus The Champion…
[LoL] General Stream Thread
[Champion] Katarina
[Champion] Swain
[Guide] Montegomery's Supe…
Wizard builds /discussions
The: What is my item worth?
Selling Items Thread
[M][N] Les Mafia
[T] Bastard "Mini" Mafia!
Carnival Cruise Mafia
The 2013 Weightlifting Pro…
Running Thread
TL Health and Fitness Init…
Leta - Movie
Michael - skyline
Anytime - Beast
By.Hero - Shuttle
Anytime - Pusan

Website Feedback

Closed Threads

IRC Chat
irc.quakenet.org #teamliquid

IRC Web Client

TeamSpeak 3 (85 users)

SC2NetInfo

Forum Index > Blogs 1 2 All
  R1CH       Administrator       December 28 2010 13:15.Profile Blog # 
I've seen a number of posts where people claim to be able to reduce lag in SC2 by way of the Leatrix Latency Fix (among other suggestions that don't actually do anything). This was a valid suggestion in the beta since SC2 used TCP which is what the latency fix changes (it disables delayed acks, resulting in a latency improvement in exchange for lower throughput). However Blizzard has implemented UDP in SC2, of which no amount of OS tweaking will improve since UDP is packet oriented rather than stream oriented.

Usually you will be playing games on SC2 bnet using UDP since the SC2 UDP protocol is faster, incredibly tolerant to packet loss (I tested 75% packetloss and still didn't get dropped) and doesn't suffer from the ack issues or slow start issues of TCP. However, if something is preventing you from using UDP such as a firewall, router or other misconfiguration, bnet will revert to using TCP without telling you which could result in increased lag and drops.

The point of this blog post is a tool I made called SC2NetInfo that will tell you whether you are using TCP or UDP when playing SC2. Grab Sc2NetInfo.7z and extract both files somewhere. Run SC2 and start a Multiplayer Custom Game vs an AI - while this tool does work in regular ladder games, there is a small risk of crashing SC2 when it is run due to race conditions. Run Loader.exe to load the analyzer. You will see a window with the number of TCP and UDP packets sent, whichever number is increasing is the protocol your SC2 is using. Requires VC 2008 runtimes if you don't have them already.

If you are using TCP, this means that bnet wasn't able to communicate over UDP for some reason. Check any firewall software to ensure SC2 isn't blocked or anything in your router (you don't need any port forwarding for SC2 - turn it off if you have any). SC2 UDP runs on port 1119.

WARNING: While this doesn't modify SC2 at all, this is still a 3rd party program and you should use this at your own risk.

*****
Twitter: @R1CH_TL
Old Post

 
 Vequeth   United Kingdom. December 28 2010 13:18. Posts 989
Profile Blog # 
Will try this out, thanks

My connection from Singapore -> NA servers has been laggy as hell.

After a game: 15 TCP 7232 UDP, so looks like that isnt the issue.
Last edit: 2010-12-28 13:33:14
Aspiring British Caster / Masters Protoss
Old Post

 
 synapse   China. December 28 2010 13:50. Posts 6908
Profile Blog # 
R1CH you are fucking godly.
Mmmm butterfly... delicious.
Old Post

 
 Froadac   United States. December 28 2010 15:16. Posts 5604
Profile Blog # 

On December 28 2010 13:50 synapse wrote:
R1CH you are fucking godly.

^ Yep. I wanna be just like rich when I grow up <3
#1 EGSuppy fan!!
Old Post

 
 MoreFaSho   United States. December 28 2010 15:58. Posts 1408
Profile Blog # 
FYI (that's efff, your eye?), it's possible to disable slow start after idle in the kernel for the tcp stack, I'm not an expert in it, but I know it's possible, don't really know what the downsides would be.
Old Post

 
 Zlasher   United States. December 28 2010 16:04. Posts 8318
Profile Blog # 
i'm scared to touch the wizards magic
Follow me: www.twitter.com/zlasher
Old Post

  R1CH       Administrator       December 28 2010 16:19.Profile Blog # 

On December 28 2010 15:58 MoreFasho wrote:
FYI (that's efff, your eye?), it's possible to disable slow start after idle in the kernel for the tcp stack, I'm not an expert in it, but I know it's possible, don't really know what the downsides would be.

It's more than just slow start though, the exponential backoff in response to dropped packets kills games like SC2.
Twitter: @R1CH_TL
Old Post

  SonuvBob       Administrator       December 28 2010 16:49.Profile Blog # 

On December 28 2010 16:19 R1CH wrote:

Show nested quote +


It's more than just slow start though, the exponential backoff in response to dropped packets kills games like SC2.

Chill, Hot_Bid, are you reading this?
 
Old Post

 
 disco   Netherlands. December 28 2010 17:17. Posts 1646
Profile Blog # 
Wizard says what?
this game is a fucking jokie
Old Post

  SpoR   United States. December 28 2010 18:22. Posts 1541Profile Blog # 
wait so you're saying if I forwarded the ports for sc2 I should take it away? Why?
A man is what he thinks about all day long.
Old Post

  R1CH       Administrator       December 28 2010 19:05.Profile Blog # 
Because SC2 doesn't accept incoming connections.
Twitter: @R1CH_TL
Old Post

  zatic   Germany. December 28 2010 19:24. Posts 11714Profile Blog # 

First we didn’t think it would be possible to create SC2ProMod before the SC2 release. After all, Blizzard hasn’t implemented much of the game yet, and large parts of the Beta are protected against crackers. They did a much better job obfuscating their SLO’s for example. However, after probing some of the less obvious registers it appeared that they forgot to properly pad a couple of the bigints on the D3D integration. From there, injecting a hook for SC2ProMod into the Hold-RIs was a piece of cake. The rest was straightforward assembly redialing.

-- R1CH, Wizard
I know Teamliquid is known as a massive building
Old Post

  SpoR   United States. December 29 2010 15:17. Posts 1541Profile Blog # 
I am on a wifi connect for fios which is super fast, but i still get skipping and It said I was on TCP. No ports were forwarded but there is some port triggering, but I dunno what this is exactly.


Port Triggering

Trigger opening of ports for incoming data.


NOTE: Only advanced technical users should use this feature.

Protocol Outgoing Trigger Ports Incoming Ports to Open Action
L2TP Triggering - Layer Two Tunneling Protocol
UDP Any -> 1701 UDP Any -> Same as Initiating Ports

TFTP Triggering - Trivial File Transfer Protocol
UDP 1024-65535 -> 69 UDP Any -> Same as Initiating


A man is what he thinks about all day long.
Old Post

 
 konadora  *   Singapore. December 29 2010 16:08. Posts 44494
Profile Blog # 
idk exactly what i just read but i'm pretty damn sure it'll work
OPPAI GUNDAM STYLE
Old Post

  SpoR   United States. December 29 2010 16:46. Posts 1541Profile Blog # 
Well this time it was using UDP but i still got lag spikes. Pretty frustrating to lose a game you should have won because a pylon didn't cancel during a quick spike causing you to not have money for a canon before your probe dies.
A man is what he thinks about all day long.
Old Post

  R1CH       Administrator       December 29 2010 18:27.Profile Blog # 
It's most likely your wireless that is the problem, FIOS should be low enough latency to never have any lag issues on bnet.
Twitter: @R1CH_TL
Old Post

 
 Marksman   Malaysia. December 29 2010 21:08. Posts 510
Profile Blog # 
Awesome R1ch, will try your hard work ;D
I live by the LoL
Old Post

 
 Nazza   Australia. December 29 2010 21:18. Posts 1519
Profile Blog # 
wait, I don't get why this is in blogs? Shouldn't this be in SC2 General?
No one ever remembers second place, eh? eh? GIVE ME COMMAND
Old Post

  R1CH       Administrator       January 05 2011 15:37.Profile Blog # 
I usually post all my little projects in blogs, it's kind of too specific for SC2 General.
Twitter: @R1CH_TL
Old Post

 
 jacen   Austria. January 05 2011 16:33. Posts 3643
Profile Blog # 

On December 28 2010 13:15 R1CH wrote:WARNING: While this doesn't modify SC2 at all, this is still a 3rd party program and you should use this at your own risk.

Could you specify what and where you are reading from?
If you are hooking network libraries from windows, there shouldn't be much trouble. I think warden is just especially allergic to reads and writes to/from sc2 allocated ram space.

Anyway, many thx for this thing (even if didn't check it out yet).
This will be incredible helpful at lan parties to show the orgas what the problem is.
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
Old Post

1 2 All
Please log in or register to reply.
 
Refresh
StarCraft: Brood War
StarCraft 2
Dota 2
[ Show 103 non-featured ]

» Recent SC2 Results
» Premier SC2 Tournaments
Sidebar Settings...

The Little App Factory



The opinions expressed by our users do not reflect the official position of TeamLiquid.net or its staff.

Advertising | Jobs | Privacy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren. Ad tag: TF_US.
The contents of this webpage are copyright © 2002-2013 Teamliquid.net. All Rights Reserved