Post what you've discovered, guides, hints & tips
#17871 by Peldor Mon May 12, 2014 4:06 pm
If you play AstroFlux you will eventually experience lag. A number of things can happen when you lag: you can be killed by "invisible projectiles", your hardened shield doesn't protect you, Death Lines kill you when you aren't close to them or your ship is jumps around the map and is impossible to control.

When you start to lag It is easy to think that the servers are overloaded. However, that is rarely the case. The servers have blazing fast Internet connectivity from Tier 1 and Tier 2 Internet service providers. They can easily handle load the game generates. Normally the only time you experience lag caused by the servers is when the Developers are performing an update.

So if the servers aren't overloaded, what's going on? Why are you lagging? You have a fast internet connection and play other multi-player game on your PC like Crysis, Assassin's Creed, Call of Duty or Skyrim. You don't have lag problems with any of those games. Well those games use a protocol called UDP to move data between the servers and your PC. Unfortunately, AstroFlux does not use UDP, it uses TCP instead.

TCP requires network packets to be processed in the order they were sent by the server. So when a packet is lost/dropped, it needs to be resent by the server. While your computer waits for that dropped packet to be resent, it cannot process any other data received by the AstroFlux servers. This delay causes lag.

UDP on the other hand can process network packets out of order. So if a packet is lost, other data from the server can be processed. As a result, games that use UDP don't lag nearly as often and when they do, the effects are not as noticeable.

So if UDP is so much better for multi-player games, why doesn't AstroFlux use UDP? The short answer, UDP is not supported by Adobe Flash Player. So the lag you experience is not unique to AstroFlux and happens in any fast-paced multi-player Flash game.

That said, there are some things you can do to reduce your lag:


Additional Resources
If you want to know more about the differences between UDP and TCP when designing multiplayer games, check out:

Peldor
http://astroflux.org/wiki/ - AstroFlux Wiki

Who is online

Users browsing this forum: No registered users and 3 guests

About

Welcome to the AstroFlux forum! This forum is here to provide you with a friendly environment where you can ask questions and receive helpful information from experienced players. Please Join the discussions in the Astroflux forums. The game developers are active here and are happy to hear what you think!

AstroFlux is a MMO space shooter with numerous weapons, upgrades and abilities. Explore the galaxy and collect space junk to gain resources for new technologies.