• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 01:11
CET 07:11
KST 15:11
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Behind the Blue - Team Liquid History Book13Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8herO wins SC2 All-Star Invitational14
Community News
LiuLi Cup: 2025 Grand Finals (Feb 10-16)1Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2Nexon's StarCraft game could be FPS, led by UMS maker7PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)10Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win2
StarCraft 2
General
Rongyi Cup S3 - Preview & Info Behind the Blue - Team Liquid History Book Nexon's StarCraft game could be FPS, led by UMS maker Terran Scanner Sweep How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game?
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) LiuLi Cup: 2025 Grand Finals (Feb 10-16) Sparkling Tuna Cup - Weekly Open Tournament RSL Season 4 announced for March-April WardiTV Mondays
Strategy
Custom Maps
Map Editor closed ? [A] Starcraft Sound Mod
External Content
Mutation # 512 Overclocked The PondCast: SC2 News & Results Mutation # 511 Temple of Rebirth Mutation # 510 Safety Violation
Brood War
General
Gypsy to Korea [ASL21] Potential Map Candidates BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Liquipedia.net NEEDS editors for Brood War
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 1 Small VOD Thread 2.0 KCM Race Survival 2026 Season 1
Strategy
Fighting Spirit mining rates Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta
Other Games
General Games
Nintendo Switch Thread Diablo 2 thread Battle Aces/David Kim RTS Megathread ZeroSpace Megathread EVE Corporation
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
YouTube Thread US Politics Mega-thread Sex and weight loss Russo-Ukrainian War Thread The Games Industry And ATVI
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
Play, Watch, Drink: Esports …
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2181 users

Some notes regarding SC2 networking - Page 6

Forum Index > SC2 General
167 CommentsPost a Reply
Prev 1 4 5 6 7 8 9 Next All
ToeJam
Profile Joined April 2009
United States282 Posts
March 25 2010 21:17 GMT
#101
I love your posts R1CH. You always share such insightful information. I truly appreciate it.

If I was as leetskeet as you I'd totally hack TL and steal your icon !
FrostedMiniWeet
Profile Joined July 2009
United States636 Posts
Last Edited: 2010-03-25 21:37:47
March 25 2010 21:34 GMT
#102
I'm on windows 7 64-bit and I see a DWORD (32-bit) and a QWORD (64-bit) R1CH says to use DWORD but I'm assuming he's on a 32 bit windows program. Should I use QWORD since I'm on a 64-bit?


using a DWORD or a QWORD in the registry has nothing to do with the cpu architecture. The registry is like a simple database, and a DWORD or QWORD is just the size on disk that the field will occupy. This would only become a problem if the value is too large to fit in the DWORD, and the program reading the registry truncates the QWORD value by casting it to a DWORD. Stick with DWORD, since that is the size of the field that is expected.
sword_siege
Profile Joined September 2002
United States624 Posts
Last Edited: 2010-03-25 23:57:29
March 25 2010 23:57 GMT
#103
I'm going to go out on a limb here and say DWORD = Double (2x16 = 32) and QWORD = Quadruple (4x16 = 64) given that you're storing one bit (0 or 1) I think both options are just fine :-)
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
March 26 2010 06:12 GMT
#104
awesome, thanks R1CH! you're a beast
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Beardfish
Profile Blog Joined January 2006
United States525 Posts
March 26 2010 14:23 GMT
#105
How much truth is there in this post? (Taken from bleepingcomputer forums)
Setting the TcpAckFrequency may improve your apparent ping but will not improve your actual network speed. If anything, it may make it worse by increasing the number of actual packets being transmitted by your machine for the same amount of data.

When a computer connects to another computer using TCP it performs what is known as the TCP Three-way Handshake. what happens is this:

