Changes in 1.5.9: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Changed protection level for "Changes in 1.5.9": High traffic page ([Edit=Allow only administrators] (expires 20:26, 15 October 2021 (UTC)) [Move=Allow only administrators] (expires 20:26, 15 October 2021 (UTC)))) |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<pageclass class="# | <pageclass class="#39dd57" subcaption="Current release"></pageclass> | ||
{{Changelogs}} | {{Changelogs}} | ||
__NOTOC__ | __NOTOC__ | ||
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8... | 1.5.9 was released on October 1, 2021. | ||
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...1.5.9 | |||
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/7 | * GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/7 | ||
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/ | * Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.8...1.5.9 | ||
* Release announcement on forums: | * Release announcement on forums: https://forum.mtasa.com/topic/132708-multi-theft-auto-san-andreas-159-is-released/ | ||
== Notable Changes == | |||
== | <section show="true"> | ||
<section show=" | * You can now use the new [[onPlayerResourceStart]] server-side event to trigger when client is ready! Thanks to Lpsd. | ||
* You can now detect element interior or dimension change through two new client and server-side events [[onElementInteriorChange]] and [[onElementDimensionChange]] – should reduce some of your code! Thanks to Patrick and Strix. | |||
* You can now edit element bone behavior through 7 new bone manipulation functions! Great for some dynamic animations. Get started at [[setElementBonePosition]] and [[setElementBoneRotation]]. Thanks to Saml1er. | |||
* More vehicle customisation options! You can now edit vehicle dummy positions per vehicle. See [[setVehicleDummyPosition]]. Thanks to botder. | |||
* More audio customisation with sound effect parameters! See [[setSoundEffectParameter]]. Thanks to Strix and Sarrum. | |||
* More client download transfer box customisation options! See for example [[onClientTransferBoxProgressChange]]. Thanks to botder and CrosRoad95. | |||
* You can now allocate custom objects and vehicles through [[engineRequestModel]]. One of the most sought after features in a long time. Thanks to TheNormalnij. | |||
* You can now use scalable vector graphics (SVG) in MTA! See [[svgCreate]] for more info. Thanks to Lpsd. | |||
* You can now use peds and vehicles as the camera target. Thanks to TheNormalnij. | |||
* A lot more features for scripters to build even more immersive experiences with! | |||
* Many synchronization improvements! | |||
* Many varying size fixes, quality of life improvements, updates and security enhancements! | |||
* Many default resource fixes, refactors and upgrades, including ''webmap'' working once again! We have also improved the detection of world objects in map editor (''editor_main'' resource), so you can select many more objects that you couldn't before - such as bushes, fences and many more! You can now also remove world objects inside interiors. This should help mappers a lot. | |||
</section> | |||
Line 25: | Line 39: | ||
* Since Aug 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed. See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub #1071]. | * Since Aug 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed. See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub #1071]. | ||
This list is | This list is incomplete and we may introduce more changes later. | ||
</section> | </section> | ||
Line 32: | Line 46: | ||
<section show="true"> | <section show="true"> | ||
These are some statistics since the [[Changes in 1.5.8|previous release]]. | These are some statistics since the [[Changes in 1.5.8|previous release]]. | ||
* This is the '''26<sup>th</sup>''' 1.x.x release | * This is the '''26<sup>th</sup>''' 1.x.x release | ||
* '''{{date difference|2020|10|11}}''' days | * '''{{date difference|2020|10|11|2021|10|1}}''' days | ||
* ''' | * '''49''' new functions | ||
* '''16''' new events | * '''16''' new events | ||
* '''0''' deprecations | * '''0''' deprecations | ||
* ''' | * '''77+''' bug fixes and changes | ||
* ''' | * '''334''' commits ([https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...1.5.9 see comparison]) | ||
* ''' | * '''189''' new open GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aopen+is%3Aissue+created%3A2020-10-11..2021-10-01 see list]) | ||
* ''' | * '''81''' resolved GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aclosed+is%3Aissue+milestone%3A%22Next+Release+%281.5.9%29%22 see list]) | ||
* ''' | * '''135''' closed GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aclosed+is%3Aissue+closed%3A2020-10-11..2021-10-01+no%3Amilestone see list]) | ||
* ''' | * '''71''' new open GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Aopen+is%3Apr+created%3A2020-10-11..2021-10-01 see list]) | ||
* ''' | * '''207''' merged GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Amerged+milestone%3A%22Next+Release+%281.5.9%29%22 see list]) | ||
* '''53''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Aunmerged+closed%3A2020-10-11..2021-10-01 see list]) | * '''53''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Aunmerged+closed%3A2020-10-11..2021-10-01 see list]) | ||
* '''38''' contributors of which '''11''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2020-10-11&to=2021-10-01&type=c see list]) | * '''38''' contributors of which '''11''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2020-10-11&to=2021-10-01&type=c see list]) | ||
* '''94+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list]) | * '''94+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list]) | ||
* ''' | * '''13''' vendor updates | ||
<sub>'''Note:''' Last update to these statistics was made {{date difference human friendly|2021| | <sub>'''Note:''' Last update to these statistics was made {{date difference human friendly|2021|10|1}}.</sub> | ||
</section> | </section> | ||
Line 55: | Line 69: | ||
== Client == | == Client == | ||
<section show="true"> | <section show="true"> | ||
=== | === 44 New Functions === | ||
* Added [[getRoofPosition]] ([https://github.com/multitheftauto/mtasa-blue/pull/1518 #1518] by '''Pirulax''') | * Added [[getRoofPosition]] ([https://github.com/multitheftauto/mtasa-blue/pull/1518 #1518] by '''Pirulax''') | ||
* Added [[setVehicleVariant]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/1599 #1599] by '''StrixG''') | * Added [[setVehicleVariant]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/1599 #1599] by '''StrixG''') | ||
Line 82: | Line 96: | ||
* Added [[showCol]], [[isShowCollisionsEnabled]], [[showSound]] and [[isShowSoundEnabled]] ([https://github.com/multitheftauto/mtasa-blue/pull/2025 #2025] by '''cleoppa''') | * Added [[showCol]], [[isShowCollisionsEnabled]], [[showSound]] and [[isShowSoundEnabled]] ([https://github.com/multitheftauto/mtasa-blue/pull/2025 #2025] by '''cleoppa''') | ||
* Added [[clearDebugBox]] ([https://github.com/multitheftauto/mtasa-blue/pull/2160 #2160] by '''cleoppa''') | * Added [[clearDebugBox]] ([https://github.com/multitheftauto/mtasa-blue/pull/2160 #2160] by '''cleoppa''') | ||
* Added [[isChatInputBlocked]] ([https://github.com/multitheftauto/mtasa-blue/pull/2170 #2170] by '''Pieter-Dewachter''') | |||
* Added [[engineStreamingGetUsedMemory]] ([https://github.com/multitheftauto/mtasa-blue/pull/2269 #2269] by '''Pirulax''') | * Added [[engineStreamingGetUsedMemory]] ([https://github.com/multitheftauto/mtasa-blue/pull/2269 #2269] by '''Pirulax''') | ||
* Added [[engineStreamingFreeUpMemory]] ([https://github.com/multitheftauto/mtasa-blue/pull/2268 #2268] by '''Pirulax''') | * Added [[engineStreamingFreeUpMemory]] ([https://github.com/multitheftauto/mtasa-blue/pull/2268 #2268] by '''Pirulax''') | ||
Line 87: | Line 102: | ||
* Added [[setPedBleeding]] and [[isPedBleeding]] ([https://github.com/multitheftauto/mtasa-blue/pull/2308 #2308] and [https://github.com/multitheftauto/mtasa-blue/pull/2365 #2365] by '''StrixG''' and '''theSarrum''') | * Added [[setPedBleeding]] and [[isPedBleeding]] ([https://github.com/multitheftauto/mtasa-blue/pull/2308 #2308] and [https://github.com/multitheftauto/mtasa-blue/pull/2365 #2365] by '''StrixG''' and '''theSarrum''') | ||
* Added [[getPlayerMapOpacity]] ([https://github.com/multitheftauto/mtasa-blue/pull/2315 #2315] by '''theSarrum''') | * Added [[getPlayerMapOpacity]] ([https://github.com/multitheftauto/mtasa-blue/pull/2315 #2315] by '''theSarrum''') | ||
* Added new SVG functions ([https://github.com/multitheftauto/mtasa-blue/pull/2026 #2026] by '''Lpsd''') | |||
** [[svgCreate]] | |||
** [[svgGetDocumentXML]] | |||
** [[svgSetDocumentXML]] | |||
** [[svgGetSize]] | |||
** [[svgSetSize]] | |||
Line 108: | Line 129: | ||
=== | === 40 Bug Fixes & Changes === | ||
* Fixed crash when deleting a chatbox bind too early ([https://github.com/multitheftauto/mtasa-blue/commit/be577116f191526111e06487c8322c7799e03564 be57711] by '''sbx320''') | * Fixed crash when deleting a chatbox bind too early ([https://github.com/multitheftauto/mtasa-blue/commit/be577116f191526111e06487c8322c7799e03564 be57711] by '''sbx320''') | ||
* Added minimum version check for [[resetBlurLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1755 #1755] by '''StrixG''') | * Added minimum version check for [[resetBlurLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1755 #1755] by '''StrixG''') | ||
Line 144: | Line 165: | ||
* Fixed some capital letters not working in CEF ([https://github.com/multitheftauto/mtasa-blue/commit/6ed00b324a980d43c342d87916d1a78bfd352d86 6ed00b3] by '''patrikjuvonen''' and '''botder''') | * Fixed some capital letters not working in CEF ([https://github.com/multitheftauto/mtasa-blue/commit/6ed00b324a980d43c342d87916d1a78bfd352d86 6ed00b3] by '''patrikjuvonen''' and '''botder''') | ||
* Fixed domain permission window labels overflowing in some languages ([https://github.com/multitheftauto/mtasa-blue/commit/f7dcd6f249a367ddb9b81b07bea35b4fcb6145ee f7dcd6f] by '''patrikjuvonen''') | * Fixed domain permission window labels overflowing in some languages ([https://github.com/multitheftauto/mtasa-blue/commit/f7dcd6f249a367ddb9b81b07bea35b4fcb6145ee f7dcd6f] by '''patrikjuvonen''') | ||
* Updated client translations ([https://github.com/multitheftauto/mtasa-blue/commit/6db5ba4454a7f764871aae561b17898fd4e82318 6db5ba4] by '''patrikjuvonen''') | |||
* Updated credits ([https://github.com/multitheftauto/mtasa-blue/pull/2125 #2125] by '''patrikjuvonen''') | |||
=== | === 7 Vendor Updates === | ||
* Updated and replaced CEGUI-integrated [https://www.freetype.org/ FreeType] by adding it as its own dependency ([https://github.com/multitheftauto/mtasa-blue/commit/def86d01971d84522803052f68374a92bd68fad4 def86d0] and [https://github.com/multitheftauto/mtasa-blue/commit/2b70f96da7e4fb07effc371929e7e8f6297b8105 2b70f96] by '''Jusonex''') | * Updated and replaced CEGUI-integrated [https://www.freetype.org/ FreeType] by adding it as its own dependency ([https://github.com/multitheftauto/mtasa-blue/commit/def86d01971d84522803052f68374a92bd68fad4 def86d0] and [https://github.com/multitheftauto/mtasa-blue/commit/2b70f96da7e4fb07effc371929e7e8f6297b8105 2b70f96] by '''Jusonex''') | ||
* Updated libjpeg from 9b to 9d ([https://github.com/multitheftauto/mtasa-blue/pull/1963 #1963] by '''patrikjuvonen''') | * Updated libjpeg from 9b to 9d ([https://github.com/multitheftauto/mtasa-blue/pull/1963 #1963] by '''patrikjuvonen''') | ||
* Updated Unifont from 5.1 to 13.0.06 ([https://github.com/multitheftauto/mtasa-blue/commit/8eeac9a6465b2d6af7055cab01eb24beb72b8d2d 8eeac9a] by '''patrikjuvonen''') | * Updated Unifont from 5.1 to 13.0.06 ([https://github.com/multitheftauto/mtasa-blue/commit/8eeac9a6465b2d6af7055cab01eb24beb72b8d2d 8eeac9a] by '''patrikjuvonen''') | ||
* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/pull/ | * Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/pull/2377 #2377] by '''Dutchman101''') | ||
* Updated CEF from 85.3.12+g3e94ebf (Chromium 85.0.4183.121) to | * Updated CEF from 85.3.12+g3e94ebf (Chromium 85.0.4183.121) to 94.4.2+g6a963ca ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.61]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/ae6caa92c81b37ca29c7af0fbb7dffb4c57b14b6 ae6caa9] by '''patrikjuvonen''') | ||
* Added lunasvg 2.3.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2026 #2026] by '''Lpsd''') | |||
* Updated unrar from 5.91 to 6.02 ([https://github.com/multitheftauto/mtasa-blue/pull/2384 #2384] by '''patrikjuvonen''') | |||
</section> | </section> | ||
Line 203: | Line 229: | ||
=== | === 9 Bug Fixes & Changes === | ||
* Fixed vehicle driver desynchronization after carjacker dies ([https://github.com/multitheftauto/mtasa-blue/pull/1907 #1907] by '''Zangomangu''') | * Fixed vehicle driver desynchronization after carjacker dies ([https://github.com/multitheftauto/mtasa-blue/pull/1907 #1907] by '''Zangomangu''') | ||
* Disabled train track functions ([https://github.com/multitheftauto/mtasa-blue/pull/1920 #1920] by '''qaisjp''') | * Disabled train track functions ([https://github.com/multitheftauto/mtasa-blue/pull/1920 #1920] by '''qaisjp''') | ||
Line 210: | Line 236: | ||
* Fixed empty files returning an invalid checksum ([https://github.com/multitheftauto/mtasa-blue/commit/966de4e209b4ce6b3e4e6a7ea0f53650038a049c 966de4e] by '''botder''') | * Fixed empty files returning an invalid checksum ([https://github.com/multitheftauto/mtasa-blue/commit/966de4e209b4ce6b3e4e6a7ea0f53650038a049c 966de4e] by '''botder''') | ||
* Added extra checks in CXMLImpl::ParseString to avoid crash when invalid XML data supplied ([https://github.com/multitheftauto/mtasa-blue/pull/2282 #2282] by '''Lpsd''') | * Added extra checks in CXMLImpl::ParseString to avoid crash when invalid XML data supplied ([https://github.com/multitheftauto/mtasa-blue/pull/2282 #2282] by '''Lpsd''') | ||
* Added ability to use peds and vehicles as a camera target using [[setCameraTarget]] ([https://github.com/multitheftauto/mtasa-blue/pull/1753 #1753] by '''TheNormalnij''') | |||
</section> | </section> | ||
=== | === 5 Vendor Updates === | ||
* Updated detours from 1.2 to 4.0.1 ([https://github.com/multitheftauto/mtasa-blue/pull/2022 #2022] by '''botder''') | * Updated detours from 1.2 to 4.0.1 ([https://github.com/multitheftauto/mtasa-blue/pull/2022 #2022] by '''botder''') | ||
* Updated mbedtls from 2.4.2 to 2. | * Updated mbedtls from 2.4.2 to 2.27.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2085 #2085] and [https://github.com/multitheftauto/mtasa-blue/commit/38e92079643779a0a1ef3b25ca5cfb4c99be2e52 38e9207] by '''botder''' and '''patrikjuvonen''') | ||
* Updated curl from 7.72.0 to 7.79. | * Updated curl from 7.72.0 to 7.79.1 ([https://github.com/multitheftauto/mtasa-blue/pull/2373 #2373] by '''patrikjuvonen''') | ||
* Updated pcre from 8.39 to 8.45 ([https://github.com/multitheftauto/mtasa-blue/commit/7d517586c71a940f52cfa5ee1443b628882c9eed 7d51758] by '''patrikjuvonen''') | * Updated pcre from 8.39 to 8.45 ([https://github.com/multitheftauto/mtasa-blue/commit/7d517586c71a940f52cfa5ee1443b628882c9eed 7d51758] by '''patrikjuvonen''') | ||
* Updated cryptopp from 8.2.0 to 8.6.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2385 #2385] by '''patrikjuvonen''') | |||
== Resources == | == Resources == | ||
=== | === 37+ Bug Fixes & Changes === | ||
* [admin] added an option to hide sensitive data. (works like streamer mode in some apps) (thanks to iDannz) | * [admin] added an option to hide sensitive data. (works like streamer mode in some apps) (thanks to iDannz) | ||
Line 241: | Line 269: | ||
* [editor] fixed an issue that occurred when saving element's dimension. (thanks to FileEX) | * [editor] fixed an issue that occurred when saving element's dimension. (thanks to FileEX) | ||
* [editor] fixed bug that made the camera be locked after clicking some buttons too fast. (thanks to androksi and iDannz) | * [editor] fixed bug that made the camera be locked after clicking some buttons too fast. (thanks to androksi and iDannz) | ||
* [editor] interior world models are now removable. (thanks to Zangomango) | |||
* [freeroam] fixed an error in the command '/addclothes'. (thanks to xLive) | * [freeroam] fixed an error in the command '/addclothes'. (thanks to xLive) | ||
* [freeroam] fixed error when using negative numbers in the command '/color'. (thanks to xLive) | * [freeroam] fixed error when using negative numbers in the command '/color'. (thanks to xLive) | ||
Line 246: | Line 275: | ||
* [hedit] resource added to the official resources package. | * [hedit] resource added to the official resources package. | ||
* [ipb] fixed filter input-box that did not work. (thanks to iDannz) | * [ipb] fixed filter input-box that did not work. (thanks to iDannz) | ||
* [killmessages] rewritten resource. (now detects deaths caused by vehicles (eg hydra), and also detects deaths caused by | * [killmessages] rewritten resource. (now detects deaths caused by vehicles (eg hydra), and also detects deaths caused by vehicle explosions). (thanks to iDannz) | ||
* [mapcycler] added an option to pause cycling while the server is empty. (thanks to jlillis) | * [mapcycler] added an option to pause cycling while the server is empty. (thanks to jlillis) | ||
* [race] added configuration of transparency level during the ghost mode. (thanks to AfuSensi) | * [race] added configuration of transparency level during the ghost mode. (thanks to AfuSensi) | ||
Line 252: | Line 281: | ||
* [race] fix bug in pickup respawn. (thanks to LosFaul) | * [race] fix bug in pickup respawn. (thanks to LosFaul) | ||
* [race] finish the map when there are only spectators. (thanks to xLive) | * [race] finish the map when there are only spectators. (thanks to xLive) | ||
* [race] added possibility to use rotation attributes. (thanks to xLive) | |||
* [resourcemanager] fixed problems on the dates of some information. (thanks to Dezash) | * [resourcemanager] fixed problems on the dates of some information. (thanks to Dezash) | ||
* [runcode] fixed a problem that caused the 'srun' command show the results to everyone. (thanks to Yamsha75) | * [runcode] fixed a problem that caused the 'srun' command show the results to everyone. (thanks to Yamsha75) | ||
* [speedometer] resource added to the official resources package. | * [speedometer] resource added to the official resources package. | ||
* [trainhorn] resource added to the official resources package. | * [trainhorn] resource added to the official resources package. |
Revision as of 20:26, 1 October 2021
MTA:SA Releases | Changelog Pages |
---|---|
1.0 | 1.0.0 • 1.0.1 • 1.0.2 • 1.0.3 • 1.0.4 |
1.1 | 1.1.0 • 1.1.1 |
1.2 | 1.2.0 |
1.3 | 1.3.0 • 1.3.1 • 1.3.2 • 1.3.3 • 1.3.4 • 1.3.5 |
1.4 | 1.4.0 • 1.4.1 |
1.5 | 1.5.0 • 1.5.1 • 1.5.2 • 1.5.3 • 1.5.4 • 1.5.5 • 1.5.6 • 1.5.7 • 1.5.8 • 1.5.9 |
1.6 | 1.6.0 • 1.6.1 |
1.5.9 was released on October 1, 2021.
- GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...1.5.9
- GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/7
- Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.8...1.5.9
- Release announcement on forums: https://forum.mtasa.com/topic/132708-multi-theft-auto-san-andreas-159-is-released/
Notable Changes
Click to collapse [-]
- You can now use the new onPlayerResourceStart server-side event to trigger when client is ready! Thanks to Lpsd.
- You can now detect element interior or dimension change through two new client and server-side events onElementInteriorChange and onElementDimensionChange – should reduce some of your code! Thanks to Patrick and Strix.
- You can now edit element bone behavior through 7 new bone manipulation functions! Great for some dynamic animations. Get started at setElementBonePosition and setElementBoneRotation. Thanks to Saml1er.
- More vehicle customisation options! You can now edit vehicle dummy positions per vehicle. See setVehicleDummyPosition. Thanks to botder.
- More audio customisation with sound effect parameters! See setSoundEffectParameter. Thanks to Strix and Sarrum.
- More client download transfer box customisation options! See for example onClientTransferBoxProgressChange. Thanks to botder and CrosRoad95.
- You can now allocate custom objects and vehicles through engineRequestModel. One of the most sought after features in a long time. Thanks to TheNormalnij.
- You can now use scalable vector graphics (SVG) in MTA! See svgCreate for more info. Thanks to Lpsd.
- You can now use peds and vehicles as the camera target. Thanks to TheNormalnij.
- A lot more features for scripters to build even more immersive experiences with!
- Many synchronization improvements!
- Many varying size fixes, quality of life improvements, updates and security enhancements!
- Many default resource fixes, refactors and upgrades, including webmap working once again! We have also improved the detection of world objects in map editor (editor_main resource), so you can select many more objects that you couldn't before - such as bushes, fences and many more! You can now also remove world objects inside interiors. This should help mappers a lot.
Backwards Compatibility
Click to collapse [-]
5 Backwards Incompatible Changes
These changes will take effect in 1.6.0:
- callRemote callbacks currently set the error code to nil when there is no error. In 1.6.0, to be consistent with fetchRemote, the error code reported will be 0. See GitHub #294.
- Since July 2016 if you provide an invalid string like "randomstring" when a function expects a number, the string will be treated as 0 and raise a script warning. In 1.6.0 this will be an error. You will still be able to provide strings containing numbers (e.g. "100" and "12.34"), this change only affects invalid strings. See GitHub #1043.
- When providing a width and height of (0, 0) to createBrowser or guiCreateBrowser you will encounter a script error instead of a warning. The warning was introduced Feb 2019. See GitHub #1069.
- Some functions expect only unsigned integers (positive numbers), and since Jan 2016 providing negative numbers would be a warning. This will now be an error. See GitHub #1070.
- Since Aug 2015, we replaced the custom mtalocal:// URL scheme with http://mta/resourceName/blah.html. This mtalocal:// URL scheme will now be removed. See GitHub #1071.
This list is incomplete and we may introduce more changes later.
Statistics
Click to collapse [-]
These are some statistics since the previous release.
- This is the 26th 1.x.x release
- 355 days
- 49 new functions
- 16 new events
- 0 deprecations
- 77+ bug fixes and changes
- 334 commits (see comparison)
- 189 new open GitHub issues (see list)
- 81 resolved GitHub issues (see list)
- 135 closed GitHub issues (see list)
- 71 new open GitHub pull requests (see list)
- 207 merged GitHub pull requests (see list)
- 53 closed GitHub pull requests (see list)
- 38 contributors of which 11 are new (see list)
- 94+ total contributors (see list)
- 13 vendor updates
Note: Last update to these statistics was made 930 days ago.
Client
Click to collapse [-]
44 New Functions
- Added getRoofPosition (#1518 by Pirulax)
- Added setVehicleVariant (previously available server-side only) (#1599 by StrixG)
- Added engineRestreamWorld (#1735 by TheNormalnij)
- Added functions to modify element bones behavior (#1673 by Saml1er)
- Added engineSetModelVisibleTime and engineGetModelVisibleTime (#1766 by TheNormalnij)
- Added setColorFilter and resetColorFilter (#1611 by tederis)
- Added getVehicleWheelFrictionState (#1839 by drop-club)
- Added setPedEnterVehicle and setPedExitVehicle (#1748 by Zangomangu)
- Added setSoundLooped and isSoundLooped (#657 by FileEX)
- Added isTransferBoxAlwaysVisible (#1955 by botder and CrosRoad95)
- Added vehicle dependent dummy positions with functions (#1982 by botder)
- Added isBrowserRenderingPaused (#1999 by cleoppa)
- Added isObjectMoving (#2023 by cleoppa)
- Added showCol, isShowCollisionsEnabled, showSound and isShowSoundEnabled (#2025 by cleoppa)
- Added clearDebugBox (#2160 by cleoppa)
- Added isChatInputBlocked (#2170 by Pieter-Dewachter)
- Added engineStreamingGetUsedMemory (#2269 by Pirulax)
- Added engineStreamingFreeUpMemory (#2268 by Pirulax)
- Added setSoundEffectParameter and getSoundEffectParameters (449c5c3 by StrixG)
- Added setPedBleeding and isPedBleeding (#2308 and #2365 by StrixG and theSarrum)
- Added getPlayerMapOpacity (#2315 by theSarrum)
- Added new SVG functions (#2026 by Lpsd)
10 New Events
- Added onClientPedsProcessed (#1673 by Saml1er)
- Added onClientElementDimensionChange (#1553 by StrixG)
- Added onClientPedVehicleEnter and onClientPedVehicleExit (#1748 by Zangomangu)
- Added onClientResourceFileDownload, onClientTransferBoxProgressChange and onClientTransferBoxVisibilityChange (#1955 by botder and CrosRoad95)
- Added onClientObjectMoveStart and onClientObjectMoveStop (#2023 by cleoppa)
- Added onClientElementInteriorChange (#2058 by Patrick2562)
8 New Arguments & Parameters
- Added macros argument to dxCreateShader (#1573 by tederis)
- Added forceOverrideNextFrame argument to setAnalogControlState (#1852 by LosFaul)
- Added interior and dimension arguments to getElementsWithinRange (#1915 by Pirulax)
- Added pedCameraMode argument to setCameraViewMode (#1418 by TheNormalnij)
- Added flipUV argument to dxDrawMaterialLine3D and dxDrawMaterialSectionLine3D (#2193 by tederis)
- Added messageType parameter to onClientChatMessage (#1020 by Lpsd)
- Added lineHeight argument to dxDrawText (#2355 by Allerek)
40 Bug Fixes & Changes
- Fixed crash when deleting a chatbox bind too early (be57711 by sbx320)
- Added minimum version check for resetBlurLevel (#1755 by StrixG)
- Included skins added through engineRequestModel in getValidPedModels (#1437 by Pirulax)
- Allow allocating new object models using engineRequestModel (#1684 by TheNormalnij)
- Allow allocating new vehicle models using engineRequestModel (#1701 by TheNormalnij)
- Events onClientVehicleStartEnter, onClientVehicleEnter, onClientVehicleStartExit and onClientVehicleExit now return peds as well (#1748 by Zangomangu)
- Fixed hectic bike rotation by filling CBikeSAInterface class (#1884 by TheNormalnij)
- Fixed Sound.setPanningEnabled OOP-method not working due to typo in definition (#1923 by StrixG)
- Fixed ped task bug when special fighting near to a vehicle causing abnormal behavior (#1943 by Zangomangu)
- Fixed getKeyState not working with gamepad buttons (#1944 by botder)
- Disable gamepad controls if disabled by showCursor (c4b9a84 by botder)
- Keep console position and size when changing locale (#1970 by xLuxy)
- Fixed network trouble if falling into water while attempting to enter a vehicle (#1986 by Zangomangu)
- Abort vehicle entering for incompatible vehicles if ped is in water (b3ba15b by botder)
- Lowered shadows and lights more towards ground level (#2018 by patrikjuvonen and botder)
- Fixed objects not returning world model position in processLineOfSight (#2083 by STR6)
- Added keybind queue to improve performance (#2123 by patrikjuvonen)
- Added ped camera mode return value to getCameraViewMode (#1418 by TheNormalnij)
- Fixed setMarkerType resetting marker position (586d6d by botder)
- Fixed testLineAgainstWater working incorrectly outside of game boundaries (#2192 by Allerek)
- Fixed client vehicles blocking entry to server vehicle (#2188 by Zangomangu)
- Removed obsolete entry from forbodenList (ff93fec by Dutchman101)
- Reset vehicle explosion timer in CVehicleSA::SetHealth (8b30d7a and 546beab by botder)
- Set game thread affinity to first CPU core (dbc792b by botder)
- Added "TotalPhysicalMemory" to dxGetStatus (#2265 by Pirulax)
- Added a UI button to delete servers from the "Recent" tab (#2253 by iDannz1)
- Trim keybind whitespace to avoid duplicates (#2124 by patrikjuvonen)
- Fixed a typo in the sa.dat file (eff97c8 by ccw808)
- Resolved remaining collisionless objects (#2296 by Saml1er, TheNormalnij, ccw808, thisdp and botder)
- Fixed attached players desync after reconnect (#2290 by theSarrum)
- Check clothes type parameter in several cases (ce9d3de by Inder00 and botder)
- Updated some images (f00c1a3 by patrikjuvonen)
- Set CEF cache path (adff688 by patrikjuvonen)
- Fixed some capital letters not working in CEF (6ed00b3 by patrikjuvonen and botder)
- Fixed domain permission window labels overflowing in some languages (f7dcd6f by patrikjuvonen)
- Updated client translations (6db5ba4 by patrikjuvonen)
- Updated credits (#2125 by patrikjuvonen)
7 Vendor Updates
- Updated and replaced CEGUI-integrated FreeType by adding it as its own dependency (def86d0 and 2b70f96 by Jusonex)
- Updated libjpeg from 9b to 9d (#1963 by patrikjuvonen)
- Updated Unifont from 5.1 to 13.0.06 (8eeac9a by patrikjuvonen)
- Updated BASS libraries (#2377 by Dutchman101)
- Updated CEF from 85.3.12+g3e94ebf (Chromium 85.0.4183.121) to 94.4.2+g6a963ca (Chromium 94.0.4606.61) (See commit ae6caa9 by patrikjuvonen)
- Added lunasvg 2.3.0 (#2026 by Lpsd)
- Updated unrar from 5.91 to 6.02 (#2384 by patrikjuvonen)
Server
Click to collapse [-]
6 New Events
- Added onElementDimensionChange (#1553 by StrixG)
- Added onPedVehicleEnter and onPedVehicleExit (#1748 by Zangomangu)
- Added onResourceLoadStateChange (#1651 by TeteX1)
- Added onElementInteriorChange (#2058 by Patrick2562)
- Added onPlayerResourceStart (#2150 by Lpsd)
New Arguments & Parameters
16 Bug Fixes & Changes
- Fixed wrong SQLite column in getAccountsByIP (#1734 by emre1702)
- Improved help command in server console (#1639 by Unde-R)
- Improved checksum error messages for internal HTTP servers (#1778 by qaisjp)
- Events onVehicleStartEnter, onVehicleEnter, onVehicleStartExit and onVehicleExit now return peds as well (#1748 by Zangomangu)
- Fixed CLuaArgument not comparing tables recursively, causing unnecessary setElementData resyncs even if values match (76e52f8 by botder)
- Enforce existing username length limit in account code (#1995 by patrikjuvonen)
- Refactored vehicle blowup code to fix onVehicleExplode triggering twice server-side (#1997 by botder)
- Added source map compatibility in CResourceHTMLItem (#2207 by PauloKim1246)
- Added missing ColShape.elementsWithin (#2186 by Pirulax)
- Fixed info command displaying two statuses of a running resource (#2292 by theSarrum)
- Fixed respawning of blown vehicles (7963997 by botder)
- Don't allow dead peds to enter vehicles (#2344 by Zangomangu)
- Fixed missing new lines when outputting long messages in server console (6256bb0 by patrikjuvonen)
1 Vendor Update
- Updated sqlite from 3.32.3 to 3.36.0 (#2284 by patrikjuvonen)
Click to collapse [-]
5 New Functions
- Added transfer box customization functions setTransferBoxVisible and isTransferBoxVisible (#1955 by botder and CrosRoad95)
- Added setColPolygonHeight and getColPolygonHeight (#1908 by CrosRoad95)
- Added intersectsSegmentTriangle method to Vector3 (#1711 by Pirulax)
3 New Arguments & Parameters
- Added bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel to setWaterLevel (#1402 by TheNormalnij)
- Added new optional inputBlocked argument for showChat (#2170 by Pieter-Dewachter)
9 Bug Fixes & Changes
- Fixed vehicle driver desynchronization after carjacker dies (#1907 by Zangomangu)
- Disabled train track functions (#1920 by qaisjp)
- Added request body and method to HTTP scripts (#2053 by Disinterpreter)
- Added aes128 encryption support to encodeString and decodeString (#2235 by drop-club)
- Fixed empty files returning an invalid checksum (966de4e by botder)
- Added extra checks in CXMLImpl::ParseString to avoid crash when invalid XML data supplied (#2282 by Lpsd)
- Added ability to use peds and vehicles as a camera target using setCameraTarget (#1753 by TheNormalnij)
5 Vendor Updates
- Updated detours from 1.2 to 4.0.1 (#2022 by botder)
- Updated mbedtls from 2.4.2 to 2.27.0 (#2085 and 38e9207 by botder and patrikjuvonen)
- Updated curl from 7.72.0 to 7.79.1 (#2373 by patrikjuvonen)
- Updated pcre from 8.39 to 8.45 (7d51758 by patrikjuvonen)
- Updated cryptopp from 8.2.0 to 8.6.0 (#2385 by patrikjuvonen)
Resources
37+ Bug Fixes & Changes
- [admin] added an option to hide sensitive data. (works like streamer mode in some apps) (thanks to iDannz)
- [admin] added an option make the camera collide while spectate. (thanks to iDannz)
- [admin] added a command to send messages in admin chat (/a message). (thanks to rickchesterhd123)
- [admin] added an option to teleport to the selected position on the map. (thanks to Patrick2562)
- [admin] added save to some infos, so you don't have to reselect some options after reconnecting. (thanks to iDannz)
- [admin] fixed error in output messages (case the player has a nickname with more than 1 hex color). (thanks to androksi)
- [admin] fixed a bug that occurred when trying to restart a resource that wasn't running. (thanks to Dante386)
- [admin] fixed an error that occurred when clicking on the "Maps" tab if the resource 'mapmanager' was not running. (thanks to cleoppa and iDannz)
- [admin] improved the lists of 'give vehicle', 'give weapon' and 'slap'. (thanks to iDannz)
- [admin] replace 'give admin' button with permissions selection widget. (thanks to iDannz)
- [admin] tweaks to the interface. (thanks to iDannz)
- [cdm] removed the cdm resource from the official resources package.
- [editor] added an option to 'lock' elements. (thanks to xLive)
- [editor] added an option to choose the output directory before saving new maps. (thanks to umithyo, xLive and iDannz)
- [editor] added option to select some objects that do not have collisions. (thanks to Zangomangu and Tut)
- [editor] fixed an issue that occurred when saving element's dimension. (thanks to FileEX)
- [editor] fixed bug that made the camera be locked after clicking some buttons too fast. (thanks to androksi and iDannz)
- [editor] interior world models are now removable. (thanks to Zangomango)
- [freeroam] fixed an error in the command '/addclothes'. (thanks to xLive)
- [freeroam] fixed error when using negative numbers in the command '/color'. (thanks to xLive)
- [freeroam] improved the map image quality. (thanks to patrikjuvonen)
- [hedit] resource added to the official resources package.
- [ipb] fixed filter input-box that did not work. (thanks to iDannz)
- [killmessages] rewritten resource. (now detects deaths caused by vehicles (eg hydra), and also detects deaths caused by vehicle explosions). (thanks to iDannz)
- [mapcycler] added an option to pause cycling while the server is empty. (thanks to jlillis)
- [race] added configuration of transparency level during the ghost mode. (thanks to AfuSensi)
- [race] added fade car addon. (thanks to AfuSensi)
- [race] fix bug in pickup respawn. (thanks to LosFaul)
- [race] finish the map when there are only spectators. (thanks to xLive)
- [race] added possibility to use rotation attributes. (thanks to xLive)
- [resourcemanager] fixed problems on the dates of some information. (thanks to Dezash)
- [runcode] fixed a problem that caused the 'srun' command show the results to everyone. (thanks to Yamsha75)
- [speedometer] resource added to the official resources package.
- [trainhorn] resource added to the official resources package.
- [webmap] fixed and updated. (thanks to patrikjuvonen)
- [webstats] updated. (thanks to patrikjuvonen)
Extra information
More detailed information available on our GitHub repositories: