Changes in 1.6: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
(15 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Changelogs}}
{{Changelogs}}
__NOTOC__
__NOTOC__
'''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.
This release is planned to be released Oct 1, 2022.
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master
* Release announcement on forums: TBA
* Release announcement on forums: TBA.




'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''
== 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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #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 ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).
 


== 2 New Features ==
=== Shared ===
:* Added RSA support on [[encodeString]], along with a new function ([https://github.com/multitheftauto/mtasa-blue/commit/e7e3ba5b337f791203ef977bd083a28226614da7 e7e3ba5], [https://github.com/multitheftauto/mtasa-blue/commit/39bc23f136d82a4849a7b09edfa65fc927b52acc 39bc23f] and [https://github.com/multitheftauto/mtasa-blue/commit/83185ef2fbc1ee086cc7acb1a97b4b15bf939a88 83185ef] by '''Inder00''', '''Pirulax''' and '''Normalnij''')
:** [[generateKeyPair]]


== 5 Backwards Incompatible Changes ==
=== Client ===
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')
:* [[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]).
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).
:* 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. 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]).
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).




== 18 Changes and Bug Fixes ==
== 37 Changes and Bug Fixes ==
=== Shared ===
=== Shared ===
:* Fixed [[getCameraTarget]] function returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] 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''')
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')


=== Client ===
=== Client ===
:* Fixed access violation in [[getVehicleWheelFrictionState]] function for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')
:* 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''')
:* Fixed broken door and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
:* 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''')
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')
:* 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''')
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] by '''botder''')
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')
:* Fixed camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] functions 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''')
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')
:* Refactored key binds ([https://github.com/multitheftauto/mtasa-blue/commit/2878168ba2749dfedc8fcc7c5c80637891c7277c 2878168], [https://github.com/multitheftauto/mtasa-blue/commit/5c0afad233bd5ae1a8835356f7de62db8be066fa 5c0afad], [https://github.com/multitheftauto/mtasa-blue/commit/6e8755178780a45c729f8f2d48514f360c63754c 6e87551] and [https://github.com/multitheftauto/mtasa-blue/commit/73e4e420b6948ae1bfda0c80d643e43550da2745 73e4e42] by '''botder''')
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] 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 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''')
:* 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">
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')
:* 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''')
:* 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''')
:* Fixed buffer overflow issues in ''GetNameAndDamage'' ([https://github.com/multitheftauto/mtasa-blue/commit/1129399a129f44d6c729064603d5e84578290411 1129399] and [https://github.com/multitheftauto/mtasa-blue/commit/1fc700f5030b21d1c4f6ef65d76a3a3c9d987fd4 1fc700f] by '''Pirulax''')
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')
Line 46: Line 76:




== 1 Vendor Updates ==
== 8 Vendor Updates ==
=== Client ===
=== Client ===
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.14+g9f72f35 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_28.html Chromium 95.0.4638.69]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/07209470b99788687c4e35488c38aff801b46850 0720947] by '''Dutchman101''')
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.71 (97.1.1+g50067f2) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] 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''')
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')




== Resources ==
== Resources ==
=== 2 Changes and Bug Fixes ===
=== 22 Changes and Bug Fixes ===
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] 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''')
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] 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''')
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')
:* [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 ([https://github.com/multitheftauto/mtasa-resources/commit/0835ecd1f77fe98b1dcc84130d068f8fadb6af0d 0835ecd] and [https://github.com/multitheftauto/mtasa-resources/commit/6509b7424c3c2d6b38054e86904cc5b9a9c7fa78 6509b74] by '''ricksterhd123''', '''Inder00''', '''Disinterpreter''' and '''Dutchman101''')
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')
:* [gameplay] Fixed steering lock glitch on bikes and motorcycles in hedit ([https://github.com/multitheftauto/mtasa-resources/commit/f76952b7606a7121d26eea086b7382554d5247e0 f76952b] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')
:* [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 12:39, 22 January 2022

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).


2 New Features

Shared

Client


37 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 buffer overflow issues in GetNameAndDamage (1129399 and 1fc700f by Pirulax)
  • 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)


8 Vendor Updates

Client

  • Updated BASS libraries (590ba32 by Dutchman101)
  • Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.71 (97.1.1+g50067f2) (7b15218 by patrikjuvonen)
  • Updated curl from 7.79.1 to 7.81.0 (8ceddab by patrikjuvonen)
  • Updated freetype from 2.10.4 to 2.11.1 (4d323ce by patrikjuvonen)
  • Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 (deef8dc by patrikjuvonen)
  • Updated mbedtls from 2.27.0 to 2.28.0 (e5c7ea6 and a04ea15 by patrikjuvonen)
  • Updated sqlite from 3.36.0 to 3.37.2 (f2ac185 by patrikjuvonen)


Resources

22 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 (0835ecd and 6509b74 by ricksterhd123, Inder00, Disinterpreter and Dutchman101)
  • [gameplay] Fixed a debug warning in freeroam (36b4f00 by ArranTuna)
  • [gameplay] Fixed steering lock glitch on bikes and motorcycles in hedit (f76952b and d252b9f by Dutchman101)
  • [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: