Changes in 1.5.8: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(48 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<pageclass class="#4286f4" subcaption="Future release"></pageclass>
{{Changelogs}}
{{Changelogs}}
__NOTOC__
__NOTOC__
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.7...master
1.5.8 was released on October 11, 2020.
 
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.7...1.5.8
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/2
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/2
* So far https://github.com/multitheftauto/mtasa-blue/compare/632130e...master
* Release announcement on forums: https://forum.mtasa.com/topic/127609-multi-theft-auto-san-andreas-158-is-released/


'''This changelog is partial and needs updating.'''


== Main Additions / Changes ==
== Main Additions / Changes ==
<section show="true">
<section show="true">
* Add [[dxDrawPrimitive3D]] and [[dxDrawMaterialPrimitive3D]] ([https://github.com/multitheftauto/mtasa-blue/pull/760 #760] by '''CrosRoad95''')
* Added [[dxDrawPrimitive3D]] and [[dxDrawMaterialPrimitive3D]] ([https://github.com/multitheftauto/mtasa-blue/pull/760 #760] by '''CrosRoad95''')
* Add functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/784 #784] by '''forkerer''')
* Added functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/784 #784] by '''forkerer''')
* Add dynamic ped ID allocating using [[engineRequestModel]] and [[engineFreeModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/475544f1753ce1af24c4cdff7f0d0be48ede709b #349] by '''lopezloo''' + '''Neproify''' + '''Arran''' + '''Qais Patankar''')
* Added dynamic ped ID allocating using [[engineRequestModel]] and [[engineFreeModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/475544f1753ce1af24c4cdff7f0d0be48ede709b #349] by '''lopezloo''' + '''Neproify''' + '''Arran''' + '''qaisjp''')
* Added functions to manipulate colshapes parameters ([https://github.com/multitheftauto/mtasa-blue/pull/1215 #1215] by '''StrixG''')
* Added element data subscription functionality ([https://github.com/multitheftauto/mtasa-blue/pull/1055 #1055] by '''tederis''')
* Added [[engineGetModelTextures]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1058 #1058] by '''Lpsd''')
* Improve trailer sync ([https://github.com/multitheftauto/mtasa-blue/pull/1247 #1247] by '''tederis''')
* Added wheel scaling functions ([https://github.com/multitheftauto/mtasa-blue/pull/1641 #1641], [https://github.com/multitheftauto/mtasa-blue/pull/1644 #1644], and [https://github.com/multitheftauto/mtasa-blue/pull/1648 #1648] by '''AlexTMjugador''')
</section>
</section>


== Statistics ==
== Statistics ==
<section show="false">
<section show="true">
These are some statistics since the [[Changes in 1.5.7|previous release]].
These are some statistics since the [[Changes in 1.5.7|previous release]].
* This is the '''25<sup>th</sup>''' 1.x.x release, planned to be released x.x.xxxx
* This is the '''25<sup>th</sup>''' 1.x.x release
* '''{{date difference|2019|8|31}}''' days
* '''{{date difference|2019|8|31|2020|10|11}}''' days
* '''14''' new functions
* '''1''' deprecation
* '''0''' new events
* '''5''' announced backwards incompatible changes
* '''0''' deprecations
* '''41''' new functions
* '''7''' bug fixes and changes
* '''68+''' bug fixes and changes
* '''111''' commits ([https://github.com/multitheftauto/mtasa-blue/compare/1.5.7...master see comparison])
* '''465''' commits ([https://github.com/multitheftauto/mtasa-blue/compare/1.5.7...1.5.8 see comparison])
* '''0''' new open Mantis issues
* '''197''' new open GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aopen+is%3Aissue+created%3A2019-08-31..2020-10-11 see list])
* '''0''' resolved Mantis issues
* '''102''' resolved GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aclosed+is%3Aissue+milestone%3A1.5.8 see list])
* '''5''' closed Mantis issues
* '''108''' closed GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?q=is%3Aclosed+is%3Aissue+closed%3A2019-08-31..2020-10-11+no%3Amilestone see list])
* '''21''' new open GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+created%3A%3E%3D2019-08-31 see list])
* '''46''' new open GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Aopen+is%3Apr+created%3A2019-08-31..2020-10-11 see list])
* '''12''' resolved GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?utf8=%E2%9C%93&q=is%3Aclosed+is%3Aissue+milestone%3A1.5.8 see list])
* '''194''' merged GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+milestone%3A1.5.8+is%3Amerged see list])
* '''9''' closed GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?utf8=%E2%9C%93&q=is%3Aclosed+is%3Aissue+closed%3A%3E%3D2019-08-31+no%3Amilestone see list])
* '''36''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Aunmerged+closed%3A2019-08-31..2020-10-11 see list])
* '''4''' new open GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+created%3A%3E%3D2019-08-31 see list])
* '''39''' contributors of which '''27''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2019-08-31&to=2020-10-11&type=c see list])
* '''15''' merged GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+milestone%3A1.5.8+is%3Amerged see list])
* '''98+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list])
* '''3''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aunmerged+closed%3A%3E%3D2019-08-31 see list])
* '''4''' vendor updates
* '''15''' contributors of which '''2''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2019-08-31&to=2020-08-31&type=c see list])
* '''67+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list])
* '''2''' vendor updates


<!--
<!--
Line 43: Line 46:
-->
-->
<sub>'''Note:''' Last update to these statistics was made
<sub>'''Note:''' Last update to these statistics was made
{{#ifeq: {{date difference|2019|10|9}} | 0 | today |
{{#ifeq: {{date difference|2020|10|12}} | 0 | today |
   {{#ifeq: {{date difference|2019|10|9}} | 1 | yesterday |
   {{#ifeq: {{date difference|2020|10|12}} | 1 | yesterday |
     {{date difference|2019|10|9}} days ago
     {{date difference|2020|10|12}} days ago
   }}
   }}
}}.</sub>
}}.</sub>
</section>
</section>


== Scripting ==
== Scripting ==
=== Client ===
<section show="true">
<section show="true">
==== 11 New Functions ====
=== 5 Backwards Incompatible Changes ===
* Add [[setPedFightingStyle]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/810 #810] by '''StrixG''')
These changes will take effect in 1.6:
* Add [[setPedArmor]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/811 #811] by '''StrixG''')
* [[callRemote]] callbacks currently set the error code to '''nil''' when there is no error. In 1.6, to be consistent with [[fetchRemote]], the error code reported will be '''0'''. See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub #294].
* Add [[areVehicleLightsOn]] ([https://github.com/multitheftauto/mtasa-blue/pull/938 #938] by '''StrixG''')
* 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 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 [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub #1043].
* Add [[dxDrawPrimitive3D]] and [[dxDrawMaterialPrimitive3D]] ([https://github.com/multitheftauto/mtasa-blue/pull/760 #760] by '''CrosRoad95''')
* 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 [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub #1069].
* Add functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/784 #784] by '''forkerer''')
* 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 [https://github.com/multitheftauto/mtasa-blue/issues/1070 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 [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub #1071].
 
This list is inconclusive and we may introduce more changes later.
</section>
 
 
== Client ==
<section show="true">
=== 21 New Functions ===
* Added [[setPedFightingStyle]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/810 #810] by '''StrixG''')
* Added [[setPedArmor]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/811 #811] by '''StrixG''')
* Added [[areVehicleLightsOn]] ([https://github.com/multitheftauto/mtasa-blue/pull/938 #938] by '''StrixG''')
* Added [[dxDrawPrimitive3D]] and [[dxDrawMaterialPrimitive3D]] ([https://github.com/multitheftauto/mtasa-blue/pull/760 #760] by '''CrosRoad95''')
* Added functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/784 #784] by '''forkerer''')
** [[engineGetModelPhysicalPropertiesGroup]]
** [[engineGetModelPhysicalPropertiesGroup]]
** [[engineRestoreModelPhysicalPropertiesGroup]]
** [[engineRestoreModelPhysicalPropertiesGroup]]
Line 65: Line 82:
** [[engineRestoreObjectGroupPhysicalProperties]]
** [[engineRestoreObjectGroupPhysicalProperties]]
** [[engineSetObjectGroupPhysicalProperty]]
** [[engineSetObjectGroupPhysicalProperty]]
* Add dynamic ped ID allocating using [[engineRequestModel]] and [[engineFreeModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/475544f1753ce1af24c4cdff7f0d0be48ede709b #349] by '''lopezloo''' + '''Neproify''' + '''Arran''' + '''Qais Patankar''')
* Added dynamic ped ID allocating using [[engineRequestModel]] and [[engineFreeModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/475544f1753ce1af24c4cdff7f0d0be48ede709b #349] by '''lopezloo''' + '''Neproify''' + '''Arran''' + '''qaisjp''')
* Added [[engineResetModelLODDistance]] function ([https://github.com/multitheftauto/mtasa-blue/pull/971 #971] by '''Lpsd''')
* Added [[engineGetModelTextures]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1058 #1058] by '''Lpsd''')
* Added [[resetBlurLevel]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1266 #1266] by '''Luxy.c''')
* Added [[dxGetTextSize]] function ([https://github.com/multitheftauto/mtasa-blue/pull/935 #935] by '''StrixG''')
* Added functions to modify vehicle wheels, visibly and in collision by ([https://github.com/multitheftauto/mtasa-blue/pull/1641 #1641], [https://github.com/multitheftauto/mtasa-blue/pull/1644 #1644], and [https://github.com/multitheftauto/mtasa-blue/pull/1648 #1648] by '''AlexTMjugador''')
** [[getVehicleWheelScale]]
** [[getVehicleModelWheelSize]]
** [[setVehicleWheelScale]]
** [[setVehicleModelWheelSize]]


<!--
=== 49 Bug Fixes & Changes ===
==== New Events ====
* Added new client setting to toggle external sounds ([https://github.com/multitheftauto/mtasa-blue/pull/834 #834] by '''patrikjuvonen''')
* Placeholder
* Fix crash when attempting to stream out a sound that's not streamed in (See commit [https://github.com/multitheftauto/mtasa-blue/commit/e1b7c730448d12a5eeb452239e8053e86924294f e1b7c73] by '''sbx320''')
* Fix [[dxDrawCircle]] ''segments'' argument being wrongly offset by one ([https://github.com/multitheftauto/mtasa-blue/pull/1079 #1079] by '''ApeLsiN4eG''')
* Fix potential crash when moving objects (See commit [https://github.com/multitheftauto/mtasa-blue/commit/90895c221549893501f5f717af3ca56878e29b5d 90895c2] by '''botder''')
* Update credits (See commit [https://github.com/multitheftauto/mtasa-blue/commit/39227d795efafe940dc6c317c20b0162b1bd0bb3 39227d7] by '''qaisjp''')
* Don't apply damage to peds without a game entity (See commit [https://github.com/multitheftauto/mtasa-blue/commit/632130e36a96071290593fc3c677a536f7b19e1f 632130e] by '''botder''')
* Fix doors state with setElementModel ([https://github.com/multitheftauto/mtasa-blue/pull/599 #599] by '''FileEX''')
* Added CVAR _beta_qc_rightclick_command allowing you to reconnect by right clicking the "Quick Connect" button on the main menu (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1c60675fc0f0f62b69707ae81a82e6bbdf36042 d1c60675] by '''qaisjp''')
* Added more data to [[getPedAnimation]] ([https://github.com/multitheftauto/mtasa-blue/pull/892 #892] by '''Dezash''')
* Added missing destroy method to DxFont ([https://github.com/multitheftauto/mtasa-blue/pull/1259 #1259] by '''MegadreamsBE''')
* Increase [[setPedAnimationSpeed]] limit (See commit [https://github.com/multitheftauto/mtasa-blue/commit/4c36d37056d2a1496904f394bf96303dd0f2b4c5 4c36d37] by '''qaisjp''')
* Fix "ancient" weapon fire crash ([https://github.com/multitheftauto/mtasa-blue/pull/1109 #1109] by '''saml1er''')
* Fix [[bitExtract]] (See commit [https://github.com/multitheftauto/mtasa-blue/commit/aa2df39d3e40e5b446ffea376ef96df89916a9d0 aa2df39d] by '''ccw808''')
* Fix texture blending ([https://github.com/multitheftauto/mtasa-blue/pull/1098 #1098] by '''StrixG''')
* Added client setting to toggle internet sound streams ([https://github.com/multitheftauto/mtasa-blue/pull/834 #834] by '''patrikjuvonen''')
* Implement "remember this option" checkbox to NVidia Optimus dialog ([https://github.com/multitheftauto/mtasa-blue/pull/1177 #1177] by '''Lpsd''')
* Fix inability to crouch when player has 1 HP ([https://github.com/multitheftauto/mtasa-blue/pull/1138 #1138] by '''CrosRoad95''')
* Improve trailer sync ([https://github.com/multitheftauto/mtasa-blue/pull/1247 #1247] by '''tederis''')
* Fix driveby for peds ([https://github.com/multitheftauto/mtasa-blue/pull/1290 #1290] by '''Zangomangu''')
* Added "SettingHighDetailPeds" to [[dxGetStatus]] ([https://github.com/multitheftauto/mtasa-blue/pull/1384 #1384] by '''Patrick2562''')
* Added feature to remove server from the "Recent" tab in server browser ([https://github.com/multitheftauto/mtasa-blue/pull/1381 #1381] by '''ecastro98''')
* Fix [[warpPedIntoVehicle]] failure when there are too many vehicles streamed in ([https://github.com/multitheftauto/mtasa-blue/pull/1431 #1431] by '''saml1er''')
* Fix issue with [[engineReplaceModel]] kicking the player out of the vehicle ([https://github.com/multitheftauto/mtasa-blue/pull/1433 #1433] by '''saml1er''')
* Moved exe patching to loader ([https://github.com/multitheftauto/mtasa-blue/pull/1520 #1520] by '''ccw808''')
* Fix various return values when using OOP (e.g: [https://github.com/multitheftauto/mtasa-blue/commit/5110559b7a7f2d258f01be1dce18fe63d8bca400 5110559b], [https://github.com/multitheftauto/mtasa-blue/commit/88379b8ded766b2d35e171b6d11ef33cb2663b96 88379b8d] by '''qaisjp''')
* Fixed incorrect VRAM detection ([https://github.com/multitheftauto/mtasa-blue/pull/1589 #1589] by '''TheNormalnij''')
* Added ability to play sounds from raw data to playSound(3D) ([https://github.com/multitheftauto/mtasa-blue/pull/1234 #1234] by '''Dezash''')
* Allow downloading of files from other resources ([https://github.com/multitheftauto/mtasa-blue/pull/945 #945] by '''TheNormalnij''') - this affects:
** [[downloadFile]]
** [[onClientFileDownloadComplete]]
* Added ability to get raw controller analog value ([https://github.com/multitheftauto/mtasa-blue/pull/1165 #1165] by '''Addlibs''')
* Added user agent workaround for YouTube TV ([https://github.com/multitheftauto/mtasa-blue/pull/1243 #1243] by '''qaisjp''')
* Added missing destroy method to DxFont ([https://github.com/multitheftauto/mtasa-blue/pull/1259 #1259] by '''MegadreamsBE''')
* Fix engineReplaceModel memory leak ([https://github.com/multitheftauto/mtasa-blue/pull/1265 #1265] by '''saml1er''')
* Fix vehicle model memory leaks (See commit [https://github.com/multitheftauto/mtasa-blue/commit/46dbbe7dd2c4621d7564cf272e8a432cf9f57300 46dbbe7] by '''saml1er''')
* Fix texture memory leak (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d5722d5ac5c0ed0210849bf03c263ec88ea98c2a d5722d5] by '''saml1er''')
* Enable enter_exit for peds to fix alternative attack ([https://github.com/multitheftauto/mtasa-blue/pull/1295 #1295] by '''Zangomangu''')
* Fix "Select device" hides under other program without MTA icon on a taskbar (See commit [https://github.com/multitheftauto/mtasa-blue/commit/2c5251a42a640ccc9ffa928cb2844c9295f47c6c 2c5251a] by '''ccw808''')
* Fix primitive colors are always white ([https://github.com/multitheftauto/mtasa-blue/pull/1312 #1312] by '''StrixG''')
* Added analog control sync for accelerate and brake_reverse ([https://github.com/multitheftauto/mtasa-blue/pull/1164 #1164] by '''Addlibs''')
* Fix resetting dummies in vehicles with replaced models ([https://github.com/multitheftauto/mtasa-blue/pull/1059 #1059] by '''forkerer''' and '''saml1er''')
* Return vector3 instead of number at ped's target ([https://github.com/multitheftauto/mtasa-blue/pull/1379 #1379] by '''ecastro98''')
* Fix replaced weapon_crouch anim does not play if retainPedState is true ([https://github.com/multitheftauto/mtasa-blue/pull/1414 #1414] by '''saml1er''')
* Fix nametags are interiorless ([https://github.com/multitheftauto/mtasa-blue/commit/3df58bd435b3c4052fa5e7fe57d534bdca7e0d2b 3df58bd] by '''qaisjp''')
* Remove amx from the installer (See commit [https://github.com/multitheftauto/mtasa-blue/commit/7d4091fac6e41e6d9e199cd0a03c927dc48aac79 7d4091f] by '''qaisjp''')
* Potential fix for vehicle dummies crash ([https://github.com/multitheftauto/mtasa-blue/pull/1524 #1524] by '''saml1er''')
* Added  projectiles support for [[getElementModel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1550 #1550] by '''StrixG''')
* Fix getBoundKeys returning a table on empty argument ([https://github.com/multitheftauto/mtasa-blue/pull/1615 #1615] by '''Tete''')
* Fix strange behavior (crashes, flickers, glitches) of Skimmer ([https://github.com/multitheftauto/mtasa-blue/pull/1624 #1624] by '''ccw808''')
* Potential fixes for custom map collision crashes ([https://github.com/multitheftauto/mtasa-blue/pull/1613 #1613] by '''saml1er''')
* Remove client entity check from [[setPedArmor]] ([https://github.com/multitheftauto/mtasa-blue/pull/1638 #1638] by '''qaisjp''')


==== Deprecations ====
* Placeholder


==== New Arguments & Parameters ====
=== 3 Vendor Updates ===
* Placeholder
* Update BASS libraries ([https://github.com/multitheftauto/mtasa-blue/pull/1551 #1551] by '''Dutchman101''')
* Update CEF from 76.1.13+gf19c584 (Chromium 76.0.3809.132) to 85.3.12+g3e94ebf ([https://chromereleases.googleblog.com/2020/09/stable-channel-update-for-desktop_21.html Chromium 85.0.4183.121]) (See commit [https://github.com/multitheftauto/mtasa-blue/pull/1698 #1698] by '''Jusonex''' and '''Dutchman101''')
* Update UnRAR from 5.71 to 5.91 ([https://github.com/multitheftauto/mtasa-blue/pull/1606 #1606] by '''patrikjuvonen''')
</section>


==== Bug Fixes & Changes ====
* Placeholder
-->
</section>


=== Server ===
== Server ==
<section show="true">
<section show="true">
==== 2 New Functions ====
=== 3 New Functions ===
* Add [[setPlayerScriptDebugLevel]] and [[getPlayerScriptDebugLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/826 #826] by '''knitz12''')
* Added [[setPlayerScriptDebugLevel]] and [[getPlayerScriptDebugLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/826 #826] by '''knitz12''')
* Added [[isResourceProtected]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1254 #1254] by '''StrixG''')
 


<!--
=== 10 Bug Fixes & Changes ===
==== New Events ====
* Fix [[iprint]] to be able to read and output nil arguments properly ([https://github.com/multitheftauto/mtasa-blue/pull/1064 #1064] by '''TheNormalnij''')
* Placeholder
* Accept team & table of players in [[outputChatBox]] ([https://github.com/multitheftauto/mtasa-blue/pull/1213 #1213] by '''StrixG''')
* Fix /msg command duplicating when sent by Server Console ([https://github.com/multitheftauto/mtasa-blue/pull/1411 #1411] by '''Dezash''')
* Make colshapes cloneable ([https://github.com/multitheftauto/mtasa-blue/pull/1214 #1214] by '''StrixG''')
* Fix double chat messages if player is in team ([https://github.com/multitheftauto/mtasa-blue/pull/1241 #1241] by '''StrixG''' and '''Luxy.c''')
* Don't queue a resource restart if resource is stopping ([https://github.com/multitheftauto/mtasa-blue/pull/960 #960] by '''StrixG''')
* Added support for more map attributes ([https://github.com/multitheftauto/mtasa-blue/pull/263 #263] by '''patrikjuvonen''')
* Fix server-client inconsistency for isElementAttached failure return ([https://github.com/multitheftauto/mtasa-blue/commit/866506d3f6ebe4a0d4d39664cc4e7d7c0cef1a7c 866506d] by '''qaisjp''')
* Make [[kickPlayer]] accept the Console element as responsiblePlayer ([https://github.com/multitheftauto/mtasa-blue/pull/1427 #1427] by '''qaisjp''')
* Fix stack overflow when attaching elements in maps ([https://github.com/multitheftauto/mtasa-blue/pull/1663 #1663] by '''tederis''')


==== Deprecations ====
* Placeholder


==== New Arguments & Parameters ====
=== 1 Vendor Update ===
* Placeholder
* Update sqlite from 3.31.1 to 3.32.3 ([https://github.com/multitheftauto/mtasa-blue/pull/1561 #1561] by '''patrikjuvonen''')
-->
==== Bug Fixes & Changes ====
<!--
* Fix [[callRemote]] to return 0 errno instead of nil upon success ([https://github.com/multitheftauto/mtasa-blue/pull/295 #295] by '''patrikjuvonen''')
-->
* Fix [[iprint]] to be able to read and output nil arguments properly ([https://github.com/multitheftauto/mtasa-blue/pull/1064 #1064] by '''TheNormalnij''')
</section>
</section>


=== Shared (''Client & Server side'') ===
 
== Shared (''Client & Server side'') ==
<section show="true">
<section show="true">
==== New Functions ====
=== 17 New Functions ===
* Add [[xmlLoadString]] ([https://github.com/multitheftauto/mtasa-blue/pull/809 #809] by '''LopSided''')
* Added [[xmlLoadString]] ([https://github.com/multitheftauto/mtasa-blue/pull/809 #809] by '''Lpsd''')
<!--
* Added request info & abort functions for [[fetchRemote]]/[[callRemote]] ([https://github.com/multitheftauto/mtasa-blue/pull/660 #660] by '''Luxy.c''')
==== New Events ====
** [[getRemoteRequests]]
* Placeholder
** [[getRemoteRequestInfo]]
** [[abortRemoteRequest]]
* Added functions to manipulate colshapes parameters ([https://github.com/multitheftauto/mtasa-blue/pull/1215 #1215] by '''StrixG''')
** [[getColShapeRadius]]
** [[setColShapeRadius]]
** [[getColShapeSize]]
** [[setColShapeSize]]
** [[getColPolygonPoints]]
** [[getColPolygonPointPosition]]
** [[setColPolygonPointPosition]]
** [[addColPolygonPoint]]
** [[removeColPolygonPoint]]
* Added [[hasElementData]] function ([https://github.com/multitheftauto/mtasa-blue/pull/1163 #1163] by '''Simi2''')
* Added element data subscription functionality ([https://github.com/multitheftauto/mtasa-blue/pull/1055 #1055] by '''tederis''') - includes 3 new functions:
** [[addElementDataSubscriber]]
** [[removeElementDataSubscriber]]
** [[hasElementDataSubscriber]]
** Adds 1 additional parameter to [[setElementData]]


==== Deprecations ====
* Placeholder


==== New Arguments & Parameters ====
=== 1 Deprecation ===
* Placeholder
* Added deprecation message to [[passwordHash]] when using custom salts ([https://github.com/multitheftauto/mtasa-blue/pull/1208 #1208] by '''Luxy.c''')


==== Bug Fixes & Changes ====
* Placeholder
-->
</section>


== Client ==
=== 9 Bug Fixes & Changes ===
<section show="true">
* Added async [[encodeString]]/[[decodeString]] ([https://github.com/multitheftauto/mtasa-blue/pull/1226 #1226] by '''StrixG''')
=== 6 Bug Fixes & Changes ===
* Fix colshape and marker hit detection when attaching ([https://github.com/multitheftauto/mtasa-blue/pull/1327 #1327] by '''Lpsd''')
* Add new client setting to toggle external sounds ([https://github.com/multitheftauto/mtasa-blue/pull/834 #834] by '''patrikjuvonen''')
* Fix driveby aiming being inverted in some cases ([https://github.com/multitheftauto/mtasa-blue/pull/1442 #1442] by '''Zangomangu''')
* Fix crash when attempting to stream out a sound that's not streamed in (See commit [https://github.com/multitheftauto/mtasa-blue/commit/e1b7c730448d12a5eeb452239e8053e86924294f e1b7c73] by '''sbx320''')
* Added bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel parameters to [[setWaterLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1342 #1342] by '''TheNormalnij''')
* Fix [[dxDrawCircle]] ''segments'' argument being wrongly offset by one ([https://github.com/multitheftauto/mtasa-blue/pull/1079 #1079] by '''ApeLsiN4eG''')
* Added [[outputDebugString]] level 4 to omit certain debug info ([https://github.com/multitheftauto/mtasa-blue/pull/1167 #1167] by '''Addlibs''')
* Fix potential crash when moving objects (See commit [https://github.com/multitheftauto/mtasa-blue/commit/90895c221549893501f5f717af3ca56878e29b5d 90895c2] by '''botder''')
* Fix incorrect hash capitalisation ([https://github.com/multitheftauto/mtasa-blue/pull/1527 #1527] by '''qaisjp''')
* Update credits (See commit [https://github.com/multitheftauto/mtasa-blue/commit/39227d795efafe940dc6c317c20b0162b1bd0bb3 39227d7] by '''qaisjp''')
* Fix debugscript setting to 0 when using invalid characters ([https://github.com/multitheftauto/mtasa-blue/pull/1602 #1602] by '''Unde-R''')
* Don't apply damage to peds without a game entity (See commit [https://github.com/multitheftauto/mtasa-blue/commit/632130e36a96071290593fc3c677a536f7b19e1f 632130e] by '''botder''')
* Fix privilege escalation ([https://github.com/multitheftauto/mtasa-blue/pull/1627 #1627] by '''ciber96''')
* Fix doors state with setElementModel ([https://github.com/multitheftauto/mtasa-blue/pull/599 #599] by '''FileEX''')
* Increase Lua integer formatting type from long to long long ([https://github.com/multitheftauto/mtasa-blue/pull/1672 #1672] by '''sbx320''')
 
=== 2 Vendor Updates ===
* Update BASS libraries (See commit [https://github.com/multitheftauto/mtasa-blue/commit/e5ede83b936e0e3c59d3670969e72b9583c0a219 e5ede83] by '''Dutchman101''')
* Update CEF from 76.1.13+gf19c584 (Chromium 76.0.3809.132) to 77.1.12+gc63c001 ([https://chromereleases.googleblog.com/2019/09/stable-channel-update-for-desktop_18.html Chromium 77.0.3865.90]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/28ba1da86b604ecfe36af957995cbda2d771a9b8 28ba1da] by '''Jusonex''')
</section>


<!--
== Server ==
<section show="false">
=== Bug Fixes & Changes ===
* Placeholder


=== Vendor Updates ===
=== 3 Vendor Updates ===
* Placeholder
* Update curl from 7.68.0 to 7.72.0 ([https://github.com/multitheftauto/mtasa-blue/pull/1562 #1562] by '''patrikjuvonen''')
* Update cryptopp from 8.1.0 to 8.2.0 ([https://github.com/multitheftauto/mtasa-blue/pull/1637 #1637] by '''StrixG''')
* Update json-c from 0.13.1 to 0.15 ([https://github.com/multitheftauto/mtasa-blue/pull/1605 #1605] by '''patrikjuvonen''')
</section>
</section>


== Shared ==
<section show="false">
=== Bug Fixes & Changes ===
* Placeholder


=== Vendor Updates ===
<section show="true">
* Placeholder
</section>
 
== Resources ==
<section show="false">
* Placeholder
</section>
-->
== Extra information ==
== Extra information ==
''More detailed information available on our GitHub repositories:
''More detailed information available on our GitHub repositories:
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]
</section>


[[Category:Changelog]]
[[Category:Changelog]]
[[Category:Incomplete]]

Latest revision as of 14:50, 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.01.3.11.3.21.3.31.3.41.3.5
1.4 1.4.01.4.1
1.5 1.5.01.5.11.5.21.5.31.5.41.5.51.5.61.5.71.5.81.5.9
1.6 1.6.01.6.1

1.5.8 was released on October 11, 2020.


Main Additions / Changes

Click to collapse [-]


Statistics

Click to collapse [-]

These are some statistics since the previous release.

  • This is the 25th 1.x.x release
  • 407 days
  • 1 deprecation
  • 5 announced backwards incompatible changes
  • 41 new functions
  • 68+ bug fixes and changes
  • 465 commits (see comparison)
  • 197 new open GitHub issues (see list)
  • 102 resolved GitHub issues (see list)
  • 108 closed GitHub issues (see list)
  • 46 new open GitHub pull requests (see list)
  • 194 merged GitHub pull requests (see list)
  • 36 closed GitHub pull requests (see list)
  • 39 contributors of which 27 are new (see list)
  • 98+ total contributors (see list)
  • 4 vendor updates

Note: Last update to these statistics was made 1,263 days ago.


Scripting

Click to collapse [-]

5 Backwards Incompatible Changes

These changes will take effect in 1.6:

  • callRemote callbacks currently set the error code to nil when there is no error. In 1.6, 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 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 inconclusive and we may introduce more changes later.


Client

Click to collapse [-]

21 New Functions

49 Bug Fixes & Changes

  • Added new client setting to toggle external sounds (#834 by patrikjuvonen)
  • Fix crash when attempting to stream out a sound that's not streamed in (See commit e1b7c73 by sbx320)
  • Fix dxDrawCircle segments argument being wrongly offset by one (#1079 by ApeLsiN4eG)
  • Fix potential crash when moving objects (See commit 90895c2 by botder)
  • Update credits (See commit 39227d7 by qaisjp)
  • Don't apply damage to peds without a game entity (See commit 632130e by botder)
  • Fix doors state with setElementModel (#599 by FileEX)
  • Added CVAR _beta_qc_rightclick_command allowing you to reconnect by right clicking the "Quick Connect" button on the main menu (See commit d1c60675 by qaisjp)
  • Added more data to getPedAnimation (#892 by Dezash)
  • Added missing destroy method to DxFont (#1259 by MegadreamsBE)
  • Increase setPedAnimationSpeed limit (See commit 4c36d37 by qaisjp)
  • Fix "ancient" weapon fire crash (#1109 by saml1er)
  • Fix bitExtract (See commit aa2df39d by ccw808)
  • Fix texture blending (#1098 by StrixG)
  • Added client setting to toggle internet sound streams (#834 by patrikjuvonen)
  • Implement "remember this option" checkbox to NVidia Optimus dialog (#1177 by Lpsd)
  • Fix inability to crouch when player has 1 HP (#1138 by CrosRoad95)
  • Improve trailer sync (#1247 by tederis)
  • Fix driveby for peds (#1290 by Zangomangu)
  • Added "SettingHighDetailPeds" to dxGetStatus (#1384 by Patrick2562)
  • Added feature to remove server from the "Recent" tab in server browser (#1381 by ecastro98)
  • Fix warpPedIntoVehicle failure when there are too many vehicles streamed in (#1431 by saml1er)
  • Fix issue with engineReplaceModel kicking the player out of the vehicle (#1433 by saml1er)
  • Moved exe patching to loader (#1520 by ccw808)
  • Fix various return values when using OOP (e.g: 5110559b, 88379b8d by qaisjp)
  • Fixed incorrect VRAM detection (#1589 by TheNormalnij)
  • Added ability to play sounds from raw data to playSound(3D) (#1234 by Dezash)
  • Allow downloading of files from other resources (#945 by TheNormalnij) - this affects:
  • Added ability to get raw controller analog value (#1165 by Addlibs)
  • Added user agent workaround for YouTube TV (#1243 by qaisjp)
  • Added missing destroy method to DxFont (#1259 by MegadreamsBE)
  • Fix engineReplaceModel memory leak (#1265 by saml1er)
  • Fix vehicle model memory leaks (See commit 46dbbe7 by saml1er)
  • Fix texture memory leak (See commit d5722d5 by saml1er)
  • Enable enter_exit for peds to fix alternative attack (#1295 by Zangomangu)
  • Fix "Select device" hides under other program without MTA icon on a taskbar (See commit 2c5251a by ccw808)
  • Fix primitive colors are always white (#1312 by StrixG)
  • Added analog control sync for accelerate and brake_reverse (#1164 by Addlibs)
  • Fix resetting dummies in vehicles with replaced models (#1059 by forkerer and saml1er)
  • Return vector3 instead of number at ped's target (#1379 by ecastro98)
  • Fix replaced weapon_crouch anim does not play if retainPedState is true (#1414 by saml1er)
  • Fix nametags are interiorless (3df58bd by qaisjp)
  • Remove amx from the installer (See commit 7d4091f by qaisjp)
  • Potential fix for vehicle dummies crash (#1524 by saml1er)
  • Added projectiles support for getElementModel (#1550 by StrixG)
  • Fix getBoundKeys returning a table on empty argument (#1615 by Tete)
  • Fix strange behavior (crashes, flickers, glitches) of Skimmer (#1624 by ccw808)
  • Potential fixes for custom map collision crashes (#1613 by saml1er)
  • Remove client entity check from setPedArmor (#1638 by qaisjp)


3 Vendor Updates

  • Update BASS libraries (#1551 by Dutchman101)
  • Update CEF from 76.1.13+gf19c584 (Chromium 76.0.3809.132) to 85.3.12+g3e94ebf (Chromium 85.0.4183.121) (See commit #1698 by Jusonex and Dutchman101)
  • Update UnRAR from 5.71 to 5.91 (#1606 by patrikjuvonen)


Server

Click to collapse [-]

3 New Functions


10 Bug Fixes & Changes

  • Fix iprint to be able to read and output nil arguments properly (#1064 by TheNormalnij)
  • Accept team & table of players in outputChatBox (#1213 by StrixG)
  • Fix /msg command duplicating when sent by Server Console (#1411 by Dezash)
  • Make colshapes cloneable (#1214 by StrixG)
  • Fix double chat messages if player is in team (#1241 by StrixG and Luxy.c)
  • Don't queue a resource restart if resource is stopping (#960 by StrixG)
  • Added support for more map attributes (#263 by patrikjuvonen)
  • Fix server-client inconsistency for isElementAttached failure return (866506d by qaisjp)
  • Make kickPlayer accept the Console element as responsiblePlayer (#1427 by qaisjp)
  • Fix stack overflow when attaching elements in maps (#1663 by tederis)


1 Vendor Update

  • Update sqlite from 3.31.1 to 3.32.3 (#1561 by patrikjuvonen)


Shared (Client & Server side)

Click to collapse [-]

17 New Functions


1 Deprecation


9 Bug Fixes & Changes

  • Added async encodeString/decodeString (#1226 by StrixG)
  • Fix colshape and marker hit detection when attaching (#1327 by Lpsd)
  • Fix driveby aiming being inverted in some cases (#1442 by Zangomangu)
  • Added bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel parameters to setWaterLevel (#1342 by TheNormalnij)
  • Added outputDebugString level 4 to omit certain debug info (#1167 by Addlibs)
  • Fix incorrect hash capitalisation (#1527 by qaisjp)
  • Fix debugscript setting to 0 when using invalid characters (#1602 by Unde-R)
  • Fix privilege escalation (#1627 by ciber96)
  • Increase Lua integer formatting type from long to long long (#1672 by sbx320)


3 Vendor Updates

  • Update curl from 7.68.0 to 7.72.0 (#1562 by patrikjuvonen)
  • Update cryptopp from 8.1.0 to 8.2.0 (#1637 by StrixG)
  • Update json-c from 0.13.1 to 0.15 (#1605 by patrikjuvonen)


Click to collapse [-]

Extra information

More detailed information available on our GitHub repositories: