open.mp server — changes since last version (v1.5.8.3079)
Server operation and networking
- Added
artwork.show_crc_logsto enable TXD and DFF CRC logging when needed. It is disabled by default. [#1164](#1164) - Fixed environment-variable substitution in server configuration, including numeric and boolean settings. [#1195](#1195)
- Fixed
reloadbansso reloaded bans are enforced by the network again. Matching connected players are also removed. [#1276](#1276) - Fixed false “server is full” conditions after kicks, rejected invalid connection-lost packets, and temporarily banned invalid connection attempts to reduce log spam. [#1209](#1209), [#1173](#1173)
- Fixed connections attempted immediately after server startup being rejected by an invalid network cookie. [#1213](#1213)
- Fixed broadcast RPC payloads being shortened when a plugin reads them before transmission. This affected features such as weather changes, messages, and game text. [#1215](#1215)
- Fixed Linux shutdown hanging or crashing when the server runs without a terminal, such as under
nohup. [#1203](#1203) - Vehicle paintjobs now reset when vehicles respawn. [#1213](#1213)
Scripting and components
- Fixed
%qescaping in Pawnformat(), a crash when reading a missing console variable as a string, and crashes caused by invalidSetTimerExarguments. [#1159](#1159), [#1171](#1171), [#1223](#1223) - Fixed spawning after leaving spectator mode and made
TogglePlayerSpectatingreliably enable spectating again. [#1187](#1187), [#1092](#1092) - Changed main-script unloading so components reset after the script is unloaded, preventing callbacks and timers from referring to an unloaded script. [#1190](#1190)
- Added usage messages when script-loading console commands are called without a filename, and clearer errors for missing legacy plugins. [#1032](#1032), [#1273](#1273)
- Added separate object and attached-object editing state checks, and validated incoming editing responses against the active edit mode. [#1188](#1188)
- Fixed the
syncRotationargument being ignored byAttachPlayerObjectToObject, including its C API path. [#1163](#1163) - Fixed C API gang-zone and pickup destruction failing to release their legacy IDs for reuse. [#1231](#1231)
- Updated Pawn with fixes for
memcpyandfwriteon packed strings, and corrected presets in the legacy server-side game-text component. [#1180](#1180)
NPCs
- Added
NPC_SetVehiclePos,NPC_SetVehicleRot,NPC_GetVehiclePos, andNPC_GetVehicleRot. Behavior change:NPC_SetPosnow removes an NPC from its vehicle; use the vehicle-specific setter to reposition it while seated. [#1182](#1182), [#1237](#1237) - Fixed NPC vehicles appearing flat or teleporting while driving on slopes, and improved vehicle movement synchronization. [#1249](#1249), [#1280](#1280)
- Fixed
NPC_PutInVehicleleaving NPCs visibly on foot in boats. [#1236](#1236) - Fixed dead NPCs appearing standing when streamed in.
NPC_Respawnnow clears their death state. [#1238](#1238), [#1184](#1184) - Fixed NPC infinite ammo when
NPC_SetAmmohad not been called, correctedNPC_GetSkin’s return value, and fixed the angle calculated byNPC_SetAngleToPos. [#1165](#1165), [#1182](#1182), [#1252](#1252) - Improved movement between short NPC path nodes and prevented zero-time node transitions from repeatedly running in one tick. [Movement change](d393108), [transition limit](958349e)
- Fixed NPC cleanup and several crashes when optional components are missing or unloading. [#1175](#1175), [#1182](#1182)
Building and deployment
- Migrated builds to Conan 2 and added a dedicated [build guide](https://github.com/openmultiplayer/open.mp/blob/master/BUILD.md) for Windows, Linux, and macOS. [#1233](#1233), [#998](#998)
- Added macOS ARM build support and fixed Windows compatibility with newer Microsoft toolchains. [#1234](#1234), [#1235](#1235), [#1166](#1166)
- Fixed the 32-bit Docker runtime image missing libraries required to start
omp-server. [#1263](#1263)
All pull requests merged
- Restore Artwork CRC logs by @SimoSbara in #1164
- fix microsoft's shitty ABI compat breakage by @AmyrAhmady in #1166
- Fix string escape with %q in format() by @SimoSbara in #1159
- Fix GetConsoleVarAsString crash by @ksenonadv in #1171
- Ignore networked ID_CONNECTION_LOST packet. by @ksenonadv in #1173
- Fix NPC component cleanup by @vincenzocorso in #1175
- Fix issues with NPCs by @SimoSbara in #1165
- NPC_Respawn now resets death state to false by @stley in #1184
- Call components reset after finishing unloading the main script. by @ksenonadv in #1190
- Fix spawn when leaving spectator state by @ksenonadv in #1187
- NPC changes and fixes by @AmyrAhmady in #1182
- Patch to fix env vars by @itsneufox in #1195
- Fix Linux server deadlock on shutdown without TTY by @TanF12 in #1203
- Fix server-full issue introduced by Kick changes by @ksenonadv in #1209
- Fix RPC call to use correct bit count for data transmission by @bssth in #1215
- Tweaks for pawn component and more by @NexiusTailer in #1180
- CAPI: Fix legacy slots not being released for GZ and Pickups by @markski1 in #1231
- Fix server crash for invalid SetTimerEx args by @ksenonadv in #1223
- conan 2 (remembered mj goat today) by @AmyrAhmady in #1233
- Some more fixes for macOS by @NexiusTailer in #1235
- macos fix, add macos ci, fix conan cache for conan 2 by @AmyrAhmady in #1234
- Add help message when attempting to load a script without arguments by @xerox8521 in #1032
- Fix syncRotation ignored to AttachPlayerObjectToObject by @SimoSbara in #1163
- Fix NPC_SetAngleToPos(): use {vec.x, vec.y} instead of {vec.x, vec.z} by @KW46 in #1252
- docker/run.sh: fix omp-server failing to start due to missing libraries by @vincenzocorso in #1263
- Fix moving NPC vehicle pitch not synced by @Fanorisky in #1249
- fix: NPC_PutInVehicle not visually attaching NPC to boat seat by @Revelts in #1236
- Reset vehicle paintjob on respawn and seed cookies after network start by @berkleblebiciii in #1213
- Fix dead NPC appearing standing when streamed in by @krzysztofmotas in #1238
- Core: re-apply bans to networks in reloadBans by @berkleblebiciii in #1276
- add linux build instructions to README.md by @aszarth in #998
- Fixed: TogglePlayerSpectating by @uifdev in #1092
- fix misleading message for missing legacy plugins by @dockfries in #1273
- Fix NPC teleporting on slopes while driving by @itsneufox in #1280
- Add NPC_GetVehiclePos and NPC_GetVehicleRot natives by @Revelts in #1237
- Object editing types by @xunder-matth in #1188
New Contributors
- @SimoSbara made their first contribution in #1164
- @vincenzocorso made their first contribution in #1175
- @stley made their first contribution in #1184
- @TanF12 made their first contribution in #1203
- @bssth made their first contribution in #1215
- @markski1 made their first contribution in #1231
- @xerox8521 made their first contribution in #1032
- @KW46 made their first contribution in #1252
- @Fanorisky made their first contribution in #1249
- @Revelts made their first contribution in #1236
- @berkleblebiciii made their first contribution in #1213
- @krzysztofmotas made their first contribution in #1238
- @aszarth made their first contribution in #998
- @dockfries made their first contribution in #1273
Full Changelog: v1.5.8.3079...v1.6.7.3217