Changes in 1.6: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
mNo edit summary |
||
Line 12: | Line 12: | ||
== | == 6 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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #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]). | ||
Line 19: | Line 19: | ||
:* 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]). | :* 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]). | :* 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]). | ||
:* The previously unused ''z'' argument in [[getElementsWithinRange]] now calculates elements in 3D space instead of 2D space | |||
Revision as of 18:42, 23 December 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.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 |
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.
- GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master
- 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
- Release announcement on forums: TBA.
6 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).
- The previously unused z argument in getElementsWithinRange now calculates elements in 3D space instead of 2D space
3 New Features
- Added RSA support on encodeString, along with a new function (e7e3ba5, 39bc23f and 83185ef by Inder00, Pirulax and Normalnij)
Client
- Added vehicle sun glare effect to setWorldSpecialPropertyEnabled and isWorldSpecialPropertyEnabled (1fac287 by gta191977649 and TheNormalnij)
- Added support for WebM files to playSound and playSound3D (545a22a by theSarrum)
46 Changes and Bug Fixes
- Fixed calling of onClientColShapeLeave, onClientElementColShapeLeave, onColShapeLeave and onElementColShapeLeave even if the element was destroyed (f6177e4 by Inder00)
- Fixed getCameraTarget returning the player instead of their vehicle, if available (05b7ea2 by botder)
- Fixed several code warnings (e43aa1b by botder)
- Improved addEvent when sharing events over multiple resources (f3811cb by Pieter-Dewachter)
- Removed protocol error 14 (828ec46 by botder)
Client
- Avoid hierarchy in engineRequestModel (8e94ec1 and 85203a6 by TheNormalnij and Lpsd)
- Changed Enter a domain... text from web settings into a placeholder (dc82419 by patrikjuvonen)
- Fixed access violation in getVehicleWheelFrictionState for vehicles not streamed in (dde0e59 by botder)
- Fixed a small memory leak for engineRequestModel (b2a625b by TheNormalnij and Vladislav Nikolaevich)
- Fixed broken doors and damage sync for custom vehicles (51d3288 by BCG2000)
- Fixed camera logic after using warpPedIntoVehicle (607b57d by TheNormalnij and Vladislav Nikolaevich)
- Fixed CEF crashing without a crash-dump (4b03b13 and e45a765 by Lpsd)
- Fixed chatbox when using inputBlocked argument (bd62e56 by Pieter-Dewachter)
- Fixed crash when pickup has invalid custom model (1b17869 by TheNormalnij)
- Fixed crash when removing key binds while processing a key stroke (90f757d by botder)
- Fixed getVehicleType and getVehicleMaxPassengers not returning specific values and players cannot enter as passengers on vehicles added with engineRequestModel (141438f by BCG2000)
- Fixed health bar blinking faster on high fps (df4d35d by Merlin)
- Fixed interiors lacking radio (e573959 by lopezloo)
- Fixed key binds breaking on resource stop (8c78fba and 280131f by botder)
- Fixed mirrored position of light_front_second vehicle dummy (32aeb0e by botder)
- Fixed setElementModel forcing an element to be streamed in no matter the distance from localPlayer (467df06 by TheNormalnij)
- Fixed settings gui crash (8088801 by botder)
- Fixed sync of damaged light states and wheel states (fe48d09 by Addlibs)
- Fixed re-enabling a game control (a69f694 by botder and srslyyyy)
- Fixed unused binds descriptions are always in english (32962a6 by patrikjuvonen)
- Refactored key binds (2878168, 5c0afad, 6e87551 and 73e4e42 by botder)
- Re-rendered main menu images from a new PSD (d38c107 by patrikjuvonen)
- Translated news window title (a446f02 by patrikjuvonen)
- Updated CGUI images (c1a958c by patrikjuvonen)
- Updated en_US images, added latest_news.png (42693d8 and cd0cce7 by patrikjuvonen)
- Updated main menu logo (4b9a3a4 and aa1e1d4 by patrikjuvonen)
- Updated translations (7f3d15b by patrikjuvonen)
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)
- Get rid of std::function in AsyncTaskSched (c372dc3 by Pirulax)
- Initialized lastSyncType variable in addElementDataSubscriber (ca3b0b7 by botder)
- Removed a debug assert in CFileLoaderSA that causes crashes without a valid reason (29dfe4b by Pieter-Dewachter)
- 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.99 (97.1.6+g8961cdb) (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
24 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 lint warnings (b139dd9, 372a8fa, ad1522f, 3868016, a7fbea7 and a474c54 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)
- [web] Fixed resourcemanager (37348ce by ArranTuna)
Extra information
More detailed information available on our GitHub repositories: