Changes in 1.5.9: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 87: Line 87:




=== 2 New Arguments & Parameters ===
=== 3 New Arguments & Parameters ===
* Added ''macros'' argument to [[dxCreateShader]] ([https://github.com/multitheftauto/mtasa-blue/pull/1573 #1573] by '''tederis''')
* Added ''macros'' argument to [[dxCreateShader]] ([https://github.com/multitheftauto/mtasa-blue/pull/1573 #1573] by '''tederis''')
* Added ''forceOverrideNextFrame'' argument to [[setAnalogControlState]] ([https://github.com/multitheftauto/mtasa-blue/pull/1852 #1852] by '''LosFaul''')
* Added ''forceOverrideNextFrame'' argument to [[setAnalogControlState]] ([https://github.com/multitheftauto/mtasa-blue/pull/1852 #1852] by '''LosFaul''')
* Added ''messageType'' parameter to [[onClientChatMessage]] ([https://github.com/multitheftauto/mtasa-blue/pull/1020 #1020] by '''Lpsd''')




Line 116: Line 117:
* Code cleanups ([https://github.com/multitheftauto/mtasa-blue/pull/2295 #2295] by '''theSarrum''')
* Code cleanups ([https://github.com/multitheftauto/mtasa-blue/pull/2295 #2295] by '''theSarrum''')
* Renamed ''bCheckWaves'' to ''ignoreDistanceToWaterThreshold'' in [[getWaterLevel]] ([https://github.com/multitheftauto/mtasa-blue/commit/0533f2cf76b6228c71d5c99c6d0abeedf3166fd8 0533f2c] by '''botder''')
* Renamed ''bCheckWaves'' to ''ignoreDistanceToWaterThreshold'' in [[getWaterLevel]] ([https://github.com/multitheftauto/mtasa-blue/commit/0533f2cf76b6228c71d5c99c6d0abeedf3166fd8 0533f2c] by '''botder''')
* Implemented messageType parameter to [[onClientChatMessage]] ([https://github.com/multitheftauto/mtasa-blue/pull/1020 #1020] by '''Lpsd''')
* Added "TotalPhysicalMemory" to [[dxGetStatus]] ([https://github.com/multitheftauto/mtasa-blue/pull/2265 #2265] by '''Pirulax''')
* Added "TotalPhysicalMemory" to [[dxGetStatus]] ([https://github.com/multitheftauto/mtasa-blue/pull/2265 #2265] by '''Pirulax''')
* Set game thread affinity to first cpu core ([https://github.com/multitheftauto/mtasa-blue/commit/dbc792b3d433378217c96b6b1418a21888ed1d5a dbc792b] by '''botder''')
* Set game thread affinity to first cpu core ([https://github.com/multitheftauto/mtasa-blue/commit/dbc792b3d433378217c96b6b1418a21888ed1d5a dbc792b] by '''botder''')

Revision as of 14:45, 8 September 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. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/c4b9a84...master


Main Additions / Changes

Click to collapse [-]


Backwards Incompatibility

Click to collapse [-]

5 Backwards Incompatible Changes

These changes will take effect in 1.6.0:

  • callRemote callbacks currently set the error code to nil when there is no error. In 1.6.0, 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.0 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.


Statistics

Click to expand [+]


Client

Click to collapse [-]

Undocumented changes

Waiting to be added to the changelog with proper description.


22 New Functions


4 New Events


3 New Arguments & Parameters


27 Bug Fixes & Changes


3 Vendor Updates

  • Updated BASS libraries (#2291 by Dutchman101)
  • Updated CEF from 85.3.12+g3e94ebf (Chromium 85.0.4183.121) to 92.0.27+g274abcf (Chromium 92.0.4515.159) (See commit 71d4165 by patrikjuvonen)
  • Updated and replaced CEGUI-integrated FreeType by adding it as its own dependency (def86d0 and 2b70f96 by Jusonex)


Server

Click to collapse [-]

3 New Events


10 Bug Fixes & Changes

  • Fixed wrong SQLite column in getAccountsByIP (#1734 by emre1702)
  • Improved help command in server console (#1639 by Unde-R)
  • Improved checksum error messages for internal HTTP servers (#1778 by qaisjp)
  • Events onVehicleStartEnter, onVehicleEnter, onVehicleStartExit and onVehicleExit now return peds as well (#1748 by Zangomangu)
  • Fixed respawning of blown vehicles (7963997 by botder)
  • Fixed info command displaying two statuses of a running resource (#2292 by theSarrum)
  • Added exit code to shutdown function (#2298 by botder)
  • Refactored CPlayerManager::IsValidPlayerModel() (#2250 by delinx)
  • Added missing ColShape.elementsWithin server-side (#2186 by Pirulax)
  • Added source map compatibility in CResourceHTMLItem (#2207 by PauloKim1246)


1 Vendor Update

  • Updated sqlite from 3.32.3 to 3.36.0 (#2284 by patrikjuvonen)


Shared (Client & Server)

Click to collapse [-]

2 New Arguments & Parameters

  • Added bIncludeWorldSeaLevel and bIncludeOutsideWorldLevel to setWaterLevel (#1402 by TheNormalnij)
  • Added new optional inputBlocked argument for showChat (#2170 by Pieter-Dewachter)
  • Added second parameter withExplosion for blowVehicle (#2102 by botder)


5 Bug Fixes & Changes

  • Fixed vehicle driver desynchronization after carjacker dies (#1907 by Zangomangu)
  • Fixed empty files returning an invalid checksum (966de4e by botder)
  • Trim keybind whitespace to avoid duplicates (#2124 by patrikjuvonen)
  • Added extra checks in CXMLImpl::ParseString to avoid crash when invalid XML data supplied (#2282 by Lpsd)
  • Added aes128 encryption support to encodeString/decodeString (#2235 by drop-club)
  • Fixed testLineAgainstWater works incorrectly outside of game boundaries (#2192 by Allerek)


2 Vendor Updates

  • Updated curl from 7.72.0 to 7.78.0 (#2285 by patrikjuvonen)
  • Updated pcre from 8.39 to 8.44 (#2246 by patrikjuvonen)


Extra information

More detailed information available on our GitHub repositories: