Changes in 1.5.8: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 51: | Line 51: | ||
== Scripting == | == Scripting == | ||
=== 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 [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]. | |||
* 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]. | |||
* 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 [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub #1071]. | |||
This list is inconclusive and we may introduce more changes later. | |||
=== Client === | === Client === | ||
<section show="true"> | <section show="true"> |
Revision as of 15:33, 20 April 2020
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.7...master
- GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/2
- So far https://github.com/multitheftauto/mtasa-blue/compare/632130e...master
This changelog is partial and needs updating.
Main Additions / Changes
Click to collapse [-]
- Add dxDrawPrimitive3D and dxDrawMaterialPrimitive3D (#760 by CrosRoad95)
- Add functions to modify dynamic objects' behaviour (#784 by forkerer)
- Add dynamic ped ID allocating using engineRequestModel and engineFreeModel (#349 by lopezloo + Neproify + Arran + Qais Patankar)
Statistics
Click to expand [+]
Scripting
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 [-]
11 New Functions
- Add setPedFightingStyle (previously available server-side only) (#810 by StrixG)
- Add setPedArmor (previously available server-side only) (#811 by StrixG)
- Add areVehicleLightsOn (#938 by StrixG)
- Add dxDrawPrimitive3D and dxDrawMaterialPrimitive3D (#760 by CrosRoad95)
- Add functions to modify dynamic objects' behaviour (#784 by forkerer)
- Add dynamic ped ID allocating using engineRequestModel and engineFreeModel (#349 by lopezloo + Neproify + Arran + Qais Patankar)
Server
Click to collapse [-]
2 New Functions
- Add setPlayerScriptDebugLevel and getPlayerScriptDebugLevel (#826 by knitz12)
Bug Fixes & Changes
Click to collapse [-]
New Functions
- Add xmlLoadString (#809 by LopSided)
Client
Click to collapse [-]
6 Bug Fixes & Changes
- Add new client setting to toggle external sounds (#834 by patrikjuvonen)
- Fix crash when attempting to stream out a sound that's not streamed in (See commit e1b7c73 by sbx320)
- Fix dxDrawCircle segments argument being wrongly offset by one (#1079 by ApeLsiN4eG)
- Fix potential crash when moving objects (See commit 90895c2 by botder)
- Update credits (See commit 39227d7 by qaisjp)
- Don't apply damage to peds without a game entity (See commit 632130e by botder)
- Fix doors state with setElementModel (#599 by FileEX)
2 Vendor Updates
- Update BASS libraries (See commit e5ede83 by Dutchman101)
- Update CEF from 76.1.13+gf19c584 (Chromium 76.0.3809.132) to 77.1.12+gc63c001 (Chromium 77.0.3865.90) (See commit 28ba1da by Jusonex)
Extra information
More detailed information available on our GitHub repositories: