# SmartFoxServer 2X v2.16.6 cumulative patch

PLEASE NOTE: this cumulative patch works exclusively with SFS2X 2.14.x. If you're not currently running version 2.14.x install it first, then apply this patch. SFS2X Download page

## How to use

- Unzip the patch and copy the decompressed folder inside your SmartFoxServer_2X/ installation folder.
- Open the patch folder.
- Run one of the three launch scripts based on the operating system in use:
  - Windows: double click the install-win.bat file
  - Linux: from a terminal run the install-linux.sh script
  - macOS: from a terminal run the install-osx.sh script

### Version 2.16.6

- Server Side
  - FIX: fixed a critical issue with a malformed compressed request that could cause the pinning at 100% of one or multiple threads

### Version 2.16.5

- Server Side
  - NEW: updated license management, with hot-reloading for ip-based licenses and other improvements

### Version 2.16.4

- Server Side
  - NEW: improved License Server communication with faster response times; also the License Server is now reachable from China since the infrastructure was moved from Google App Engine to Amazon Web Services
  - NEW: added support for Emergency License
  - NEW: grace period increased to 96 hours (4 days) in case an error occurs during periodic license validation
  - FIX: problem preventing SFS to enter grace period under extremely rare circumstances if an error occurs during periodic license validation

### Version 2.16.3

- Server
  - NEW: by default Bitswarm events BitSwarmEvents.PACKET_DROPPED are no longer triggered, as they are rarely utilized and can use up performance in high traffic servers with lots of outgoing packet loss. Developers can manually enable the event via config/core.xml adding the following:

        <triggerDroppedPacketEvents>true</triggerDroppedPacketEvents>

- Admin Tool
  - NEW: added new Words Filter File Manager under Zone Configurator > Words Filter. It allows to create, edit and remove word files for the Zone's Words Filter. Word files are now identified by a .words.txt extension. This will not affect your active words file, but new files created with the AdminTool will use this convention from now on.
  - FIX: issue with uploads over HTTPS that eluded the previous patch (which also dealt with the issue).

### Version 2.16.2

- Server
  - FIX: Corner case in which an Extension during the init phase causes an exception of type java.lang.Error, derailing the rest of the boot process
- Admin Tool
  - FIX: Under certain circumstances, all log lines in Log Viewer's Runtime Log tab are grouped in a single row in the table
  - FIX: In Extension Manager, Servlet Manager and Server Configurator (SSL Certificate deployment), file uploading fails if AdminTool connection to server is encrypted

### Version 2.16.1

- Admin Tool
  - NEW: In Zone Monitor module, added button to disconnect a user immediately, alongside the Kick and Ban actions
  - FIX: In Extension Manager and Servlet Manager, folder action buttons are not displayed when connected to a SFS instance running under Windows

### Version 2.16.0

- Server Side
  - FIX: Websocket session's buffer size now matches the maximum request size configured in SFS2X

- Admin Tool
  - NEW: Final version of the new HTML5 AdminTool which officially replaces the legacy, Flash-based tool
  - NEW: Added the Analytics module
  - NEW: Added experimental support for custom Admin Tool modules
  - NEW: Updated module icons
  - FIX: Fixed issue with the global Room count under the Dashboard module
  - FIX: Fixed issue in Server Configurator module
  - FIX: Changed a button label in License Manager module

### Version 2.15.0

- Server Side
  - NEW: Revamped server engine's UDP pipeline to improve scalability for very high packet rates.
    - Refactored UDP socket pipeline to improve raw packet throughput
    - Intoduced a new DatagramChannel cache to reduce thread contention
    - Separate UDP and TCP queues with dedicated thread-pools allow for higher packet-per-second throughput
    - New configuration parameters added to config/core.xml to fine tune the UDP pipeline for very high traffic (e.g. >1M+ pps)
- Admin Tool
  - NEW: the new HTML5 AdminTool is out of beta phase. It is now the recommended AdminTool instead of the legacy, Flash-based tool
  - NEW: thread-dump button in Dashboard allows to obtain a full thread-dump of the server
  - NEW: dual TCP/UDP queue graph under Dashboard > Message Queue Status
  - NEW: re-organized dropped-packets stats, now split into TCP and UDP counters
  - FIX: a disconnection issue in FireFox browsers when downloading a zipped log file via the Log Viewer module