Workaround For Patch 13 Lag - Page 6
Blogs > R1CH |
Warrior Madness
Canada3791 Posts
| ||
R1CH
Netherlands10340 Posts
| ||
Warrior Madness
Canada3791 Posts
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. | ||
7mk
Germany10156 Posts
| ||
Destro
Netherlands1206 Posts
| ||
R1CH
Netherlands10340 Posts
| ||
Darkn3ss
United States717 Posts
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 | ||
Gary13579
United States6 Posts
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
Australia71 Posts
| ||
Gary13579
United States6 Posts
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
United States650 Posts
| ||
NuKedUFirst
Canada3139 Posts
| ||
goswser
United States3519 Posts
| ||
Gary13579
United States6 Posts
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
Canada3139 Posts
On May 27 2010 08:44 Gary13579 wrote: 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. | ||
Gary13579
United States6 Posts
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
Chile932 Posts
battle.lag "where your games lag, granted!" | ||
Mohdoo
United States15288 Posts
This should really be sticky'ed in the SC2 forum, IMO. Just for the sake of more people seeing it. | ||
neohero9
United States595 Posts
| ||
Excalibur_Z
United States12224 Posts
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. | ||
| ||