Changes in 1.5.3: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(→‎Client: Bugfixes & Changes: removed duplicated entry)
(added links)
Line 32: Line 32:


=== Shared (''Client & Server side'') ===
=== Shared (''Client & Server side'') ===
* Fixed fileRead crashing when reading more than 10000 bytes
* Fixed [[fileRead]] crashing when reading more than 10000 bytes
* Added [[fileGetPath]]
* Added [[fileGetPath]]
* Added option for addDebugHook to skip event/functions
* Added option for [[addDebugHook]] to skip event/functions
* Added duplicate log line filter for script debugging
* Added duplicate log line filter for script debugging
* Improved internal error logging
* Improved internal error logging
* Added [[inspect]], [[iprint]] and [[getUserdataType]]
* Added [[inspect]], [[iprint]] and [[getUserdataType]]
* setVehiclePlateText now works with any kind of vehicle, including motorbikes (thanks to '''lopezloo''')
* [[setVehiclePlateText]] now works with any kind of vehicle, including motorbikes (thanks to '''lopezloo''')
* Added blend parameter for setPedAnimation (thanks to '''lex128''')
* Added blend parameter for setPedAnimation (thanks to '''lex128''')
* [[outputDebugString]] calls ''tostring'' on the passed value now
* [[outputDebugString]] calls ''tostring'' on the passed value now
* Added masking of certain function arguments when using addDebugHook
* Added masking of certain function arguments when using [[addDebugHook]]


== Client ==
== Client ==
Line 60: Line 60:
=== Client: Bugfixes & Changes ===
=== Client: Bugfixes & Changes ===
* Removed VS2008 redistributable from installer as it is no longer required
* Removed VS2008 redistributable from installer as it is no longer required
* Fixed setBrowserAjaxHandler breaking JSON decoding (thanks to '''mabako''')
* Fixed [[setBrowserAjaxHandler]] breaking JSON decoding (thanks to '''mabako''')
* Updated CEF
* Updated CEF
* Tweaked optimus detection
* Tweaked optimus detection
Line 67: Line 67:
* Fixed colshape related crashes (thanks to '''lopezloo''')
* Fixed colshape related crashes (thanks to '''lopezloo''')
* Tweaked logic of client resource file validation
* Tweaked logic of client resource file validation
* Fixed setBrowserAudio not muting the sound correctly on some websites e.g. YouTube
* Fixed [[setBrowserAudio]] not muting the sound correctly on some websites e.g. YouTube
* Fixed client incorrectly handling 'no' answer to recommended update question
* Fixed client incorrectly handling 'no' answer to recommended update question
* Fixed self-created water becoming invisible sometimes (thanks to '''lopezloo''')
* Fixed self-created water becoming invisible sometimes (thanks to '''lopezloo''')
* Fixed setCameraTarget calculation (thanks to lex128)
* Fixed [[setCameraTarget]] calculation (thanks to lex128)
* Fixed [[getCommandsBoundToKey]] incorrectly handling keys sometimes (thanks to Necktrox)
* Fixed [[getCommandsBoundToKey]] incorrectly handling keys sometimes (thanks to Necktrox)
* Fixed sniper scope disappearing after killing a ped (thanks to '''lopezloo''')
* Fixed sniper scope disappearing after killing a ped (thanks to '''lopezloo''')
* Fixed team members not fully synced until re-set by setPlayerTeam or respawn
* Fixed team members not fully synced until re-set by [[setPlayerTeam]] or respawn
* Fixed MTA sometimes not loading custom textures
* Fixed MTA sometimes not loading custom textures
* Deprecated [[showPlayerHudComponent]]
* Deprecated [[showPlayerHudComponent]]
* Fixed redirectPlayer with an empty host logging ambiguously
* Fixed redirectPlayer with an empty host logging ambiguously
* Fixed a 1-frame lag of attachElements
* Fixed a 1-frame lag of [[attachElements]]
* Changed setElementFrozen to not recreate the object
* Changed [[setElementFrozen]] to not recreate the object
* Fixed desktop resolution when minimizing with fullscreen borderless window mode
* Fixed desktop resolution when minimizing with fullscreen borderless window mode
* Disabled CEF plugins (e.g. Flash Player)
* Disabled CEF plugins (e.g. Flash Player)
Line 88: Line 88:
=== Server: Additions ===
=== Server: Additions ===
* Added icon for the Windows server
* Added icon for the Windows server
* Added server logging for redirectPlayer
* Added server logging for [[redirectPlayer]]
* Added 8 byte integer support for varargs database queries
* Added 8 byte integer support for varargs database queries
* Added option to block server admins who login with an unrecognized serial
* Added option to block server admins who login with an unrecognized serial
Line 98: Line 98:
* Changed remaining <min_mta_version> errors to warnings
* Changed remaining <min_mta_version> errors to warnings
* Changed server private IP error to a warning
* Changed server private IP error to a warning
* Fixed dbPoll returning early when timeout is used
* Fixed [[dbPoll]] returning early when timeout is used
* Fixed a connecting player being able to block resources from starting
* Fixed a connecting player being able to block resources from starting
* Fixed server crash when using db* functions during onDebugMessage event
* Fixed server crash when using db* functions during [[onDebugMessage]] event
* Fixed onElementStopSync not being triggered when player disconnects
* Fixed [[onElementStopSync]] not being triggered when player disconnects
* Fixed Fire Extinguisher not triggering onPedWasted
* Fixed Fire Extinguisher not triggering [[onPedWasted]]
* Fixed getMarkerIcon returning the marker type
* Fixed [[getMarkerIcon]] returning the marker type
* Fixed protected resources being stoppable
* Fixed protected resources being stoppable
* Fixed [[aclReload]] reverting recently scripted ACL changes
* Fixed [[aclReload]] reverting recently scripted ACL changes


== Resources ==
== Resources ==
* Race: Fixed parameters in 'onGamemodeMapStop' event (thanks to '''PhrozenByte''')
* Race: Fixed parameters in [[onGamemodeMapStop]] event (thanks to '''PhrozenByte''')
* Adminpanel: Added unban dates to bans and allowed defining custom ban times for offline bans (thanks to '''Dutchman101''')
* Adminpanel: Added unban dates to bans and allowed defining custom ban times for offline bans (thanks to '''Dutchman101''')
* Runcode: Improved support for return statements
* Runcode: Improved support for return statements
Line 116: Line 116:
== Editor ==
== Editor ==
* Added map backups
* Added map backups
* Enabled OOP support in EDF scripreader (thanks to '''PhrozenByte''')
* Enabled OOP support in [[EDF]] scripreader (thanks to '''PhrozenByte''')


== Extra information ==
== Extra information ==

Revision as of 20:21, 4 October 2016

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


Main Additions / Changes

  • Significantly reorganized build system
  • Major code cleanups
  • Fixed multiple popular crashes
  • Improved streaming of low LOD objects and increased limits
  • Provided a separate release branch for XP and Vista (new Chromium versions are no longer supported on XP and Vista)
  • Updated many dependencies
  • Added support for German Steam version of GTASA (thanks to Lakota, Mario and @Sh4dowReturns)

Scripting

Client

Server

Shared (Client & Server side)

  • Fixed fileRead crashing when reading more than 10000 bytes
  • Added fileGetPath
  • Added option for addDebugHook to skip event/functions
  • Added duplicate log line filter for script debugging
  • Improved internal error logging
  • Added inspect, iprint and getUserdataType
  • setVehiclePlateText now works with any kind of vehicle, including motorbikes (thanks to lopezloo)
  • Added blend parameter for setPedAnimation (thanks to lex128)
  • outputDebugString calls tostring on the passed value now
  • Added masking of certain function arguments when using addDebugHook

Client

Client: Additions

  • Enabled code signing for CEFLauncher.exe to improve anti virus software compatibility
  • Added client resource files path info to Advanced tab
  • MTA uses the native resolution by default now
  • Security tweaks
  • Added support for objects and weapons in ped damage events (thanks to lopezloo)
  • Added option for addDebugHook to skip event/functions
  • onClientVehicleStartEnter is now cancellable if the local player is entering the vehicle
  • Water elements are now limited to a specific dimension
  • Made Lua clear loaded files automatically when dereferenced
  • Tweaked CEF performance significantly
  • Improve linux compatibility

Client: Bugfixes & Changes

  • Removed VS2008 redistributable from installer as it is no longer required
  • Fixed setBrowserAjaxHandler breaking JSON decoding (thanks to mabako)
  • Updated CEF
  • Tweaked optimus detection
  • Added missing model name for model 6458
  • Fixed LOD object issues (see https://bugs.mtasa.com/view.php?id=9242)
  • Fixed colshape related crashes (thanks to lopezloo)
  • Tweaked logic of client resource file validation
  • Fixed setBrowserAudio not muting the sound correctly on some websites e.g. YouTube
  • Fixed client incorrectly handling 'no' answer to recommended update question
  • Fixed self-created water becoming invisible sometimes (thanks to lopezloo)
  • Fixed setCameraTarget calculation (thanks to lex128)
  • Fixed getCommandsBoundToKey incorrectly handling keys sometimes (thanks to Necktrox)
  • Fixed sniper scope disappearing after killing a ped (thanks to lopezloo)
  • Fixed team members not fully synced until re-set by setPlayerTeam or respawn
  • Fixed MTA sometimes not loading custom textures
  • Deprecated showPlayerHudComponent
  • Fixed redirectPlayer with an empty host logging ambiguously
  • Fixed a 1-frame lag of attachElements
  • Changed setElementFrozen to not recreate the object
  • Fixed desktop resolution when minimizing with fullscreen borderless window mode
  • Disabled CEF plugins (e.g. Flash Player)
  • Fixed CEF popups (e.g. <select> boxes) not being rendered correctly
  • Fixed MTA slowly updating position of attached elements

Server

Server: Additions

  • Added icon for the Windows server
  • Added server logging for redirectPlayer
  • Added 8 byte integer support for varargs database queries
  • Added option to block server admins who login with an unrecognized serial

Server: Bugfixes & Changes

  • Fixed compatibility issues on older CPU architectures
  • Fixed modules being broken for some revisions
  • Removed warnings for .png files with JPEG contents
  • Changed remaining <min_mta_version> errors to warnings
  • Changed server private IP error to a warning
  • Fixed dbPoll returning early when timeout is used
  • Fixed a connecting player being able to block resources from starting
  • Fixed server crash when using db* functions during onDebugMessage event
  • Fixed onElementStopSync not being triggered when player disconnects
  • Fixed Fire Extinguisher not triggering onPedWasted
  • Fixed getMarkerIcon returning the marker type
  • Fixed protected resources being stoppable
  • Fixed aclReload reverting recently scripted ACL changes

Resources

  • Race: Fixed parameters in onGamemodeMapStop event (thanks to PhrozenByte)
  • Adminpanel: Added unban dates to bans and allowed defining custom ban times for offline bans (thanks to Dutchman101)
  • Runcode: Improved support for return statements
  • Runcode: Added hidden me variable
  • Missiontimer: Fixed events triggering when client is not ready (thanks to Einheit-101)

Editor

  • Added map backups
  • Enabled OOP support in EDF scripreader (thanks to PhrozenByte)

Extra information

More detailed information available on Bug tracker Changelog and GitHub repositories: