Changes in 1.6: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 39: Line 39:
* '''146''' merged GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Amerged+milestone%3A%22Next+Release+%281.6.0%29%22 see list])
* '''146''' merged GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Amerged+milestone%3A%22Next+Release+%281.6.0%29%22 see list])
* '''76''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Aunmerged+closed%3A2021-10-01..2022-12-31 see list])
* '''76''' closed GitHub pull requests ([https://github.com/multitheftauto/mtasa-blue/pulls?q=is%3Apr+is%3Aunmerged+closed%3A2021-10-01..2022-12-31 see list])
* '''26''' contributors of which '''8''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2021-10-01&to=2022-12-31&type=c see list])
* '''27''' contributors of which '''9''' are new ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors?from=2021-10-01&to=2022-12-31&type=c see list])
* '''100+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list])
* '''100+''' total contributors ([https://github.com/multitheftauto/mtasa-blue/graphs/contributors see list])
* '''17''' vendor updates
* '''17''' vendor updates
Line 51: Line 51:
:* 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''')
:* 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]]
:* Added HMAC support on [[encodeString]] ([https://github.com/multitheftauto/mtasa-blue/commit/eebf228224860eed030d59d629e905dc9a79b13c eebf228] by '''Inder00''')


=== Client ===
=== Client ===
Line 56: Line 57:
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')
:* Added corona rain reflections ([https://github.com/multitheftauto/mtasa-blue/commit/c4caa4b7e82291aca67056fc0f2e9835322f7db9 c4caa4b] by '''lopezloo''')
:* Added corona rain reflections ([https://github.com/multitheftauto/mtasa-blue/commit/c4caa4b7e82291aca67056fc0f2e9835322f7db9 c4caa4b] by '''lopezloo''')
:* Added [[isCapsLockEnabled]] function ([https://github.com/multitheftauto/mtasa-blue/commit/e84a15e1ea4d47769e14917243ddb2eac54ae5ee e84a15e] by '''Lpsd''')
:* Added [[isMTAWindowFocused]] and [[onClientMTAFocusChange]] ([https://github.com/multitheftauto/mtasa-blue/commit/2438e4f9e7fbdeb67a8013fc17f268e6d19f2044 2438e4f] by '''Lpsd''')
:* Added [[getElementLighting]] ([https://github.com/multitheftauto/mtasa-blue/commit/bc54720421d0dcfa188a9e418d36fb732f061002 bc54720] by '''samr46''')


=== Server ===
=== Server ===
Line 63: Line 67:
== 46 Changes and Bug Fixes ==
== 46 Changes and Bug Fixes ==
=== Shared ===
=== Shared ===
:* Added [[cancelEvent]] support for [[onElementModelChange]] and [[onClientElementModelChange]] ([https://github.com/multitheftauto/mtasa-blue/commit/7e7255280d3c42f7a36329f496d72c2b9efafe57 7e72552] by '''TheNormalnij''')
:* 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 interior radio crash ([https://github.com/multitheftauto/mtasa-blue/commit/d00336070f6f726b66445213f43b50e605aefcd4 d003360] by '''TheNormalnij''' and [https://github.com/multitheftauto/mtasa-blue/commit/7eb36134dab77b2edf28d6efe6ef9c82c1e9d3f0 7eb3613] by '''Lpsd''')
:* Fixed [[onPedDamage]] not working ([https://github.com/multitheftauto/mtasa-blue/commit/143102a38acdabba8d7837252fd8c95f704d4ef8 143102a] by '''xLive''')
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')
:* Fixed a crash in CLatentTransferManager ([https://github.com/multitheftauto/mtasa-blue/commit/6220faa318c076d1fbd79050edf6eb53aa43819d 6220faa] 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 leftover Discord integration ([https://github.com/multitheftauto/mtasa-blue/commit/9708440462cd5ee815769bf5dfbdbe90d704cd26 9708440] by '''Lpsd''')
:* Removed leftover Discord integration ([https://github.com/multitheftauto/mtasa-blue/commit/9708440462cd5ee815769bf5dfbdbe90d704cd26 9708440] by '''Lpsd''')
Line 77: Line 81:
:* Added missing chat_text_outline CVAR to [[getChatboxLayout]] function ([https://github.com/multitheftauto/mtasa-blue/commit/5cc419ca173301b03db15b0ae122fe970e96c2ef 5cc419c] by '''Pieter-Dewachter''')
:* Added missing chat_text_outline CVAR to [[getChatboxLayout]] function ([https://github.com/multitheftauto/mtasa-blue/commit/5cc419ca173301b03db15b0ae122fe970e96c2ef 5cc419c] by '''Pieter-Dewachter''')
:* Added missing getType method for [[camera]] element ([https://github.com/multitheftauto/mtasa-blue/commit/a89d975d7b959fe6c9b0af73ef6261cdb3763715 a89d975] by '''TheNormalnij''' and '''StrixG''')
:* Added missing getType method for [[camera]] element ([https://github.com/multitheftauto/mtasa-blue/commit/a89d975d7b959fe6c9b0af73ef6261cdb3763715 a89d975] by '''TheNormalnij''' and '''StrixG''')
:* Added missing model ids and names scraped from .ide files ([https://github.com/multitheftauto/mtasa-blue/commit/062dea31dc1a918d440bf7c87bd6957a7d9204ad 062dea3] by '''Merlin''')
:* Added new world special property ''coronaztest'' ([https://github.com/multitheftauto/mtasa-blue/commit/093ecf47422f535053f2f4b321bc32ee1c63befd 093ecf4] by '''gta191977649''')
:* Added pthread and x64 files to the uninstall process ([https://github.com/multitheftauto/mtasa-blue/commit/6ae2ff14e966f7792de3b995d7c8e9655cd5bc75 6ae2ff1] by '''patrikjuvonen''')
:* Added pthread and x64 files to the uninstall process ([https://github.com/multitheftauto/mtasa-blue/commit/6ae2ff14e966f7792de3b995d7c8e9655cd5bc75 6ae2ff1] by '''patrikjuvonen''')
:* Added ability to enable/disable custom weapons collisions ([https://github.com/multitheftauto/mtasa-blue/commit/e27d97dbc79e7cadc1740211b4fe2e746970d8b5 e27d97d] by '''lopezloo''')
:* Added dynamic ped shadows ([https://github.com/multitheftauto/mtasa-blue/commit/74c359bcaa62fe6a6e8aaa281d247f9ee53778cc 74c359b] by '''lopezloo''')
:* 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''')
:* Allow allocation of ''timed-object'' models using [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/f0a2424dd411f5eb454b554addf1eb217090f55b f0a2424] by '''TheNormalnij''')
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')
:* Changed GUI ''relative'' argument to be ''false'' by default ([https://github.com/multitheftauto/mtasa-blue/commit/9b022b632ddcb3989311332b0c9cf41356d54f55 9b022b6] by '''starmakers''')
:* Changed GUI ''relative'' argument to be ''false'' by default ([https://github.com/multitheftauto/mtasa-blue/commit/9b022b632ddcb3989311332b0c9cf41356d54f55 9b022b6] by '''starmakers''')
:* Changed [[setVehiclesLODDistance]] and [[setPedsLODDistance]] to be able to override client setting ([https://github.com/multitheftauto/mtasa-blue/commit/a44db243df08cd729c850652e44994de1ceedcb1 a44db24] by '''samr46''')
:* Changed [[setVehiclesLODDistance]] and [[setPedsLODDistance]] to be able to override client setting ([https://github.com/multitheftauto/mtasa-blue/commit/a44db243df08cd729c850652e44994de1ceedcb1 a44db24] by '''samr46''')
:* Changed max ''fpslimit'' to 32767 ([https://github.com/multitheftauto/mtasa-blue/commit/50d80403182b1ac377502e08e29ec6ef51214c78 50d8040] by '''Merlin''')
:* Clear client script memory after load ([https://github.com/multitheftauto/mtasa-blue/commit/ce50b9ee6c9112db0358e3ddba354021ca084588 ce50b9e] by '''Pirulax''' and [https://github.com/multitheftauto/mtasa-blue/commit/cece630440c577f747e9ee890fd1563a542269e7 cece630] by '''botder''')
:* Detect graphics libraries in MTA directory ([https://github.com/multitheftauto/mtasa-blue/commit/a0645accecc1a6f1288671c988fff79f663e3bde a0645ac] by '''botder''')
:* Detect graphics libraries in MTA directory ([https://github.com/multitheftauto/mtasa-blue/commit/a0645accecc1a6f1288671c988fff79f663e3bde a0645ac] by '''botder''')
:* 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''')
Line 112: Line 123:
::* Fixed breakable objects decaying faster on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/7c26dddcc4ad68dbd79509494bb560fc3f784766 7c26ddd] by '''Merlin''')
::* Fixed breakable objects decaying faster on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/7c26dddcc4ad68dbd79509494bb560fc3f784766 7c26ddd] by '''Merlin''')
::* Fixed rocket launcher spawning too many effects on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/167addab6694e76d177989fb4caf3c5bf252dfc7 167adda] by '''Merlin''')
::* Fixed rocket launcher spawning too many effects on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/167addab6694e76d177989fb4caf3c5bf252dfc7 167adda] by '''Merlin''')
::* Fixed wheels spawning too many surface effects on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/d2b2c45789747d8412a207e6c7b3094e8556ac73 d2b2c45] by '''Merlin''')
::* Fixed stuntplane and cropduster spawning too many smoke trail particles on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/e9cc0a3d515165072863a6b1d3b1652814c24924 e9cc0a3] by '''Merlin''')
::* Fixed water cannon decaying much faster on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/32c04f0b25c959007b96d42cdbfefbadca22ca64 32c04f0] by '''Merlin''')
::* Fixed [[setCameraShakeLevel]] shaking too fast on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/893858ddc5a768194b435da40230fca8ef7da752 893858d] by '''Merlin''')
::* Fixed [[setPedHeadless]] spawning too many particles on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/2e1042fd67b4438cf2f8e207af241ad98a4e1a88 2e1042f] by '''Merlin''')
::* Fixed more high FPS issues ([https://github.com/multitheftauto/mtasa-blue/commit/bcc56b5ee6df43697069f38977d09eae23f7e62c bcc56b5] by '''Merlin''')
:::* Fixed money animation playing faster on high FPS
:::* Fixed walking through water spawn too many particles on high FPS
:::* Fixed spawning too many weather particles on high FPS
:::* Fixed airplane spawning too many damage particles on high FPS
:::* Fixed vehicles spawning too much sand and water particles on high FPS
:::* Fixed boats spawning too many particles on high FPS
:::* Fixed spawning too many rain particles on vehicles on high FPS
:::* Fixed airplanes spawning too many particles when damaged on high FPS
:::* Fixed vehicles spawning too many exhaust particles on high FPS
:::* Fixed spawning too many particles while swimming on high FPS
::* Fixed helicopters taking off faster on high FPS ([https://github.com/multitheftauto/mtasa-blue/commit/40c178ed787b50ef3fc1d878d794b6b885bc00b9 40c178e] by '''Merlin''')
::* Fixed more high FPS issues ([https://github.com/multitheftauto/mtasa-blue/commit/7c8a1ab93d091b06262749b482d6c8142ca69eea 7c8a1ab] by '''Merlin''')
:::* Fixed fog moving too fast on high FPS
:::* Fixed glass shards spinning and expanding too fast on high FPS
:::* Fixed boats being slow on high FPS
:* Fixed camera drunk/shake level not resetting on server disconnect ([https://github.com/multitheftauto/mtasa-blue/commit/3f71f1b64f0359ea2309224d46e1aa65d2d7c3c3 3f71f1b] by '''Lpsd''')
:* Fixed grass not rendering ([https://github.com/multitheftauto/mtasa-blue/commit/52798a2d923bdb4e29f6fb9c63178e30e40479b6 52798a2] by '''TFP-dev''')
:* Fixed server browser search input disappearing at times ([https://github.com/multitheftauto/mtasa-blue/commit/7c750151a1f5ee11330fec23664359f4d2c535e9 7c75015] by '''lopezloo''')
:* Fixed interior radio crash ([https://github.com/multitheftauto/mtasa-blue/commit/d00336070f6f726b66445213f43b50e605aefcd4 d003360] by '''TheNormalnij''' and [https://github.com/multitheftauto/mtasa-blue/commit/7eb36134dab77b2edf28d6efe6ef9c82c1e9d3f0 7eb3613] by '''Lpsd''')
:* Fixed installer overwriting MTA shortcuts ([https://github.com/multitheftauto/mtasa-blue/commit/d55710491940a5023545208ce14c087a78aa37e4 d557104] by '''se16n''')
:* Improve [[setSoundEffectParameters]] error messages ([https://github.com/multitheftauto/mtasa-blue/commit/cf5d16630f8e0ffa560e1abd1a83b03892d2274e cf5d166] by '''Pirulax''' and '''botder''')
:* 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''')
:* 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''')
:* Removed async tasks in SVG and updated callback usage ([https://github.com/multitheftauto/mtasa-blue/commit/31579051cc046bc5cb55c59fc4e9e70ec1bdce34 3157905] by '''Lpsd''')
:* Removed async tasks in SVG and updated callback usage ([https://github.com/multitheftauto/mtasa-blue/commit/31579051cc046bc5cb55c59fc4e9e70ec1bdce34 3157905] by '''Lpsd''')
:* Removed now unnecessary strafe workaround ([https://github.com/multitheftauto/mtasa-blue/commit/a331072759e69f36062ed1c9b848f6df6f808c9a a331072] by '''Merlin''')
:* Show dialog for dxgi.dll in GTA install directory ([https://github.com/multitheftauto/mtasa-blue/commit/fb26d72b66a2223237c3f022dfad39230232dc3f fb26d72] by '''botder''')
:* Show dialog for dxgi.dll in GTA install directory ([https://github.com/multitheftauto/mtasa-blue/commit/fb26d72b66a2223237c3f022dfad39230232dc3f fb26d72] by '''botder''')
:* Translated news window title ([https://github.com/multitheftauto/mtasa-blue/commit/a446f02701b6cd8325c13ab9e71b1e651bd3d827 a446f02] by '''patrikjuvonen''')
:* Translated news window title ([https://github.com/multitheftauto/mtasa-blue/commit/a446f02701b6cd8325c13ab9e71b1e651bd3d827 a446f02] by '''patrikjuvonen''')
Line 126: Line 165:
:* Consider only affected players for element data stats ([https://github.com/multitheftauto/mtasa-blue/commit/2b549e49c7a3456cb668debdf6b02db9a981281c 2b549e4] by '''tederis''')
:* Consider only affected players for element data stats ([https://github.com/multitheftauto/mtasa-blue/commit/2b549e49c7a3456cb668debdf6b02db9a981281c 2b549e4] by '''tederis''')
:* Fixed server executable name for x64 on Windows ([https://github.com/multitheftauto/mtasa-blue/commit/a11758c71cbbdd4eea9362aba255e324b374c20c a11758c] by '''botder''')
:* Fixed server executable name for x64 on Windows ([https://github.com/multitheftauto/mtasa-blue/commit/a11758c71cbbdd4eea9362aba255e324b374c20c a11758c] by '''botder''')
:* Fixed [[onPedDamage]] not working ([https://github.com/multitheftauto/mtasa-blue/commit/143102a38acdabba8d7837252fd8c95f704d4ef8 143102a] by '''xLive''')
:* Use vector length method instead of manual distance calculation when using [[removeWorldModel]] server-side ([https://github.com/multitheftauto/mtasa-blue/commit/a3c83c8927c709ca1999f2664d791274c3a7b969 a3c83c8] by '''NanoBob''')
:* Use vector length method instead of manual distance calculation when using [[removeWorldModel]] server-side ([https://github.com/multitheftauto/mtasa-blue/commit/a3c83c8927c709ca1999f2664d791274c3a7b969 a3c83c8] by '''NanoBob''')


=== More Technical Changes and Bug Fixes ===
=== More Technical Changes and Bug Fixes ===
<section show="true">
<section show="true">
:* Added nullptr checks in CWorld::FindObjectsKindaCollidingSectorList ([https://github.com/multitheftauto/mtasa-blue/commit/8e8aa3ab41928bd01c09c231679e0ecbc9bf7c97 8e8aa3a] by '''Merlin''')
:* Check active resource in CLuaDefs::CanUseFunction ([https://github.com/multitheftauto/mtasa-blue/commit/4a94343ed44ff66c75d3c04ed2d45fae842054d5 4a94343] by '''Lpsd''')
:* Check active resource in CLuaDefs::CanUseFunction ([https://github.com/multitheftauto/mtasa-blue/commit/4a94343ed44ff66c75d3c04ed2d45fae842054d5 4a94343] by '''Lpsd''')
:* 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''')
:* Cleaned up and refactored server code ([https://github.com/multitheftauto/mtasa-blue/commit/693976b7131a87df71d81256a80cc48b22ab7bcf 693976b] and [https://github.com/multitheftauto/mtasa-blue/commit/cd1d2088a92b685b3b6294acb388fc1154ddbee4 cd1d208] by '''botder''')
:* Cleaned up and refactored server code ([https://github.com/multitheftauto/mtasa-blue/commit/693976b7131a87df71d81256a80cc48b22ab7bcf 693976b] and [https://github.com/multitheftauto/mtasa-blue/commit/cd1d2088a92b685b3b6294acb388fc1154ddbee4 cd1d208] by '''botder''')
:* Cleaned up game_sa project ([https://github.com/multitheftauto/mtasa-blue/commit/76b21f7ed5b23f7d734eae20d089bb50336f8518 76b21f7], [https://github.com/multitheftauto/mtasa-blue/commit/e0abb3087a63e79b4273f8185920d00472b1354a e0abb30], [https://github.com/multitheftauto/mtasa-blue/commit/889b6c8ea719cd1a9152ffee9a382a50ee960c51 889b6c8], [https://github.com/multitheftauto/mtasa-blue/commit/90bcdb487ebd9949173186f78de7d2b22b588f96 90bcdb4], [https://github.com/multitheftauto/mtasa-blue/commit/d7082ed1109094e89524cdf4e7d63ad2c2d6c65b d7082ed], [https://github.com/multitheftauto/mtasa-blue/commit/c9c97f1ad4887098b12efd78587b7ec6bed86971 c9c97f1], [https://github.com/multitheftauto/mtasa-blue/commit/3f5b8741b1faae4682942499355ec9a92fcd81a1 3f5b874], [https://github.com/multitheftauto/mtasa-blue/commit/d085fb989e86be9668cd3e9f3f4426eefe55df6d d085fb9] by '''Merlin''')
:* Define "HAVE_UNISTD_H" in zlib on Mac systems ([https://github.com/multitheftauto/mtasa-blue/commit/e467585d70058551ba9e69beaf86c782c374115c e467585] by '''Lpsd''')
:* Define "HAVE_UNISTD_H" in zlib on Mac systems ([https://github.com/multitheftauto/mtasa-blue/commit/e467585d70058551ba9e69beaf86c782c374115c e467585] by '''Lpsd''')
:* 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''')
Line 138: Line 180:
:* 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''')
:* Get rid of ''std::function'' in ''AsyncTaskSched'' ([https://github.com/multitheftauto/mtasa-blue/commit/c372dc38ff76ca8ff33f853e4384ab4a9d657881 c372dc3] by '''Pirulax''')
:* Get rid of ''std::function'' in ''AsyncTaskSched'' ([https://github.com/multitheftauto/mtasa-blue/commit/c372dc38ff76ca8ff33f853e4384ab4a9d657881 c372dc3] by '''Pirulax''')
:* Improve performance of CClientObjectManager::UpdateLimitInfo ([https://github.com/multitheftauto/mtasa-blue/commit/0160e1828127b0f183425074401d8bab6391dc9b 0160e18] by '''Merlin''')
:* 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''')
:* Refactored CBufferRef to use std::shared_ptr ([https://github.com/multitheftauto/mtasa-blue/commit/49fa84851caf21458809d955a8131edb61ff4086 49fa848] by '''Pirulax''')
:* Removed CRefCountableST ([https://github.com/multitheftauto/mtasa-blue/commit/4482f133eff87396029ee1c1d71a02125fbb0834 4482f13] by '''Pirulax''')
:* Removed a debug assert in ''CFileLoaderSA'' that causes crashes without a valid reason ([https://github.com/multitheftauto/mtasa-blue/commit/29dfe4bd095170a131b27f9687262995ad301489 29dfe4b] by '''Pieter-Dewachter''')
:* Removed a debug assert in ''CFileLoaderSA'' that causes crashes without a valid reason ([https://github.com/multitheftauto/mtasa-blue/commit/29dfe4bd095170a131b27f9687262995ad301489 29dfe4b] by '''Pieter-Dewachter''')
:* 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''')

Revision as of 21:45, 23 December 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.


6 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).
  • The previously unused z argument in getElementsWithinRange now calculates elements in 3D space instead of 2D space (#1994).


Statistics

Click to collapse [-]

These are some statistics since the previous release.

  • This is the 27th 1.x.x release
  • 456 days
  • 6 backwards incompatible changes
  • 0 new functions
  • 0 new events
  • 0 deprecations
  • 0+ bug fixes and changes
  • 466 commits (see comparison)
  • 147 new open GitHub issues (see list)
  • 54 resolved GitHub issues (see list)
  • 50 closed GitHub issues (see list)
  • 29 new open GitHub pull requests (see list)
  • 146 merged GitHub pull requests (see list)
  • 76 closed GitHub pull requests (see list)
  • 27 contributors of which 9 are new (see list)
  • 100+ total contributors (see list)
  • 17 vendor updates

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


3 New Features

Shared

Client

Server

  • Added ARM support for the server executable (8fc9004 and d01bf2e by botder)


46 Changes and Bug Fixes

Shared

Client

  • Added hook to change vehicle damage debris to the vehicle color (952448d by Merlin)
  • Added missing chat_text_outline CVAR to getChatboxLayout function (5cc419c by Pieter-Dewachter)
  • Added missing getType method for camera element (a89d975 by TheNormalnij and StrixG)
  • Added missing model ids and names scraped from .ide files (062dea3 by Merlin)
  • Added new world special property coronaztest (093ecf4 by gta191977649)
  • Added pthread and x64 files to the uninstall process (6ae2ff1 by patrikjuvonen)
  • Added ability to enable/disable custom weapons collisions (e27d97d by lopezloo)
  • Added dynamic ped shadows (74c359b by lopezloo)
  • Avoid hierarchy in engineRequestModel (8e94ec1 and 85203a6 by TheNormalnij and Lpsd)
  • Allow allocation of timed-object models using engineRequestModel (f0a2424 by TheNormalnij)
  • Changed Enter a domain... text from web settings into a placeholder (dc82419 by patrikjuvonen)
  • Changed GUI relative argument to be false by default (9b022b6 by starmakers)
  • Changed setVehiclesLODDistance and setPedsLODDistance to be able to override client setting (a44db24 by samr46)
  • Changed max fpslimit to 32767 (50d8040 by Merlin)
  • Clear client script memory after load (ce50b9e by Pirulax and cece630 by botder)
  • Detect graphics libraries in MTA directory (a0645ac by botder)
  • Fixed access violation in getVehicleWheelFrictionState for vehicles not streamed in (dde0e59 by botder)
  • Fixed a small memory leak for engineRequestModel (b2a625b by TheNormalnij and Vladislav Nikolaevich)
  • Fixed broken doors and damage sync for custom vehicles (51d3288 by BCG2000)
  • Fixed camera logic after using warpPedIntoVehicle (607b57d by TheNormalnij and Vladislav Nikolaevich)
  • Fixed CEF crashing without a crash-dump (4b03b13 and e45a765 by Lpsd)
  • Fixed chatbox when using inputBlocked argument (bd62e56 by Pieter-Dewachter)
  • Fixed crash when pickup has invalid custom model (1b17869 by TheNormalnij)
  • Fixed crash when removing key binds while processing a key stroke (90f757d by botder)
  • Fixed getVehicleType and getVehicleMaxPassengers not returning specific values and players cannot enter as passengers on vehicles added with engineRequestModel (141438f by BCG2000)
  • Fixed health bar blinking faster on high fps (df4d35d by Merlin)
  • Fixed interiors lacking radio (e573959 by lopezloo)
  • Fixed key binds breaking on resource stop (8c78fba and 280131f by botder)
  • Fixed mirrored position of light_front_second vehicle dummy (32aeb0e by botder)
  • Fixed setElementModel forcing an element to be streamed in no matter the distance from localPlayer (467df06 by TheNormalnij)
  • Fixed settings gui crash (8088801 by botder)
  • Fixed sync of damaged light states and wheel states (fe48d09 by Addlibs)
  • Fixed re-enabling a game control (a69f694 by botder and srslyyyy)
  • Fixed unused binds descriptions are always in english (32962a6 by patrikjuvonen)
  • Fixed removal of key binds crashing the client (64b55bb by botder)
  • Fixed single player HUD setting affecting MTA (7ead65d by Merlin)
  • Fixed isElementInWater returning false if ped or player is in vehicle in water (29f3038 by matheustkn)
  • Fixed refresh rate limited to 60Hz in full screen mode for some setups (5207a31 and 5c77d97 by samr46)
  • Fixed water sound level outside of game boundaries on setWaterLevel (aed0554 by samr46)
  • Fixed muzzle flash not showing for the last bullet in magazine (80b17d9 by Merlin)
  • Fixed various high FPS related issues
  • Fixed walking while aiming on high FPS (e64d311 by Merlin)
  • Fixed aircraft and boat lights blinking faster on high FPS (f597c46 by Merlin)
  • Fixed breakable objects decaying faster on high FPS (7c26ddd by Merlin)
  • Fixed rocket launcher spawning too many effects on high FPS (167adda by Merlin)
  • Fixed wheels spawning too many surface effects on high FPS (d2b2c45 by Merlin)
  • Fixed stuntplane and cropduster spawning too many smoke trail particles on high FPS (e9cc0a3 by Merlin)
  • Fixed water cannon decaying much faster on high FPS (32c04f0 by Merlin)
  • Fixed setCameraShakeLevel shaking too fast on high FPS (893858d by Merlin)
  • Fixed setPedHeadless spawning too many particles on high FPS (2e1042f by Merlin)
  • Fixed more high FPS issues (bcc56b5 by Merlin)
  • Fixed money animation playing faster on high FPS
  • Fixed walking through water spawn too many particles on high FPS
  • Fixed spawning too many weather particles on high FPS
  • Fixed airplane spawning too many damage particles on high FPS
  • Fixed vehicles spawning too much sand and water particles on high FPS
  • Fixed boats spawning too many particles on high FPS
  • Fixed spawning too many rain particles on vehicles on high FPS
  • Fixed airplanes spawning too many particles when damaged on high FPS
  • Fixed vehicles spawning too many exhaust particles on high FPS
  • Fixed spawning too many particles while swimming on high FPS
  • Fixed helicopters taking off faster on high FPS (40c178e by Merlin)
  • Fixed more high FPS issues (7c8a1ab by Merlin)
  • Fixed fog moving too fast on high FPS
  • Fixed glass shards spinning and expanding too fast on high FPS
  • Fixed boats being slow on high FPS
  • Fixed camera drunk/shake level not resetting on server disconnect (3f71f1b by Lpsd)
  • Fixed grass not rendering (52798a2 by TFP-dev)
  • Fixed server browser search input disappearing at times (7c75015 by lopezloo)
  • Fixed interior radio crash (d003360 by TheNormalnij and 7eb3613 by Lpsd)
  • Fixed installer overwriting MTA shortcuts (d557104 by se16n)
  • Improve setSoundEffectParameters error messages (cf5d166 by Pirulax and botder)
  • Refactored key binds (2878168, 5c0afad, 6e87551 and 73e4e42 by botder)
  • Re-rendered main menu images from a new PSD (d38c107 by patrikjuvonen)
  • Removed async tasks in SVG and updated callback usage (3157905 by Lpsd)
  • Removed now unnecessary strafe workaround (a331072 by Merlin)
  • Show dialog for dxgi.dll in GTA install directory (fb26d72 by botder)
  • Translated news window title (a446f02 by patrikjuvonen)
  • Updated CGUI images (c1a958c by patrikjuvonen)
  • Updated en_US images, added latest_news.png (42693d8 and cd0cce7 by patrikjuvonen)
  • Updated main menu logo (4b9a3a4 and aa1e1d4 by patrikjuvonen)
  • Updated translations (7f3d15b and f01fe5d by patrikjuvonen)
  • Updated various non-https links to https (2722466 by patrikjuvonen)

Server

  • Consider only affected players for element data stats (2b549e4 by tederis)
  • Fixed server executable name for x64 on Windows (a11758c by botder)
  • Fixed onPedDamage not working (143102a by xLive)
  • 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 [-]
  • Added nullptr checks in CWorld::FindObjectsKindaCollidingSectorList (8e8aa3a by Merlin)
  • Check active resource in CLuaDefs::CanUseFunction (4a94343 by Lpsd)
  • Cleaned up CClientVehicle.cpp file (8b806be by botder)
  • Cleaned up and refactored server code (693976b and cd1d208 by botder)
  • Cleaned up game_sa project (76b21f7, e0abb30, 889b6c8, 90bcdb4, d7082ed, c9c97f1, 3f5b874, d085fb9 by Merlin)
  • Define "HAVE_UNISTD_H" in zlib on Mac systems (e467585 by Lpsd)
  • 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)
  • Get rid of std::function in AsyncTaskSched (c372dc3 by Pirulax)
  • Improve performance of CClientObjectManager::UpdateLimitInfo (0160e18 by Merlin)
  • Initialized lastSyncType variable in addElementDataSubscriber (ca3b0b7 by botder)
  • Refactored CBufferRef to use std::shared_ptr (49fa848 by Pirulax)
  • Removed CRefCountableST (4482f13 by Pirulax)
  • Removed a debug assert in CFileLoaderSA that causes crashes without a valid reason (29dfe4b by Pieter-Dewachter)
  • Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) (0dcdac3 by Lpsd)
  • Removed non-existent vendor from include (9616ae1 by patrikjuvonen)
  • Updated GitHub issue templates (9b2dbbb, 70e59bb and 07204d2 by patrikjuvonen)
  • Updated launchers (5b4ce8a by patrikjuvonen, 368864b and 11c3116 by Dutchman101)
  • Updated server launcher icon (8729c9f by patrikjuvonen)
  • Upgraded l10n scripts to use python3 and automate pot file generation (583f2b9 by darkdreamingdan and patrikjuvonen)


17 Vendor Updates

Client

  • Updated BASS libraries (4dac6e5 by Dutchman101)
  • Updated CEF from Chromium 94.0.4606.61 (CEF 94.4.2+g6a963ca) to Chromium 108.0.5359.125 (CEF 108.4.13+ga98cd4c) (12f68a7 by Dutchman101 and patrikjuvonen and acdb3cb by Lpsd)
  • Updated freetype from 2.10.4 to 2.12.1 (bce4ae7 by patrikjuvonen)
  • Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 (deef8dc by patrikjuvonen)
  • Updated lunasvg from 2.2.0 to 2.3.5 (331d695 by patrikjuvonen)
  • Updated libpng from 1.6.37 to 1.6.39 (94bab09 by patrikjuvonen)
  • Updated nvapi to r525 (a23a58d by patrikjuvonen)
  • Updated libjpeg from 9d to 9e (c6aafc6 by patrikjuvonen)
  • Updated unifont from 13.0.06 to 15.0.01 (17f4f6c by patrikjuvonen)

Server

  • Updated sqlite from 3.36.0 to 3.40.0 (3dc9ea3 by patrikjuvonen)
  • Updated mysql-connector-c from 6.0.2 to 6.1.11 (9f88f41 by patrikjuvonen)

Shared

  • Updated curl from 7.79.1 to 7.86.0 (44577e8 by patrikjuvonen)
  • Updated mbedtls from 2.27.0 to 2.28.2 (d8e29be by patrikjuvonen)
  • Updated cryptopp from 8.6.0 to 8.7.0 (c10ca92 by patrikjuvonen)
  • Updated zlib from 1.2.11 to 1.2.13 (6df121b by patrikjuvonen)
  • Updated unrar from 6.02 to 6.11 (66a16ff by patrikjuvonen and 66017cd by Lpsd)
  • Updated json-c from 0.15 to 0.16 (4cfbaa7 by patrikjuvonen)


Resources

32+ 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 lint warnings (b139dd9, 372a8fa, ad1522f, 3868016, a7fbea7, a474c54 and 18a495c 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)
  • [admin] Removed non-existent functions (a594174 by starmakers)
  • [admin] Removed serial validation (c6259f6 by srslyyyy)
  • [admin] Improved admin to use a newly added server event instead of a client script (0cb4877 by srslyyyy)
  • [ctf] Various fixes, cleanups and refactoring (609ac0c by IIYAMA12)
  • [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)
  • [editor] Fixed a typo in text (8722f2b by Dutchman101)
  • [editor_main] Improved scripting extensions (7a8ae06 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)
  • [web] Fixed resourcemanager (37348ce by ArranTuna)
  • [webadmin] Fixed a typo in CSS (70361a4 by RatajVaver)
  • [webmap] Switched to assets.multitheftauto.com domain for loading map tiles (218f2c7 by patrikjuvonen)


Extra information

More detailed information available on our GitHub repositories: