• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:28
CEST 15:28
KST 22:28
  • 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
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Weekly Cups (June 30 - July 6): Classic Doubles5[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66Weekly Cups (June 23-29): Reynor in world title form?14FEL Cracov 2025 (July 27) - $8000 live event22
StarCraft 2
General
The GOAT ranking of GOAT rankings Weekly Cups (June 30 - July 6): Classic Doubles Jim claims he and Firefly were involved in match-fixing Esports World Cup 2025 - Final Player Roster Statistics for vetoed/disliked maps
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event WardiTV Mondays Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
i aint gon lie to u bruh... BGH Auto Balance -> http://bghmmr.eu/ ASL20 Preliminary Maps [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site
Tourneys
[BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile What do you want from future RTS games? Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025! Summer Games Done Quick 2024!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
momentary artworks from des…
tankgirl
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 675 users

Workaround For Patch 13 Lag

Blogs > R1CH
Post a Reply
Normal
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
Last Edited: 2010-05-27 03:54:49
May 26 2010 04:45 GMT
#1
UPDATE (May 26): My Starcraft II no longer seems to be using UDP (in very brief testing in FFA), so Blizzard may have disabled UDP use, rendering this program obsolete.

Beyond the complete game drops that seem to be the result of a the game servers at Blizzard crashing, there still seems to be a high amount of in-game lag (slow unit response / minor freezing / random drop screens / etc) in Patch 13. I suspected this was the result of poorly implemented UDP networking code, so I wrote a program to test this theory.

By default, if SC2 detects you are able to send and receive UDP packets, it will default to the new UDP netcode in Patch 13. If your UDP is not usable, it reverts to TCP as in previous versions. By blocking UDP, you can force Starcraft II to use the old TCP code. After very early testing in a few 4v4s, this seems to have helped reduce the amount of in-game lag.

EDIT: Note that this won't magically fix all lag instantly, as other players in the game may still be using UDP. See this for more information. At best it prevents you from causing lag or dropping.

Use at your own risk, etc. Requires Visual C++ 2008 runtimes. Please post feedback whether this helps or not, it will be useful to know if this is actually the reason as I am not able to do enough testing by myself.

http://www.teamliquid.net/staff/R1CH/Sc2UDPBlocker.7z


*****
AdministratorTwitter: @R1CH_TL
lowbright
Profile Blog Joined March 2010
308 Posts
May 26 2010 04:47 GMT
#2
wow.
rich you really get it done.
TeamLiquid CJ Entusman #49
LosingID8
Profile Blog Joined December 2006
CA10827 Posts
May 26 2010 04:48 GMT
#3
i wish i could understand what you just said but regardless i'm sure you wizarded up is amazing lol

nice work!
ModeratorResident K-POP Elitist
konadora *
Profile Blog Joined February 2009
Singapore66158 Posts
May 26 2010 04:49 GMT
#4
haha that's pretty cool. Why isn't Blizzard thanking you yet? -.-
POGGERS
FiBsTeR
Profile Blog Joined February 2008
United States415 Posts
May 26 2010 04:49 GMT
#5
Can you post a replay of your 4v4? I want to see you play. ^^

Oh and awesome wizarding, I'll give this a try tomorrow.
Megalisk
Profile Blog Joined October 2008
United States6095 Posts
May 26 2010 04:50 GMT
#6
haha that's pretty cool. Why isn't Blizzard hiring you yet and paying up the G's? -.-
Tear stained american saints and dirty guitar dreams across a universe of desert and blue sky , gas station coffee love letters and two dollar pistol kisses from thirty five dollar hotel room stationary .
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 26 2010 04:52 GMT
#7
I'm so terrible that I wasn't invited to the 4v4 team, but I heard success stories.
AdministratorTwitter: @R1CH_TL
zerglingsfolife
Profile Blog Joined August 2009
United States1694 Posts
May 26 2010 04:55 GMT
#8
<3 R1CH. You are amazing man.
Night gathers, and now my watch begins. It shall not end until my death. I shall take no wife, hold no lands, father no children. I shall wear no crown and win no glory. I shall live and die at my post. I am the sword in the darkness.
StorrZerg
Profile Blog Joined February 2008
United States13919 Posts
May 26 2010 04:57 GMT
#9
On May 26 2010 13:52 R1CH wrote:
I'm so terrible that I wasn't invited to the 4v4 team, but I heard success stories.


thats terrible you should go on strike till you get a team together
Hwaseung Oz fan for life. Swing out, always swing out.
TadH
Profile Blog Joined February 2010
Canada1846 Posts
May 26 2010 05:01 GMT
#10
Nice work man, really cool tool to have.
AssuredVacancy
Profile Blog Joined September 2008
United States1167 Posts
May 26 2010 05:02 GMT
#11
what if a player with UDP plays against a player with TCP? Doesn't bnet try to sync them up and so making the tcp player lag just as much as the udp player?
We spend our youth attaining wealth, and our wealth attaining youth.
NicolBolas
Profile Blog Joined March 2009
United States1388 Posts
May 26 2010 05:05 GMT
#12
On May 26 2010 13:50 Megalisk wrote:
haha that's pretty cool. Why isn't Blizzard hiring you yet and paying up the G's? -.-


Because this doesn't actually fix the problem. It just forces the game to use the already existing TCP.

If Blizzard wanted to force TCP, they could have easily released a patch 13.1 to do that. They don't because they want to fix UDP. To do that, they need people playing with UDP so they can see where the bugs are. Shutting off UDP works against this.
So you know, cats are interesting. They are kind of like girls. If they come up and talk to you, it's great. But if you try to talk to them, it doesn't always go so well. - Shigeru Miyamoto
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
Last Edited: 2010-05-26 05:07:41
May 26 2010 05:07 GMT
#13
On May 26 2010 14:02 AssuredVacancy wrote:
what if a player with UDP plays against a player with TCP? Doesn't bnet try to sync them up and so making the tcp player lag just as much as the udp player?

Bnet sends the same information to everyone, just with different protocols. If someone is using UDP it seems they have a higher risk of lagging, so the whole game will still stall when they lag for sync reasons. So the benefit of using this in a 4v4 is pretty low when there is still a chance 7 other players could lag, unless you're on a team and have your allies using it too.
AdministratorTwitter: @R1CH_TL
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
Last Edited: 2010-05-26 05:10:12
May 26 2010 05:09 GMT
#14
On May 26 2010 14:05 NicolBolas wrote:
Show nested quote +
On May 26 2010 13:50 Megalisk wrote:
haha that's pretty cool. Why isn't Blizzard hiring you yet and paying up the G's? -.-


Because this doesn't actually fix the problem. It just forces the game to use the already existing TCP.

If Blizzard wanted to force TCP, they could have easily released a patch 13.1 to do that. They don't because they want to fix UDP. To do that, they need people playing with UDP so they can see where the bugs are. Shutting off UDP works against this.

I'm sure Blizzard has plenty of data to work with after four days of lagging games. It's not hard to spot the deficiencies in the protocol, releasing a patch and QA is what takes time, and a minor hotfix is still very costly since it requires bnet downtime and another gig of space on each players machine at the very minimum.

Although they can probably turn off UDP server side too thinking about it, that would be a pretty simple way to hotfix it.
AdministratorTwitter: @R1CH_TL
CKSide
Profile Blog Joined March 2010
United States223 Posts
May 26 2010 05:09 GMT
#15
r1ch you are the most amazing person evar. dling and trying it now.
Check
DeathByMonkeys
Profile Blog Joined March 2008
United States742 Posts
May 26 2010 05:12 GMT
#16
R1CH man you're awesome, I don't even have SC2 installed, but I can appreciate what you do. As a fellow "computer guy" working on his degree I aspire to be like you some day
Polar_Nada
Profile Blog Joined June 2008
United States1548 Posts
May 26 2010 05:14 GMT
#17
Blizzard needs R1ch. nuf said.
[ReD]NaDa and fnaticMSI.SEn fighting~! ::POlar @ UC Irvine::
QuothTheRaven
Profile Joined December 2008
United States5524 Posts
May 26 2010 05:16 GMT
#18
Thank you R1CH, now I can ladder again!
. . . nevermore
Salv
Profile Blog Joined December 2007
Canada3083 Posts
May 26 2010 05:17 GMT
#19
R1CH, you don't get enough credit, and I am saying this as a person unaware of the amount of work you probably are doing behind the scenes. Thanks for the assistance on this matter!
OmgIRok
Profile Blog Joined June 2008
Taiwan2699 Posts
May 26 2010 05:19 GMT
#20
my question is why isn't this front-paged yet
"Wanna join my [combo] clan?" "We play turret d competitively"
Chill
Profile Blog Joined January 2005
Calgary25979 Posts
May 26 2010 05:21 GMT
#21
I don't know how it works, I just know it does. We have been pretty lag free since we used this. I just got a 60 kill nuke in a ridiculous 4v4 :D
Moderator
ShaperofDreams
Profile Blog Joined December 2008
Canada2492 Posts
May 26 2010 05:22 GMT
#22
<3<3<3

This is what makes Rich such a baller. Any other person would be like "Man SC2 is lagging so bad, and even if I have the knowledge to do tests its not my job and I have other shit to do."

But no, not Rich, Rich grabs problems by the balls and squeezes until they concede to his powerful will!
Bitches don't know about my overlord. FUCK OFF ALDARIS I HAVE ENOUGH PYLONS. My Balls are as smooth as Eggs.
selboN
Profile Blog Joined January 2008
United States2523 Posts
May 26 2010 05:26 GMT
#23
Thank god, willing to try anything! Thanks so much for looking into this R1ch, you are a bad ass.
"That's what happens when you're using a mouse made out of glass!" -Tasteless (Referring to ZergBong)
Jonoman92
Profile Blog Joined September 2006
United States9103 Posts
May 26 2010 05:28 GMT
#24
Thanks R1CH. Will definitely try this out tomorrow, the lag in patch 13 is pretty annoying.
Dave[9]
Profile Blog Joined October 2003
United States2365 Posts
May 26 2010 05:29 GMT
#25
this helped, thanks Rich
http://www.teamliquid.net/forum/viewmessage.php?topic_id=104154&currentpage=316#6317
jimminy_kriket
Profile Blog Joined February 2007
Canada5501 Posts
May 26 2010 05:30 GMT
#26
On May 26 2010 14:21 Chill wrote:
I don't know how it works, I just know it does. We have been pretty lag free since we used this. I just got a 60 kill nuke in a ridiculous 4v4 :D

Things like this need to be accompanied by replays!
life of lively to live to life of full life thx to shield battery
Salv
Profile Blog Joined December 2007
Canada3083 Posts
May 26 2010 05:30 GMT
#27
Just a quick question: I run this after I opened SC (I have both files in a folder on my desktop) and a blank console window pops up and that's it. Is that what is supposed to happen?
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 26 2010 05:33 GMT
#28
Yes, there is a debug console that gets attached to SC2 when it's loaded correctly. You may see some tech info in there occasionally.
AdministratorTwitter: @R1CH_TL
Froadac
Profile Blog Joined July 2009
United States6733 Posts
Last Edited: 2010-05-26 05:34:20
May 26 2010 05:33 GMT
#29
Fixed it in one 1v1, made lag much better, not gone, but much better.

R1CH, are you a college student?

and R1CH for president of Blizzard ><
Two_DoWn
Profile Blog Joined October 2009
United States13684 Posts
May 26 2010 05:36 GMT
#30
You are a baller. Cant wait to get this working.
"What is the air speed velocity of an unladen courier?" "Dire or Radiant?"
mikeymoo
Profile Blog Joined October 2006
Canada7170 Posts
May 26 2010 05:39 GMT
#31
On May 26 2010 13:49 konadora wrote:
haha that's pretty cool. Why isn't Blizzard thanking hiring you yet? -.-

o_x | Ow. | 1003 ESPORTS dollars | If you have any questions about bans please PM Kennigit
minus_human
Profile Blog Joined November 2006
4784 Posts
Last Edited: 2010-05-26 05:41:27
May 26 2010 05:40 GMT
#32
As a freshman studying CS, I take my hat off to mr. R1CH
skronch
Profile Blog Joined December 2008
United States2717 Posts
May 26 2010 05:42 GMT
#33
lol, the wizard strikes again
heycheckit
Profile Joined May 2010
5 Posts
May 26 2010 05:44 GMT
#34
This is beautiful...
DrivE
Profile Blog Joined January 2010
United States2554 Posts
Last Edited: 2010-05-26 05:46:11
May 26 2010 05:45 GMT
#35
R1CH. . . words cannot describe how much respect I have for you :D.
Thank you!!
LUCK IS NO EXCUSE
onihunter
Profile Blog Joined September 2008
United States515 Posts
May 26 2010 05:45 GMT
#36
Thanks so much!!!
jaedong forever~
Ack1027
Profile Blog Joined January 2004
United States7873 Posts
May 26 2010 05:46 GMT
#37
This works just as you say, no lag on our end [ 2v2 ]'s but other team can still lag.

Thanks!
Comeh
Profile Blog Joined July 2008
United States18918 Posts
May 26 2010 05:51 GMT
#38
Just tested it out, and it worked great! (and i think i sort of understood some of what r1ch said, which is the only time that has ever happened)
Thanks so much for all of your work r1ch, you are clearly one of the most helpful people in all of teamliquid!
ヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(⌐■_■)ノDELETE ICEFROGヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(⌐■_■)ノヽ(
number1gog
Profile Blog Joined June 2007
United States1081 Posts
May 26 2010 05:53 GMT
#39
I don't even play sc2 yet but I had to check this thread out. Rich is amazing.
5sz6sz7sz1a2a3a4a kwanrollllllled
Salv
Profile Blog Joined December 2007
Canada3083 Posts
May 26 2010 05:53 GMT
#40
OK, just tried this on a few matches, works perfectly.

R1CH, a big, big thanks!
CynanMachae
Profile Blog Joined September 2006
Canada1459 Posts
May 26 2010 06:05 GMT
#41
Wow awesome, thanks R1CH!
Jang Yoon Chul hwaiting!
Etherone
Profile Blog Joined November 2008
United States1898 Posts
Last Edited: 2010-05-26 06:08:08
May 26 2010 06:07 GMT
#42
R1CH do you just not want to work at/for blizzard?
boesthius
Profile Blog Joined February 2008
United States11637 Posts
May 26 2010 06:22 GMT
#43
--- Nuked ---
AcrossFiveJulys
Profile Blog Joined September 2005
United States3612 Posts
May 26 2010 06:23 GMT
#44
guys, don't get TOO excited about this, because in the last day or so I haven't experienced any freezes or drops and I'm not using this program (and I was freezing/dropping every game before).
Shatter
Profile Joined October 2009
United States1401 Posts
May 26 2010 06:23 GMT
#45
The more I see r1ch post, the more I'm convinced that he is a sorcerer of some kind. Awesome work as always.
ZenDeX
Profile Blog Joined May 2008
Philippines2916 Posts
May 26 2010 06:27 GMT
#46
That's funny. The game is always glitching me back to the main menu each time I tried to join a game or each time I accept an invitation.
Kennigit *
Profile Blog Joined October 2006
Canada19447 Posts
May 26 2010 06:30 GMT
#47
On May 26 2010 15:23 AcrossFiveJulys wrote:
guys, don't get TOO excited about this, because in the last day or so I haven't experienced any freezes or drops and I'm not using this program (and I was freezing/dropping every game before).

You must be the only one because everyone i know had it happen all day today until this came out.
TelecoM
Profile Blog Joined January 2010
United States10670 Posts
May 26 2010 06:33 GMT
#48
thanks man your the coolest guy ever
AKA: TelecoM[WHITE] Protoss fighting
deth
Profile Blog Joined August 2009
Australia1757 Posts
May 26 2010 06:44 GMT
#49
if r1ch worked for blizzard we would probably have a better service overall.
Zelniq
Profile Blog Joined August 2005
United States7166 Posts
May 26 2010 06:50 GMT
#50
this needs to be on the front page & sc2 forum.

r1ch again comes through with saving us from blizzard's mistakes
ModeratorBlame yourself or God
ZenDeX
Profile Blog Joined May 2008
Philippines2916 Posts
May 26 2010 06:56 GMT
#51
On May 26 2010 15:44 dethrawr wrote:
if r1ch replaced Greg Canessa we would probably have a better service overall.

fixed.
Luddite
Profile Blog Joined April 2007
United States2315 Posts
May 26 2010 06:59 GMT
#52
nice! I wonder if I can use battleping again, if i use this.
Can't believe I'm still here playing this same game
Lemure
Profile Joined March 2010
189 Posts
Last Edited: 2010-05-26 07:04:53
May 26 2010 07:04 GMT
#53
I love you! In 2v2 my friend and I have been dropped out of around half our games, not a single drop since using this. And yes, this should be stickied and on the front page!
semantics
Profile Blog Joined November 2009
10040 Posts
Last Edited: 2010-05-26 08:06:28
May 26 2010 07:08 GMT
#54
Figures, thanks for the info, i guess time to block my udp instead of what i did when the patch was announced and allowed it properly, shiz following the rules just gets your schooled.

I assume just blocking udp for sc2 though windows 7's firewall will suffice. Along with removing the udp forwarded ports on my router.

Also if i recall correctly Voice chat has always been UDP for sc2, does your thing break voice chat although tiny price to pay.

actually looking at what your thing does i can just make a firewall rule to block all outgoing UDP and toggle it on after i sign in, as apparently you can't reach blizz servers without udp.
affinity
Profile Blog Joined October 2007
United States266 Posts
May 26 2010 07:39 GMT
#55
Whoaaa R1CH you're amazing! Went from lagging/dropping every game -> smooth games!
CheAse
Profile Blog Joined July 2009
Canada919 Posts
May 26 2010 07:59 GMT
#56
wow amazing xD you made my day
SCV good to go sir
Chrisboy
Profile Joined April 2010
Australia118 Posts
May 26 2010 08:05 GMT
#57
Went from lagging and dropping pretty bad to 3 flawless games. Thanks.
That's why I beat you almost half the time!
shadowmarth
Profile Joined September 2009
15 Posts
May 26 2010 08:09 GMT
#58
Hey important question. Can I disable this thing after I use it, for after they patch it?
Warglebargle
AcrossFiveJulys
Profile Blog Joined September 2005
United States3612 Posts
May 26 2010 08:11 GMT
#59
On May 26 2010 15:30 Kennigit wrote:
Show nested quote +
On May 26 2010 15:23 AcrossFiveJulys wrote:
guys, don't get TOO excited about this, because in the last day or so I haven't experienced any freezes or drops and I'm not using this program (and I was freezing/dropping every game before).

You must be the only one because everyone i know had it happen all day today until this came out.


That's interesting. The thing is, as R1ch explained, everyone in the game would have to be using this in order to eliminate the UDP clusterfuck entirely due to the fact that communication takes place between the server and the clients and not client-to-client. So it doesn't make sense to me that so many people are saying it is completely eliminating the problem. So that intuition, combined with the fact that I haven't personally experienced freezing lately, led to my suspicions of the effectiveness of R1che's tool.

Now, it is possible that if one person cannot use UDP, then battle.net reverts back to TCP for everyone in the game for some reason. That would explain why the tool completely eliminates the problem.

Just in case anyone doesn't understand why R1ch was (apparently) able to fix the problem and Blizzard hasn't yet, R1che's fix essentially forces a rollback to patch 1.12's TCP, which is not what blizzard wants. They want to fix whatever bug is causing such horrid UDP performance.
semantics
Profile Blog Joined November 2009
10040 Posts
May 26 2010 08:13 GMT
#60
Well they know the UDP is messed up, and have a few days worth of data on that, this is just a temporary stop gap measure till blizzard can fix it.
iNviSible.yunO
Profile Blog Joined November 2009
Germany211 Posts
May 26 2010 08:31 GMT
#61
Nice thinking! I am not a coder but I suspected the newly implemented UDP support to be responsible for some of the lag issues. Wasn't there a discussion somewhere on TL where alot of people demanded that Blizzard used UDP instead of TCP/IP to help with the lags? Now they got it;)
o.O''
7mk
Profile Blog Joined January 2009
Germany10157 Posts
May 26 2010 08:44 GMT
#62
wah, R1CH > Blizzard
beep boop
Garnet
Profile Blog Joined February 2006
Vietnam9016 Posts
May 26 2010 09:16 GMT
#63
i have to do this everytime I open sc2 right?
7mk
Profile Blog Joined January 2009
Germany10157 Posts
May 26 2010 09:18 GMT
#64
OK I tried this now and for me it says:

Inject Failed

Unable to open requested process to inject code.

Using win7 btw
beep boop
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 26 2010 09:23 GMT
#65
If you run SC2 as admin you must also run the program as admin, otherwise some security software on your PC is blocking it.
AdministratorTwitter: @R1CH_TL
Random()
Profile Blog Joined August 2004
Kyrgyz Republic1462 Posts
May 26 2010 10:13 GMT
#66
This however defeats the purpose of the beta test, doesn't it?
Badjas
Profile Blog Joined October 2008
Netherlands2038 Posts
May 26 2010 10:16 GMT
#67
Depending on how well Blizzard is able to collect feedback automatically from the beta, you might just have ruined their UDP test. Nice one hehe. (Of course Blizzard should be able to put out something better regardless of a beta test, witnessing all the lag complaints.)
I <3 the internet, I <3 you
7mk
Profile Blog Joined January 2009
Germany10157 Posts
May 26 2010 10:20 GMT
#68
On May 26 2010 18:23 R1CH wrote:
If you run SC2 as admin you must also run the program as admin, otherwise some security software on your PC is blocking it.


awesome thx
beep boop
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 26 2010 10:31 GMT
#69
On May 26 2010 19:16 Badjas wrote:
Depending on how well Blizzard is able to collect feedback automatically from the beta, you might just have ruined their UDP test. Nice one hehe. (Of course Blizzard should be able to put out something better regardless of a beta test, witnessing all the lag complaints.)

TL and the people that find this thread are just a drop in the ocean of beta players. Besides, this should be easily testable in-house by simulating network conditions and is probably even possible to notice just from the code with careful review.
AdministratorTwitter: @R1CH_TL
NuKedUFirst
Profile Blog Joined March 2010
Canada3139 Posts
May 26 2010 10:54 GMT
#70
wow, this works amazingly well! <3 R1CH - Blizzard should send you a check in the mail..
FrostedMiniWeet wrote: I like winning because it validates all the bloody time I waste playing SC2.
Badjas
Profile Blog Joined October 2008
Netherlands2038 Posts
May 26 2010 11:25 GMT
#71
On May 26 2010 19:31 R1CH wrote:
Show nested quote +
On May 26 2010 19:16 Badjas wrote:
Depending on how well Blizzard is able to collect feedback automatically from the beta, you might just have ruined their UDP test. Nice one hehe. (Of course Blizzard should be able to put out something better regardless of a beta test, witnessing all the lag complaints.)

TL and the people that find this thread are just a drop in the ocean of beta players. Besides, this should be easily testable in-house by simulating network conditions and is probably even possible to notice just from the code with careful review.

You're right, they should be able to test this regardless. But it is fun to imagine mr. Pardo clenching his scepter in his fist and cursing at you on his throne at Blizzard HQ.
I <3 the internet, I <3 you
Salv
Profile Blog Joined December 2007
Canada3083 Posts
May 26 2010 11:44 GMT
#72
On May 26 2010 17:11 AcrossFiveJulys wrote:
Show nested quote +
On May 26 2010 15:30 Kennigit wrote:
On May 26 2010 15:23 AcrossFiveJulys wrote:
guys, don't get TOO excited about this, because in the last day or so I haven't experienced any freezes or drops and I'm not using this program (and I was freezing/dropping every game before).

You must be the only one because everyone i know had it happen all day today until this came out.


That's interesting. The thing is, as R1ch explained, everyone in the game would have to be using this in order to eliminate the UDP clusterfuck entirely due to the fact that communication takes place between the server and the clients and not client-to-client. So it doesn't make sense to me that so many people are saying it is completely eliminating the problem. So that intuition, combined with the fact that I haven't personally experienced freezing lately, led to my suspicions of the effectiveness of R1che's tool.


As R1CH said, the game can still lag and drop people, it just won't drop you. If someone is going to have to drop, might as well be my opponent so I can collect free points, I don't want unnecessary losses. I've been playing customs every day, sometimes it's fine, for instance I played five games early in the morning with Ahzz and there was no lag. However I tried to play late at night for a few games before I went to bed and it was atrocious.

On May 26 2010 19:13 Random() wrote:
This however defeats the purpose of the beta test, doesn't it?


IDK, did Blizzard make it a point to fuck up B.net and let the mess continue for four days? I think the people at Battle.net have enough data at this point, and considering they also should want data about balance after Patch 13, you would think they would herald this fix by R1CH, since no one has really been able to effectively game AFAIK.
Vagtastic
Profile Joined May 2010
1 Post
May 26 2010 11:53 GMT
#73
AHHHH Is there anyway i can do this on a Mac? (mac os x .6 or somethin) i gots so much lagz, jealous of all you guys, awesome tool, well done
legendary
me_viet
Profile Blog Joined April 2010
Australia1350 Posts
May 26 2010 12:55 GMT
#74
hey, so i'm a computer noob, and I ran your program rich, but it just runs the console window with nothing in it. When I close that window, my sc2 closes too. Is that what's supposed to happen? The lag sort of feels better but it felt sort of better after that service update blizzard released this morning. So i'm not sure... help!!

I'm using Window Vista btw (sucks, i know, dunno where to get win7)

ty ty
Jibba
Profile Blog Joined October 2007
United States22883 Posts
May 26 2010 12:57 GMT
#75
R1CH, would you mind making Bnet 2.0 for us?

<3
ModeratorNow I'm distant, dark in this anthrobeat
Encode
Profile Joined May 2010
Croatia23 Posts
May 26 2010 13:12 GMT
#76
As someone said, very nice observation by R1ch, and very smart override. But stop calling this a fix. I found in bnet forum that "third party programmer fixed lag problem". It is not fixing anything except denying what is currently on Blizzards table for testing (UDP) and give you more comfortable FREE play.

From the first day of patch 13 UDP was suspected to be guilty for bad game performance. But it is also true that over TCP, problems will be even bigger once the game is released. Every real-time game in the world works over UDP because it is fastest protocol. Price of speed is that UDP is unreliable so client have to deal with lost data packages, wrong packages order, and no timeout handling. This is what developers are probably doing now.

I guess that they can easily kind of exclude TCP from client, which means that this "solution" will stop working. The reason why game still can use it is probably for data collection.

Therefore, I am grateful that I have opportunity to be Beta tester, and I will keep playing over UDP because this is why I have Beta key. Some games crashes, and some not, some I loose because of that, so what. It is all beta winning and beta loosing. I am not sentimental, but I just feel that it is unfair to call Blizzard developers jerks. It is true that there are majority of players who still crashing and lagging. They will do the job. So at least if you read this tread, use this "fix", enjoy in playing, but don't spread the word how someone fixed the problem which multimillion dollar company developer team can't solve. And keep in mind that messing up with computer network settings may leed to troubles if you don't understand what you are doing. As R1ch said, use it on your own risk.

R1ch, it wasn't anything personal, as I said, you are smart computer guy who understands networking, and it is very nice tweak, respect. I would never thought of that client will switch back to TCP.
Jibba
Profile Blog Joined October 2007
United States22883 Posts
Last Edited: 2010-05-26 13:23:50
May 26 2010 13:22 GMT
#77
It stopped being a true beta when Blizzard started handing out keys for pre-orders. I'm sick of that argument. People paid for beta, plain and simple.

The only difference between the situation now and the final release will be that there's SP. People have already handed over their money to play this game, and beta was the bait.
ModeratorNow I'm distant, dark in this anthrobeat
Encode
Profile Joined May 2010
Croatia23 Posts
May 26 2010 13:45 GMT
#78
On May 26 2010 22:22 Jibba wrote:
It stopped being a true beta when Blizzard started handing out keys for pre-orders. I'm sick of that argument. People paid for beta, plain and simple.

The only difference between the situation now and the final release will be that there's SP. People have already handed over their money to play this game, and beta was the bait.


This kinda makes you shareholder. Why are you not interested to help that UDP, or anything else works fine in final product and that we all can enjoy later. I didn't preorder, and I will probably pay higher price then you. It is free choice.

You may be sick of beta argument but beta is playing for free with all failures that beta brings in exchange for testing data. It has nothing to do with preorders for final version. If Starcraft 2 is perfect then it would be released in february as final. But we all know it is still not final.
tyCe
Profile Joined March 2010
Australia2542 Posts
May 26 2010 13:49 GMT
#79
Would BattlePing work again after doing this?
Betrayed by EG.BuK
Tropics
Profile Joined August 2007
United Kingdom1132 Posts
May 26 2010 14:06 GMT
#80
i can confirm that battleping works again with this
Jibba
Profile Blog Joined October 2007
United States22883 Posts
Last Edited: 2010-05-26 14:17:42
May 26 2010 14:16 GMT
#81
On May 26 2010 22:45 Encode wrote:
Show nested quote +
On May 26 2010 22:22 Jibba wrote:
It stopped being a true beta when Blizzard started handing out keys for pre-orders. I'm sick of that argument. People paid for beta, plain and simple.

The only difference between the situation now and the final release will be that there's SP. People have already handed over their money to play this game, and beta was the bait.


This kinda makes you shareholder. Why are you not interested to help that UDP, or anything else works fine in final product and that we all can enjoy later. I didn't preorder, and I will probably pay higher price then you. It is free choice.

You may be sick of beta argument but beta is playing for free with all failures that beta brings in exchange for testing data. It has nothing to do with preorders for final version. If Starcraft 2 is perfect then it would be released in february as final. But we all know it is still not final.
Playing on Bnet with UDP at the moment is essentially a job. A job that a lot of people paid money for. It wastes our time and it's not fun. Between playing on TCP or not playing at all, I'm sure they'd prefer us to play with TCP. That's the choice, at the moment.

If they want people to waste their time to use the game (I cannot stress it enough, with the current lag it is simply a waste of time), then they should've done it during the alpha. If some people are using UDP without lag, then that's fantastic and by all means they should. But the game is unplayable on UDP for many of us, so we're simply not going to play or "test" at all. With R1CH's fix, at least we get to test the many other issues in the game.
ModeratorNow I'm distant, dark in this anthrobeat
pyourk
Profile Joined May 2010
Canada10 Posts
May 26 2010 14:18 GMT
#82
so basically that program in the first post disables udp entirely? or does it just force sc2 to not use udp?
leser
Profile Joined May 2010
Croatia239 Posts
May 26 2010 14:29 GMT
#83
r1ch is my hero <3

he's pretty much the most awesome guy ever, and his r1q2 was easily my favorite thing in the universe. and it still is.
lulz
aikepah
Profile Joined November 2009
United States115 Posts
May 26 2010 14:32 GMT
#84
I have a question...

Why isn't R1CH working for Blizzard yet?

I think we should combine our powers as the TL.net community and make Blizz hire him to be their full time Wizard to show their programmers how to do things and provide things we actually want.

All hail teh mightly R1CH!
7mk
Profile Blog Joined January 2009
Germany10157 Posts
May 26 2010 14:35 GMT
#85
people who say this is bad for blizzards beta testing need to shut the hell up.
After the first few tries there WAS no beta testing on my part, why on earth would I when the game crashes after 3 minutes anyways?

There was no way I was gonna start SC2 beta up again until this was fixed.
Now, thanks to r1ch, it's fixed.
beep boop
Excalibur_Z
Profile Joined October 2002
United States12235 Posts
May 26 2010 15:05 GMT
#86
This is pretty consistent with theories that have been running around since this patch, and a few people I know had success by forcibly blocking UDP via firewall. It's good to know that's confirmed. Thanks for investigating and verifying. It's unfortunate that this may result in UDP being stripped out since we're so close to release, however. Unless Blizzard developers really crack down on why UDP is causing so much lag, that is.
Moderator
TopJet[95]
Profile Joined May 2010
6 Posts
May 26 2010 15:38 GMT
#87
Thanks Rich but I cant seem to run it..Ive tried installing that 2008 thing but idk what to do..Cause when I try to open the download it say to pick a program and idk what to choose..So if someone can run me by the steps or point me in a direction that would be really helpful.

Thanks Guys and thank you rich !
Kerotan
Profile Blog Joined May 2008
England2109 Posts
May 26 2010 16:13 GMT
#88
On May 27 2010 00:38 TopJet[95] wrote:
Thanks Rich but I cant seem to run it..Ive tried installing that 2008 thing but idk what to do..Cause when I try to open the download it say to pick a program and idk what to choose..So if someone can run me by the steps or point me in a direction that would be really helpful.

Thanks Guys and thank you rich !

Download winrar or another program that is capable of dealing with .rar files
Nerdette // External revolution - Internal revolution // Fabulous // I raise my hands to heaven of curiosity // I don't know what to ask for // What has it got for me? // Kerribear
metasonic
Profile Joined April 2010
United States115 Posts
May 26 2010 16:53 GMT
#89
R1CH this is great! Would you release the source to the program? I'm taking a networking class next semester at school and would be interested to see how you did this.
DreaM)XeRO
Profile Blog Joined December 2008
Korea (South)4667 Posts
May 26 2010 17:12 GMT
#90
dear rich.


what?
cw)minsean(ru
Deucegladlier
Profile Blog Joined May 2010
United States98 Posts
May 26 2010 17:19 GMT
#91
Ummm, as a computer noob, can I ask how you get this program to work?
Babe Ruth is known as the homerun king, but he was also known as the strikeout king.
TopJet[95]
Profile Joined May 2010
6 Posts
May 26 2010 17:28 GMT
#92
Hey when i try to open in winrar it just says Archives not found or something like that..
metasonic
Profile Joined April 2010
United States115 Posts
May 26 2010 17:47 GMT
#93
On May 27 2010 02:28 TopJet[95] wrote:
Hey when i try to open in winrar it just says Archives not found or something like that..


I use 7zip and used PeaZip in the past. Both will work for pretty much any compression format.
semantics
Profile Blog Joined November 2009
10040 Posts
May 26 2010 18:11 GMT
#94
On May 27 2010 02:19 Deucegladlier wrote:
Ummm, as a computer noob, can I ask how you get this program to work?

As far as i can tell it blocks all UDP ports for SC2 and then tell you when you try to access one of those ports.

Can't download maps, use voice chat or log in if you use it though.

turn it on after you log in.

Same effect would be turning on a firewall settings for all outbound udp traffic and turning it on after you logged into sc2.
Shaithis
Profile Joined March 2010
United States383 Posts
May 26 2010 18:12 GMT
#95
The Bliz programming department is kind of like Congress - everyone needs to be sacked and replaced, and the sooner the better.
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 26 2010 18:28 GMT
#96
Could you include the source code?
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 26 2010 20:03 GMT
#97
On May 26 2010 22:12 Encode wrote:
As someone said, very nice observation by R1ch, and very smart override. But stop calling this a fix. I found in bnet forum that "third party programmer fixed lag problem". It is not fixing anything except denying what is currently on Blizzards table for testing (UDP) and give you more comfortable FREE play.

I agree the name was a bit misleading. I'm in no way trying to "outdo" Blizzard here, but with all the Patch 13 problems and the beta ending so soon, it'd be nice to experience more 3v3 and 4v4 games without the constant lag. Granted I haven't seen the code, but I do have experience in developing netcode and a problem like this I think would be very easy to spot with a few debug outputs so I'm pretty confident this won't hurt the beta test. I've developed fixes for BW bugs too in the past and Blizzard had no trouble identifying the problems and applying fixes to the next patch.

On May 27 2010 03:28 mmp wrote:
Could you include the source code?

Since this is based on my private TCP/IP tool base, I won't be releasing the source. The core of it is simply WSASetLastError(WSAECONNREFUSED) and a patch to sendto with mov eax, -1 retn 18h.
AdministratorTwitter: @R1CH_TL
turnip
Profile Joined May 2010
United States193 Posts
May 26 2010 20:44 GMT
#98
Rich - thanks thanks thanks thanks thank you.

Since I started using this tool I've disconnected 0 times and had only a few spikes (caused by my opponent).

Also I hate terran.

Encode
Profile Joined May 2010
Croatia23 Posts
May 26 2010 20:44 GMT
#99
Right now I don't see any message on BNet login screen and it seems that games goes well, without lagging.

So did they fix udp, or just disable it again?
Gann1
Profile Joined July 2009
United States1575 Posts
May 26 2010 21:04 GMT
#100
thanks so much rich. I disconnected in every game today before using this tool, after I started using it no disconnects.
I drop suckas like Plinko
Warrior Madness
Profile Blog Joined April 2008
Canada3791 Posts
May 26 2010 21:07 GMT
#101
How do you revert the changes of this thing just in case it causes more problems than it fixes?
The Past: Yellow, Julyzerg, Chojja, Savior, GGplay -- The Present: Luxury, Jae- The Future: -Dong, maGma, Zero, Effort, Hoejja, hyvaa, by.hero, calm, Action ---> SC2 (Ret?? Kolll Idra!! SEN, Cool, ZergBong, Leenock)
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 26 2010 21:22 GMT
#102
Stop running it.
AdministratorTwitter: @R1CH_TL
Warrior Madness
Profile Blog Joined April 2008
Canada3791 Posts
May 26 2010 21:23 GMT
#103
On May 27 2010 06:22 R1CH wrote:
Stop running it.


I didn't realize it was just a command prompt thing. Thanks! TL should send you to blizzard.
The Past: Yellow, Julyzerg, Chojja, Savior, GGplay -- The Present: Luxury, Jae- The Future: -Dong, maGma, Zero, Effort, Hoejja, hyvaa, by.hero, calm, Action ---> SC2 (Ret?? Kolll Idra!! SEN, Cool, ZergBong, Leenock)
7mk
Profile Blog Joined January 2009
Germany10157 Posts
May 26 2010 21:33 GMT
#104
Hm I actually havent had any problems now even without this running, I think blizzard might have fixed it? Is that even possible without a patch?
beep boop
Destro
Profile Joined September 2009
Netherlands1206 Posts
May 26 2010 21:36 GMT
#105
rich you are a superhero. easily the most valuable person in the community. hats off big guy.
bring back weapon of choice for hots!
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 26 2010 21:36 GMT
#106
In theory they can disable UDP server-side, once the game gets no response from bnet it will fallback to TCP. Also your game may not be using UDP due to firewall / port forwarding / broken NAT or any number of other issues that affect UDP connectivity.
AdministratorTwitter: @R1CH_TL
Darkn3ss
Profile Joined November 2009
United States717 Posts
May 26 2010 22:06 GMT
#107
On May 27 2010 06:36 R1CH wrote:
In theory they can disable UDP server-side, once the game gets no response from bnet it will fallback to TCP. Also your game may not be using UDP due to firewall / port forwarding / broken NAT or any number of other issues that affect UDP connectivity.


*sighs how did you learn all of this?!?! "/

I feel like a caveman... TT
Dont quote me boy, cuz I aint saying shhh...
Gary13579
Profile Joined May 2010
United States6 Posts
May 26 2010 22:20 GMT
#108
Heya R1CH, been a while since I've seen you at BH!

I noticed the lag (especially in combat) since UDP was added, but wasn't sure if I could blame Blizzard or the fact that I use Wine. It's really killed my micro completely... Would you mind posting the source, or the patches that you use, so that I can make a native Linux/Wine version of it?

Actually, idea.. could I simply block UDP via my router (disable UPnP), or via iptables, and have SC2 revert to TCP? This is a lot more tempting, and avoid Warden bans.

I appreciate your work, glad to know you're still around n "playing" Blizzard games .
weeeee
Profile Joined March 2010
Australia71 Posts
Last Edited: 2010-05-26 22:50:32
May 26 2010 22:49 GMT
#109
just blocking udp packets to blizzard servers would work as well. But hopefully when sc2 is released udp will be fixed and udp would be better than tcp.
travolta
Gary13579
Profile Joined May 2010
United States6 Posts
Last Edited: 2010-05-26 23:01:35
May 26 2010 22:57 GMT
#110
Alright, did some testing using some of the awesome tools available, and have come up with the following... UDP is already disabled?

gary@snuggles:~/tools$ lsof -i | grep wineserve 05/26/10 4:46 PM
wineserve 32613 gary 66u IPv4 2423507 TCP snuggles.local:56092->12.129.206.131:1119 (ESTABLISHED)
wineserve 32613 gary 267u IPv4 2423723 TCP snuggles.local:49529->12.130.10.130:1119 (ESTABLISHED)

There are a few other things listed, but this can be blamed on wine for bunching all connections under the same proc, I ruled all UDP connections out to be torrents.

gary@snuggles:~/tools$ netstat -cn | grep ":1119" 05/26/10 4:53 PM
tcp 0 8 192.168.1.13:49529 12.130.10.130:1119 ESTABLISHED
tcp 0 0 192.168.1.13:56092 12.129.206.131:1119 ESTABLISHED


This is with UPnP on and no iptables rules.

gary@snuggles:~/tools$ sudo iptables --list 05/26/10 4:54 PM
[sudo] password for gary:
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I can't think of any other solution than UDP was disabled on the server.

To test the theory, I built a metric ton of mutas and tried microing them vs a friend. Normally, 10 mutas vs a few marines, with me moving in/out in waves of shots to harass his buildings, the lag would be terrible (up to 5 seconds), and I would lose half my mutas.
The tests showed no lag at all today (with 70 mutas!), maybe 100ms maximum, which can be blamed on my low FPS.

I'd appreciate your opinion, R1CH .
UmmTheHobo
Profile Blog Joined April 2008
United States650 Posts
May 26 2010 23:06 GMT
#111
You are a god R1CH, Blizzard is missing out
...
NuKedUFirst
Profile Blog Joined March 2010
Canada3139 Posts
May 26 2010 23:36 GMT
#112
http://www.microsoft.com/downloads/details.aspx?familyid=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en <-- C++ 2008 run times if anyone isn't sure how to use google.
FrostedMiniWeet wrote: I like winning because it validates all the bloody time I waste playing SC2.
goswser
Profile Blog Joined May 2009
United States3519 Posts
May 26 2010 23:40 GMT
#113
I used this and it has worked well. However a strange thing happened to me earlier, not sure if its a bug with the program. I was in a game (hadn't turned it on), and it began to lag and disconnect me. So I minimized the screen and turned it on, then maximized sc2 again. When I maximized I had assumed to have ~30 seconds before I was disconnected, but I was already disconnected, and the disconnect screen was blank, but it didn't say I had been dropped for about a minute. Does this tool disconnect you from the game if you turn it on mid-game? If so, this could be a major problem in tournaments, where disconnects mean a re-game.
say you were born into a jungle indian tribe where food was scarce...would you run around from teepee to teepee stealing meat scraps after a day lazying around doing nothing except warming urself by a fire that you didn't even make yourself? -rekrul
Gary13579
Profile Joined May 2010
United States6 Posts
May 26 2010 23:44 GMT
#114
On May 27 2010 08:40 Newguy wrote:
I used this and it has worked well. However a strange thing happened to me earlier, not sure if its a bug with the program. I was in a game (hadn't turned it on), and it began to lag and disconnect me. So I minimized the screen and turned it on, then maximized sc2 again. When I maximized I had assumed to have ~30 seconds before I was disconnected, but I was already disconnected, and the disconnect screen was blank, but it didn't say I had been dropped for about a minute. Does this tool disconnect you from the game if you turn it on mid-game? If so, this could be a major problem in tournaments, where disconnects mean a re-game.


It's very very doubtful that this is related to this hack. However, it appears this hack isn't needed anymore, and is kinda useless now.
NuKedUFirst
Profile Blog Joined March 2010
Canada3139 Posts
May 27 2010 00:00 GMT
#115
On May 27 2010 08:44 Gary13579 wrote:
Show nested quote +
On May 27 2010 08:40 Newguy wrote:
I used this and it has worked well. However a strange thing happened to me earlier, not sure if its a bug with the program. I was in a game (hadn't turned it on), and it began to lag and disconnect me. So I minimized the screen and turned it on, then maximized sc2 again. When I maximized I had assumed to have ~30 seconds before I was disconnected, but I was already disconnected, and the disconnect screen was blank, but it didn't say I had been dropped for about a minute. Does this tool disconnect you from the game if you turn it on mid-game? If so, this could be a major problem in tournaments, where disconnects mean a re-game.


It's very very doubtful that this is related to this hack. However, it appears this hack isn't needed anymore, and is kinda useless now.


I disagree, I was in a game 30 mins ago and it lagged like crazy, I forgot to turn the app on, I went and did so and wasn't lagging at all, I decided to ask my opponent if he was lagging and he said he was a lot.
Could have just been bad connection but I think this still helps.
FrostedMiniWeet wrote: I like winning because it validates all the bloody time I waste playing SC2.
Gary13579
Profile Joined May 2010
United States6 Posts
May 27 2010 00:06 GMT
#116
I'd be quite shocked if UDP was still being used, even after all my tests suggest otherwise. I decided to hop into a ranked game (all my games before were custom), and sure enough, still using TCP.

If one of you Windows users could check something for me, I'd appreciate it. Hop into a game without using this hack, hit Start -> Run, type cmd<enter>, then type: netstat -n | find "1119". copy/paste the output here.
DrakanSilva
Profile Blog Joined March 2010
Chile932 Posts
May 27 2010 01:44 GMT
#117
will that help me not getting stuck at "PLAYER FOUND!"

battle.lag "where your games lag, granted!"
In the beginning there was nothing... and then exploded
Mohdoo
Profile Joined August 2007
United States15662 Posts
May 27 2010 01:46 GMT
#118
Amazing work, R1ch. You do a lot of good for the community


This should really be sticky'ed in the SC2 forum, IMO. Just for the sake of more people seeing it.
neohero9
Profile Joined May 2010
United States595 Posts
Last Edited: 2010-05-27 01:59:31
May 27 2010 01:53 GMT
#119
Will I get similar results if I go into my router settings and block UDP from the port SC2 uses?
I cannot stand ignorance or dismissiveness. I edit every post I make-- I've edited this sig three times in an hour.
Excalibur_Z
Profile Joined October 2002
United States12235 Posts
May 27 2010 02:04 GMT
#120
On May 27 2010 09:06 Gary13579 wrote:
I'd be quite shocked if UDP was still being used, even after all my tests suggest otherwise. I decided to hop into a ranked game (all my games before were custom), and sure enough, still using TCP.

If one of you Windows users could check something for me, I'd appreciate it. Hop into a game without using this hack, hit Start -> Run, type cmd<enter>, then type: netstat -n | find "1119". copy/paste the output here.


I think you're right. UDP appears to be disabled server-side. I'm not running R1CH's program, and going by netstat output, I don't see any UDP activity at all, only TCP.
Moderator
Dehner
Profile Joined May 2010
Canada18 Posts
May 27 2010 02:26 GMT
#121
Worked great this morning but I'm trying to play tonight and I've been lagging crazily the same as when Patch 13 was just implemented, with or without the program running. Instant drop from 4 games and counting, 2 with it on, 2 without..
Mohdoo
Profile Joined August 2007
United States15662 Posts
May 27 2010 02:32 GMT
#122
On May 27 2010 11:04 Excalibur_Z wrote:
Show nested quote +
On May 27 2010 09:06 Gary13579 wrote:
I'd be quite shocked if UDP was still being used, even after all my tests suggest otherwise. I decided to hop into a ranked game (all my games before were custom), and sure enough, still using TCP.

If one of you Windows users could check something for me, I'd appreciate it. Hop into a game without using this hack, hit Start -> Run, type cmd<enter>, then type: netstat -n | find "1119". copy/paste the output here.


I think you're right. UDP appears to be disabled server-side. I'm not running R1CH's program, and going by netstat output, I don't see any UDP activity at all, only TCP.


When I use the application provided by R1CH, it shows that it is indeed blocking stuff.
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 27 2010 03:09 GMT
#123
UDP won't show up in netstat because it is connectionless. However I did some brief testing (Custom game and FFA) earlier tonight and it appears UDP is no longer in use.
AdministratorTwitter: @R1CH_TL
Gary13579
Profile Joined May 2010
United States6 Posts
Last Edited: 2010-05-27 03:28:01
May 27 2010 03:27 GMT
#124
On May 27 2010 12:09 R1CH wrote:
UDP won't show up in netstat because it is connectionless. However I did some brief testing (Custom game and FFA) earlier tonight and it appears UDP is no longer in use.


Somewhat correct, netstat doesn't show UDP "connections" the typical way you'd expect, but it will show a UDP server.

gary@snuggles:~$ netstat -aun | grep "1337" 05/26/10 9:26 PM
udp 0 0 0.0.0.0:1337 0.0.0.0: *
udp6 0 0 :::1337 ::: *

= my torrent client. so if SC2 was using UDP, it would show the server running.
Excalibur_Z
Profile Joined October 2002
United States12235 Posts
May 27 2010 03:35 GMT
#125
On May 27 2010 12:09 R1CH wrote:
UDP won't show up in netstat because it is connectionless. However I did some brief testing (Custom game and FFA) earlier tonight and it appears UDP is no longer in use.


I just played some 2v2s with a friend who normally lags a lot, and he said the games where he lagged heavily were the games where your program wasn't active. Possible placebo effect at work?
Moderator
R1CH
Profile Blog Joined May 2007
Netherlands10340 Posts
May 27 2010 03:54 GMT
#126
I didn't have time to test much, it might still be using UDP. Just because my program shows it blocking UDP doesn't mean it would have used UDP, if bnet doesn't respond to the UDP then it will still go back to TCP.
AdministratorTwitter: @R1CH_TL
Mortality
Profile Blog Joined December 2005
United States4790 Posts
May 27 2010 04:09 GMT
#127
LOLOLOL

R1CH >>>>>> Blizzard.

Hands down.

Kudos.
Even though this Proleague bullshit has been completely bogus, I really, really, really do not see how Khan can lose this. I swear I will kill myself if they do. - nesix before KHAN lost to eNature
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
May 27 2010 04:30 GMT
#128
Why does Blizzard suck so bad? R1CH seems to easily find and fix problems with the beta faster than they do.
..and then I would, ya know, check em'. (Aka SpoR)
hacpee
Profile Joined November 2007
United States752 Posts
May 27 2010 06:03 GMT
#129
On May 27 2010 13:30 CharlieMurphy wrote:
Why does Blizzard suck so bad? R1CH seems to easily find and fix problems with the beta faster than they do.


R1CH didn't do anything special. Blizzard is trying to implement a different technology here. UDP will give everyone the counterstrike latency people desire. They were using TCP before, which was slow. What would you rather have? A few weeks of horrible lag and latency during the beta but awesome latency when the game is released or a playable beta but 150ms latency?
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 27 2010 06:19 GMT
#130
On May 27 2010 05:03 R1CH wrote:
Show nested quote +
On May 27 2010 03:28 mmp wrote:
Could you include the source code?

Since this is based on my private TCP/IP tool base, I won't be releasing the source. The core of it is simply WSASetLastError(WSAECONNREFUSED) and a patch to sendto with mov eax, -1 retn 18h.

Nice hack, lol.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
rotinegg
Profile Blog Joined April 2009
United States1719 Posts
Last Edited: 2010-05-27 07:34:05
May 27 2010 07:33 GMT
#131
blizzard : community = 0 : 9000+
Translator
rotinegg
Profile Blog Joined April 2009
United States1719 Posts
Last Edited: 2010-05-27 07:52:28
May 27 2010 07:35 GMT
#132
On May 27 2010 15:03 hacpee wrote:
Show nested quote +
On May 27 2010 13:30 CharlieMurphy wrote:
Why does Blizzard suck so bad? R1CH seems to easily find and fix problems with the beta faster than they do.


R1CH didn't do anything special. Blizzard is trying to implement a different technology here. UDP will give everyone the counterstrike latency people desire. They were using TCP before, which was slow. What would you rather have? A few weeks of horrible lag and latency during the beta but awesome latency when the game is released or a playable beta but 150ms latency?

if you're gonna write poor code and implementing it will fuck up what u already have, programmers generally choose to not implement it before whatever problem it has is fixed. This leads me to believe Blizzard didn't do a sufficient amount of testing (10 games would have sufficed in this case) and their bnet team consists of a bunch of dimwits

edit:: sorry for the double post

my guess as to what happened when implementing UDP in blizzard:

NSFW+ Show Spoiler +
[image loading]
Translator
Encode
Profile Joined May 2010
Croatia23 Posts
May 27 2010 12:06 GMT
#133
On May 27 2010 09:06 Gary13579 wrote:
If one of you Windows users could check something for me, I'd appreciate it. Hop into a game without using this hack, hit Start -> Run, type cmd<enter>, then type: netstat -n | find "1119". copy/paste the output here.


here is my netstat response:

TCP 192.168.***.******* 213.248.127.131:1119 ESTABLISHED

If UDP is disabled on server then game works the same with or without R1ch's solution - switch to TCP.

However, even TCP is performing better at the moment it cannot be final for mass playing. From now on with more traffic TCP can go only worse.
achadayo
Profile Joined May 2010
India2 Posts
May 27 2010 22:16 GMT
#134
Please post the source code - you can remove your personal headers if you wish. We dont want to compile.
Abenson
Profile Blog Joined December 2009
Canada4122 Posts
May 28 2010 01:28 GMT
#135
All hail R1ch
mmp
Profile Blog Joined April 2009
United States2130 Posts
May 28 2010 02:19 GMT
#136
Unfortunately, this program is against BNet's ToS and could get your account revoked.
I (λ (foo) (and (<3 foo) ( T_T foo) (RAGE foo) )) Starcraft
galefrost
Profile Joined May 2010
United States38 Posts
May 28 2010 03:12 GMT
#137
I just got dropped from a ladder game a moment ago while running the program. I'm not sure whether it's related to the recent downtime, or just a generic Starcraft II crash, since my program froze and crashed right after the drop, before even sending me to score screen.
Durak
Profile Blog Joined January 2008
Canada3684 Posts
May 28 2010 03:38 GMT
#138
On May 28 2010 11:19 mmp wrote:
Unfortunately, this program is against BNet's ToS and could get your account revoked.

According to the ToS, Blizzard can revoke your account for running SC2. However, it's never going to happen. Please leave this discussion to your own thread and don't harm our excellent coding community.
niteReloaded
Profile Blog Joined February 2007
Croatia5281 Posts
May 28 2010 10:46 GMT
#139
I don't see how R1CH hasn't been hired by Blizzard already...
JollYRoGeR
Profile Blog Joined December 2002
Sweden342 Posts
May 28 2010 11:48 GMT
#140

Since this is based on my private TCP/IP tool base, I won't be releasing the source. The core of it is simply WSASetLastError(WSAECONNREFUSED) and a patch to sendto with mov eax, -1 retn 18h.

oh, that one
fearus
Profile Blog Joined December 2003
China2164 Posts
May 30 2010 15:14 GMT
#141
On May 28 2010 19:46 niteReloaded wrote:
I don't see how R1CH hasn't been hired by Blizzard already...


Obviously TL pays him more than Blizz ever can.
bisu fanboy
anderbill
Profile Joined June 2010
1 Post
Last Edited: 2010-06-30 11:19:17
June 30 2010 08:34 GMT
#142
some advertising crap - mod

User was banned for this post.
HiOT
Profile Blog Joined September 2008
Sweden1000 Posts
Last Edited: 2010-06-30 10:21:41
June 30 2010 10:21 GMT
#143
On May 31 2010 00:14 fearus wrote:
Show nested quote +
On May 28 2010 19:46 niteReloaded wrote:
I don't see how R1CH hasn't been hired by Blizzard already...


Obviously TL pays him more than Blizz ever can.


Bad move, we all know TL would benefit from letting RICH go do his thing and then meet up with TL crew in a downtown garage with a folder. Of course shall this folder contain dirty details of every Blizzard employee to later blackmail into shipping free copies of every Blizzard games to TL users (Even profit instead of nuking a logo on a 747)

Damn I wish I was a dictator sometimes.

Back to Tropico 3 !
Officially the founder of Team Property (:
dandan23
Profile Joined October 2010
Malaysia101 Posts
October 07 2010 23:48 GMT
#144
Hi guys ! im new to TL forums.. and this is my first post..
well is the udp blocker still working ? i see this post have been 2 months old..
but ive been having the exact problem (slow unit response / minor freezing / random drop screens / etc)
been asking blizzard tech support and gamefaqs for help.. but they just didnt bother..
really hard to play with that kind of delay..
1 scouting probe can kill 3 of my scv.. my latency is really bad..
is really hard to improve and is annoying to have such delay..
hope u guys can help me out here ty in advance..
btw im running at 16 mb line and im in new zealand..
i tried SEA/Anz server is even worst than playing in the NA
TeamLiquid Fighting!! =3
Creek
Profile Blog Joined November 2009
United States177 Posts
October 07 2010 23:53 GMT
#145
No, it's not. xD
Please don't bump such topics. ^^;
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 2h 32m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 478
StarCraft: Brood War
Bisu 2148
EffOrt 1190
Hyuk 890
firebathero 782
GuemChi 756
Shuttle 739
Larva 481
PianO 457
Mini 365
ToSsGirL 308
[ Show more ]
Pusan 185
Snow 173
Rush 139
Soulkey 135
Mind 127
Soma 116
Hyun 100
Sharp 42
Aegong 41
Barracks 41
HiyA 39
JYJ36
Movie 32
yabsab 27
Free 21
soO 19
JulyZerg 18
GoRush 18
Sacsri 17
IntoTheRainbow 11
Terrorterran 11
Bale 10
ivOry 3
Dota 2
Gorgc11346
qojqva2125
XcaliburYe329
syndereN27
League of Legends
singsing2276
Dendi1193
Counter-Strike
byalli333
x6flipin305
flusha122
kRYSTAL_14
Other Games
tarik_tv20476
gofns16734
B2W.Neo1645
hiko669
DeMusliM473
shahzam404
crisheroes367
Liquid`RaSZi312
Lowko283
Pyrionflax130
Mew2King75
ArmadaUGS63
QueenE23
Organizations
Other Games
gamesdonequick32948
StarCraft 2
angryscii 40
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV357
League of Legends
• Nemesis5058
Upcoming Events
WardiTV European League
2h 32m
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
10h 32m
The PondCast
20h 32m
WardiTV European League
22h 32m
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
uThermal 2v2 Circuit
1d 2h
Replay Cast
1d 10h
RSL Revival
1d 20h
ByuN vs SHIN
Clem vs Reynor
Replay Cast
2 days
RSL Revival
2 days
Classic vs Cure
FEL
3 days
[ Show More ]
RSL Revival
3 days
FEL
3 days
FEL
4 days
CSO Cup
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
4 days
RSL Revival
4 days
FEL
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Replay Cast
6 days
Liquipedia Results

Completed

BSL Season 20
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.