We're aiming at releasing a client update on Wednesday. Maintenance should be approximately 2 - 3 hours and will start at 9 AM UTC.
HEADLINE FEATURES
SHOTGUN CHANGES:
Shotguns where once the de-facto short-range weapon, but the last set of changes they received left them performing less reliably than we'd like them to. While the previous changes addressed the unreliable nature of the pellet spread, we felt we could better still address the base accuracy or the accuracy changes that occur when a player moves and fires. To combat this, we've heavily changed the accuracy of all of the existing shotguns by improving where the center of the spread will land. We've also removed any movement modifiers that would previously have affected the accuracy while running or sprinting.
This means that shotguns will now always hit near-center, even when fired while running or sprinting . However, jumping and firing will still have a major effect on shotgun accuracy.
We've also taken this opportunity to change how the CSG and JG behave, as we felt they were a little too similar and we really wanted them to have their own distinctive flavor that better complements different play styles. To this end, we've upped the damage of the JG, while increasing its spread. This makes it a close-range monster. With the CSG, we've left it with a tighter spread which, when combined with the benefit of not losing any accuracy while moving, turns it into an excellent mid-range option that still performs well at closer ranges.
PERFORMANCE IMPROVEMENTS:
For the past few months we've been running tests, adding logging, analyzing data, going over client and server logs and reviewing network latency reports, all in an attempt to find out what the main causes of our performance bottlenecks are. Frustratingly, the answer is not entirely straight forward (we can't just blame Howard the server hamster, for example) as there are a range of potential issues in various areas of the game that could be causing problems. There are, however, a few systems that are primary candidates for potential performance hiccups. So - with 1.17.1, we've made changes to some of these systems that we believe should make a noticeable improvement to the game.
One of the primary candidates to optimize has been the garbage collection system - this has nothing to do with the Green Planet trucks and everything to do with how the game frees up memory by releasing objects no longer required by the game.
Here is a more technical overview of what we've been up to from the Engineer that has been handling the analysis and implementation:
Lag Spikes:
We've been looking again at server performance in 1.17.1 and have been analyzing some of the spikes reported in server log files.
A server ticks (updates) 25 times a second which gives it 0.04 seconds (40 milliseconds) to update the game world. Every tick we measure the time taken and if this is over a threshold then we have a spike (slow update) and we log additional information about the causes of the spike.
Whether a spike affects your experience of playing the game depends on many different factors. Some will be noticed, others won't be, but the less spikes we have, the "cleaner" the server is and the more predictable its performance will be.
The Two Primary Candidates:
A game server needs to do different amounts of work at different times, it does standard things all the time; for example, moving characters, simulating physics, and sending network traffic.
The server will often have to do extra work, however, when a character enters a district, and during garbage collection. I've been looking at these two cases.
Reducing Impact of Character Entry
When a character enters a district, the district server needs to grab information from the database and then initialise itself with this data. After observing that this involved a lot of time reading files from disk (which is a slow process because hard disks are often the slowest part of a computer system) I've been able to reduce the impact on the server of reading these files.
Optimizing Garbage Collection
Garbage collection is the process which tidies up unused objects in memory. It currently runs every minute, at 40 seconds past the minute, and runs in two phases:
The first phase is to identify which objects are no longer required. This needs to be completed in one step, otherwise memory could change and its analysis will be invalidated.
The second phase is to tidy up the objects which are no longer required. This was taking longer than was desirable.
For some time now, we've been adding extra logging to provide more information about the process of tidying up objects. From this logging I was able to identify which sorts of objects take the most time to tidy up. In fact - one type of object was taking up the majority of time. I've been able to rework some code so these objects do not always need to be created in the first place.
Improving server performance is an ongoing process, and there are still improvements we can make. We'll be continuing to work on identifying the points on the server where spikes occur and figuring out new ways to smooth these out.
HIGH ROLLER PACK:
The streets of San-Paro are prowled by menacing villains and trigger-happy vigilantes. With so many experienced killers on the streets, death is big business; and business is booming. The High Roller pack is designed for those who wish to carve a chunk of the wealth out for themselves.
Click here to continue on with the patch notes: http://forums.gamersfirst.com/topic/360475-patch-1171-602-wednesday-9-am-utc/
