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:''
:* [[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'''.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub issue #294].
:* [[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 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.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub issue #1043].
:* 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]).
:* 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.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub issue #1069].
:* 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.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub issue #1070].
:* 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]).
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub issue #1071].
:* 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]).




== 2 Bug Fixes and Changes ==
== 10 Changes and Bug Fixes ==
=== Shared ===
=== Shared ===
:* Fixed [[getCameraTarget]] returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')
:* Fixed the [[getCameraTarget]] function returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')


=== More Technical Bug Fixes and Changes ===
=== Client ===
:* Fixed the camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
:* 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''')
 
=== More Technical Changes and Bug Fixes ===
<section show="true">
<section show="true">
:* Initialized variable ''lastSyncType'' in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] 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 the 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''')
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')
:* Updated the server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')
</section>
</section>


Line 37: Line 46:


== Resources ==
== Resources ==
=== 1 Bug Fixes and Changes ===
=== 1 Changes and Bug Fixes ===
:* Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')
:* Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')



Revision as of 20:14, 10 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

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


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 (#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 (#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 (#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 (#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 (#1069).


10 Changes and Bug Fixes

Shared

Client

More Technical Changes and Bug Fixes

Click to collapse [-]
  • Fixed a broken client .gdf.xml file and updated hardcoded MTA versions and URLs (d54afd7 by patrikjuvonen)
  • Fixed the server launcher icon not working (8729c9f by patrikjuvonen)
  • Initialized the lastSyncType variable in addElementDataSubscriber function (ca3b0b7 by botder)
  • Updated launchers (5b4ce8a by patrikjuvonen)
  • Updated the server launcher icon (8729c9f by patrikjuvonen)


1 Vendor Updates

Client


Resources

1 Changes and Bug Fixes

  • Fixed some small typos (#355 by TheNormalnij)


Extra information

More detailed information available on our GitHub repositories: