Advertisement
Guest User

r3k0nr bf4 hitreg fix v0.1

a guest
Nov 21st, 2014
7,210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. These settings work perfectly for me and several others but will depend on your router, ISP, speed of you CPU and various other factors.
  2.  
  3. I'm not promising anything but these settings have dramatically improved perceived hit reg for everyone who has help to test these settings so far. The port forwarding settings may have a detrimental effect on hitreg and/or connectivity if you have multiple PCs trying to play BF4 on the same local network and sharing a common WAN / public IP.
  4.  
  5. After making these changes I saw a ~5% improvement in my accuracy:
  6. http://battlelog.battlefield.com/bf4/battlereport/show/1/535529973935648576/990629681/
  7. http://battlelog.battlefield.com/bf4/battlereport/show/1/535487075915542336/990629681/
  8. http://battlelog.battlefield.com/bf4/battlereport/show/1/535478814415925056/990629681/
  9.  
  10. These fixes have only been tested on Windows 8 / 8.1 a lot of the settings should have a positive impact on Windows 7 and maybe Vista (Yuck) as well.
  11.  
  12. Use wired Ethernet if possible. Some of this may improve wireless hitreg but I haven't tested any of this via wireless personally.
  13.  
  14. Create a system restore point / full backup before attempting any of this: http://windows.microsoft.com/en-GB/windows7/create-a-restore-point
  15. You should be able to undo most of these changes by running: http://support.microsoft.com/kb/299357
  16.  
  17. Set a static IP for your network adapter and make sure this is outside of your DHCP range on your router.
  18.  
  19. Forward the following ports on your router to the static IP of your PC. Use http://portforward.com/english/applications/port_forwarding/Battlefield_4/default.htm if needed.
  20.  
  21. UDP: 3659, 14000-14016, 22990-23006, 25200-25300
  22. TCP: 80, 443, 9988, 17502, 20000-20100, 22990, 42127
  23.  
  24. Source: http://help.ea.com/uk/article/online-ports-for-battlefield-4/
  25.  
  26. The most important port to forward is UDP 3659! This should be entered into your router first in case the rules are processed sequentially.
  27.  
  28. The TCP ports might be used for Origin, Chat and possibly kill feed (or were at some point) and perhaps to negotiate alternate UDP ports. Someone from DICE / EA would need to confirm this I guess.
  29.  
  30. I don't think it's necessary to forward TCP ports 80 or 443 if you are using these ports already.
  31.  
  32. Open Device Manager > Network Adapters > Find your adapter > Right Click > Properties > Advanced
  33.  
  34. Note these options may be hidden in a sub menu (sometimes under performance > properties / options) and may vary in name slightly depending on the manufacturer.
  35.  
  36. Disable or set to off:
  37. Adaptive Inter-Frame Spacing
  38. Flow Control
  39. Interrupt Moderation
  40. Interrupt Moderation Rate
  41. Jumbo Packet
  42. Large Send Offload (both IPv4 & IPv6)
  43. Priority & VLAN
  44. Receive Side Scaling / RSS
  45.  
  46. Wireless:
  47. Selective Suspend: Disabled
  48.  
  49. Set to 80, 64, or as low as possible (in order of preference):
  50. Receive Buffers
  51. Transmit Buffers
  52.  
  53. Disable Green Ethernet / Power Saving mode / Allow the computer to turn off this device to save power under the power tab on your network adapter.
  54.  
  55. Open an elevated command prompt as an administrator (Windows 8/8.1 users press and hold the Windows key then press "X" while holding the windows key then "A")
  56.  
  57. Now run the following commands:
  58.  
  59. netsh int tcp set global rss=disabled
  60. netsh int tcp set global chimney=disabled
  61. netsh interface tcp set global autotuning=disabled
  62.  
  63. run the command again and it should look like this:
  64. c:\>netsh int tcp show global
  65. Querying active state...
  66.  
  67. TCP Global Parameters
  68. ----------------------------------------------
  69. Receive-Side Scaling State : disabled
  70. Chimney Offload State : disabled
  71. NetDMA State : disabled
  72. Direct Cache Access (DCA) : disabled
  73. Receive Window Auto-Tuning Level : disabled
  74. Add-On Congestion Control Provider : none
  75. ECN Capability : disabled
  76. RFC 1323 Timestamps : disabled
  77. Initial RTO : 3000
  78. Receive Segment Coalescing State : disabled
  79. Non Sack Rtt Resiliency : disabled
  80. Max SYN Retransmissions : 2
  81.  
  82. Next:
  83.  
  84. Disable the Windows NDU service by running the following commands in the command prompt:
  85. sc config "NDU" start= disabled
  86. sc stop "NDU"
  87.  
  88. Source: http://forums.mydigitallife.info/threads/54183-GUIDE-Windows-8-1-Memory-Leak-How-to-fix
  89. Source: http://battlelog.battlefield.com/bf4/en/forum/threadview/2955065219072538297/30/
  90.  
  91. Now you need should check your MTU is set correctly:
  92.  
  93. Test this is correct by pinging google.com using the following command:
  94.  
  95. ping -f -l 1472 google.com
  96.  
  97. If you see something like this great:
  98. Reply from 74.125.230.136: bytes=64 (sent 1472) time=9ms TTL=58
  99.  
  100. If you receive the following error it means your MTU is too high:
  101. Packet needs to be fragmented but DF set.
  102.  
  103. Keep reducing the number in the ping command by 2 each time until you see "Reply from "
  104.  
  105. Now add 28 (the header size which encapsulates your packets) to that number and you have your correct MTU size.
  106.  
  107. To set your MTU Run this command:
  108.  
  109. c:\>netsh interface ipv4 show subinterface
  110.  
  111. MTU MediaSenseState Bytes In Bytes Out Interface
  112. ------ --------------- --------- --------- -------------
  113. 4294967295 1 0 0 Loopback Pseudo-Interface 1
  114. 1500 1 27689911 1959250 Local Area Connection
  115.  
  116. The default MTU in Windows is 1500 so you may not need to change it if "ping -f -l 1472 google.com" (1472 + 28 = 1500 MTU) works and you see it is already set in the left hand column.
  117.  
  118. My MTU should be 1492 (1464 + 28, common setting for ADSL & VDSL users) and my Ethernet adapter name is "Local Area Connection" so the command I would run is:
  119.  
  120. netsh interface ipv4 set subinterface "Local Area Connection" mtu=1492 store=persistent
  121.  
  122. Source: http://www.dslreports.com/faq/5793
  123. Set MTU Guide: http://support.zen.co.uk/kb/Knowledgebase/Changing-the-MTU-size-in-Windows-Vista-7-or-8 (Probably clearer than my explanation)
  124.  
  125. Next:
  126.  
  127. Uninstall (Preferable) or untick (much safer) all but IPv4 and IPv6 under your network adapter properties (http://i.imgur.com/5OIVFpf.png)
  128.  
  129. Untick IPv6 if not needed (probably not necessary at all, you can completely disable it using: http://support.microsoft.com/kb/929852 you can re-enable it using the other links on this site)
  130.  
  131. You may want to leave "Client for Microsoft Networks" installed and ticked if you use a NAS drive or access file shares and printers shared on your network.
  132.  
  133. You should leave "Microsoft File and Printer Sharing" installed and ticked if you share files or printers from your PC.
  134.  
  135. Reboot and set Network smoothing to 0 in game.
  136.  
  137. In game settings used: http://wikisend.com/download/391114/settings.7z
  138. 12000 DPI on my G502 with GstInput.MouseSensitivity -0.004214 = 42.301 cm per 360° rotation
  139.  
  140. Non network tweaks:
  141.  
  142. Set Windows power profile to High Performance, Disable USB Selective Suspend under advance options for the High Performance power profile.
  143. Disable core parking.
  144.  
  145. I hope this helps someone else.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement