Changes in 1.5.9: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:




'''This changelog is partial and needs updating. So far documented: https://github.com/multitheftauto/mtasa-blue/compare/7742f34...master'''
'''This changelog is partial and needs updating. So far documented: https://github.com/multitheftauto/mtasa-blue/compare/215911d...master'''




Line 21: Line 21:
* '''10<sup>th</sup>''' year anniversary update
* '''10<sup>th</sup>''' year anniversary update
* '''{{date difference|2020|10|11}}''' days
* '''{{date difference|2020|10|11}}''' days
* '''13''' new functions
* '''16''' new functions
* '''3''' new events
* '''3''' new events
* '''0''' deprecations
* '''0''' deprecations
* '''14''' bug fixes and changes
* '''24''' bug fixes and changes
* '''262''' commits ([https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master see comparison])
* '''262''' commits ([https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master see comparison])
* '''166''' new open GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+created%3A%3E%3D2020-10-11 see list])
* '''166''' new open GitHub issues ([https://github.com/multitheftauto/mtasa-blue/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+created%3A%3E%3D2020-10-11 see list])
Line 62: Line 62:
=== Client ===
=== Client ===
<section show="true">
<section show="true">
==== 13 New Functions ====
==== 16 New Functions ====
* Add [[setSoundLooped]] and [[isSoundLooped]] ([https://github.com/multitheftauto/mtasa-blue/pull/657 #657] by '''FileEX''')
* Add [[setSoundLooped]] and [[isSoundLooped]] ([https://github.com/multitheftauto/mtasa-blue/pull/657 #657] by '''FileEX''')
* Add [[setVehicleVariant]] ([https://github.com/multitheftauto/mtasa-blue/pull/1599 #1599] by '''StrixG''')
* Add [[setVehicleVariant]] ([https://github.com/multitheftauto/mtasa-blue/pull/1599 #1599] by '''StrixG''')
Line 68: Line 68:
* Add [[setElementBonePosition]], [[setElementBoneRotation]], [[getElementBonePosition]], [[getElementBoneRotation]], [[setElementBoneMatrix]], [[getElementBoneMatrix]], [[updateElementRpHAnim]] ([https://github.com/multitheftauto/mtasa-blue/pull/1673 #1673] by '''Saml1er''')
* Add [[setElementBonePosition]], [[setElementBoneRotation]], [[getElementBonePosition]], [[getElementBoneRotation]], [[setElementBoneMatrix]], [[getElementBoneMatrix]], [[updateElementRpHAnim]] ([https://github.com/multitheftauto/mtasa-blue/pull/1673 #1673] by '''Saml1er''')
* Add [[setColorFilter]] and [[resetColorFilter]] ([https://github.com/multitheftauto/mtasa-blue/pull/1611 #1611] by '''tederis''')
* Add [[setColorFilter]] and [[resetColorFilter]] ([https://github.com/multitheftauto/mtasa-blue/pull/1611 #1611] by '''tederis''')
* Add [[getVehicleWheelFrictionState]] ([https://github.com/multitheftauto/mtasa-blue/pull/1839 #1839] by '''drop-club''')
* Add [[setPedEnterVehicle]] and [[setPedExitVehicle]] ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''')


==== 2 New Events ====
==== 4 New Events ====
* Add [[onClientPedsProcessed]] ([https://github.com/multitheftauto/mtasa-blue/pull/1673 #1673] by '''Saml1er''')
* Add [[onClientPedsProcessed]] ([https://github.com/multitheftauto/mtasa-blue/pull/1673 #1673] by '''Saml1er''')
* Add [[onClientElementDimensionChange]] ([https://github.com/multitheftauto/mtasa-blue/pull/1553 #1553] by '''StrixG''')
* Add [[onClientElementDimensionChange]] ([https://github.com/multitheftauto/mtasa-blue/pull/1553 #1553] by '''StrixG''')
* Add [[onClientPedVehicleEnter]] and [[onClientPedVehicleExit]] ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''')
<!--
<!--
==== Deprecations ====
==== Deprecations ====
Line 79: Line 82:
* Add ''macros'' argument to [[dxCreateShader]] ([https://github.com/multitheftauto/mtasa-blue/pull/1573 #1573] by '''tederis''')
* Add ''macros'' argument to [[dxCreateShader]] ([https://github.com/multitheftauto/mtasa-blue/pull/1573 #1573] by '''tederis''')


==== 8 Bug Fixes & Changes ====
==== 14 Bug Fixes & Changes ====
* Change [[getRoofPosition]] fail from warning to error ([https://github.com/multitheftauto/mtasa-blue/pull/1729 #1729] by '''Woovie''')
* Change [[getRoofPosition]] fail from warning to error ([https://github.com/multitheftauto/mtasa-blue/pull/1729 #1729] by '''Woovie''')
* Fix crash when deleting a chatbox bind too early ([https://github.com/multitheftauto/mtasa-blue/commit/be577116f191526111e06487c8322c7799e03564 be57711] by '''sbx320''')
* Fix crash when deleting a chatbox bind too early ([https://github.com/multitheftauto/mtasa-blue/commit/be577116f191526111e06487c8322c7799e03564 be57711] by '''sbx320''')
Line 87: Line 90:
* Allow allocating new object models using [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1684 #1684] by '''TheNormalnij''')
* Allow allocating new object models using [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1684 #1684] by '''TheNormalnij''')
* Allow allocating new vehicles models using [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1701 #1701] by '''TheNormalnij''')
* Allow allocating new vehicles models using [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1701 #1701] by '''TheNormalnij''')
* Return Lua table matrix in [[getElementBoneMatrix]] ([https://github.com/multitheftauto/mtasa-blue/pull/1806 #1806] by '''Pirulax''')
* Events [[onClientVehicleStartEnter]], [[onClientVehicleEnter]], [[onClientVehicleStartExit]] and [[onClientVehicleExit]] now return [[ped|peds]] as well  ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''')
* Fix hectic bike rotation by filling CBikeSAInterface class ([https://github.com/multitheftauto/mtasa-blue/pull/1884 #1884] by '''TheNormalnij''')


==== Vendor Updates ====
==== Vendor Updates ====
Line 98: Line 104:
* Placeholder
* Placeholder
-->
-->
==== New Events ====
==== 3 New Events ====
* Add [[onElementDimensionChange]] ([https://github.com/multitheftauto/mtasa-blue/pull/1553 #1553] by '''StrixG''')
* Add [[onElementDimensionChange]] ([https://github.com/multitheftauto/mtasa-blue/pull/1553 #1553] by '''StrixG''')
* Add [[onPedVehicleEnter]] and [[onPedVehicleExit]] ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''')
<!--
<!--
==== Deprecations ====
==== Deprecations ====
Line 107: Line 114:
* Placeholder
* Placeholder
-->
-->
==== 3 Bug Fixes & Changes ====
==== 7 Bug Fixes & Changes ====
* Wrong SQLite column in getAccountsByIP ([https://github.com/multitheftauto/mtasa-blue/pull/1734 #1734] by '''emre1702''')
* Wrong SQLite column in getAccountsByIP ([https://github.com/multitheftauto/mtasa-blue/pull/1734 #1734] by '''emre1702''')
* Improve ''help'' command in server console ([https://github.com/multitheftauto/mtasa-blue/pull/1639 #1639] by '''Unde-R''')
* Improve ''help'' command in server console ([https://github.com/multitheftauto/mtasa-blue/pull/1639 #1639] by '''Unde-R''')
* Improve checksum error messages for internal HTTP servers ([https://github.com/multitheftauto/mtasa-blue/pull/1778 #1778] by '''qaisjp''')
* Improve checksum error messages for internal HTTP servers ([https://github.com/multitheftauto/mtasa-blue/pull/1778 #1778] by '''qaisjp''')
* Events [[onVehicleStartEnter]], [[onVehicleEnter]], [[onVehicleStartExit]] and [[onVehicleExit]] now return [[ped|peds]] as well  ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''')
<!--
<!--
==== Vendor Updates ====
==== Vendor Updates ====

Revision as of 11:53, 24 August 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


This changelog is partial and needs updating. So far documented: https://github.com/multitheftauto/mtasa-blue/compare/215911d...master


Main Additions / Changes

Click to collapse [-]


Statistics

Click to expand [+]


Changelog

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 [-]

16 New Functions

4 New Events

New Arguments & Parameters

14 Bug Fixes & Changes

Vendor Updates

  • Updated and replaced CEGUI-integrated FreeType by adding it as its own dependency (def86d0 and 2b70f96 by Jusonex)

Server

Click to collapse [-]

3 New Events

7 Bug Fixes & Changes

Shared (Client & Server side)

Click to collapse [-]

2 New Arguments & Parameters

  • Add bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel to setWaterLevel (#1402 by TheNormalnij)

Extra information

More detailed information available on our GitHub repositories: