Changes in 1.5.9: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 60: Line 60:




=== 20 New Functions ===
=== 22 New Functions ===
* Added [[setVehicleVariant]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/1599 #1599] by '''StrixG''')
* Added [[setVehicleVariant]] (previously available server-side only) ([https://github.com/multitheftauto/mtasa-blue/pull/1599 #1599] by '''StrixG''')
* Added [[setPedBleeding]] and [[isPedBleeding]] ([https://github.com/multitheftauto/mtasa-blue/pull/2308 #2308] by '''StrixG''')
* Added [[setPedBleeding]] and [[isPedBleeding]] ([https://github.com/multitheftauto/mtasa-blue/pull/2308 #2308] by '''StrixG''')
Line 77: Line 77:
** [[updateElementRpHAnim]]
** [[updateElementRpHAnim]]
* Added [[setColorFilter]] and [[resetColorFilter]] ([https://github.com/multitheftauto/mtasa-blue/pull/1611 #1611] by '''tederis''')
* Added [[setColorFilter]] and [[resetColorFilter]] ([https://github.com/multitheftauto/mtasa-blue/pull/1611 #1611] by '''tederis''')
* Added [[engineStreamingFreeUpMemory]] ([https://github.com/multitheftauto/mtasa-blue/pull/2268 #2268] by '''Pirulax''')
* Added [[engineStreamingGetUsedMemory]] ([https://github.com/multitheftauto/mtasa-blue/pull/2269 #2269] by '''Pirulax''')




Line 87: Line 89:
=== 2 New Arguments & Parameters ===
=== 2 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 ''override'' 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''')




=== 28 Bug Fixes & Changes ===
=== 27 Bug Fixes & Changes ===
* Resolved remaining collisionless objects ([https://github.com/multitheftauto/mtasa-blue/pull/2296 #2296] by '''thisdp''' and '''botder''')
* Resolved remaining collisionless objects ([https://github.com/multitheftauto/mtasa-blue/pull/2296 #2296] by '''thisdp''' and '''botder''')
* Changed [[getRoofPosition]] fail from warning to error ([https://github.com/multitheftauto/mtasa-blue/pull/1729 #1729] by '''Woovie''')
* Changed [[getRoofPosition]] fail from warning to error ([https://github.com/multitheftauto/mtasa-blue/pull/1729 #1729] by '''Woovie''')
Line 114: Line 116:
* 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''')
* Added exit code to shutdown function ([https://github.com/multitheftauto/mtasa-blue/pull/2298 #2298] by '''botder''')
* Implemented messageType parameter to [[onClientChatMessage]] ([https://github.com/multitheftauto/mtasa-blue/pull/1020 #1020] by '''Lpsd''')
* Fixed respawning of blown vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/796399704b1e0a2147bb7ba52ea95c34245ceebe 7963997] by '''botder''')
* 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''')
* Fixed a typo in the sa.dat file ([https://github.com/multitheftauto/mtasa-blue/commit/eff97c8ad3e725691d182c239997caeca51eba4d eff97c8] by '''ccw808''')
* Reset vehicle explosion timer in CVehicleSA::SetHealth ([https://github.com/multitheftauto/mtasa-blue/commit/8b30d7a4e43e6460a8203bb89b7133365a3e6a85 8b30d7a] by '''botder''')
* Removed obsolete entry from forbodenList ([https://github.com/multitheftauto/mtasa-blue/commit/ff93fec93cb20c25577950c47bc22c0f9730a459 ff93fec] by '''Dutchman101''')
* Fixed client vehicle blocks entering to server vehicle ([https://github.com/multitheftauto/mtasa-blue/pull/2188 #2188] by '''Zangomangu''')




Line 132: Line 139:




=== 7 Bug Fixes & Changes ===
=== 10 Bug Fixes & Changes ===
* Fixed wrong SQLite column in [[getAccountsByIP]] ([https://github.com/multitheftauto/mtasa-blue/pull/1734 #1734] by '''emre1702''')
* Fixed wrong SQLite column in [[getAccountsByIP]] ([https://github.com/multitheftauto/mtasa-blue/pull/1734 #1734] by '''emre1702''')
* Improved ''help'' command in server console ([https://github.com/multitheftauto/mtasa-blue/pull/1639 #1639] by '''Unde-R''')
* Improved ''help'' command in server console ([https://github.com/multitheftauto/mtasa-blue/pull/1639 #1639] by '''Unde-R''')
* Improved checksum error messages for internal HTTP servers ([https://github.com/multitheftauto/mtasa-blue/pull/1778 #1778] by '''qaisjp''')
* Improved checksum error messages for internal HTTP servers ([https://github.com/multitheftauto/mtasa-blue/pull/1778 #1778] by '''qaisjp''')
* Events [[onVehicleStartEnter]], [[onVehicleEnter]], [[onVehicleStartExit]] and [[onVehicleExit]] now return [[ped|peds]] as well  ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''')
* Events [[onVehicleStartEnter]], [[onVehicleEnter]], [[onVehicleStartExit]] and [[onVehicleExit]] now return [[ped|peds]] as well  ([https://github.com/multitheftauto/mtasa-blue/pull/1748 #1748] by '''Zangomangu''')
* Fixed respawning of blown vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/796399704b1e0a2147bb7ba52ea95c34245ceebe 7963997] by '''botder''')
* Fixed info command displaying two statuses of a running resource ([https://github.com/multitheftauto/mtasa-blue/pull/2292 #2292] by '''theSarrum''')
* Added exit code to shutdown function ([https://github.com/multitheftauto/mtasa-blue/pull/2298 #2298] by '''botder''')
* Refactored CPlayerManager::IsValidPlayerModel() ([https://github.com/multitheftauto/mtasa-blue/pull/2250 #2250] by '''delinx''')
* Added missing ColShape.elementsWithin server-side ([https://github.com/multitheftauto/mtasa-blue/pull/2186 #2186] by '''Pirulax''')
* Added source map compatibility in CResourceHTMLItem ([https://github.com/multitheftauto/mtasa-blue/pull/2207 #2207] by '''PauloKim1246''')




Line 148: Line 161:
=== 2 New Arguments & Parameters ===
=== 2 New Arguments & Parameters ===
* Added ''bIncludeWorldSeaLevel'' and ''bIncludeOutsideWorldLevel'' to [[setWaterLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1402 #1402] by '''TheNormalnij''')
* Added ''bIncludeWorldSeaLevel'' and ''bIncludeOutsideWorldLevel'' to [[setWaterLevel]] ([https://github.com/multitheftauto/mtasa-blue/pull/1402 #1402] by '''TheNormalnij''')
* Added new optional ''inputBlocked'' argument for [[showChat]] ([https://github.com/multitheftauto/mtasa-blue/pull/2170 #2170] by '''Pieter-Dewachter''')
* Added second parameter ''withExplosion'' for [[blowVehicle]] ([https://github.com/multitheftauto/mtasa-blue/pull/2102 #2102] by '''botder''')




=== 2 Bug Fixes & Changes ===
=== 5 Bug Fixes & Changes ===
* Fixed vehicle driver desynchronization after carjacker dies ([https://github.com/multitheftauto/mtasa-blue/pull/1907 #1907] by '''Zangomangu''')
* Fixed vehicle driver desynchronization after carjacker dies ([https://github.com/multitheftauto/mtasa-blue/pull/1907 #1907] by '''Zangomangu''')
* Fixed empty files returning an invalid checksum ([https://github.com/multitheftauto/mtasa-blue/commit/966de4e209b4ce6b3e4e6a7ea0f53650038a049c 966de4e] by '''botder''')
* Fixed empty files returning an invalid checksum ([https://github.com/multitheftauto/mtasa-blue/commit/966de4e209b4ce6b3e4e6a7ea0f53650038a049c 966de4e] by '''botder''')
* Trim keybind whitespace to avoid duplicates ([https://github.com/multitheftauto/mtasa-blue/pull/2124 #2124] by '''patrikjuvonen''')
* Added extra checks in CXMLImpl::ParseString to avoid crash when invalid XML data supplied ([https://github.com/multitheftauto/mtasa-blue/pull/2282 #2282] by '''Lpsd''')
* Added aes128 encryption support to [[encodeString]]/[[decodeString]] ([https://github.com/multitheftauto/mtasa-blue/pull/2235 #2235] by '''drop-club''')
* Fixed ''testLineAgainstWater'' works incorrectly outside of game boundaries ([https://github.com/multitheftauto/mtasa-blue/pull/2192 #2192] by '''Allerek''')
</section>
</section>




=== 1 Vendor Update ===
=== 2 Vendor Update ===
* Updated curl from 7.72.0 to 7.78.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2285 #2285] by '''patrikjuvonen''')
* Updated curl from 7.72.0 to 7.78.0 ([https://github.com/multitheftauto/mtasa-blue/pull/2285 #2285] by '''patrikjuvonen''')
* Updated pcre from 8.39 to 8.44 ([https://github.com/multitheftauto/mtasa-blue/pull/2246 #2246] by '''patrikjuvonen''')





Revision as of 13:49, 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/1.5.8...master


Main Additions / Changes

Click to collapse [-]


Statistics

Click to collapse [-]

These are some statistics since the previous release.

  • This is the 26th 1.x.x release
  • 0 days (planned to be released Oct 1, 2021)
  • 16 new functions
  • 3 new events
  • 0 deprecations
  • 30+ bug fixes and changes
  • 271 commits (see comparison)
  • 180 new open GitHub issues (see list)
  • 61 resolved GitHub issues (see list)
  • 134 closed GitHub issues (see list)
  • 69 new open GitHub pull requests (see list)
  • 185 merged GitHub pull requests (see list)
  • 53 closed GitHub pull requests (see list)
  • 37 contributors of which 11 are new (see list)
  • 93+ total contributors (see list)
  • 5 vendor updates

Note: Last update to these statistics was made 964 days ago.


Scripting

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.


Client

Click to collapse [-]

Undocumented changes

Waiting to be added to the changelog with proper description.


22 New Functions


4 New Events


2 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 Update

  • 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: