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 23: Line 23:
== 2 New Features ==
== 2 New Features ==
=== Shared ===
=== Shared ===
:* Added RSA support on [[encodeString]] ([https://github.com/multitheftauto/mtasa-blue/commit/e7e3ba5b337f791203ef977bd083a28226614da7 e7e3ba5] and [https://github.com/multitheftauto/mtasa-blue/commit/39bc23f136d82a4849a7b09edfa65fc927b52acc 39bc23f] by '''Inder00''', '''Pirulax''' and '''Normalnij''')
:* 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]]
:** [[generateKeyPair]]


Line 30: Line 30:




== 24 Changes and Bug Fixes ==
== 26 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''')
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')


=== Client ===
=== Client ===
Line 53: Line 54:
=== 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 ''lastSyncType'' variable in [[addElementDataSubscriber]] ([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 71: Line 73:


== Resources ==
== Resources ==
=== 21 Changes and Bug Fixes ===
=== 22 Changes and Bug Fixes ===
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')
:* 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 inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')
Line 86: Line 88:
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')
:* [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''')
:* [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 (by '''ricksterhd123''', '''Inder00''' and '''Disinterpreter''')
:* [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 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] 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] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')

Revision as of 15:39, 27 December 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 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


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


4 Vendor Updates

Client

  • Updated BASS libraries (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) (7b15218 by Dutchman101)
  • Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 (deef8dc 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: