5.22 更新

## 1 Notable changes

* Fix for Windows 10 users using different DPI scales per-monitor.
* Increased maximum weapons to 256.

* HUD: Fixed an issue where scripted weapons failed to display their ammo sprites in the ammo history list, if two or more weapons shared the same ammo type, and the first one wasn't loaded.
* Fixed buffer overflow caused by parsing muzzle script files with lines greater than 32 characters long.
* Fixed an issue with "Unknown User Msg" being output to console. Caused by spore grenades on the first map load.
* Map cycle:
	+ Added server CVAR "mp\_nextmap\_ignore\_mapcfg", which when enabled will ignore CVAR "mp\_nextmap" being used by map configurations. -- Fixes the blight caused by really legacy maps misusing the "mp\_nextmap" CVAR when they already had a "trigger\_changelevel" entity.
	+ Console now shows a message if the map cycle is going to be re-loaded including why.
	+ File modified timestamp is now remembered, so that if a map cycle file is edited whilst a server is running this will be noticed (and reloaded) on the next map change.
	+ Fixed a map series running in loop indefinitely.
	+ Fixed potentially marking an invalid map as the cycle's first map when loading it.
	+ The next map due to run, stored in CVAR "mp\_nextmap\_cycle", is now sent to players every 60 seconds along with the time left, so that the string in the score board is updated should the CVAR have been changed manually by an admin or by a server plug-in.
* monster\_sqknest: Fixed a crash that could occur when Snark Nest owned by entity other than Alien Grunt was destroyed (i.e. Snark Nests created by squadmakers).
* multisource: Reverting changes from previous update that caused delayed triggers to be ignored by multisource entities. Fixes numerous maps which suddenly had issues with the release of 5.21.
* trigger\_changesky: Fixed a crash that occurred when the "Update all players" flag wasn't set and no valid activator was passed.
* [Linux] The server library is no longer "libssl.so.1.0.0" and "libcrypto.so.1.0.0" dependent.

### 2.2 Engine

* Increased maximum weapons to 256.
* [Windows] Executables use an updated DPI setting for per-monitor high DPI awareness.

## 3 Maps

### 3.1 Half-Life Campaign

* HL\_C05\_A3:
	+ Fixed misaligned biohazard barrel texture on all pushable barrels.
	+ Fixed the func\_door\_rotating fall-through-ceiling pipe being usable by players.
* HL\_C06:
	+ Fixed the func\_door\_rotating fall-through-ceiling pipe being usable by players.

### 3.2 Suspension

* Fixed lightmap problems
* Sniper and Juggernaut now also get combat knifes
* Changed glass texture inside osprey
* Removed blue ambient from night mode

### 3.3 Delta

* Increased weapon ID size to 8 bits from 7 bits.

### 3.4 Game manual

* Index:
	+ Added other social links.
	+ Added SvenDS mailing list link.
	+ Corrected Sven Manor entity guide link.
* Maps Page:
	+ Added SCMapDB links.
	+ Removed ".bsp" from BSP name for quicker copypasta.
	+ Added Abandoned. (Not sure why this was missing.)
	+ Updated Dead Simple Neo 2 screen shot.
	+ Corrected Robination to the revised version.

### 3.5 Misc

* Map cycle: Removed duplication of "deadsimpleneo2".
* Removed older bundled "libssl.so.1.0.0" and "libcrypto.so.1.0.0".
* svencoop.sh:
	+ Removed "libssl.so.1.0.0" and "libcrypto.so.1.0.0" files from dependency check.
	+ Removed Steam Overlay library from LD\_PRELOAD until engine crash in full screen mode is fixed. Steam overlay will not work on Linux for now.