• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 02:12
CET 08:12
KST 16:12
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA12
StarCraft 2
General
RSL Season 3: RO16 results & RO8 bracket SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
Data analysis on 70 million replays A cwal.gg Extension - Easily keep track of anyone soO on: FanTaSy's Potential Return to StarCraft [ASL20] Ask the mapmakers — Drop your questions FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Clair Obscur - Expedition 33 Stormgate/Frost Giant Megathread EVE Corporation Path of Exile [Game] Osu!
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
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2186 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 18m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
PianO 4233
Sea 2586
Zeus 485
HiyA 61
Hm[arnc] 12
Bale 8
Dota 2
monkeys_forever530
NeuroSwarm118
League of Legends
JimRising 713
Counter-Strike
Coldzera 589
Heroes of the Storm
Khaldor42
Other Games
summit1g15729
fl0m514
C9.Mang0395
Trikslyr31
Dewaltoss15
Organizations
Other Games
gamesdonequick862
StarCraft: Brood War
UltimateBattle 133
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH275
• Adnapsc2 11
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1698
Upcoming Events
RSL Revival
18m
Classic vs MaxPax
SHIN vs Reynor
herO vs Maru
WardiTV Korean Royale
4h 48m
SC Evo League
5h 18m
IPSL
9h 48m
Julia vs Artosis
JDConan vs DragOn
OSC
9h 48m
BSL 21
12h 48m
TerrOr vs Aeternum
HBO vs Kyrie
RSL Revival
1d
Wardi Open
1d 6h
IPSL
1d 12h
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
1d 12h
StRyKeR vs Artosis
OyAji vs KameZerg
[ Show More ]
OSC
1d 15h
OSC
2 days
Monday Night Weeklies
2 days
OSC
2 days
Wardi Open
3 days
Replay Cast
4 days
Wardi Open
4 days
Tenacious Turtle Tussle
4 days
The PondCast
5 days
Replay Cast
5 days
LAN Event
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-16
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
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 © 2025 TLnet. All Rights Reserved.