1. Client computer sends a SYN (synchronize) packet to the server computer
2. Server computer sends a SYN-ACK (SYN-acknowledged) packet to the client computer
3. Client computer sends a final ACK (ACK acknowledged packet to the server computer.

Thus begins the TCP connection.

All these SYN, SYN-ACK, and ACK packets carry no actual data. The Windows network stack, since Windows 2000 has, by default, only responded to every other TCP SYN packet unless additional data packets are not received within a specific period of time (per RFC-1122). This reduces the total number of non-data packets that must be sent. Changing the referenced registry value to 1 will cause Windows to respond to every SYN packet, thus doubling the TCP overhead for a connection. While this will likely improve the "ping" rating you get in online games (since it takes a SYN packet less time to be ACKed) it will not increase the actual speeds of data transfer but reduce it.
Myrmidon
Profile Blog Joined December 2004
United States9452 Posts
Last Edited: 2010-03-26 16:11:44
March 26 2010 16:09 GMT
#106
As far as I know (granted, I have no idea what the actual Windows networking stack does), the above is correct I think? I don't know the exact details.

As R1CH said in the first post and the blurb you quoted reiterates, increasing TCPAckFrequency will increase the overhead associated with a connection because it increases the number of non-data packets that are sent. Adding in these extra non-data packets reduces the amount of actual data packets that can be delivered, which reduces your potential max bandwidth.

For our purposes, we want to reduce TCP latency at the expense of bandwidth. Lower latency is better. Essentially, there's a tradeoff involved, and the default setting is geared towards what is best for most people. We're tweaking the default setting to get better performance in our particular game scenario because bandwidth is not a concern for us.

edit: to be a little more accurate (but R1CH already explained it), increasing the ACK frequency just reduces the latency in the case that a TCP packet was lost. By requiring more ACKs, you find out sooner if a packet was lost, so it can be retransmitted (and received) faster.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
March 26 2010 17:04 GMT
#107
On March 25 2010 05:00 R1CH wrote:
"Drop hacks" / Lag
...
In theory this should allow a large number of spectators to be in a game without impacting the latency for the players - if a spectator lags, who cares?


I could be wrong, but I think I remember seeing lag screens where observers were lagging, particularly during Zotac streams.
Is there a special reason for those lags or did Blizzard not actually implement observer slots the who-cares-if-they-lag way despite being rather simple to implement?
If you have a good reason to disagree with the above, please tell me. Thank you.
Neo27
Profile Blog Joined August 2009
United States154 Posts
March 26 2010 17:09 GMT
#108
Thanks for the info R1CH. You are totally like a Serra Angel, no deck is complete without you.
"I was born too damn early! Where were these games when I was a kid?" - Angry Video Game Nerd
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
March 29 2010 08:53 GMT
#109
Um, a semi- sc2 related question.
I have a beta key from a friend, but i can't download it , ( i believe my school blocks p2p sharing ) .
I tried disabling p2p and that didn't work
I guess they blocked the ports for sc2 ... or something...
Wondering if anyone has an idea of what i could do
"come korea next time... FXO house... 10 korean, 10 korean"
Metaspace
Profile Joined November 2006
Austria670 Posts
March 29 2010 12:10 GMT
#110
This design sucks! A game which needs manual registry tweaking to function properly, awesome.
Thats's what we expect of a multibillion dollar software firm.

The decision to use TCP when it's an industry standard to use UDP in comparable games (for obvious reasons!) is another epic fail.

And:

Why did they choose a central server with all disadvantages (bottleneck, latency) and then not make use of advantages this setup would offer (prevent maphacking etc.)?

Answer: They want to control network play, and give a shit about a good game.
Wir haben zuwenig Vespingas!
Marksman
Profile Blog Joined May 2009
Malaysia523 Posts
March 29 2010 12:25 GMT
#111
On March 25 2010 05:00 R1CH wrote:

You may notice there is still the "Waiting for players" screen. Rather than allow the server to continue if one player is lagging, it pauses the game for everyone. This was done out of fairness I imagine, since if someone is lagging it would not be fair for them to have to engage the other players army. Technically there is no reason why the game can't keep going similar to how HoN handles latency where only the player lagging experiences any lag. In theory this should allow a large number of spectators to be in a game without impacting the latency for the players - if a spectator lags, who cares?



Can someone kindly explain to me in detail on this? Sometimes I find games stop sometimes with this window and sometimes it stops without this window at all. So I'm wondering what's causing the second case. Note: Game wasn't paused by a player. Thanks.
I live by the LoL
wintergt
Profile Joined February 2010
Belgium1335 Posts
March 29 2010 12:55 GMT
#112
LAN crack will be out soon (first vid out possibly tomorrow), blizz should just put it in the game themselves, instead of forcing people to hack it..
here i am
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
March 29 2010 14:55 GMT
#113
ok this is awesome, but are there any drawbacks to doing the ack registry thing? Sorry if this has been asked already.
..and then I would, ya know, check em'. (Aka SpoR)
sword_siege
Profile Joined September 2002
United States624 Posts
March 29 2010 15:06 GMT
#114
On March 29 2010 23:55 CharlieMurphy wrote:
ok this is awesome, but are there any drawbacks to doing the ack registry thing? Sorry if this has been asked already.
Yes, this has been answered already. In fact, in the original post. For your convenience, it increases your bandwidth but increases your responsiveness or latency as well.
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
March 29 2010 15:17 GMT
#115
On March 29 2010 17:53 HeavOnEarth wrote:
Um, a semi- sc2 related question.
I have a beta key from a friend, but i can't download it , ( i believe my school blocks p2p sharing ) .
I tried disabling p2p and that didn't work
I guess they blocked the ports for sc2 ... or something...
Wondering if anyone has an idea of what i could do

quite offtopic, but did you try downloading the installer to a usb or external drive and transporting it over? I used my 80g ipod for stuff like this all the time. In fact I even have scbw installed with chaoslauncher on my ipod and I can plug it in and play anywhere without installing.
..and then I would, ya know, check em'. (Aka SpoR)
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
Last Edited: 2010-03-29 15:34:52
March 29 2010 15:23 GMT
#116
R1ch
Change TcpAckFrequency to 1:

How
Run registry editor (Start, Run, regedit) and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces. You will see a list of random looking keys, find the one that has the "IPAddress" value that matches your current IP. Right click on the right side and go New -> DWORD. Call it TcpAckFrequency with a value of 1.

Why this works
Usually TCP delays sending acknowledgments of received data until either more data has been received OR a timeout period elapses. This timeout period may be because the sending side is waiting for the ack before sending more data. By setting TcpAckFrequency to 1, you send an acknowledgment immediately rather than waiting, preventing miniature "stalls" in the data stream. Note that this WILL reduce your bandwidth, as you will be sending more ack packets, thus using more network resources.


If i'm on a wifi router connection, do I need to find the computer IP or my network IP?
So like 192.168.1.103 which would be specific , or 22.172.226.22 which would be my whole house.
Also, in the case of the specific one, it seems to change from time to time for whatever reason. Will I have to change the registry setting every time as well?

In every directory, I'm seeing 0.0.0.0 for the IP , but in a couple of them I do see the DhcpIPadress value at 192.168.1.103

On March 25 2010 18:05 Qiin wrote:
Show nested quote +
On March 25 2010 17:48 Shauni wrote:
Regarding the fix. I have 5 folders in the registry but every 'IPAddress' has the value of 0.0.0.0. Two of the folders however, have DhcpIpAddress set as my internal IP. How do I know which folder to add the key dword in?


Usually the folder with the MOST stuff is the right one.

I've got 11 folders, 3 of which have a lot of shit. what kind of vague/uneducated reply is this >.<

On March 25 2010 19:04 SoleSteeler wrote:
Show nested quote +
On March 25 2010 18:05 Qiin wrote:
On March 25 2010 17:48 Shauni wrote:
Regarding the fix. I have 5 folders in the registry but every 'IPAddress' has the value of 0.0.0.0. Two of the folders however, have DhcpIpAddress set as my internal IP. How do I know which folder to add the key dword in?


Usually the folder with the MOST stuff is the right one.


http://www.wowinterface.com/downloads/info13581-LeatrixLatencyFix.html

Just run that script. Very simple, easy to use, easy to remove etc.


also, anyone who is having the same problems the download from this link is here
http://www.wowinterface.com/downloads/dl.php?s=a7d40c29ec44de35bad9006f38adfeb7&id=13581
..and then I would, ya know, check em'. (Aka SpoR)
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
March 30 2010 01:06 GMT
#117
On March 30 2010 00:17 CharlieMurphy wrote:
Show nested quote +
On March 29 2010 17:53 HeavOnEarth wrote:
Um, a semi- sc2 related question.
I have a beta key from a friend, but i can't download it , ( i believe my school blocks p2p sharing ) .
I tried disabling p2p and that didn't work
I guess they blocked the ports for sc2 ... or something...
Wondering if anyone has an idea of what i could do

quite offtopic, but did you try downloading the installer to a usb or external drive and transporting it over? I used my 80g ipod for stuff like this all the time. In fact I even have scbw installed with chaoslauncher on my ipod and I can plug it in and play anywhere without installing.

yea im just gonna go to my friends apartment and do this later. just wondering if anyone hosted it somewhere, not trusting any cracked stuff.
"come korea next time... FXO house... 10 korean, 10 korean"
fonger
Profile Blog Joined March 2006
United Kingdom1218 Posts
Last Edited: 2010-04-02 03:41:38
April 02 2010 03:40 GMT
#118
On March 29 2010 21:10 Metaspace wrote:
This design sucks! A game which needs manual registry tweaking to function properly, awesome.
Thats's what we expect of a multibillion dollar software firm.

The decision to use TCP when it's an industry standard to use UDP in comparable games (for obvious reasons!) is another epic fail.

Remember that this is still beta. Assuming sensible modularity, it wouldn't be difficult for Blizzard to rework the network engine to use UDP before release.

And:

Why did they choose a central server with all disadvantages (bottleneck, latency) and then not make use of advantages this setup would offer (prevent maphacking etc.)?

Answer: They want to control network play, and give a shit about a good game.

I think you might want to do some research on exactly what foolproof maphack-prevention in an RTS of SC2's scale would entail before bashing them like that. I'm pretty sure it's already been discussed in this thread.

Edit: ehh, was browsing and didn't notice the dates. Anyway, thanks R1CH for the info ^^
Shadowfury333
Profile Blog Joined March 2008
Canada314 Posts
April 03 2010 00:00 GMT
#119
On April 02 2010 12:40 fonger wrote:Remember that this is still beta. Assuming sensible modularity, it wouldn't be difficult for Blizzard to rework the network engine to use UDP before release.


Perhaps, but keep in mind that using UDP, as has been discussed, requires constructing a sufficiently reliable Application-layer netcode for StarCraft 2 to work properly with packet loss/re-ordering/etc. Basically, Blizzard would have to write a bunch of code to handle what TCP does automatically.

However, if they do this, it would be very appreciated. At the very least they could scale the forced command lag to match network conditions.

I think you might want to do some research on exactly what foolproof maphack-prevention in an RTS of SC2's scale would entail before bashing them like that. I'm pretty sure it's already been discussed in this thread.


Although I doubt this is possible given how many machines would have to be dedicated to maphack prevention, what about threading? Why not have some independent thread be created for every Nth packet of the game, which is analyzed for map-hacking independent of the routing thread? Should one of the players be found to be map-hacking, then it is simply a matter of dropping that player.

The flaws of this are somewhat obvious, though. The most notable is practicality. Blizzard would probably require a room of computers just for checking each game for maphacking, independent of the server (some sort of RPC setup would be needed here).
Darkness called...but I was on the phone, so I missed him. I tried to *69 darkness, but his machine picked up. I yelled "Pick up the phone, Darkness", but he ignored me. Darkness must have been screening his calls.
space_yes
Profile Joined April 2010
United States548 Posts
Last Edited: 2010-04-03 22:57:36
April 03 2010 22:54 GMT
#120
On April 03 2010 09:00 Shadowfury333 wrote:
Perhaps, but keep in mind that using UDP, as has been discussed, requires constructing a sufficiently reliable Application-layer netcode for StarCraft 2 to work properly with packet loss/re-ordering/etc. Basically, Blizzard would have to write a bunch of code to handle what TCP does automatically.

It's not that bad for a company like Blizzard.

On March 25 2010 05:00 R1CH wrote:
Things that will NOT help
There is a huge amount of useless information on the Internet that offers supposedly improved performance. The following will NOT improve your network quality at all: Opening your ports. Changing "TCPNoDelay" registry setting.


The TCPNoDelay enables/disables the Nagle algorithm. This can be disabled dynamically by an application using winsock. SC2 probably does this automatically. You guys may want to set your TCPAckFrequency back to its default when you're not gaming if you stream lots of data and don't have a sick internet connection.


Prev 1 4 5 6 7 8 9 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 2h 49m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 167
ProTech135
FoxeR 53
StarCraft: Brood War
Shuttle 306
PianO 214
Leta 159
actioN 134
Snow 102
Sacsri 26
Noble 23
soO 23
ajuk12(nOOB) 16
Icarus 13
Counter-Strike
m0e_tv424
Super Smash Bros
hungrybox430
Mew2King86
Other Games
summit1g7863
WinterStarcraft491
C9.Mang0342
Tasteless176
Organizations
Other Games
gamesdonequick883
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• practicex 29
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Diggity5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Scarra1644
• Lourlo1150
• Stunt559
• HappyZerGling88
Upcoming Events
Replay Cast
2h 49m
LiuLi Cup
4h 49m
Clem vs Rogue
SHIN vs Cyan
Replay Cast
17h 49m
The PondCast
1d 3h
KCM Race Survival
1d 3h
LiuLi Cup
1d 4h
Scarlett vs TriGGeR
ByuN vs herO
Replay Cast
1d 17h
Online Event
2 days
LiuLi Cup
2 days
Serral vs Zoun
Cure vs Classic
Big Brain Bouts
2 days
Serral vs TBD
[ Show More ]
RSL Revival
2 days
RSL Revival
3 days
LiuLi Cup
3 days
uThermal 2v2 Circuit
3 days
RSL Revival
3 days
Replay Cast
3 days
Sparkling Tuna Cup
4 days
LiuLi Cup
4 days
Replay Cast
4 days
Replay Cast
5 days
LiuLi Cup
5 days
Wardi Open
5 days
Monday Night Weeklies
5 days
Replay Cast
5 days
WardiTV Winter Champion…
6 days
Liquipedia Results

Completed

Proleague 2026-02-09
Rongyi Cup S3
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
LiuLi Cup: 2025 Grand Finals
Nations Cup 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
WardiTV Winter 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.