Changes in 1.5.9: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master | * GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master | ||
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/7 | * GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/7 | ||
'''This changelog is partial and needs updating. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master''' | '''This changelog is partial and needs updating. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master''' | ||
== Main Additions / Changes == | == Main Additions / Changes == | ||
<section show="true"> | <section show="true"> | ||
* | * Added [[setSoundLooped]] and [[isSoundLooped]] ([https://github.com/multitheftauto/mtasa-blue/pull/657 #657] by '''FileEX''') | ||
</section> | </section> | ||
== Statistics == | == Statistics == | ||
Line 30: | Line 33: | ||
* '''37''' 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]) | * '''37''' 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]) | ||
* '''93+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list]) | * '''93+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list]) | ||
* ''' | * '''5''' vendor updates | ||
<sub>'''Note:''' Last update to these statistics was made {{date difference human friendly|2021|09|08}}.</sub> | <sub>'''Note:''' Last update to these statistics was made {{date difference human friendly|2021|09|08}}.</sub> | ||
</section> | </section> | ||
== Scripting == | == Scripting == | ||
<section show="true"> | <section show="true"> | ||
=== 5 Backwards Incompatible Changes === | === 5 Backwards Incompatible Changes === | ||
These changes will take effect in 1.6: | 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, to be consistent with [[fetchRemote]], the error code reported will be '''0'''. See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub #294]. | * [[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 [https://github.com/multitheftauto/mtasa-blue/issues/294 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 [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub #1043]. | * 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 [https://github.com/multitheftauto/mtasa-blue/issues/1043 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 [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub #1069]. | * 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]. | ||
* 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]. | * 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]. | ||
Line 48: | Line 52: | ||
</section> | </section> | ||
== Client == | |||
<section show="true"> | <section show="true"> | ||
=== Undocumented changes === | |||
Waiting to be added to the changelog with proper description. | Waiting to be added to the changelog with proper description. | ||
* ([https://github.com/multitheftauto/mtasa-blue/commit/c661810a4d9c329b1769b3ee27aa8021aa658b54 c661810] by '''Saml1er''') | * ([https://github.com/multitheftauto/mtasa-blue/commit/c661810a4d9c329b1769b3ee27aa8021aa658b54 c661810] by '''Saml1er''') | ||
=== | === 18 New Functions === | ||
* | * Added [[setVehicleVariant]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/1599 #1599] by '''StrixG''') | ||
* | * Added [[setPedBleeding]] and [[isPedBleeding]] ([https://github.com/multitheftauto/mtasa-blue/pull/2308 #2308] by '''StrixG''') | ||
* | * Added [[setPedEnterVehicle]] and [[setPedExitVehicle]] ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''') | ||
* Added [[setSoundLooped]] and [[isSoundLooped]] ([https://github.com/multitheftauto/mtasa-blue/pull/657 #657] by '''FileEX''') | |||
* Added [[getVehicleWheelFrictionState]] ([https://github.com/multitheftauto/mtasa-blue/pull/1839 #1839] by '''drop-club''') | |||
* | * Added [[engineRestreamWorld]] ([https://github.com/multitheftauto/mtasa-blue/pull/1735 #1735] by '''TheNormalnij''') | ||
- | |||
* | |||
==== | * Added functions to modify element bones behaviour ([https://github.com/multitheftauto/mtasa-blue/pull/1673 #1673] by '''Saml1er''') | ||
* | ** [[setElementBonePosition]] | ||
* | ** [[setElementBoneRotation]] | ||
* | ** [[getElementBonePosition]] | ||
* | ** [[getElementBoneRotation]] | ||
* | ** [[setElementBoneMatrix]] | ||
** [[getElementBoneMatrix]] | |||
** [[updateElementRpHAnim]] | |||
* Added [[setColorFilter]] and [[resetColorFilter]] ([https://github.com/multitheftauto/mtasa-blue/pull/1611 #1611] by '''tederis''') | |||
=== 4 New Events === | |||
* Added [[onClientPedsProcessed]] ([https://github.com/multitheftauto/mtasa-blue/pull/1673 #1673] by '''Saml1er''') | |||
* Added [[onClientElementDimensionChange]] ([https://github.com/multitheftauto/mtasa-blue/pull/1553 #1553] by '''StrixG''') | |||
* Added [[onClientPedVehicleEnter]] and [[onClientPedVehicleExit]] ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''') | |||
=== 2 New Arguments & Parameters === | |||
* Added ''macros'' argument to [[dxCreateShader]] ([https://github.com/multitheftauto/mtasa-blue/pull/1573 #1573] by '''tederis''') | |||
* Added ''override'' argument to [[setAnalogControlState]] ([https://github.com/multitheftauto/mtasa-blue/pull/1852 #1852] by '''LosFaul''') | |||
=== 23 Bug Fixes & Changes === | |||
* Changed [[getRoofPosition]] fail from warning to error ([https://github.com/multitheftauto/mtasa-blue/pull/1729 #1729] by '''Woovie''') | |||
* 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''') | |||
* Included skins added through [[engineRequestModel]] in [[getValidPedModels]] ([https://github.com/multitheftauto/mtasa-blue/pull/1437 #1437] by '''Pirulax''') | |||
* Fixed [[engineSetModelVisibleTime]] and [[engineGetModelVisibleTime]] not working ([https://github.com/multitheftauto/mtasa-blue/pull/1766 #1766] by ''' TheNormalnij''') | |||
* 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''') | ||
* Events [[onClientVehicleStartEnter]], [[onClientVehicleEnter]], [[onClientVehicleStartExit]] and [[onClientVehicleExit]] now return [[ped|peds]] as well ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''') | * Events [[onClientVehicleStartEnter]], [[onClientVehicleEnter]], [[onClientVehicleStartExit]] and [[onClientVehicleExit]] now return [[ped|peds]] as well ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''') | ||
* | * Fixed hectic bike rotation by filling CBikeSAInterface class ([https://github.com/multitheftauto/mtasa-blue/pull/1884 #1884] by '''TheNormalnij''') | ||
* | * Fixed [[setSoundPanningEnabled|Sound.setPanningEnabled]] OOP-method not working due to typo in definition ([https://github.com/multitheftauto/mtasa-blue/pull/1923 #1923] by '''StrixG''') | ||
* | * Fixed ped task bug when special fighting near to a vehicle causing abnormal behavior ([https://github.com/multitheftauto/mtasa-blue/pull/1943 #1943] by '''Zangomangu''') | ||
* | * Fixed [[getKeyState]] not working with gamepad buttons ([https://github.com/multitheftauto/mtasa-blue/pull/1944 #1944] by '''botder''') | ||
* Disable gamepad controls if disabled by [[showCursor]] ([https://github.com/multitheftauto/mtasa-blue/commit/c4b9a844c3dc8f8fd16776370dcdac12f189d32f c4b9a84] by '''botder''') | * Disable gamepad controls if disabled by [[showCursor]] ([https://github.com/multitheftauto/mtasa-blue/commit/c4b9a844c3dc8f8fd16776370dcdac12f189d32f c4b9a84] by '''botder''') | ||
* Added a UI button to delete servers from the "Recent" tab ([https://github.com/multitheftauto/mtasa-blue/pull/2253 #2253] by '''iDannz1''' and '''patrikjuvonen''') | |||
* Set CEF cache path ([https://github.com/multitheftauto/mtasa-blue/commit/adff688e77c16d0c5a63e047b60da97529f2b111 adff688] by '''patrikjuvonen''') | |||
* Updated some images ([https://github.com/multitheftauto/mtasa-blue/commit/f00c1a38934b28eff8201708dd4b956272d27f13 f00c1a3] by '''patrikjuvonen''') | |||
* Fixed typo in CLuaDatabaseDefs::DbFreeCallback ([https://github.com/multitheftauto/mtasa-blue/pull/2314 #2314] by '''theSarrum''') | |||
* Check clothes type parameter in several cases ([https://github.com/multitheftauto/mtasa-blue/commit/ce9d3deab8ec7905264b3492bf11d3565ee5c149 ce9d3de] by '''Inder00''' and '''botder''') | |||
* Fixed empty files returning an invalid checksum ([https://github.com/multitheftauto/mtasa-blue/commit/966de4e209b4ce6b3e4e6a7ea0f53650038a049c 966de4e] by '''botder''') | |||
=== | |||
=== 3 Vendor Updates === | |||
* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/pull/2291 #2291] by '''Dutchman101''') | |||
* Updated CEF from 85.3.12+g3e94ebf (Chromium 85.0.4183.121) to 92.0.27+g274abcf ([https://chromereleases.googleblog.com/2021/08/stable-channel-update-for-desktop.html Chromium 92.0.4515.159]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/71d4165dafb4e930fabb91e54fbff336c683326d 71d4165] by '''patrikjuvonen''') | |||
* 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''') | ||
</section> | </section> | ||
== Server == | |||
<section show="true"> | <section show="true"> | ||
=== 3 New Events === | |||
* Added [[onElementDimensionChange]] ([https://github.com/multitheftauto/mtasa-blue/pull/1553 #1553] by '''StrixG''') | |||
* Added [[onPedVehicleEnter]] and [[onPedVehicleExit]] ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''') | |||
* | |||
* | |||
=== 7 Bug Fixes & Changes === | |||
* Fixed wrong SQLite column in [[getAccountsByIP]] ([https://github.com/multitheftauto/mtasa-blue/pull/1734 #1734] by '''emre1702''') | |||
* Improved ''help'' command in server console ([https://github.com/multitheftauto/mtasa-blue/pull/1639 #1639] by '''Unde-R''') | |||
* | * Improved 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''') | * Events [[onVehicleStartEnter]], [[onVehicleEnter]], [[onVehicleStartExit]] and [[onVehicleExit]] now return [[ped|peds]] as well ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''') | ||
=== | |||
* | === 1 Vendor Update === | ||
* Updated sqlite from 3.32.3 to 3.36.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2284 #2284] by '''patrikjuvonen''') | |||
</section> | </section> | ||
== Shared (''Client & Server'') == | |||
<section show="true"> | <section show="true"> | ||
=== 2 New Arguments & Parameters === | |||
* Added ''bIncludeWorldSeaLevel'' and ''bIncludeOutsideWorldLevel'' to [[setWaterLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1402 #1402] by '''TheNormalnij''') | |||
* | |||
=== | === 1 Bug Fixes & Changes === | ||
* | * Fixed vehicle driver desynchronization after carjacker dies ([https://github.com/multitheftauto/mtasa-blue/pull/1907 #1907] by '''Zangomangu''') | ||
</section> | |||
=== | |||
* | |||
=== 1 Vendor Update === | |||
* Updated curl from 7.72.0 to 7.78.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2285 #2285] by '''patrikjuvonen''') | |||
== Extra information == | == Extra information == |
Revision as of 12:21, 8 September 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 |
- GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master
- GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/7
This changelog is partial and needs updating. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.8...master
Main Additions / Changes
Click to collapse [-]
- Added setSoundLooped and isSoundLooped (#657 by FileEX)
Statistics
Click to collapse [-]
These are some statistics since the previous release.
- This is the 26th 1.x.x release
- 0 days (planned to be released Oct 1, 2021)
- 16 new functions
- 3 new events
- 0 deprecations
- 30+ bug fixes and changes
- 271 commits (see comparison)
- 180 new open GitHub issues (see list)
- 61 resolved GitHub issues (see list)
- 134 closed GitHub issues (see list)
- 69 new open GitHub pull requests (see list)
- 185 merged GitHub pull requests (see list)
- 53 closed GitHub pull requests (see list)
- 37 contributors of which 11 are new (see list)
- 93+ total contributors (see list)
- 5 vendor updates
Note: Last update to these statistics was made 964 days ago.
Scripting
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 inconclusive and we may introduce more changes later.
Client
Click to collapse [-]
Undocumented changes
Waiting to be added to the changelog with proper description.
- (c661810 by Saml1er)
18 New Functions
- Added setVehicleVariant (previously available server-side only) (#1599 by StrixG)
- Added setPedBleeding and isPedBleeding (#2308 by StrixG)
- Added setPedEnterVehicle and setPedExitVehicle (#1748 by Zangomangu)
- Added setSoundLooped and isSoundLooped (#657 by FileEX)
- Added getVehicleWheelFrictionState (#1839 by drop-club)
- Added engineRestreamWorld (#1735 by TheNormalnij)
- Added functions to modify element bones behaviour (#1673 by Saml1er)
- Added setColorFilter and resetColorFilter (#1611 by tederis)
4 New Events
- Added onClientPedsProcessed (#1673 by Saml1er)
- Added onClientElementDimensionChange (#1553 by StrixG)
- Added onClientPedVehicleEnter and onClientPedVehicleExit (#1748 by Zangomangu)
2 New Arguments & Parameters
- Added macros argument to dxCreateShader (#1573 by tederis)
- Added override argument to setAnalogControlState (#1852 by LosFaul)
23 Bug Fixes & Changes
- Changed getRoofPosition fail from warning to error (#1729 by Woovie)
- 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)
- Fixed engineSetModelVisibleTime and engineGetModelVisibleTime not working (#1766 by TheNormalnij)
- Allow allocating new object models using engineRequestModel (#1684 by TheNormalnij)
- Allow allocating new vehicles 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)
- Added a UI button to delete servers from the "Recent" tab (#2253 by iDannz1 and patrikjuvonen)
- Set CEF cache path (adff688 by patrikjuvonen)
- Updated some images (f00c1a3 by patrikjuvonen)
- Fixed typo in CLuaDatabaseDefs::DbFreeCallback (#2314 by theSarrum)
- Check clothes type parameter in several cases (ce9d3de by Inder00 and botder)
- Fixed empty files returning an invalid checksum (966de4e by botder)
3 Vendor Updates
- Updated BASS libraries (#2291 by Dutchman101)
- Updated CEF from 85.3.12+g3e94ebf (Chromium 85.0.4183.121) to 92.0.27+g274abcf (Chromium 92.0.4515.159) (See commit 71d4165 by patrikjuvonen)
- 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
- Added onElementDimensionChange (#1553 by StrixG)
- Added onPedVehicleEnter and onPedVehicleExit (#1748 by Zangomangu)
7 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)
1 Vendor Update
- Updated sqlite from 3.32.3 to 3.36.0 (#2284 by patrikjuvonen)
Click to collapse [-]
2 New Arguments & Parameters
- Added bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel to setWaterLevel (#1402 by TheNormalnij)
1 Bug Fixes & Changes
- Fixed vehicle driver desynchronization after carjacker dies (#1907 by Zangomangu)
1 Vendor Update
- Updated curl from 7.72.0 to 7.78.0 (#2285 by patrikjuvonen)
Extra information
More detailed information available on our GitHub repositories: