Changes in 1.6: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
== 5 Backwards Incompatible Changes ==
== 5 Backwards Incompatible Changes ==
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/294 #294]:</code> [[callRemote]] callbacks currently set the error code to '''nil''' when there is no error. In this version, to be consistent with [[fetchRemote]], the error code reported will be '''0'''.
:* [[callRemote]] callbacks currently set the error code to ''nil'' when there is no error. In this version, to be consistent with [[fetchRemote]], the error code reported will be '''0''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]:</code> Since Aug 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed.
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]:</code> Since Jul 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. This will be now an error. You will still be able to provide strings containing numbers (e.g. '''"100"''' and '''"12.34"'''), this change only affects invalid strings.
:* Since Jul 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. This will be now an error. You will still be able to provide strings containing numbers (e.g. ''"100"'' and ''"12.34"''), this change only affects invalid strings ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]:</code> 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.
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]:</code> When providing a width and height of (0, 0) to [[createBrowser]] or [[guiCreateBrowser]] you will encounter a script error instead of a warning, introduced in Feb 2019.
:* When providing a width and height of ''(0, 0)'' to [[createBrowser]] or [[guiCreateBrowser]] you will encounter a script error instead of a warning, introduced in Feb 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).




== 1 New Features ==
== 1 New Features ==
=== Client ===
=== Client ===
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a]:</code> Added support for WebM files to [[playSound]] and [[playSound3D]] (by '''theSarrum''')
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')




== 21 Changes and Bug Fixes ==
== 24 Changes and Bug Fixes ==
=== Shared ===
=== Shared ===
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2]:</code> Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available (by '''botder''')
:* Fixed calling of [[onClientColShapeLeave]], [[onClientElementColShapeLeave]], [[onColShapeLeave]] and [[onElementColShapeLeave]] even if the element was destroyed ([https://github.com/multitheftauto/mtasa-blue/commit/f6177e43408053bf8d01fd9b55c478d770945340 f6177e4] by '''Inder00''')
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')


=== Client ===
=== Client ===
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/8e94ec19f8f71ceb0b8eb09e9a7bbc7b33b1cd36 8e94ec1] and [https://github.com/multitheftauto/mtasa-blue/pull/2440/commits/85203a6222dfa989b8877defb0abb8a47891a59e 85203a6]:</code> Avoid hierarchy in [[engineRequestModel]] (by '''TheNormalnij''' and '''Lpsd''')
:* Avoid hierarchy in [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/8e94ec19f8f71ceb0b8eb09e9a7bbc7b33b1cd36 8e94ec1] and [https://github.com/multitheftauto/mtasa-blue/pull/2440/commits/85203a6222dfa989b8877defb0abb8a47891a59e 85203a6] by '''TheNormalnij''' and '''Lpsd''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59]:</code> Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in (by '''botder''')
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288]:</code> Fixed broken doors and damage sync for custom vehicles (by '''BCG2000''')
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e]:</code> Fixed mirrored position of ''light_front_second'' vehicle dummy (by '''botder''')
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d]:</code> Fixed camera logic after using [[warpPedIntoVehicle]] (by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f]:</code> Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] (by '''BCG2000''')
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09]:</code> Fixed sync of damaged light states and wheel states (by '''Addlibs''')
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b]:</code> Fixed a small memory leak for [[engineRequestModel]] (by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4]:</code> Updated main menu logo (by '''patrikjuvonen''')
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b]:</code> Updated translations (by '''patrikjuvonen''')
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')
 
=== Server ===
:* Use vector length method instead of manual distance calculation when using [[removeWorldModel]] server-side ([https://github.com/multitheftauto/mtasa-blue/commit/a3c83c8927c709ca1999f2664d791274c3a7b969 a3c83c8] by '''NanoBob''')


=== More Technical Changes and Bug Fixes ===
=== More Technical Changes and Bug Fixes ===
<section show="true">
<section show="true">
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be]:</code> Cleaned up CClientVehicle.cpp file (by '''botder''')
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/d54afd76ed67ba80cfb2fb221229ca01a4f42508 d54afd7]:</code> Fixed a broken client ''.gdf.xml'' file and updated hardcoded MTA versions and URLs (by '''patrikjuvonen''')
:* Fixed a broken client ''.gdf.xml'' file and updated hardcoded MTA versions and URLs ([https://github.com/multitheftauto/mtasa-blue/commit/d54afd76ed67ba80cfb2fb221229ca01a4f42508 d54afd7] by '''patrikjuvonen''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f]:</code> Fixed server launcher icon not working (by '''patrikjuvonen''')
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7]:</code> Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] (by '''botder''')
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3]:</code> Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) (by '''Lpsd''')
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a]:</code> Updated launchers (by '''patrikjuvonen''')
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f]:</code> Updated server launcher icon (by '''patrikjuvonen''')
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')
</section>
</section>


Line 56: Line 61:
== 4 Vendor Updates ==
== 4 Vendor Updates ==
=== Client ===
=== Client ===
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32]:</code> Updated BASS libraries (by '''Dutchman101''')
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/9fa0d00664bd21edd73996c157b6e29717dc86a0 9fa0d00]:</code> Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 96.0.4664.55 (96.0.14+g28ba5c8) (by '''Dutchman101''')
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 96.0.4664.93 (96.0.17+g20e2617) ([https://github.com/multitheftauto/mtasa-blue/commit/bc372ccdc96a392f0dad7a06eb1dc2162594f76c bc372cc] by '''Dutchman101''')
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc]:</code> Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 (by '''patrikjuvonen''')
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')




== Resources ==
== Resources ==
=== 12 Changes and Bug Fixes ===
=== 21 Changes and Bug Fixes ===
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580]:</code> Fixed empty if branches (by '''ArranTuna''')
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470]:</code> Fixed inconsistent indentation (by '''ArranTuna''')
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba]:</code> Fixed lines containing trailing whitespaces (by '''ArranTuna''')
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890]:</code> Fixed lint errors (by '''ArranTuna''')
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db]:</code> Fixed "shadowing definition of loop variable" lint warnings (by '''ArranTuna''')
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695]:</code> Replaced [[getLocalPlayer]] with [[localPlayer]] (by '''ArranTuna''')
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219]:</code> [admin] Fixed "previously defined" warnings (by '''ArranTuna''')
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898]:</code> [editor] Small improvements in editor_main (by '''srslyyyy''')
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/bfad62487c08237f6227546b98878fd05ec08474 bfad624], [https://github.com/multitheftauto/mtasa-resources/commit/3063712ac88d489eecae0263bf6ae086959ff6b5 3063712] and [https://github.com/multitheftauto/mtasa-resources/commit/7955351e58844bdbefa76d8e82102a6c829f4496 7955351]:</code> [editor] Updated gamemodestopper.lua in editor_main (by '''srslyyyy''')
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00]:</code> [gameplay] Fixed a debug warning in freeroam (by '''ArranTuna''')
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b]:</code> [gameplay] Fixed typos in hedit and sfxbrowser (by '''TheNormalnij''')
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e]:</code> [gameplay] Some improvements in deathpickups (by '''srslyyyy''')
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')
:* [editor] Updated gamemodestopper.lua in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/bfad62487c08237f6227546b98878fd05ec08474 bfad624], [https://github.com/multitheftauto/mtasa-resources/commit/3063712ac88d489eecae0263bf6ae086959ff6b5 3063712] and [https://github.com/multitheftauto/mtasa-resources/commit/7955351e58844bdbefa76d8e82102a6c829f4496 7955351] by '''srslyyyy''')
:* [gameplay] Added button to delete handlings in hedit (by '''ricksterhd123''', '''Inder00''' and '''Disinterpreter''')
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')





Revision as of 22:51, 13 December 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. It is updated progressively to keep the page always up to date.


This release is planned to be released Oct 1, 2022.


5 Backwards Incompatible Changes

These changes will take effect in this version and scripts may need to be manually upgraded when updating:

  • callRemote callbacks currently set the error code to nil when there is no error. In this version, to be consistent with fetchRemote, the error code reported will be 0 (#294).
  • Since Aug 2015, we replaced the custom mtalocal:// URL scheme with http://mta/resourceName/blah.html. The mtalocal:// URL scheme will now be removed (#1071).
  • Since Jul 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. This will be now an error. You will still be able to provide strings containing numbers (e.g. "100" and "12.34"), this change only affects invalid strings (#1043).
  • 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 (#1070).
  • When providing a width and height of (0, 0) to createBrowser or guiCreateBrowser you will encounter a script error instead of a warning, introduced in Feb 2019 (#1069).


1 New Features

Client


24 Changes and Bug Fixes

Shared

Client

Server

  • Use vector length method instead of manual distance calculation when using removeWorldModel server-side (a3c83c8 by NanoBob)

More Technical Changes and Bug Fixes

Click to collapse [-]
  • Cleaned up CClientVehicle.cpp file (8b806be by botder)
  • Fixed a broken client .gdf.xml file and updated hardcoded MTA versions and URLs (d54afd7 by patrikjuvonen)
  • Fixed server launcher icon not working (8729c9f by patrikjuvonen)
  • Initialized lastSyncType variable in addElementDataSubscriber (ca3b0b7 by botder)
  • Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) (0dcdac3 by Lpsd)
  • Updated launchers (5b4ce8a by patrikjuvonen)
  • Updated server launcher icon (8729c9f by patrikjuvonen)


4 Vendor Updates

Client

  • Updated BASS libraries (590ba32 by Dutchman101)
  • Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 96.0.4664.93 (96.0.17+g20e2617) (bc372cc by Dutchman101)
  • Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 (deef8dc by patrikjuvonen)


Resources

21 Changes and Bug Fixes

  • Fixed empty if branches (2660580 by ArranTuna)
  • Fixed inconsistent indentation (49d3259 and 2d68470 by ArranTuna)
  • Fixed lines containing trailing whitespaces (555a8ba by ArranTuna)
  • Fixed lint errors (ccf98a1 and 7ee8890 by ArranTuna)
  • Fixed "shadowing definition of loop variable" lint warnings (02233db by ArranTuna)
  • Removed some unused variables (0d424d1 by ArranTuna)
  • Replaced getLocalPlayer with localPlayer across multiple resources (01f7695 by ArranTuna)
  • Replaced getResourceRootElement with resourceRoot across multiple resources (0dee496 by ArranTuna)
  • Replaced getRootElement with root across multiple resources (9582a82 by ArranTuna)
  • [admin] Fixed "previously defined" warnings (4ffc5d0 and 3ed3219 by ArranTuna)
  • [editor] Fixed some debug warnings (5e9f222 by ArranTuna)
  • [editor] Improved some debug outputs (be3477d by ArranTuna)
  • [editor] Small improvements in editor_main (7816898 by srslyyyy)
  • [editor] Updated gamemodestopper.lua in editor_main (bfad624, 3063712 and 7955351 by srslyyyy)
  • [gameplay] Added button to delete handlings in hedit (by ricksterhd123, Inder00 and Disinterpreter)
  • [gameplay] Fixed a debug warning in freeroam (36b4f00 by ArranTuna)
  • [gameplay] Fixed typos in hedit and sfxbrowser (814437b by TheNormalnij)
  • [gameplay] Settings support and code refactor for joinquit (bbd536d by itslewiswatson)
  • [gameplay] Small fixes for defaultstats (b09bd68 by srslyyyy)
  • [gameplay] Small optimization on servers that use a lot of element data in parachute (7b9d047 and d252b9f by Dutchman101)
  • [gameplay] Some improvements in deathpickups (aa9782e by srslyyyy)


Extra information

More detailed information available on our GitHub repositories: