Author Topic: Faster Game Play - Higher/Consistent Framerates - Reduced Lag  (Read 297 times)

0 Members and 1 Guest are viewing this topic.

Offline ouch

  • Bondsman
  • *
  • Posts: 3
  • l33tp0intz: +2/-0
Faster Game Play - Higher/Consistent Framerates - Reduced Lag
« on: August 19, 2017, 03:11:05 AM »
First I would like to thank Mechwarrior and Unbroken for all their help in getting me into the game again. My playing is sub par but it is enjoyable, well maybe not getting blown to high heaven all the time but I am impoving. Again thanks guys for all your patience and help.
I thought my way to contribute back to the community was to write this and maybe help people improve their game.

People are always experiencing dropped/low Framerates which is a result of an underpowered pc the only fix is to upgrade your pc and don't run any background programs while playing the game. Some internal game tweaks can be performed  which are all over the forum.

Lag which is a result of a problem with your network, while playing online against other live players, it is a problem that has been around since the first game ever appeared. We have no control of the signal between our modems and the servers that the signal travels back and forth from but we can help minimize the obstacles along the way and those in our own network. Thus improving our game play. So read along and give it a try.

First: Cheap Fix $
Wi-Fi vs. Ethernet cable: How Much Better Is a Wired Connection?
Wi-Fi is obviously more convenient than wired Ethernet cables, but Ethernet cable still offers significant advantages.
A wired Ethernet connection can theoretically offer up to 10 Gb/s, if you have a Cat6 cable. The exact maximum speed of your Ethernet depends on the type of Ethernet cable you’re using. However, even the Cat5e cable in common use supports up to 1 Gb/s. And, unlike with Wi-Fi, that speed is Consistent. Reducing latency as much as possible if you’re playing online games and needing reaction time to be as quick as possible—you’re better off with a wired Ethernet connection. Yes, there will be other latency that factors in along the Internet path between your device and the gaming server, but every little bit helps. We can only control what is in our homes. Ethernet cable offers the advantages of better speed, lower latency, and more reliable connections. Just remember if you do connect a wire TURN OFF THE WIFI (yes you can run both at the same time on a pc). Buy a cable plug it into your router and pc, then set your connection for the cable.
Wi-Fi is for Smartphones, tablets, and all your other toys where Dropped signals, Higher latency, Lowered speeds don't matter and for sharing it's band width with all other devices connected whether they are in use or not (wired does not).

Second: No Cost
Different DNS Servers?
The reason to change DNS servers is if you're looking for a better performing service. Many people complain that their ISP-maintained DNS servers are sluggish and contribute to a slower overall experience for all your internet needs. You pay for service say from your local phone company or cable or someone. These providers direct your requests to their DNS lookup servers, which may or not be up to par for your request. Your ISP's server is set by default so your operating system if not told otherwise uses it for look up.

A DNS server is a computer server that contains a database of public IP addresses and their associated hostnames, and in most cases, serves to resolve, or translate, those common names to IP addresses as requested , after all computers work in numbers not names. DNS servers run special software and communicate with each other using special protocols. This communication keeps going back and forth as you play the game so faster, more reliable is better.

Google Public DNS is one such service.
Google Public DNS operates recursive name servers for public use at the two following IP addresses: 8.8.4.4 and 8.8.8.8 for IPv4 service (the ones you would use), as well as 2001:4860:4860::8888 and 2001:4860:4860::8844, for IPv6 access. The addresses are mapped to the nearest operational server by anycast routing, which is closest to your house. Their sole purpose is to connect you.

There are many other Free & Public DNS Servers you just need to look up (Free & Public DNS Servers).
Another thing you can do is head over to Gibson Research Corporation and download the freeware - Domain Name Speed Benchmark
https://www.grc.com/dns/benchmark.htm  Domain Name Speed Benchmark - Are your DNS nameservers impeding your Internet experience?
Trust me when I say Steve Gibson wrote the book on this stuff long ago. The program will take a while to run as it comes preloaded with a ton of servers to check. The end result will show you the fastest servers for your use closet to your house. It will even include your ISP for comparision.
Pick out the servers you want to try and write down the address of each (there will be 2 addresses).
Remember just because you have the fastest down/upload speed money can buy doesnt mean you can't improve things.

Where do you put the new DNS Server info.
For Windows 7 or Windows 8.x or Windows 10: Simply type "network and sharing" (no quote marks) into the Search box in the Start Menu (or just press windows key and start typing) and select "Network and Sharing Center" when it comes up.
Now, you have reached the Network Connections window. You may see more than one network available. Determine which network is in use (simply pick the one that is connected) right click on it and select Properties.
In the network’s properties window, scroll down till you find the "Internet Protocol Version 4" option. Click it to highlite it and hit the properties option available below it.
Select "Use the following DNS server address" radio button and fill in the DNS Servers value. example for Google 8.8.4.4 (1st space)  8.8.8.8 (2nd space).
Try it out for a day or so to see if things improve (remember you pc also holds some of this info and will get updated). You may have to switch and place 8.8.4.4 to the second and 8.8.8.8 to the first position.
(This is also the same screen you would use to Assign a static IP Address to your Windows PC - see next section)

Third: No Cost
Difference between static and dynamic IP address. When a device is assigned a static IP address (say your pc), the address does not change. Most devices use dynamic IP addresses, which are assigned by your internal network when they connect and change over time. The device that connects up first gets the first number assigned, then second and so on, this creates needless overhead and things work overtime.  Most everyone leases their modem IP address from their ISP, just look at your router you will see when the lease was aquired and will expire. You could buy a designated Static IP address and see a dramatic increase in speed but it is way cheaper to go Dynamic. Though you can in your own network assign any and all devices to there own IP address, thus removing sotware over head and increasing throughput. You need a reliable name resolution on your network for computers that need to be consistently and accurately found when Gamming.

Why Would I Need A Static Private IP Address & What Are The Advantages?
Essentially, you need a static IP anytime you are trying to forward certain packets of information from the Internet to certain computers or devices on your home network. For example: Gamming - MWLL
It is also necessary for Port Forwarding, MWLL ((CryENGINE defaults to (Universal Personal Telecommunication ) UPT 64100 the channel it communicates on.)) So to speed things along in the game, you need both a Static IP address for your pc and then you need to tell your router to open UPT port and send all the communications to your pc at that address (making a direct link between the two). As you can see Static IP address and Port Forwarding work together. If you have ever looked inside your router you will find a long list of ports already setup for port forwarding ether as TCP or UPT or both.
What else uses port forwarding? A few listed below.
•Port forwarding for Game servers
•Port forwarding on Xbox / Xbox one
•Port forwarding on PS3 / PS4
•Port forwarding for utorrent
•Port forwarding for IP cameras, SQL Server, FTP Server, SSH Clients, IpTables

How do you do this - simple just follow along.
Setting up a static IP for your windows computer you need to first find out you current settings for
- IPv4 address
- Subnet Mask
- Default Gateway
So bring up your Start Menu and then Simply type "cmd" (no quotes) and hit enter. Windows command prompt will be showing.
In the command prompt window that popped up, type "ipconfig/all" (no quotes) and hit enter. Your computer’s network details popup on screen.
Make a note of the following IP’s in a notepad: IPv4 Address, Subnet Mask, Default Gateway
Once noted, you can close the command prompt window. Now you are armed with all the info you need.

Step-2, Assign a static IP Address to your Windows PC

For Windows 7 or Windows 8.x or Windows 10: Simply type network and sharing into the Search box in the Start Menu (or just press windows key and start typing) and select "Network and Sharing Center" when it comes up
To Setup Static IP in Windows Vista : Open the Start Menu, right-click on "Network", and select "Properties".Then click on "Manage network connections".
To Setup Static IP in Windows XP : Right-click on "My Network Places" and select "Properties"
Now, you have reached the Network Connections window. You may see more than one network available. Determine which network is in use (simply pick the one that is connected) right click and select properties.
In the network’s properties window, scroll down till you find the "Internet Protocol Version 4" option. Click it and hit the properties option available below it.
Now its time to setup a static IP Address.
Select the "Use the following IP address" radio button. Enter a new IP address here. You can pick an IP similar to the one assigned earlier by the router. Remember the IPv4 Address you saved insert it here.
Again, take the values saved and fill in the Subnet Mask and Default Gateway. Type in the Exact same values you wrote down.
Click "OK" and close all open windows.
Reboot the computer and perform step 1. If the IP has stayed the same, you have successfully set a static IP for your windows computer.

Forth: No Cost
Now to the port forwarding down't worry were almost done.
Open your browser and log into your router using it's IP address. If you don't know ask you IP provider or try https://portforward.com/ they have most ever router ever made along with instructions for logging in and port forwarding.
Login to admin panel of Router with Default username and Default password
Navigate to the port forwarding section of your Router it will most likely be under the Firewall section. Once in you will see seveal ports already setup.
Click on "Add New" / "Create" buttons to create a new port forwarding rule.
There may be an Application name / Description: Enter the name of the program. MWLL
Enter the static ip address of the device that we created, it will most likely be there for you to select.
Now we need to enter a range for our UPT Port - Why! just look at https://stats.spikx.net/mwll.html there is an IP address and UPT Port
In the section External (WAN) Start Port:  Enter 64000
In the section  External (WAN) End Port:  Enter 64300
In the  Internal (LAN) Start Port:   and   Internal (LAN) End Port:  insert  64100 this way you will not show up in https://stats.spikx.net/mwll.html
and this is for setting up ouw LAN for MWLL.
Click Apply to save changes. The Router will update and you are done.
Congratulations! Your hard work has paid off, you have now successfully created a direct link for MWLL.

Everything above is like hard wiring your pc network and communications onto one dedicated line. Old POTS (Plain Old telephone Service) lines were set up this way. You dialed a number and were directly connected to the other person for as long as you stayed on the line. Only makes sence your pc is setup the same way. You should see better game play and quicker server logon times.

All the CryEngine games, have always given every known pc configuration a run for it's money, even Frycry and Crysis are still used as benchmarking tools to this day. Trust me I know as I have an Asus ROG gamming rig maxed out for gamming and graphics work and it still falters.


Offline HAARP

  • Living Legend
  • *******
  • Posts: 2332
  • l33tp0intz: +212/-1
  • I regret nothing
    • Clan Jade Wolf
Re: Faster Game Play - Higher/Consistent Framerates - Reduced Lag
« Reply #1 on: August 21, 2017, 11:40:07 AM »
Sorry, I can not recommend this guide.

Going wired instead of Wifi CAN improve performance, that's true. If your Wifi is shit to begin with.

Google DNS: It might be slightly faster at name resolution, but that will have 0 impact on MWLL.

Static IP/Port Forwarding: Completely pointless, the client is establishing the connection, so home routers will automatically allocate a random ephemeral port for this connection. You ONLY need port forwards when HOSTING servers that should be accessible from the internet. They are for incoming connections only.
don't bother sending me PMs, I probably won't be reading them in time.

Offline ouch

  • Bondsman
  • *
  • Posts: 3
  • l33tp0intz: +2/-0
Re: Faster Game Play - Higher/Consistent Framerates - Reduced Lag
« Reply #2 on: August 24, 2017, 01:36:23 PM »
HAARP if you feel the guide isn't for you I understand but others may benifit from it.

Wifi is always shit to begin with. Here is an ineresting read of real world testing,
http://na.leagueoflegends.com/en/page/ethernet-vs-wifi-ping-packets-playing-better

So what is wrong with a little more speed - nothing. Though if your DNS is not up to snuff it may not find one of the servers you wish to play on or it times out. So I say no harm no foul. Besides if it improves the rest of your internet requests, you just gained. You could say DNS is the backbone of the internet.

Yes pc's and routers have Universal Plug and Play (UPnP) for port connection. (UPnP) also adds overhead, errors and makes life easy. 
You definately need to forward ports if you’re running your own server that you want to be accessible to the world.
Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) needed only one port for Full-duplex, Bidirectional Traffic.
You can have a total of 65,535 TCP Ports and another 65,535 UDP ports.
The the first 1,024 are Fixed – a pre-determined standard that helps core applications to communicate back and forth across the globe. You can see the full list of well-known ports on Wikipedia.
By adding your own direct connection you increase the throughput and reduce overhead. Routers have a whole list of applications all ready setup and and a bunch more sitting there just waiting for you to click on them, no knowledge needed.

perform a generic internet search for - HAARP an you will get "The High Frequency Active Auroral Research Program (HAARP)" (A controversial subject)
perform a refined internet search for - HAARP on mwll forums an you can pretty much see some of your posts. (interesting subject matter)
Point - the more you refine, more variables you remove, the better your system - the better you play.
The worst that can happen is you wasted your time or it helped ease the problem.

Offline Bruno_007

  • Apprentice Dev
  • Star Captain
  • *
  • Posts: 833
  • l33tp0intz: +90/-0
  • Osiris hats: sold out. ~Str1k3r
Re: Faster Game Play - Higher/Consistent Framerates - Reduced Lag
« Reply #3 on: August 24, 2017, 05:46:32 PM »
I just don't like the way you grouped everything under the premise "Faster Game Play - Higher/Consistent Framerates - Reduced Lag". This ends up being "prep work required for making a server available to the public", besides some other general advice you made which is better suited for a different guide or section altogether. Addressing each topic:
  • WiFi vs Ethernet: ethernet wins, via stability/reliability points. However, MWLL isn't your twitch game (twitch verb, not the streaming platform). It's fine if you lose the packet or two. If you can though, go wire.
  • DNS: I'm most likely required to switch DNS to get around DNS blocks, or to receive faster DNS propagation changes, than about domain resolution speed. Otherwise, shame on the ISP. MWLL will probably make very few DNS calls. You're more likely to notice a problem, or it becoming a problem, when you browse the internet.
  • Static/DHCP: you'll not gain anything with Static IP, again, under the premise that you won't need to make a server available to the public. Otherwise, you're just complicating things for no speed improvement at all, especially to someone hearing about Static/DHCP for the first time. You need care with IP collision, class, and having to revert changes when you connect to a different local network. You're mighty fine with DHCP. He's already expecting you, has the paperwork already taken cared of, and has the standard room ready.
Tools and I:
   - MWLL Online Launcher (LAN UDP Forwarder) - evolution of past "Le Proof of Concepto" project: connect without Gamespy via packet redirection;
   - Vehicle Browser - "Pocket Wiki" ©okaolias (not really that though);
   - Rconnect 4.3 - Server tools: map manager/player voting add-ons;
   - CryHammer - Validates Patch/CDKey of Crysis Wars (now unable to validate CDKey due to turned off Gamespy servers).

Offline ouch

  • Bondsman
  • *
  • Posts: 3
  • l33tp0intz: +2/-0
Re: Faster Game Play - Higher/Consistent Framerates - Reduced Lag
« Reply #4 on: August 24, 2017, 09:43:14 PM »
Well, I stand corrected.

Offline HAARP

  • Living Legend
  • *******
  • Posts: 2332
  • l33tp0intz: +212/-1
  • I regret nothing
    • Clan Jade Wolf
Re: Faster Game Play - Higher/Consistent Framerates - Reduced Lag
« Reply #5 on: August 26, 2017, 08:00:55 PM »
A static IP and/or port forward will not do anything whatsoever to improve performance.

When you connect to a server, your PC allocates a random port in the ephemeral range to talk to the router. The router allocates a random ephemeral port to talk to the internet. Outgoing ports are always going to be randomized and automatic. You can NOT influence this behavior, not even with port forwards.

Port forwards concern incoming connections only, and these are only relevant if you run a server. You connecting to a server is an outgoing connection. You are not allowing a "direct connection" by forwarding ports. Furthermore, each IP packet, be it TCP or UDP, always contains this "overhead". You can not reduce overhead or increase throughput this way.

You could hook your PC up directly to the modem, skipping router for a more "direct" connection. Apart from being a configuration hassle, lowering security (no NAT or firewall) and making your roomates hate you, you now improved your ping by 0.1ms. Congrats.


Please believe me. I am a professional System Administrator and I run the Funbocks MWLL servers. I know how this works.

And on the contrary, the more you "refine" your system without knowing what you're really doing, the more likely things are to become worse or to break outright.
don't bother sending me PMs, I probably won't be reading them in time.

Offline Bill

  • Living Legend
  • *******
  • Posts: 3021
  • l33tp0intz: +340/-78
  • I can use the Internet to flaunt my fetters.
Re: Faster Game Play - Higher/Consistent Framerates - Reduced Lag
« Reply #6 on: August 30, 2017, 02:13:15 AM »
The worst that can happen is you wasted your time

Well what do you know!

Also that haarp comparison was pretty hilarious