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 30: Line 30:




== 32 Changes and Bug Fixes ==
== 37 Changes and Bug Fixes ==
=== Shared ===
=== Shared ===
:* 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 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 [[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''')
:* 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''')
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')
Line 39: Line 40:
=== Client ===
=== Client ===
:* 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''')
:* 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''')
:* 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 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 a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')
Line 48: Line 50:
:* 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 [[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 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 [[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 [[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 sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')
:* 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''')
:* 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''')
Line 71: Line 76:




== 4 Vendor Updates ==
== 8 Vendor Updates ==
=== Client ===
=== Client ===
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] 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 96.0.4664.110 (96.0.18+gfe551e4) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] 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 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''')





Revision as of 22:45, 9 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: