https://wiki.multitheftauto.com/api.php?action=feedcontributions&user=Lvrent&feedformat=atomMulti Theft Auto: Wiki - User contributions [en]2024-03-28T23:42:57ZUser contributionsMediaWiki 1.39.3https://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=75356Changes in 1.62022-08-17T08:12:12Z<p>Lvrent: Undo revision 75355 by Lvrent (talk)</p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 3 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added vehicle sun glare effect to [[setWorldSpecialPropertyEnabled]] and [[isWorldSpecialPropertyEnabled]] ([https://github.com/multitheftauto/mtasa-blue/commit/1fac28795ece272f0a7fe0b697c793b315ac3459 1fac287] by '''gta191977649''' and '''TheNormalnij''')<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 46 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed crash when removing key binds while processing a key stroke ([https://github.com/multitheftauto/mtasa-blue/commit/90f757d26f2c49b02cc5f67e7146c2c7db0dcbe0 90f757d] by '''botder''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed health bar blinking faster on high fps ([https://github.com/multitheftauto/mtasa-blue/commit/df4d35d2a14cba7fc5549b13cc6cf221d2e7132a df4d35d] by '''Merlin''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] and [https://github.com/multitheftauto/mtasa-blue/commit/280131fd07af4863cb40bad3ae32e1c0f02135e9 280131f] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed settings gui crash ([https://github.com/multitheftauto/mtasa-blue/commit/8088801f07fa866028a3f88cf7d3a979a3034ef2 8088801] by '''botder''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed re-enabling a game control ([https://github.com/multitheftauto/mtasa-blue/commit/a69f69495b8c5577907fbf10518c94447748386b a69f694] by '''botder''' and '''srslyyyy''')<br />
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')<br />
:* 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''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Translated news window title ([https://github.com/multitheftauto/mtasa-blue/commit/a446f02701b6cd8325c13ab9e71b1e651bd3d827 a446f02] by '''patrikjuvonen''')<br />
:* Updated CGUI images ([https://github.com/multitheftauto/mtasa-blue/commit/c1a958c7fc6f7e9f5e1937fb59bbd1fa341da86e c1a958c] by '''patrikjuvonen''')<br />
:* Updated en_US images, added ''latest_news.png'' ([https://github.com/multitheftauto/mtasa-blue/commit/42693d806b132e4299173059f423c61fa13f5c21 42693d8] and [https://github.com/multitheftauto/mtasa-blue/commit/cd0cce740cb63b2b2c6c79a7bd4ebc3fad6ad9aa cd0cce7] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Get rid of ''std::function'' in ''AsyncTaskSched'' ([https://github.com/multitheftauto/mtasa-blue/commit/c372dc38ff76ca8ff33f853e4384ab4a9d657881 c372dc3] by '''Pirulax''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* 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''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 8 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.99 (97.1.6+g8961cdb) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')<br />
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')<br />
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] by '''patrikjuvonen''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')<br />
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 24 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/b139dd9f878a89f6de01f9416b81605705af30ba b139dd9], [https://github.com/multitheftauto/mtasa-resources/commit/372a8fab81e6a367ab3c2531885966617b563f9b 372a8fa], [https://github.com/multitheftauto/mtasa-resources/commit/ad1522f221aecee76fe42ed5f15b77785a299589 ad1522f], [https://github.com/multitheftauto/mtasa-resources/commit/386801682dc437e8527def6ece63d607b95ae775 3868016], [https://github.com/multitheftauto/mtasa-resources/commit/a7fbea7a549328a7a3aa074b635cb2638252b027 a7fbea7] and [https://github.com/multitheftauto/mtasa-resources/commit/a474c544bd8d01b799addb84d91e98b606e93081 a474c54] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
:* [web] Fixed resourcemanager ([https://github.com/multitheftauto/mtasa-resources/commit/37348cecb60a6c999c316398a17f866d54569953 37348ce] by '''ArranTuna''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=75355Changes in 1.62022-08-17T08:11:15Z<p>Lvrent: removed Category:Changelog using HotCat</p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 3 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added vehicle sun glare effect to [[setWorldSpecialPropertyEnabled]] and [[isWorldSpecialPropertyEnabled]] ([https://github.com/multitheftauto/mtasa-blue/commit/1fac28795ece272f0a7fe0b697c793b315ac3459 1fac287] by '''gta191977649''' and '''TheNormalnij''')<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 46 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed crash when removing key binds while processing a key stroke ([https://github.com/multitheftauto/mtasa-blue/commit/90f757d26f2c49b02cc5f67e7146c2c7db0dcbe0 90f757d] by '''botder''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed health bar blinking faster on high fps ([https://github.com/multitheftauto/mtasa-blue/commit/df4d35d2a14cba7fc5549b13cc6cf221d2e7132a df4d35d] by '''Merlin''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] and [https://github.com/multitheftauto/mtasa-blue/commit/280131fd07af4863cb40bad3ae32e1c0f02135e9 280131f] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed settings gui crash ([https://github.com/multitheftauto/mtasa-blue/commit/8088801f07fa866028a3f88cf7d3a979a3034ef2 8088801] by '''botder''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed re-enabling a game control ([https://github.com/multitheftauto/mtasa-blue/commit/a69f69495b8c5577907fbf10518c94447748386b a69f694] by '''botder''' and '''srslyyyy''')<br />
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')<br />
:* 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''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Translated news window title ([https://github.com/multitheftauto/mtasa-blue/commit/a446f02701b6cd8325c13ab9e71b1e651bd3d827 a446f02] by '''patrikjuvonen''')<br />
:* Updated CGUI images ([https://github.com/multitheftauto/mtasa-blue/commit/c1a958c7fc6f7e9f5e1937fb59bbd1fa341da86e c1a958c] by '''patrikjuvonen''')<br />
:* Updated en_US images, added ''latest_news.png'' ([https://github.com/multitheftauto/mtasa-blue/commit/42693d806b132e4299173059f423c61fa13f5c21 42693d8] and [https://github.com/multitheftauto/mtasa-blue/commit/cd0cce740cb63b2b2c6c79a7bd4ebc3fad6ad9aa cd0cce7] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Get rid of ''std::function'' in ''AsyncTaskSched'' ([https://github.com/multitheftauto/mtasa-blue/commit/c372dc38ff76ca8ff33f853e4384ab4a9d657881 c372dc3] by '''Pirulax''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* 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''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 8 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.99 (97.1.6+g8961cdb) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')<br />
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')<br />
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] by '''patrikjuvonen''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')<br />
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 24 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/b139dd9f878a89f6de01f9416b81605705af30ba b139dd9], [https://github.com/multitheftauto/mtasa-resources/commit/372a8fab81e6a367ab3c2531885966617b563f9b 372a8fa], [https://github.com/multitheftauto/mtasa-resources/commit/ad1522f221aecee76fe42ed5f15b77785a299589 ad1522f], [https://github.com/multitheftauto/mtasa-resources/commit/386801682dc437e8527def6ece63d607b95ae775 3868016], [https://github.com/multitheftauto/mtasa-resources/commit/a7fbea7a549328a7a3aa074b635cb2638252b027 a7fbea7] and [https://github.com/multitheftauto/mtasa-resources/commit/a474c544bd8d01b799addb84d91e98b606e93081 a474c54] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
:* [web] Fixed resourcemanager ([https://github.com/multitheftauto/mtasa-resources/commit/37348cecb60a6c999c316398a17f866d54569953 37348ce] by '''ArranTuna''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73798Changes in 1.62022-01-23T15:25:43Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 3 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added vehicle sun glare effect to [[setWorldSpecialPropertyEnabled]] and [[isWorldSpecialPropertyEnabled]] ([https://github.com/multitheftauto/mtasa-blue/commit/1fac28795ece272f0a7fe0b697c793b315ac3459 1fac287] by '''gta191977649''' and '''TheNormalnij''')<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 46 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed crash when removing key binds while processing a key stroke ([https://github.com/multitheftauto/mtasa-blue/commit/90f757d26f2c49b02cc5f67e7146c2c7db0dcbe0 90f757d] by '''botder''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed health bar blinking faster on high fps ([https://github.com/multitheftauto/mtasa-blue/commit/df4d35d2a14cba7fc5549b13cc6cf221d2e7132a df4d35d] by '''Merlin''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] and [https://github.com/multitheftauto/mtasa-blue/commit/280131fd07af4863cb40bad3ae32e1c0f02135e9 280131f] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed settings gui crash ([https://github.com/multitheftauto/mtasa-blue/commit/8088801f07fa866028a3f88cf7d3a979a3034ef2 8088801] by '''botder''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed re-enabling a game control ([https://github.com/multitheftauto/mtasa-blue/commit/a69f69495b8c5577907fbf10518c94447748386b a69f694] by '''botder''' and '''srslyyyy''')<br />
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')<br />
:* 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''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Translated news window title ([https://github.com/multitheftauto/mtasa-blue/commit/a446f02701b6cd8325c13ab9e71b1e651bd3d827 a446f02] by '''patrikjuvonen''')<br />
:* Updated CGUI images ([https://github.com/multitheftauto/mtasa-blue/commit/c1a958c7fc6f7e9f5e1937fb59bbd1fa341da86e c1a958c] by '''patrikjuvonen''')<br />
:* Updated en_US images, added ''latest_news.png'' ([https://github.com/multitheftauto/mtasa-blue/commit/42693d806b132e4299173059f423c61fa13f5c21 42693d8] and [https://github.com/multitheftauto/mtasa-blue/commit/cd0cce740cb63b2b2c6c79a7bd4ebc3fad6ad9aa cd0cce7] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Get rid of ''std::function'' in ''AsyncTaskSched'' ([https://github.com/multitheftauto/mtasa-blue/commit/c372dc38ff76ca8ff33f853e4384ab4a9d657881 c372dc3] by '''Pirulax''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* 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''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 8 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.99 (97.1.6+g8961cdb) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')<br />
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')<br />
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] by '''patrikjuvonen''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')<br />
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 24 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/b139dd9f878a89f6de01f9416b81605705af30ba b139dd9], [https://github.com/multitheftauto/mtasa-resources/commit/372a8fab81e6a367ab3c2531885966617b563f9b 372a8fa], [https://github.com/multitheftauto/mtasa-resources/commit/ad1522f221aecee76fe42ed5f15b77785a299589 ad1522f], [https://github.com/multitheftauto/mtasa-resources/commit/386801682dc437e8527def6ece63d607b95ae775 3868016], [https://github.com/multitheftauto/mtasa-resources/commit/a7fbea7a549328a7a3aa074b635cb2638252b027 a7fbea7] and [https://github.com/multitheftauto/mtasa-resources/commit/a474c544bd8d01b799addb84d91e98b606e93081 a474c54] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
:* [web] Fixed resourcemanager ([https://github.com/multitheftauto/mtasa-resources/commit/37348cecb60a6c999c316398a17f866d54569953 37348ce] by '''ArranTuna''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73730Changes in 1.62022-01-22T12:39:29Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 2 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 37 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')<br />
:* 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''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 8 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.71 (97.1.1+g50067f2) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')<br />
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')<br />
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] by '''patrikjuvonen''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')<br />
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 22 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73729Changes in 1.62022-01-22T12:38:48Z<p>Lvrent: Undo revision 73728 by Lvrent (talk)</p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 2 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 37 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')<br />
:* 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''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 8 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.71 (97.1.1+g50067f2) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')<br />
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')<br />
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] by '''patrikjuvonen''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')<br />
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 22 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73728Changes in 1.62022-01-22T12:38:21Z<p>Lvrent: removed Category:Incomplete using HotCat</p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 2 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 37 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')<br />
:* 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''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 8 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.71 (97.1.1+g50067f2) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')<br />
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')<br />
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] by '''patrikjuvonen''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')<br />
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 22 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73727Changes in 1.62022-01-22T12:38:07Z<p>Lvrent: removed Category:Changelog using HotCat</p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 2 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 37 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')<br />
:* 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''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 8 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.71 (97.1.1+g50067f2) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')<br />
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')<br />
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] by '''patrikjuvonen''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')<br />
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 22 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73346Changes in 1.62022-01-09T22:45:36Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 2 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 37 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Fixed several code warnings ([https://github.com/multitheftauto/mtasa-blue/commit/e43aa1ba1dfd5c27fec50924938ac14444ff045e e43aa1b] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Changed ''Enter a domain...'' text from web settings into a placeholder ([https://github.com/multitheftauto/mtasa-blue/commit/dc8241903184cf889502925b78c4d48d3413f0f4 dc82419] by '''patrikjuvonen''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed key binds breaking on resource stop ([https://github.com/multitheftauto/mtasa-blue/commit/8c78fbaca9b837f11fe846792e4a9bf2ca43a8c9 8c78fba] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed unused binds descriptions are always in english ([https://github.com/multitheftauto/mtasa-blue/commit/32962a6a90178dbf4638df83c0985db1826ed8b1 32962a6] by '''patrikjuvonen''')<br />
:* 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''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 8 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 97.0.4692.71 (97.1.1+g50067f2) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''patrikjuvonen''')<br />
:* Updated curl from 7.79.1 to 7.81.0 ([https://github.com/multitheftauto/mtasa-blue/commit/8ceddab7dd7f6759e864f8f1305b934af1bcbae0 8ceddab] by '''patrikjuvonen''')<br />
:* Updated freetype from 2.10.4 to 2.11.1 ([https://github.com/multitheftauto/mtasa-blue/commit/4d323ceb3f4500ae860e5abf64d5e7a37392fc20 4d323ce] by '''patrikjuvonen''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
:* Updated mbedtls from 2.27.0 to 2.28.0 ([https://github.com/multitheftauto/mtasa-blue/commit/e5c7ea657129e3448d27b5466310e5d66c1af266 e5c7ea6] and [https://github.com/multitheftauto/mtasa-blue/commit/a04ea151cf4757f2eca6952478c0241ae9496fab a04ea15] by '''patrikjuvonen''')<br />
:* Updated sqlite from 3.36.0 to 3.37.2 ([https://github.com/multitheftauto/mtasa-blue/commit/f2ac185cb09f21a49750854ee608f3d9e56ef143 f2ac185] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 22 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73329Changes in 1.62022-01-06T11:08:15Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 2 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 32 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
:* Removed protocol error 14 ([https://github.com/multitheftauto/mtasa-blue/commit/828ec464d3c761143af749720fe94f9e17712ccb 828ec46] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed chatbox when using ''inputBlocked'' argument ([https://github.com/multitheftauto/mtasa-blue/commit/bd62e563e082533e3c35df877cf99ccdd54f5be8 bd62e56] by '''Pieter-Dewachter''')<br />
:* Fixed crash when pickup has invalid custom model ([https://github.com/multitheftauto/mtasa-blue/commit/1b17869cb58277d596d2865c2a2f777963fe18be 1b17869] by '''TheNormalnij''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed interiors lacking radio ([https://github.com/multitheftauto/mtasa-blue/commit/e573959da339f9c19eef9f4b8a54e2da50b402ac e573959] by '''lopezloo''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed [[setElementModel]] forcing an element to be streamed in no matter the distance from [[localPlayer]] ([https://github.com/multitheftauto/mtasa-blue/commit/467df061b5fadcee81bb7c0c4fb6cf23e741b3eb 467df06] by '''TheNormalnij''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Re-rendered main menu images from a new PSD ([https://github.com/multitheftauto/mtasa-blue/commit/d38c107372a05d73f5efd8813575c3ac4f740d60 d38c107] by '''patrikjuvonen''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 4 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 96.0.4664.110 (96.0.18+gfe551e4) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''Dutchman101''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 22 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73198Changes in 1.62021-12-27T15:39:15Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 2 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 26 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
:* Improved [[addEvent]] when sharing events over multiple resources ([https://github.com/multitheftauto/mtasa-blue/commit/f3811cb47633589ec5f1b0dd409045eb8c4133a0 f3811cb] by '''Pieter-Dewachter''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up ''CClientVehicle.cpp'' file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced ''TADDRESS_CLAMP'' in ''CVectorGraphicItem'' (now defaulting to ''TADDRESS_WRAP'') ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 4 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 96.0.4664.110 (96.0.18+gfe551e4) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''Dutchman101''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 22 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [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''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73189Changes in 1.62021-12-25T15:34:08Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 2 New Features ==<br />
=== Shared ===<br />
:* 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''')<br />
:** [[generateKeyPair]]<br />
<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 24 Changes and Bug Fixes ==<br />
=== Shared ===<br />
* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 4 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 96.0.4664.110 (96.0.18+gfe551e4) ([https://github.com/multitheftauto/mtasa-blue/commit/7b15218f78330a674f7e26286a0cf8de65ec68e2 7b15218] by '''Dutchman101''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 21 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [gameplay] Added button to delete handlings in hedit (by '''ricksterhd123''', '''Inder00''' and '''Disinterpreter''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=EngineRequestModel&diff=73160EngineRequestModel2021-12-14T14:04:39Z<p>Lvrent: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
{{New feature/item|3.0158|1.5.7|20147|This function is used to assign the next available model ID to a certain element type.}}<br />
{{note|Before release '''1.5.8 r20716''' this must be "ped". After release '''1.5.8 r20716''' this function supports "vehicle" and "object" too.}}<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
int engineRequestModel ( string elementType [, int parentID ] )<br />
</syntaxhighlight><br />
===Required Arguments===<br />
*'''elementType''': "ped", "vehicle" or "object".<br />
<br />
===Optional Arguments=== <br />
*'''parentID''': The ID of the parent model (by default this is: 1337 - objects, 400 - vehicles, 7 - peds).<br />
<br />
===Returns===<br />
{{New feature/item|3.0158|1.5.7|20147| Returns an ''integer'' of the model ID that was available to be assigned to the element type, ''false'' if no free model ID available or invalid element type.}}<br />
Do not rely on the model numbers returned being consistent across multiple clients or multiple runs of resources. There is no guarantee for the order of the numbers or that the same numbers will always correspond to the same element type. Any patterns are coincidental.<br />
<br />
==Example==<br />
This example creates a ped and then gives you the opportunity to change its model. If the resource stops, then the IDs allocated will be deallocated. Use ''/cap'' for creating the ped and ''/sap'' to skin the ped. You will need some skins added to a folder and to the meta.xml for ''/sap'' to work:<br />
<syntaxhighlight lang="lua"><br />
local peds = {}<br />
function createAllocatedPed()<br />
local x, y, z = getElementPosition(localPlayer)<br />
local id = engineRequestModel("ped")<br />
peds[id] = createPed(id, x+0.5, y, z+0.5)<br />
outputChatBox("New ped with ID "..id.." created.")<br />
end<br />
addCommandHandler("cap", createAllocatedPed, false, false)<br />
<br />
function skinAllocatedPeds()<br />
local txd, dff;<br />
for id,ped in pairs(peds) do<br />
if fileExists("skins/" .. id .. ".txd") and fileExists("skins/" .. id .. ".dff") then<br />
txd = engineLoadTXD("skins/" .. id .. ".txd")<br />
engineImportTXD(txd, id)<br />
dff = engineLoadDFF("skins/" .. id .. ".dff")<br />
engineReplaceModel(dff, id)<br />
outputChatBox("Model ID "..id.." changed correctly.")<br />
else<br />
outputChatBox("Model ID "..id.." couldn't change. REASON: skins/" .. id .. ".txd or skins/" .. id .. ".dff does not exist.")<br />
end<br />
end<br />
end<br />
addCommandHandler("sap", skinAllocatedPeds, false, false)<br />
<br />
function onStop()<br />
for id,ped in pairs(peds) do<br />
engineFreeModel(id)<br />
end<br />
end<br />
addEventHandler("onClientResourceStop", resourceRoot, onStop)<br />
</syntaxhighlight><br />
<br />
==Requirements==<br />
{{Requirements|n/a|1.5.7-9.20147|}}<br />
<br />
==See Also==<br />
{{Engine functions}}</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73158Changes in 1.62021-12-13T22:51:47Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since Aug 2015, we replaced the custom ''mtalocal://'' URL scheme with '''http://mta/resourceName/blah.html'''. The ''mtalocal://'' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 1 New Features ==<br />
=== Client ===<br />
:* Added support for WebM files to [[playSound]] and [[playSound3D]] ([https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a] by '''theSarrum''')<br />
<br />
<br />
== 24 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* 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''')<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* 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''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed CEF crashing without a crash-dump ([https://github.com/multitheftauto/mtasa-blue/commit/4b03b13571d0ace954d0f6d6c15046405ba1a4b2 4b03b13] and [https://github.com/multitheftauto/mtasa-blue/commit/e45a765f344041f5fbcb3f70b95b29a5d9eab0da e45a765] by '''Lpsd''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== Server ===<br />
:* 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''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 4 Vendor Updates ==<br />
=== Client ===<br />
:* Updated BASS libraries ([https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32] by '''Dutchman101''')<br />
:* Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 96.0.4664.93 (96.0.17+g20e2617) ([https://github.com/multitheftauto/mtasa-blue/commit/bc372ccdc96a392f0dad7a06eb1dc2162594f76c bc372cc] by '''Dutchman101''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 21 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Removed some unused variables ([https://github.com/multitheftauto/mtasa-resources/commit/0d424d13eabd9ef68c5282c46fc24c4f880b1c95 0d424d1] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* Replaced [[getResourceRootElement]] with [[resourceRoot]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/0dee4961826feaad364fcb1565cba0824a4e1849 0dee496] by '''ArranTuna''')<br />
:* Replaced [[getRootElement]] with [[root]] across multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/9582a82ea92d9e8f89a958dd7b33d82698ed1c9f 9582a82] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Fixed some debug warnings ([https://github.com/multitheftauto/mtasa-resources/commit/5e9f2220b645c369e9654c577403530c076e1749 5e9f222] by '''ArranTuna''')<br />
:* [editor] Improved some debug outputs ([https://github.com/multitheftauto/mtasa-resources/commit/be3477dc310f0f77a33531cc59ccdd7e1cd0e6ec be3477d] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [gameplay] Added button to delete handlings in hedit (by '''ricksterhd123''', '''Inder00''' and '''Disinterpreter''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Settings support and code refactor for joinquit ([https://github.com/multitheftauto/mtasa-resources/commit/bbd536d18abb27850bb4ec0895031558a2c90501 bbd536d] by '''itslewiswatson''')<br />
:* [gameplay] Small fixes for defaultstats ([https://github.com/multitheftauto/mtasa-resources/commit/b09bd68c960644e339a1e74f6002e3822f13191b b09bd68] by '''srslyyyy''')<br />
:* [gameplay] Small optimization on servers that use a lot of element data in parachute ([https://github.com/multitheftauto/mtasa-resources/commit/7b9d047fae1c3163aa7b2a380be87a149bf51906 7b9d047] and [https://github.com/multitheftauto/mtasa-resources/commit/d252b9f7a849ddacb0dd84b72c51b80899c33c76 d252b9f] by '''Dutchman101''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=OnPlayerLogin&diff=73080OnPlayerLogin2021-11-27T17:02:03Z<p>Lvrent: </p>
<hr />
<div>{{Server event}}<br />
__NOTOC__ <br />
This event is triggered when a player logs into their account in-game.<br />
<br />
==Parameters==<br />
<syntaxhighlight lang="lua"><br />
account thePreviousAccount, account theCurrentAccount<br />
</syntaxhighlight> <br />
<br />
*'''thePreviousAccount''': The [[account]] the player was logged into before.<br />
*'''theCurrentAccount''': The [[account]] the player logged into just now.<br />
<br />
==Source==<br />
The [[event system#Event source|source]] of this event is the player [[element]] that just logged in.<br />
<br />
==Cancel effect==<br />
If this event is canceled the player will not be logged in.<br />
<br />
==Example== <br />
This example just outputs to the player console that a player in one account logged into an another account:<br />
<syntaxhighlight lang="lua"><br />
addEventHandler("onPlayerLogin", root,<br />
function()<br />
outputChatBox(getPlayerName(source).." has logged in!", root)<br />
end<br />
)<br />
</syntaxhighlight><br />
This example allows only hardcoded serials to access given accounts.<br />
<syntaxhighlight lang="lua"><br />
Firewall = <br />
{<br />
-- [ 'accountName' ] = 'playerSerial',<br />
[ '3ash8' ] = '9C9F3B55D9D7BB7135FF274D3BF444E4',<br />
[ 'test5' ] = '1D6F76CF8D7193792D13789849498452',<br />
}<br />
<br />
addEventHandler ( 'onPlayerLogin', getRootElement ( ),<br />
function ( _, theCurrentAccount )<br />
local Serial = Firewall[getAccountName(theCurrentAccount)]<br />
if Serial and Serial ~= getPlayerSerial ( source ) then<br />
outputChatBox( "Sorry, you're not allowed to access this account.", source)<br />
cancelEvent( true )<br />
end<br />
end<br />
)<br />
</syntaxhighlight><br />
<br />
{{See also/Server event|Player events}}<br />
<br />
[[ru:onPlayerLogin]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=OnChatMessage&diff=73079OnChatMessage2021-11-27T16:58:10Z<p>Lvrent: </p>
<hr />
<div>{{Server event}}<br />
__NOTOC__ <br />
{{New feature/item|3.0120|1.2|3316|<br />
}}<br />
This event is triggered when any message is output to chat using [[outputChatBox]] server-side (also when a player uses ''say'', ''teamsay'' or ''me'' successfully).<br />
{{Note|It can be used to get the [[element]] responsible for a specific [[outputChatBox]] call via the second parameter.}}<br />
<br />
==Parameters==<br />
<syntaxhighlight lang="lua"><br />
string theMessage, resource / element theElement<br />
</syntaxhighlight><br />
*'''theMessage:''' A [[string]] representing the text that was output to the chatbox.<br />
*'''theElement:''' A [[resource]] if it was done via [[outputChatBox]] or a [[player]] element if it was done via ''say'', ''teamsay'' or ''me''.<br />
<br />
==Source==<br />
The [[event system#Event source|source]] of this event is the root element.<br />
<br />
==Example==<br />
This example outputs all chat messages to debug view.<br />
<syntaxhighlight lang="lua"><br />
function onChatMessageHandler(theMessage, thePlayer)<br />
outputDebugString(theMessage)<br />
end<br />
addEventHandler("onChatMessage", root, onChatMessageHandler)<br />
</syntaxhighlight><br />
<br />
==Requirements==<br />
{{Requirements|1.1.1-9.03316|n/a|}}<br />
<br />
{{See also/Server event|Server events}}</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=GetCursorAlpha&diff=73078GetCursorAlpha2021-11-27T16:50:10Z<p>Lvrent: </p>
<hr />
<div>{{Client function}}<br />
This function is used to get the client's cursor alpha (transparency).<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
int getCursorAlpha ( )<br />
</syntaxhighlight><br />
<br />
===Returns===<br />
Returns a [[int]] between 0 and 255, where 255 is fully opaque and 0 is fully transparent.<br />
<br />
==Requirements==<br />
{{Requirements|n/a|1.3.2}}<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
-- Simple command to test the getCursorAlpha function<br />
addCommandHandler( "cursorAlpha", <br />
function ()<br />
if ( isCursorShowing ( ) ) then<br />
outputChatBox( "The cursor alpha: "..getCursorAlpha( ) )<br />
else<br />
outputChatBox( "The cursor is not showing!" )<br />
end<br />
end<br />
)<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
<br />
[[hu:getCursorAlpha]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=GetPedSimplestTask&diff=73073GetPedSimplestTask2021-11-26T13:58:48Z<p>Lvrent: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
This function is used to get the name of a specified ped's current simplest [[task]].<br><br />
{{Note|See [[getPedTask]] to get a ped's task.}}<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
string getPedSimplestTask ( ped thePed )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''thePed''': The [[ped]] whose [[task]] you want to retrieve.<br />
<br />
===Returns===<br />
Returns a string representing the name of the ped's simplest, active [[task]].<br />
<br />
==Example==<br />
This example prints the name of a player's simplest task to the chat, when they use the "simplestTask" command.<br />
<syntaxhighlight lang="lua"><br />
function showSimplestTask()<br />
local taskName = getPedSimplestTask(localPlayer)<br />
local playerName = getPlayerName(localPlayer)<br />
<br />
outputChatBox(playerName.."'s simplest task is: "..taskName)<br />
end<br />
addCommandHandler("simplestTask", showSimplestTask)<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client_ped_functions}}</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=PlaySound3D&diff=73072PlaySound3D2021-11-26T10:40:45Z<p>Lvrent: </p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
Creates a [[sound]] [[element]] in the GTA world and plays it immediately after creation for the local player. [[setElementPosition]] can be used to move the [[sound]] element around after it has been created. Remember to use [[setElementDimension]] after creating the sound to play it outside of dimension 0.<br />
{{Added feature/item|1.6.0|1.5.9|21034|Added the feature of playing WebM files.}}<br />
{{Note|<br />
*The only supported audio formats are MP3, WAV, OGG, RIFF, MOD, WEBM, XM, IT and S3M.<br />
*For performance reasons, when using playSound3D for effects that will be played lots (i.e. weapon fire), it is recommend that you convert your audio file to a one channel (mono) WAV with sample rate of 22050 Hz or less. Also consider adding a limit on how often the effect can be played e.g. once every 50ms.}}<br />
==Syntax== <br />
<syntaxhighlight lang="lua">element playSound3D ( string soundPath, float x, float y, float z, [ bool looped = false ] )</syntaxhighlight> <br />
<syntaxhighlight lang="lua">element playSound3D ( string soundURL, float x, float y, float z, [ bool looped = false, bool throttled = true ] )</syntaxhighlight> <br />
{{OOP||[[Sound|Sound3D]]}}<br />
===Required Arguments===<br />
*'''soundPath:''' raw data or [[filepath]] to the sound file you want to play. ('''Note:''' Playing sound files from other resources requires the target resource to be in the running state)<br />
*'''soundURL:''' the URL (http://, https:// or ftp://) of the sound file you want to play. (In this version the file does not have to be predefined in the [[meta.xml]])<br />
*'''x:''' a [[float]]ing point number representing the X coordinate on the map.<br />
*'''y:''' a [[float]]ing point number representing the Y coordinate on the map.<br />
*'''z:''' a [[float]]ing point number representing the Z coordinate on the map.<br />
<br />
===Optional Arguments=== <br />
{{OptionalArg}} <br />
*'''looped:''' a [[boolean]] representing whether the sound will be looped. To loop the sound, use ''true''.<br />
{{New feature/item|3.0150|1.5||<br />
*'''throttled:''' a [[boolean]] representing whether the sound will be throttled (i.e. given reduced download bandwidth). To throttle the sound, use ''true''.<br />
}}<br />
<br />
===Returns===<br />
Returns a [[sound]] [[element]] if the sound was successfully created, ''false'' otherwise.<br />
<br />
==Example== <br />
This example creates a looping sound within a pizza shop. The pizza shop is in san fierro near pier 69<br />
<section name="Example" class="client" show="true"><br />
<syntaxhighlight lang="lua"><br />
function onResourceStart()<br />
local sound = playSound3D("sounds/song.mp3", 373.14, -125.21, 1001, true) <br />
end<br />
addEventHandler("onClientResourceStart", resourceRoot, onResourceStart)<br />
</syntaxhighlight><br />
</section><br />
This example play internet radio in groove street.<br />
<section name="Example 2" class="client" show="true" ><br />
<syntaxhighlight lang="lua"><br />
addEventHandler('onClientResourceStart', resourceRoot,<br />
function()<br />
local uSound = playSound3D('http://977music.com/itunes/80s.pls', 2498, -1659, 12) <br />
setSoundMaxDistance(uSound, 100)<br />
end<br />
)<br />
</syntaxhighlight><br />
</section><br />
<br />
==See Also==<br />
{{Client_audio_functions}}<br />
[[HU:playSound3D]]<br />
[[AR:playSound3D]]<br />
[[DE:playSound3D]]<br />
[[RU:playSound3D]]<br />
[[PT-BR:playSound3D]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=PlaySound&diff=73071PlaySound2021-11-26T10:38:39Z<p>Lvrent: </p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
Creates a [[sound]] [[element]] and plays it immediately after creation for the local player.<br />
{{Added feature/item|1.6.0|1.5.9|21034|Added the feature of playing WebM files.}}<br />
{{Note|<br />
*The only supported audio formats are MP3, WAV, OGG, RIFF, MOD, WEBM, XM, IT, S3M and PLS (e.g. Webstream).<br />
*For performance reasons, when using playSound for effects that will be played lots (i.e. weapon fire), it is recommend that you convert your audio file to a one channel (mono) WAV with sample rate of 22050 Hz or less. Also consider adding a limit on how often the effect can be played e.g. once every 50ms.}}<br />
==Syntax== <br />
<syntaxhighlight lang="lua">element playSound ( string soundPath, [ bool looped = false, bool throttled = true ] )</syntaxhighlight><br />
{{OOP||[[Sound]]}}<br />
===Required Arguments=== <br />
*'''soundPath:''' [[filepath]], raw data or URL (http://, https:// or ftp://) of the sound file you want to play. ('''Note:''' Playing sound files from other resources requires the target resource to be in the running state)<br />
<br />
===Optional Arguments=== <br />
{{OptionalArg}} <br />
*'''looped:''' a [[boolean]] representing whether the sound will be looped. To loop the sound, use ''true''. Loop is not available for streaming sounds, only for sound files.<br />
{{New feature/item|3.0150|1.5||<br />
*'''throttled:''' a [[boolean]] representing whether the sound will be throttled (i.e. given reduced download bandwidth). To throttle the sound, use ''true''. Sounds will be throttled per default and only for URLs.<br />
}}<br />
<br />
===Returns===<br />
Returns a [[sound]] [[element]] if the sound was successfully created, ''false'' otherwise.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
function wasted (killer, weapon, bodypart) <br />
local sound = playSound("sounds/wasted.mp3") -- Play wasted.mp3 from the sounds folder<br />
setSoundVolume(sound, 0.5) -- Set the sound volume to 50%<br />
end<br />
<br />
addEventHandler("onClientPlayerWasted", localPlayer, wasted) -- Add the event handler<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client_audio_functions}}<br />
[[HU:playSound]]<br />
[[AR:playSound]]<br />
[[DE:playSound]]<br />
[[RO:playSound]]<br />
[[PT-BR:playSound]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73070Changes in 1.62021-11-26T10:28:09Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.<br />
<br />
<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA.<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/294 #294]:</code> [[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'''.<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]:</code> Since Aug 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed.<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]:</code> 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.<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]:</code> 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.<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]:</code> 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.<br />
<br />
<br />
== 1 New Features ==<br />
=== Client ===<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/545a22a531b9f4eee01e3d502cbb38b0d95b4c4f 545a22a]:</code> Added support for WebM files to [[playSound]] and [[playSound3D]] (by '''theSarrum''')<br />
<br />
<br />
== 21 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2]:</code> Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available (by '''botder''')<br />
<br />
=== Client ===<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/8e94ec19f8f71ceb0b8eb09e9a7bbc7b33b1cd36 8e94ec1] and [https://github.com/multitheftauto/mtasa-blue/pull/2440/commits/85203a6222dfa989b8877defb0abb8a47891a59e 85203a6]:</code> Avoid hierarchy in [[engineRequestModel]] (by '''TheNormalnij''' and '''Lpsd''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59]:</code> Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in (by '''botder''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288]:</code> Fixed broken doors and damage sync for custom vehicles (by '''BCG2000''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e]:</code> Fixed mirrored position of ''light_front_second'' vehicle dummy (by '''botder''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d]:</code> Fixed camera logic after using [[warpPedIntoVehicle]] (by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f]:</code> Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] (by '''BCG2000''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09]:</code> Fixed sync of damaged light states and wheel states (by '''Addlibs''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b]:</code> Fixed a small memory leak for [[engineRequestModel]] (by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4]:</code> Updated main menu logo (by '''patrikjuvonen''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b]:</code> Updated translations (by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be]:</code> Cleaned up CClientVehicle.cpp file (by '''botder''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/d54afd76ed67ba80cfb2fb221229ca01a4f42508 d54afd7]:</code> Fixed a broken client ''.gdf.xml'' file and updated hardcoded MTA versions and URLs (by '''patrikjuvonen''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f]:</code> Fixed server launcher icon not working (by '''patrikjuvonen''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7]:</code> Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] (by '''botder''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3]:</code> Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) (by '''Lpsd''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a]:</code> Updated launchers (by '''patrikjuvonen''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f]:</code> Updated server launcher icon (by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 4 Vendor Updates ==<br />
=== Client ===<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/590ba32fa51d4ea403fcdbd63b9462122cf5ec82 590ba32]:</code> Updated BASS libraries (by '''Dutchman101''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/9fa0d00664bd21edd73996c157b6e29717dc86a0 9fa0d00]:</code> Updated CEF from Chromium 94.0.4606.61 (94.4.2+g6a963ca) to Chromium 96.0.4664.55 (96.0.14+g28ba5c8) (by '''Dutchman101''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc]:</code> Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 (by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 12 Changes and Bug Fixes ===<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580]:</code> Fixed empty if branches (by '''ArranTuna''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470]:</code> Fixed inconsistent indentation (by '''ArranTuna''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba]:</code> Fixed lines containing trailing whitespaces (by '''ArranTuna''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890]:</code> Fixed lint errors (by '''ArranTuna''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db]:</code> Fixed "shadowing definition of loop variable" lint warnings (by '''ArranTuna''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695]:</code> Replaced [[getLocalPlayer]] with [[localPlayer]] (by '''ArranTuna''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219]:</code> [admin] Fixed "previously defined" warnings (by '''ArranTuna''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898]:</code> [editor] Small improvements in editor_main (by '''srslyyyy''')<br />
:* <code>[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]:</code> [editor] Updated gamemodestopper.lua in editor_main (by '''srslyyyy''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00]:</code> [gameplay] Fixed a debug warning in freeroam (by '''ArranTuna''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b]:</code> [gameplay] Fixed typos in hedit and sfxbrowser (by '''TheNormalnij''')<br />
:* <code>[https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e]:</code> [gameplay] Some improvements in deathpickups (by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73069Changes in 1.62021-11-26T09:44:25Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 21 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Avoid hierarchy in [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/8e94ec19f8f71ceb0b8eb09e9a7bbc7b33b1cd36 8e94ec1] by '''TheNormalnij''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 3 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.14+g9f72f35 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_28.html Chromium 95.0.4638.69]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/07209470b99788687c4e35488c38aff801b46850 0720947] by '''Dutchman101''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 12 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73045Changes in 1.62021-11-20T11:13:10Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 21 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Avoid hierarchy in [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/8e94ec19f8f71ceb0b8eb09e9a7bbc7b33b1cd36 8e94ec1] by '''TheNormalnij''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed sync of damaged light states and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 3 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.14+g9f72f35 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_28.html Chromium 95.0.4638.69]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/07209470b99788687c4e35488c38aff801b46850 0720947] by '''Dutchman101''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 12 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73044Changes in 1.62021-11-20T11:08:03Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 21 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Avoid hierarchy in [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/8e94ec19f8f71ceb0b8eb09e9a7bbc7b33b1cd36 8e94ec1] by '''TheNormalnij''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed sync of light states damage and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 3 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.14+g9f72f35 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_28.html Chromium 95.0.4638.69]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/07209470b99788687c4e35488c38aff801b46850 0720947] by '''Dutchman101''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 12 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation on multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73043Changes in 1.62021-11-20T11:06:37Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 21 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Avoid hierarchy in [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/8e94ec19f8f71ceb0b8eb09e9a7bbc7b33b1cd36 8e94ec1] by '''TheNormalnij''')<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using the [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed sync of light states damage and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 3 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.14+g9f72f35 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_28.html Chromium 95.0.4638.69]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/07209470b99788687c4e35488c38aff801b46850 0720947] by '''Dutchman101''')<br />
:* Updated libspeex from 1.2rc2 to 1.2 and libspeexdsp from 1.2rc2 to 1.2rc3 ([https://github.com/multitheftauto/mtasa-blue/commit/deef8dcb534991376f51bd27c5293a78bb2e80ee deef8dc] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 12 Changes and Bug Fixes ===<br />
:* Fixed empty if branches ([https://github.com/multitheftauto/mtasa-resources/commit/2660580de2750ca617a86f7e3ccb8235331935a8 2660580] by '''ArranTuna''')<br />
:* Fixed inconsistent indentation on multiple resources ([https://github.com/multitheftauto/mtasa-resources/commit/49d325928a8de114587568196d2ad4f1207f5d8d 49d3259] and [https://github.com/multitheftauto/mtasa-resources/commit/2d684707648b13c028d386a27abbcc08b22f3945 2d68470] by '''ArranTuna''')<br />
:* Fixed lines containing trailing whitespaces ([https://github.com/multitheftauto/mtasa-resources/commit/555a8ba0caf188fa6a0bdc755530ba4e9e9b121a 555a8ba] by '''ArranTuna''')<br />
:* Fixed lint errors ([https://github.com/multitheftauto/mtasa-resources/commit/ccf98a117cd57d9459036bc227d3499a66a10b19 ccf98a1] and [https://github.com/multitheftauto/mtasa-resources/commit/7ee88903da99c837f268a13c7281fdf9476ea9ed 7ee8890] by '''ArranTuna''')<br />
:* Fixed "shadowing definition of loop variable" lint warnings ([https://github.com/multitheftauto/mtasa-resources/commit/02233dbc7d20205c2ce28da06a93d1637d841b7b 02233db] by '''ArranTuna''')<br />
:* Replaced [[getLocalPlayer]] with [[localPlayer]] ([https://github.com/multitheftauto/mtasa-resources/commit/01f7695d3a49ce97639666773c274b747a7a158d 01f7695] by '''ArranTuna''')<br />
:* [admin] Fixed "previously defined" warnings ([https://github.com/multitheftauto/mtasa-resources/commit/4ffc5d067f48a83d2df7c375a512fb0de83e576c 4ffc5d0] and [https://github.com/multitheftauto/mtasa-resources/commit/3ed3219498813e130650231ff10a9fbe99c30fd9 3ed3219] by '''ArranTuna''')<br />
:* [editor] Small improvements in editor_main ([https://github.com/multitheftauto/mtasa-resources/commit/7816898d991a072b35e62ccf06c73775f39cb3eb 7816898] by '''srslyyyy''')<br />
:* [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''')<br />
:* [gameplay] Fixed a debug warning in freeroam ([https://github.com/multitheftauto/mtasa-resources/commit/36b4f00181e804111a83b4bd8083be88325fded3 36b4f00] by '''ArranTuna''')<br />
:* [gameplay] Fixed typos in hedit and sfxbrowser ([https://github.com/multitheftauto/mtasa-resources/commit/814437b19d05924373810f3961e6768744f45b90 814437b] by '''TheNormalnij''')<br />
:* [gameplay] Some improvements in deathpickups ([https://github.com/multitheftauto/mtasa-resources/commit/aa9782ea996bbe684587c8e9cf542a575a23779f aa9782e] by '''srslyyyy''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73016Changes in 1.62021-11-08T12:46:01Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 20 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using the [[warpPedIntoVehicle]] ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed sync of light states damage and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Fixed a small memory leak for [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/b2a625b100ff037908b002b586ca81692c24b2ae b2a625b] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.14+g9f72f35 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_28.html Chromium 95.0.4638.69]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/07209470b99788687c4e35488c38aff801b46850 0720947] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 2 Changes and Bug Fixes ===<br />
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')<br />
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=73005Changes in 1.62021-11-02T21:12:01Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 19 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] function returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] function for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed broken doors and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] functions not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Fixed sync of light states damage and wheel states ([https://github.com/multitheftauto/mtasa-blue/commit/fe48d0968042b0bc5e5375c0c2f8f9ee2ed951ba fe48d09] by '''Addlibs''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.14+g9f72f35 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_28.html Chromium 95.0.4638.69]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/07209470b99788687c4e35488c38aff801b46850 0720947] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 2 Changes and Bug Fixes ===<br />
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')<br />
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72998Changes in 1.62021-11-02T10:08:43Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 18 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] function returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] function for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed broken door and damage sync for custom vehicles ([https://github.com/multitheftauto/mtasa-blue/commit/51d3288f06b62561837d9e6d5470b1476cbe6c30 51d3288] by '''BCG2000''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] functions not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Removed forced TADDRESS_CLAMP in CVectorGraphicItem (now defaulting to TADDRESS_WRAP) ([https://github.com/multitheftauto/mtasa-blue/commit/0dcdac3946adb3e318fe92c6f86ebf024cdca045 0dcdac3] by '''Lpsd''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.14+g9f72f35 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_28.html Chromium 95.0.4638.69]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/07209470b99788687c4e35488c38aff801b46850 0720947] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 2 Changes and Bug Fixes ===<br />
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')<br />
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72958Changes in 1.62021-10-26T12:30:11Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 16 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] function returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] function for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] functions not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 95.7.12+g99c4ac0 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop_19.html Chromium 95.0.4638.54]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/ee88dd4ea736d8c0b427750f1ec20ccb57300d2b ee88dd4] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 2 Changes and Bug Fixes ===<br />
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')<br />
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72948Changes in 1.62021-10-21T22:02:07Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 16 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] function returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] function for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] functions not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.10+g38a7995 ([https://chromereleases.googleblog.com/2021/10/stable-channel-update-for-desktop.html Chromium 94.0.4606.81]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/a3d8b4a9d192a393fbfb1ea77f81023ccc7c0cbe a3d8b4a] by '''patrikjuvonen''')<br />
<br />
<br />
== Resources ==<br />
=== 2 Changes and Bug Fixes ===<br />
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')<br />
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72924Changes in 1.62021-10-17T20:55:36Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 16 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] function returning the player instead of their vehicle, if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] function for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Fixed [[getVehicleType]] and [[getVehicleMaxPassengers]] functions not returning specific values and players cannot enter as passengers on vehicles added with [[engineRequestModel]] ([https://github.com/multitheftauto/mtasa-blue/commit/141438fe462795c136f92b4fca9901e03dcec3f2 141438f] by '''BCG2000''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.5+g0fd0d6f ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.71]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1f164ab202905a047f946b33dec1d40127ae2eb d1f164a] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 2 Changes and Bug Fixes ===<br />
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')<br />
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72923Changes in 1.62021-10-15T22:04:39Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 13 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] function returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] function for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.5+g0fd0d6f ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.71]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1f164ab202905a047f946b33dec1d40127ae2eb d1f164a] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 2 Changes and Bug Fixes ===<br />
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')<br />
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72922Changes in 1.62021-10-15T22:01:47Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 13 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed the [[getCameraTarget]] function returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed access violation in [[getVehicleWheelFrictionState]] function for vehicles not streamed in ([https://github.com/multitheftauto/mtasa-blue/commit/dde0e59055b5092cac5f16dd8bb06f1ff91ddeed dde0e59] by '''botder''')<br />
:* Fixed the mirrored position of ''light_front_second'' vehicle dummy ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed the camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* Cleaned up CClientVehicle.cpp file ([https://github.com/multitheftauto/mtasa-blue/commit/8b806be300c94bd15f1fa7575322bf31caf5234e 8b806be] by '''botder''')<br />
:* 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''')<br />
:* Fixed the server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated the server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.5+g0fd0d6f ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.71]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1f164ab202905a047f946b33dec1d40127ae2eb d1f164a] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 2 Changes and Bug Fixes ===<br />
:* [editor] Small improvements ([https://github.com/multitheftauto/mtasa-resources/pull/339 #339] by '''srslyyyy''')<br />
:* [gameplay] Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72906Changes in 1.62021-10-12T22:59:28Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 11 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed the [[getCameraTarget]] function returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed the mirrored dummy position of ''light_front_second'' ([https://github.com/multitheftauto/mtasa-blue/commit/32aeb0e67915744402fdac0619b8807db6352957 32aeb0e] by '''botder''')<br />
:* Fixed the camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* 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''')<br />
:* Fixed the server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated the server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.5+g0fd0d6f ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.71]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1f164ab202905a047f946b33dec1d40127ae2eb d1f164a] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 1 Changes and Bug Fixes ===<br />
:* Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72897Changes in 1.62021-10-10T20:14:55Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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''' ([https://github.com/multitheftauto/mtasa-blue/issues/294 #294]).<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed ([https://github.com/multitheftauto/mtasa-blue/issues/1071 #1071]).<br />
:* 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. 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 ([https://github.com/multitheftauto/mtasa-blue/issues/1043 #1043]).<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error ([https://github.com/multitheftauto/mtasa-blue/issues/1070 #1070]).<br />
:* 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 February 2019 ([https://github.com/multitheftauto/mtasa-blue/issues/1069 #1069]).<br />
<br />
<br />
== 10 Changes and Bug Fixes ==<br />
=== Shared ===<br />
:* Fixed the [[getCameraTarget]] function returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== Client ===<br />
:* Fixed the camera logic after using the [[warpPedIntoVehicle]] function ([https://github.com/multitheftauto/mtasa-blue/commit/607b57d36b72db62e976ef04c7bfa1d35f39da9a 607b57d] by '''TheNormalnij''' and '''Vladislav Nikolaevich''')<br />
:* Updated main menu logo ([https://github.com/multitheftauto/mtasa-blue/commit/4b9a3a4a7717db059277a5fdb9f2653bb90b7496 4b9a3a4] and [https://github.com/multitheftauto/mtasa-blue/commit/aa1e1d4336068438b2436efbc71b7a9231199e45 aa1e1d4] by '''patrikjuvonen''')<br />
:* Updated translations ([https://github.com/multitheftauto/mtasa-blue/commit/7f3d15bab0301af793ce3c38ae64a4f573b84888 7f3d15b] by '''patrikjuvonen''')<br />
<br />
=== More Technical Changes and Bug Fixes ===<br />
<section show="true"><br />
:* 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''')<br />
:* Fixed the server launcher icon not working ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
:* Initialized the ''lastSyncType'' variable in [[addElementDataSubscriber]] function ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
:* Updated launchers ([https://github.com/multitheftauto/mtasa-blue/commit/5b4ce8a741fefb09980c3f4ff998d79218c4aef4 5b4ce8a] by '''patrikjuvonen''')<br />
:* Updated the server launcher icon ([https://github.com/multitheftauto/mtasa-blue/commit/8729c9f0a6fb2d396cd057abd0b7815be318aa0f 8729c9f] by '''patrikjuvonen''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.5+g0fd0d6f ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.71]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1f164ab202905a047f946b33dec1d40127ae2eb d1f164a] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 1 Changes and Bug Fixes ===<br />
:* Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Useful_Functions&diff=72894Template:Useful Functions2021-10-09T11:33:00Z<p>Lvrent: </p>
<hr />
<div>__NOTOC__<br />
=== Table functions ===<br />
*[[addTableChangeHandler]] <span style="color:gray; font-size:smaller;">» This function monitors the changes of a table.</span><br />
*[[getTableFromSql]] <span style="color:gray; font-size:smaller;">» This functionality is used to obtain saved tables using the function ([https://wiki.multitheftauto.com/wiki/SetTableToSql SetTableToSql ]).</span><br />
*[[isValueInTable]] <span style="color:gray; font-size:smaller;">» This function returns true if the value exists in the table, false if the value does not exist in the table.</span><br />
*[[pairsByKeys]] <span style="color:gray; font-size:smaller;">» This function sort pairs table.</span><br />
*[[rangeToTable]] <span style="color:gray; font-size:smaller;">» This function converts a string range to a table containing number values.</span><br />
*[[setTableProtected]] <span style="color:gray; font-size:smaller;">» This function protects a table and makes it read-only.</span><br />
*[[setTableToSql]] <span style="color:gray; font-size:smaller;">» This function is used to save the table in the database (sql).</span><br />
*[[Sort_Functions]] <span style="color:gray; font-size:smaller;">» These functions are able to sort your tables by a key.</span><br />
*[[table.compare]] <span style="color:gray; font-size:smaller;">» This function checks whether two given tables are equal.</span><br />
*[[table.copy]] <span style="color:gray; font-size:smaller;">» This function copies a whole table and all the tables in that table.</span><br />
*[[table.deepmerge]] <span style="color:gray; font-size:smaller;">» This function deep merges two tables. Every nested table will be correspondingly merged.</span><br />
*[[table.element]] <span style="color:gray; font-size:smaller;">» This function returns a new table with only userdata content.</span><br />
*[[table.empty]] <span style="color:gray; font-size:smaller;">» This function checks whether a table is empty.</span><br />
*[[table.fromString]] <span style="color:gray; font-size:smaller;">» This function converts string to a table.</span><br />
*[[table.getRandomRows]] <span style="color:gray; font-size:smaller;">» This function returns random rows from table.</span><br />
*[[table.map]] <span style="color:gray; font-size:smaller;">» This function goes through a table and replaces every field with the return of the passed function, where the field's value is passed as first argument and optionally more arguments.</span><br />
*[[table.merge]] <span style="color:gray; font-size:smaller;">» This function merges two or more tables together.</span><br />
*[[table.random]] <span style="color:gray; font-size:smaller;">» This function retrieves a random value from a table.</span><br />
*[[table.removeValue]] <span style="color:gray; font-size:smaller;">» This function removes a specified value from a table.</span><br />
*[[table.size]] <span style="color:gray; font-size:smaller;">» This function returns the absolute size of a table.</span><br />
*[[table.toString]] <span style="color:gray; font-size:smaller;">» This function converts table to a string.</span><br />
*[[table.toStringArray]] <span style="color:gray; font-size:smaller;">» This function converts '''array''' to a string.</span><br />
<br />
=== ACL functions ===<br />
*[[aclGroupClone]] <span style="color:gray; font-size:smaller;">» This function clone a group to another group with/without ACLs and/or objects.</span><br />
*[[getAccountsRanks]] <span style="color:gray; font-size:smaller;">» This function is used to detect the account name groups and put them in the chat.</span><br />
*[[getPlayerAcls]] <span style="color:gray; font-size:smaller;">» This function returns a table of all ACL groups on a player.</span><br />
*[[getPlayersInACLGroup]] <span style="color:gray; font-size:smaller;">» This function returns all players in an ACL group.</span><br />
*[[isPlayerInACL]] <span style="color:gray; font-size:smaller;">» This function checks if a player element is in an ACL group.</span><br />
*[[renameAclGroup]] <span style="color:gray; font-size:smaller;">» This function gives an existing ACL group a new name.</span><br />
<br />
=== Account functions ===<br />
*[[getPlayerFromAccountName]] <span style="color:gray; font-size:smaller;">» This function is used to obtain a player by the name of his account.</span><br />
<br />
=== Camera functions ===<br />
*[[smoothMoveCamera]] <span style="color:gray; font-size:smaller;">» This function allows you to create a cinematic camera flight.<br />
<br />
=== Cursor functions ===<br />
*[[getCursorMovedOn]] <span style="color:gray; font-size:smaller;">» This function checks in which way the cursor is currently moving.</span><br />
<br />
=== Drawing functions ===<br />
*[[dxDrawAnimWindow]] <span style="color:gray; font-size:smaller;">» This function draws an animated 2D window on the screen.</span><br />
*[[dxDrawBorderedRectangle]] <span style="color:gray; font-size:smaller;">» This is a function that will create a bordered rectangle.</span><br />
*[[dxDrawBorderedText]] <span style="color:gray; font-size:smaller;">» This is a function that will create a bordered text.</span><br />
*[[dxDrawDashedLine]] <span style="color:gray; font-size:smaller;">» This function draws a line with dashes.</span><br />
*[[dxDrawGifImage]] <span style="color:gray; font-size:smaller;">» This function simulates the effect of a GIF image by using image sprites in 2D.</span><br />
*[[dxDrawImage3D]] <span style="color:gray; font-size:smaller;">» This function draws a 3D image in GTA world.</span><br />
*[[dxDrawImageOnElement]] <span style="color:gray; font-size:smaller;">» This function draws an image on any element.</span><br />
*[[dxDrawLinedRectangle]] <span style="color:gray; font-size:smaller;">» This is a function that will create a rectangle outline with dx lines.</span><br />
*[[dxDrawLoading]] <span style="color:gray; font-size:smaller;">» This function draws a loading bar on the screen.</span><br />
*[[dxDrawOctagon3D]] <span style="color:gray; font-size:smaller;">» This function creates a 3D Octagon</span><br />
*[[dxDrawPolygon]] <span style="color:gray; font-size:smaller;">» This function draws a custom polygon on the screen.</span><br />
*[[dxDrawProgressBar]] <span style="color:gray; font-size:smaller;">» This function simulates a progress bar drawed using DirectDraw.</span><br />
*[[dxDrawRectangle3D]] <span style="color:gray; font-size:smaller;">» This function draws a 3D rectangle in GTA world.</span><br />
*[[dxDrawRing]] <span style="color:gray; font-size:smaller;">» This function draws a ring with dx lines.</span><br />
*[[dxDrawRombo]] <span style="color:gray; font-size:smaller;">» This function creates a Rhombus.</span><br />
*[[dxDrawSprite]] <span style="color:gray; font-size:smaller;">» This function draw a sprite in the 3D world.</span><br />
*[[dxDrawTextOnElement]] <span style="color:gray; font-size:smaller;">» This function draws a text on any element.</span><br />
*[[dxDrawTextOnRectangle]] <span style="color:gray; font-size:smaller;">» Esta funcion crea un rectangle con un texto dentro.</span><br />
*[[dxDrawTriangle]] <span style="color:gray; font-size:smaller;">» This is a function that will create a triangle with dx lines.</span><br />
*[[dxGetFontSizeFromHeight]] <span style="color:gray; font-size:smaller;">» This function calculates the font size from given height.</span><br />
*[[dxGetRealFontHeight]] <span style="color:gray; font-size:smaller;">» This function calculates the height of a font.</span><br />
*[[getScreenStartPositionFromBox]] <span style="color:gray; font-size:smaller;">» This function helps with getting the correct position for your dx-effects.</span><br />
*[[wordWrap]] <span style="color:gray; font-size:smaller;">» This function breaks a long string into a table of separate lines limited to a specific length in pixels, for drawing separately.</span><br />
<br />
=== Effects functions ===<br />
*[[attachEffect]] <span style="color:gray; font-size:smaller;">» This function allows you attach an effect to an element.</span><br />
<br />
=== Element functions === <br />
*[[attachElementToBone]] <span style="color:gray; font-size:smaller;">» This function allows you to attach an element to ped bone accurately using new bone functions.</span><br />
*[[getElementsInDimension]] <span style="color:gray; font-size:smaller;">» This function returns a table of elements that are in the specified dimension.</span><br />
*[[getElementSpeed]] <span style="color:gray; font-size:smaller;">» This function returns the specified element's speed in m/s, km/h or mph.</span><br />
*[[getElementsWithinMarker]] <span style="color:gray; font-size:smaller;">» This function returns a table of elements that are within a marker's collision shape.</span><br />
*[[getElementUsingData]] <span style="color:gray; font-size:smaller;">» This function returns table elements that contains the elements data with the given key and value.</span><br />
*[[getNearestElement]] <span style="color:gray; font-size:smaller;">» This function returns the nearest element (of a specific type) to a player.</span><br />
*[[isElementInPhotograph]] <span style="color:gray; font-size:smaller;">» This function checks if an element is in the player's camera picture area.</span><br />
*[[isElementInRange]] <span style="color:gray; font-size:smaller;">» This function allows you to check if an element's range to a main point is within the maximum range.</span><br />
*[[isElementMoving]]<span style="color:gray; font-size:smaller;">» This function checks if an element is moving.</span><br />
*[[isElementWithinAColShape]]<span style="color:gray; font-size:smaller;">» This function checks if an element is within a collision shape element.</span><br />
*[[multi_check]] <span style="color:gray; font-size:smaller;">» This function checks one element to many, handy and clean.</span><br />
*[[setElementSpeed]] <span style="color:gray; font-size:smaller;">» This function allows you to set the speed of an element in kph or mph units.</span><br />
<br />
=== Events ===<br />
*[[onVehicleWeaponFire]] <span style="color:gray; font-size:smaller;">» This code implements an event that is triggered when a player in a vehicle fires a vehicle's weapon.</span><br />
<br />
=== Input functions ===<br />
*[[bindControlKeys]] <span style="color:gray; font-size:smaller;">» This function allows you to bind each key bound to a control individually. Doing this bypasses a little MTA restriction.</span><br />
*[[getBoundControls]] <span style="color:gray; font-size:smaller;">» This function returns a table of control names that are bound to the specified key.</span><br />
*[[getClipboard]] <span style="color:gray; font-size:smaller;">» This event returns the contents of the clipboard by pressing ctrl + v / ctrl + V. Event triggered ONLY if cursor is showing.</span><br />
*[[unbindControlKeys]] <span style="color:gray; font-size:smaller;">» This function allows you to unbind each key bound to a control individually. Use this function with [[bindControlKeys]].</span><br />
<br />
=== Data functions === <br />
*[[byte2human]] <span style="color:gray; font-size:smaller;">» This function converts an integer (number of bytes) into a human-readable unit.</span><br />
*[[capitalize]] <span style="color:gray; font-size:smaller;">» This function capitalizes a given string.</span><br />
*[[convertDate]] <span style="color:gray; font-size:smaller;">» This function converts date to another look.</span><br />
*[[convertServerTickToTimeStamp]] <span style="color:gray; font-size:smaller;">» This function converts server ticks to a unix timestamp.</span><br />
*[[convertTextToSpeech]] <span style="color:gray; font-size:smaller;">» This function converts the provided text to a speech in the provided language which players can hear.</span><br />
*[[findRotation3D]] <span style="color:gray; font-size:smaller;">» This function takes two sets of XYZ coordinates. It returns the 3D direction from point A to point B.</span><br />
*[[findRotation]] <span style="color:gray; font-size:smaller;">» This function takes two points and returns the direction from point A to point B.</span><br />
*[[formatDate]] <span style="color:gray; font-size:smaller;">» This function formats a date on the basis of a format string and returns it.</span><br />
*[[formatNumber]] <span style="color:gray; font-size:smaller;">» This function formats large numbers by adding commas.</span><br />
*[[generateRandomASCIIString]] <span style="color:gray; font-size:smaller;">» This function returns a random string which uses ASCII characters. </span><br />
*[[generateString]] <span style="color:gray; font-size:smaller;">» This function generates a random string with any characters.</span><br />
*[[getAge]] <span style="color:gray; font-size:smaller;">» This function calculates the age of a given birthday.</span><br />
*[[getDistance]] <span style="color:gray; font-size:smaller;">» Returns the distance between two elements.</span><br />
*[[getDistanceBetweenElements]] <span style="color:gray; font-size:smaller;">» Esta funcion sirve para obtener la distancia entre dos elementos.</span><br />
*[[getDistanceBetweenPointAndSegment2D]] <span style="color:gray; font-size:smaller;">» This function takes point coordinates and line (a segment) starting and ending coordinates. It returns the shortest distance between the point and the line.</span><br />
*[[getEasterDate]] <span style="color:gray; font-size:smaller;">» This function returns easter date monthday and month for a given year.</span><br />
*[[getFreeDimension]] <span style="color:gray; font-size:smaller;">» This function get free dimension.</span><br />
*[[getKeyFromValueInTable]] <span style="color:gray; font-size:smaller;">» This function returns the key of the specified value in a table.</span><br />
*[[getOffsetFromXYZ]] <span style="color:gray; font-size:smaller;">» This function allows you to take an entity and a position and calculate the relative offset between them accounting for rotations.</span><br />
*[[getPointFromDistanceRotation]] <span style="color:gray; font-size:smaller;">» This function finds a point based on a starting point, direction and distance.</span><br />
*[[getRealMonth]] <span style="color:gray; font-size:smaller;">» This function returns the current month name</span><br />
*[[getRGColorFromPercentage]] <span style="color:gray; font-family:'Georgia', sans-serif; font-size:smaller;">»This function returns two integers representing red and green colors according to the specified percentage.</span><br />
*[[getScreenRotationFromWorldPosition]] <span style="color:gray; font-size:smaller;">» This function returns a screen relative rotation to a world position.</span><br />
*[[getTimestamp]] <span style="color:gray; font-size:smaller;">» This function returns the UNIX timestamp of a specified date and time.</span><br />
*[[gradientString]] <span style="color:gray; font-size:smaller;">» This function transforms a string in a new coloured gradient string.</span><br />
*[[hex2rgb]] <span style="color:gray; font-size:smaller;">» This function convert hex to rgb.</span><br />
*[[hexColorToRGB]] <span style="color:gray; font-size:smaller;">» This function convert hex string/number to RGBA values.</span><br />
*[[isLeapYear]] <span style="color:gray; font-size:smaller;">» This function returns a boolean representing if a given year is a leap year.</span><br />
*[[isValidMail]] <span style="color:gray; font-size:smaller;">» This function checks whether a provided e-mail string is valid.</span><br />
*[[removeHex]] <span style="color:gray; font-size:smaller;">» This function is used to remove hexadecimal numbers (colors, for example) from strings.<br />
*[[RGBToHex]] <span style="color:gray; font-size:smaller;">» This function returns a string representing the color in hexadecimal.</span><br />
*[[secondsToTimeDesc]] <span style="color:gray; font-size:smaller;">» This function converts a plain seconds-integer into a user-friendly time description.</span><br />
*[[string.count]] <span style="color:gray; font-size:smaller;">» This function counts the amount of occurences of a string in a string.</span><br />
*[[string.explode]] <span style="color:gray; font-size:smaller;">» This function splits a string at a given separator pattern and returns a table with the pieces.</span><br />
*[[string.insert]] <span style="color:gray; font-size:smaller;">» This function inserts a string within another string at a given position.</span><br />
*[[switch]] <span style="color:gray; font-size:smaller;">» This function allows the value of a variable or expression to control the flow of program execution via a multiway branch.</span><br />
*[[tocolor2rgba]] <span style="color:gray; font-size:smaller;">» This function convert tocolor to rgba.</span><br />
*[[toHex]] <span style="color:gray; font-size:smaller;">» This function converts a decimal number to a hexadecimal number, as a fix to be used client-side.</span><br />
*[[var dump]] <span style="color:gray; font-size:smaller;">» This function outputs information about one or more variables using outputConsole.</span><br />
*[[wavelengthToRGBA]] <span style="color:gray; font-size:smaller;">» This function converts a physical wavelength of light to a RGBA color.</span><br />
<br />
=== GUI functions === <br />
*[[centerWindow]] <span style="color:gray; font-size:smaller;">» This function centers a CEGUI window element responsively in any resolution.</span><br />
*[[guiMoveElement]] <span style="color:gray; font-size:smaller;">» This function moves guiElement by/like using moveObject.</span><br />
*[[guiSetStaticImageMovable]] <span style="color:gray; font-size:smaller;">» This function allows you to move a static image like a gui window.</span><br />
*[[isMouseOnGUICloseButton]] <span style="color:gray; font-size:smaller;">» This function allows you to check whether the mouse cursor/pointer is within a gui-window's native close button.</span><br />
*[[isMouseOnGuiElement]] <span style="color:gray; font-size:smaller;">» This function allows you to check whether or not your mouse is over a specific gui element, this is especially useful if the gui element has a parent. </span><br />
=====Comboboxes=====<br />
*[[guiComboBoxAdjustHeight]] <span style="color:gray; font-size:smaller;">» This function adjusts a CEGUI combobox element to have the correct height.</span><br />
<br />
=====Gridlists=====<br />
*[[convertGridListToText]] <span style="color:gray; font-size:smaller;">» This function converts grid list contents to text.</span><br />
*[[getGridListRowIndexFromText]] <span style="color:gray; font-size:smaller;">» This function returns the GridList row index from the specified text.</span><br />
*[[guiGridListAddPlayers]] <span style="color:gray; font-size:smaller;">» This function add all online players to a grid list.</span><br />
*[[guiGridListGetColumnIDFromTitle]] <span style="color:gray; font-size:smaller;">» This function gets a gridlist's column ID from the column title.</span><br />
*[[guiGridListGetSelectedText]] <span style="color:gray; font-size:smaller;">» This function returns a string containing the inner text of a selected gridlist item.</span><br />
*[[guiGridListSetColumnNonSortable]] <span style="color:gray; font-size:smaller;">» This function makes a gridlist column become non-sortable.</span><br />
*[[guiGridListSetColumnsFixedWidth]] <span style="color:gray; font-size:smaller;">» This function makes a gridlist have all its columns fixed width.</span><br />
*[[isTextInGridList]] <span style="color:gray; font-size:smaller;">» This function checks if some text exist or not in the GridList.</span><br />
<br />
=====Labels=====<br />
*[[guiLabelAddEffect]] <span style="color:gray; font-size:smaller;">» This function add an effects to the gui-label like (shadow, outline).</span><br />
<br />
=== Marker functions ===<br />
*[[createMarkerAttachedTo]] <span style="color:gray; font-size:smaller;">» This function creates a marker that is attached to an element.</span><br />
<br />
=== Math functions ===<br />
*[[math.clamp]] <span style="color:gray; font-size:smaller;">» This function returns the number between range of numbers or it's minimum or maximum.</span><br />
*[[math.getBezierPoint]] <span style="color:gray; font-size:smaller;">» Get N-th order bezier point.</span><br />
*[[math.hypot]] <span style="color:gray; font-size:smaller;">» This function returns the Hypotenuse of the triangle given by sides x and y.</span><br />
*[[math.isPointInPolygon]] <span style="color:gray; font-size:smaller;">» Check if point is inside polygon or not.</span><br />
*[[math.lerp]] <span style="color:gray; font-size:smaller;">» Get val between two integer.</span><br />
*[[math.percent]] <span style="color:gray; font-size:smaller;">» This function returns a percentage from two number values.</span><br />
*[[math.polygonArea]] <span style="color:gray; font-size:smaller;">» Compute area of any polygon.</span><br />
*[[math.randomDiff]] <span style="color:gray; font-size:smaller;">» Generates a pseudo-random integer that's always different from the last random number generated.</span><br />
*[[math.rotVecToEulerAngle]] <span style="color:gray; font-size:smaller;">» Rotation Vector To Euler Angle</span><br />
*[[math.round]] <span style="color:gray; font-size:smaller;">» Rounds a number whereas the number of decimals to keep and the method may be set.</span><br />
*[[mathNumber]] <span style="color:gray; font-size:smaller;">» This function is a workaround for the client-side floating-point precision of 24-bits.</span><br />
*[[reMap]] <span style="color:gray; font-size:smaller;">» Re-maps a number from one range to another.</span><br />
<br />
=== Map functions ===<br />
*[[assignLod]] <span style="color:gray; font-size:smaller;">» This function lets you conveniently generate and apply a LOD model to a mapping object.</span><br />
*[[getWorldPositionFromMapPosition]] <span style="color:gray; font-size:smaller;">» This function converts an F11 map position to world position.</span><br />
<br />
=== Ped functions ===<br />
*[[getAlivePlayers (Client)|getAlivePlayers]] <span style="color:gray; font-size:smaller;">» This function returns a table of the alive players client-side.</span><br />
*[[getAlivePlayersInTeam]] <span style="color:gray; font-size:smaller;">» This function returns a table of the alive players in a team.</span><br />
*[[getGuestPlayers]] <span style="color:gray; font-size:smaller;">» This function gets a players not login or players Guest .</span><br />
*[[getOnlineAdmins]] <span style="color:gray; font-size:smaller;">» This function returns a table of all logged-in administrators.</span><br />
*[[getPedEyesPosition]] <span style="color:gray; font-size:smaller;">» This function allows you to get peds eyes position.</span><br />
*[[getPedMaxHealth]] <span style="color:gray; font-size:smaller;">» This function returns a pedestrians's maximum health by converting it from their maximum health stat.</span><br />
*[[getPedMaxOxygenLevel]] <span style="color:gray; font-size:smaller;">» This function returns a ped's maximum oxygen level by converting it from their maximum underwater stamina stat.</span><br />
*[[getPedWeaponSkill]] <span style="color:gray; font-size:smaller;">» This function returns a ped's corresponding weapon skill level name.</span><br />
*[[getPlayerFromNamePart]] <span style="color:gray; font-size:smaller;">» This function returns a player from partial name.</span><br />
*[[getPlayerFromSerial]] <span style="color:gray; font-size:smaller;">» This function returns a player from their serial.</span><br />
*[[getPlayersByData]] <span style="color:gray; font-size:smaller;">» This function returns a table of players that have the specified data name.</span><br />
*[[getPlayersInPhotograph]] <span style="color:gray; font-size:smaller;">» This function returns a table of all players in photograph.</span><br />
*[[getPlayersInVehicles]] <span style="color:gray; font-size:smaller;">» This function returns a table of the players insides vehicles from a specified dimension.</span><br />
*[[isPedAiming]]<span style="color:gray; font-size:smaller;">» This function checks if a pedestrian is aiming their weapon.</span><br />
*[[isPedAimingNearPed]] <span style="color:gray; font-size:smaller;">» This is similar to isPedAiming but uses a colshape to be more precise.</span><br />
*[[isPedDiving]] <span style="color:gray; font-size:smaller;">» This feature checks that pedestrian is diving in the water.</span><br />
*[[isPedDrivingVehicle]] <span style="color:gray; font-size:smaller;">» This function checks if a specified pedestrian is driving a vehicle.</span><br />
*[[isPlayerInTeam]] <span style="color:gray; font-size:smaller;">» This function checks if a player is in a specified team.</span><br />
<br />
=== Player functions ===<br />
*[[countPlayersInRange]] <span style="color:gray; font-size:smaller;">» This function returns the number of players that are within a certain range of the specified coordinates.</span><br />
*[[getPlayerPreviousAndNextWeapon]] <span style="color:gray; font-size:smaller;">» This function returns the player previous and next weapon.</span><br />
*[[getPlayersInRange]]<span style="color:gray; font-size:smaller;">» This function make a table of players within certain range.</span><br />
*[[isPlayerHitByVehicle]]<span style="color:gray; font-size:smaller;">» This function cancels event when a element is hit by a vehicle.</span><br />
*[[warpToPlayer]]<span style="color:gray; font-size:smaller;">» This function make player warp to another player.</span><br />
<br />
=== Resource functions ===<br />
*[[getFilesInResourceFolder]] <span style="color:gray; font-size:smaller;">» This function gets a list of files that are inside a folder of a resource.</span><br />
*[[getResourceScripts]] <span style="color:gray; font-size:smaller;">» This function returns a table of the resource scripts.</span><br />
*[[getResourceSettings]] <span style="color:gray; font-size:smaller;">» This function returns a table of the resource settings.</span><br />
*[[getResourceSize]] <span style="color:gray; font-size:smaller;">» This function returns the size of a specified resource in kB(kilobyte)</span><br />
*[[refreshResource]] <span style="color:gray; font-size:smaller;">» This function refreshes your resource if you changed any of the files<br />
*[[setResourcePriority]] <span style="color:gray; font-size:smaller;">» This function set resource download priority group.</span><br />
<br />
=== Sound functions ===<br />
*[[isSoundFinished]] <span style="color:gray; font-size:smaller;">» This function checks if a sound element has finished.</span><br />
*[[isSoundPlaying]] <span style="color:gray; font-size:smaller;">» This function checks if a sound element is playing or not.</span><br />
*[[stopSoundSlowly]] <span style="color:gray; font-size:smaller;">» This function stop your sound element slowly.</span><br />
<br />
=== Browser functions ===<br />
*[[playVideo]] <span style="color:gray; font-size:smaller;">» This function plays a video on the screen.</span><br />
<br />
=== Team functions ===<br />
*[[getTeamFromColor]] <span style="color:gray; font-size:smaller;">» This function returns a team element by the specified color.</span><br />
*[[getTeamWithFewestPlayers]] <span style="color:gray; font-size:smaller;">» This function returns a team element with least players of all the specified teams.</span><br />
<br />
=== Vehicle functions ===<br />
*[[findEmptyCarSeat]] <span style="color:gray; font-size:smaller;">» This function finds you the first empty seat in a vehicle.</span><br />
*[[getNearestVehicle]] <span style="color:gray; font-size:smaller;">» This function gets the nearest vehicle to the specified player in a specified distance.</span><br />
*[[getRandomVehicle]] <span style="color:gray; font-size:smaller;">» This function gets a random vehicle.</span><br />
*[[getValidVehicleModels]] <span style="color:gray; font-size:smaller;">» This function returns a table of all valid vehicle models.</span><br />
*[[getVehiclesCountByType]] <span style="color:gray; font-size:smaller;">» This function returns the amount of vehicles by the given type as an integer value.</span><br />
*[[getVehicleTurnVelocityCenterOfMass]]<span style="color:gray; font-size:smaller;">» This function gets a vehicle's turn velocity relative to the vehicle's center or mass.</span><br />
*[[isVehicleDoubleExhaust]] <span style="color:gray; font-size:smaller;">» This function checks is exhaust vehicle double.</span><br />
*[[isVehicleEmpty]] <span style="color:gray; font-size:smaller;">» This function checks whether a vehicle is empty.</span><br />
*[[isVehicleOccupied]] <span style="color:gray; font-size:smaller;">» This function checks if a specified vehicle is occupied.</span><br />
*[[isVehicleOnRoof]] <span style="color:gray; font-size:smaller;">» This function checks whether vehicle is on roof.</span><br />
*[[isVehicleReversing]] <span style="color:gray; font-size:smaller;">» This function checks if a specified vehicle is moving backwards.</span><br />
*[[isVehicleUpgraded]] <span style="color:gray; font-size:smaller;">» This function checks is vehicle upgraded by upgrade ID.</span><br />
*[[setVehicleGravityPoint]] <span style="color:gray; font-size:smaller;">» This function sets a vehicle's gravity in the direction of a 3 dimensional coordinate with the strength specified.</span><br />
*[[setVehicleTurnVelocityCenterOfMass]]<span style="color:gray; font-size:smaller;">» This function sets a vehicle's turn velocity relative to the vehicle's center or mass.</span><br />
<br />
=== Weapon functions === <br />
*[[getJetpackWeaponsEnabled]] <span style="color:gray; font-size:smaller;">» This function returns a table of enabled weapons usable on a jetpack.</span><br />
<br />
=== Object functions ===<br />
*[[getDynamicDoorObjectOpenRatio]] <span style="color:gray; font-size:smaller;">» This function tells you how open a dynamic door is in a range from 0 to 1.</span><br />
<br />
=== XML functions ===<br />
*[[getXMLNodes]] <span style="color:gray; font-size:smaller;">» This function returns all children of a XML node.</span><br />
<br />
=== Engine functions ===<br />
*[[engineGetCOLsFromLibrary]] <span style="color:gray; font-size:smaller;">» This function gets the collision data from the col library.</span><br />
*[[engineLoadIMGContainer]] <span style="color:gray; font-size:smaller;">» This function loads the IMG container.</span><br />
<br />
=== Utility ===<br />
*[[animate]] <span style="color:gray; font-size:smaller;">» This function allows you to use interpolateBetween without render event and easily used.</span><br />
*[[callClientFunction]] <span style="color:gray; font-size:smaller;">» This function allows you to call any client-side function from the server's side.</span><br />
*[[callServerFunction]] <span style="color:gray; font-size:smaller;">» This function allows you to call any server-side function from the client's side.</span><br />
*[[check]] <span style="color:gray; font-size:smaller;">» This function checks if its arguments are of the right type and calls the error-function if one is not.</span><br />
*[[checkPassiveTimer]] <span style="color:gray; font-size:smaller;">» This function allows you to use passive timers in your conditions. For example you want to prevent players repeatedly using a command.</span><br />
*[[coroutine.resume]] <span style="color:gray; font-size:smaller;">» This function applies a fix for hidden coroutine error messages.</span><br />
*[[getBanFromName]] <span style="color:gray; font-size:smaller;">» This functions returns the ban of the given playername.</span><br />
*[[getCurrentFPS]] <span style="color:gray; font-size:smaller;">» This function returns the frames per second at which GTA: SA is running.</span><br />
*[[getSkinNameFromID]] <span style="color:gray; font-size:smaller;">» This function returns the name of the skin from the given id.</span><br />
*[[IfElse]] <span style="color:gray; font-size:smaller;">» This function returns one of two values based on a boolean expression.</span><br />
*[[isCharInString]] <span style="color:gray; font-size:smaller;">» This shared function allows you to check if a char specified is in a string value.</span><br />
*[[isMouseInCircle]] <span style="color:gray; font-size:smaller;">» This function checks if a cursor position is in circular area or not.</span><br />
*[[isMouseInPosition]] <span style="color:gray; font-size:smaller;">» This function allows you to check whether the mouse cursor/pointer is within a rectangular position.</span><br />
*[[iterElements]] <span style="color:gray; font-size:smaller;">» This function returns ''a time-saving'' iterator for your for-loops.</span><br />
*[[PlotTrajectoryAtTime]] <span style="color:gray; font-size:smaller;">» Calculate projectile/water trajectory.</span><br />
*[[preprocessor]] <span style="color:gray; font-size:smaller;">» This function allow you to use gcc macros.</span><br />
*[[vector3:compare]] <span style="color:gray; font-size:smaller;">» This method checks whether two vectors match, with optional precision.</span><br />
<br />
<noinclude>[[Category:Useful Functions]]</noinclude></div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72867Changes in 1.62021-10-07T09:13:18Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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'''.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub issue #294].<br />
:* 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. 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.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub issue #1043].<br />
:* 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 February 2019.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub issue #1069].<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub issue #1070].<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub issue #1071].<br />
<br />
<br />
== 2 Bug Fixes and Changes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== More Technical Bug Fixes and Changes ===<br />
<section show="true"><br />
:* Initialized variable ''lastSyncType'' in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.5+g0fd0d6f ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.71]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1f164ab202905a047f946b33dec1d40127ae2eb d1f164a] by '''Dutchman101''')<br />
<br />
<br />
== Resources ==<br />
=== 1 Bug Fixes and Changes ===<br />
:* Fixed some small typos ([https://github.com/multitheftauto/mtasa-resources/pull/355 #355] by '''TheNormalnij''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72863Changes in 1.62021-10-06T21:37:21Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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'''.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub issue #294].<br />
:* 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. 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.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub issue #1043].<br />
:* 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 February 2019.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub issue #1069].<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub issue #1070].<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub issue #1071].<br />
<br />
<br />
== 2 Bug Fixes and Changes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== More Technical Bug Fixes and Changes ===<br />
<section show="true"><br />
:* Initialized variable ''lastSyncType'' in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
</section><br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.5+g0fd0d6f ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.71]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1f164ab202905a047f946b33dec1d40127ae2eb d1f164a] by '''Dutchman101''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72859Changes in 1.62021-10-04T23:38:47Z<p>Lvrent: </p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
This release is planned to be released Oct 1, 2022.<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
== 5 Backwards Incompatible Changes ==<br />
''These changes will take effect in this version and scripts may need to be manually upgraded when updating:''<br />
:* [[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'''.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub issue #294].<br />
:* 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. 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.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub issue #1043].<br />
:* 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 February 2019.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub issue #1069].<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub issue #1070].<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub issue #1071].<br />
<br />
<br />
== 2 Bug Fixes and Changes ==<br />
=== Shared ===<br />
:* Fixed [[getCameraTarget]] returning the [[player]] instead of their [[vehicle]], if available ([https://github.com/multitheftauto/mtasa-blue/commit/05b7ea2d9c936b727ac057d3307d40a434f40352 05b7ea2] by '''botder''')<br />
<br />
=== More Technical Bug Fixes and Changes ===<br />
:* Initialized variable ''lastSyncType'' in [[addElementDataSubscriber]] ([https://github.com/multitheftauto/mtasa-blue/commit/ca3b0b778e9695ce7da6391eda14429aa055d1f2 ca3b0b7] by '''botder''')<br />
<br />
<br />
== 1 Vendor Updates ==<br />
=== Client ===<br />
:* Updated CEF from 94.4.2+g6a963ca (Chromium 94.0.4606.61) to 94.4.5+g0fd0d6f ([https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_24.html Chromium 94.0.4606.71]) (See commit [https://github.com/multitheftauto/mtasa-blue/commit/d1f164ab202905a047f946b33dec1d40127ae2eb d1f164a] by '''Dutchman101''')<br />
<br />
<br />
== Extra information ==<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Changes_in_1.6&diff=72858Changes in 1.62021-10-04T23:08:26Z<p>Lvrent: Actively updating this page until 1.6 release to make sure everything is present in the changelog page.</p>
<hr />
<div><pageclass class="#4286f4" subcaption="Next release"></pageclass><br />
{{Changelogs}}<br />
__NOTOC__<br />
* GitHub commit log: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master<br />
* GitHub milestone: https://github.com/multitheftauto/mtasa-blue/milestone/9<br />
* Resources GitHub commit log: https://github.com/multitheftauto/mtasa-resources/compare/1.5.9...master<br />
* Release announcement on forums: TBA<br />
<br />
<br />
'''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date. To be documented: https://github.com/multitheftauto/mtasa-blue/compare/1.5.9...master'''<br />
<br />
<br />
=== 5 Backwards Incompatible Changes ===<br />
<section show="true"><br />
''These changes will take effect in this version:''<br />
:* [[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'''.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/294 GitHub issue #294].<br />
:* 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. 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.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1043 GitHub issue #1043].<br />
:* 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 February 2019.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1069 GitHub issue #1069].<br />
:* Some functions expect only unsigned integers (positive numbers), and since January 2016 providing negative numbers would be a warning. This will now be an error.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1070 GitHub issue #1070].<br />
:* Since August 2015, we replaced the custom '''mtalocal://''' URL scheme with '''http://mta/resourceName/blah.html'''. This '''mtalocal://''' URL scheme will now be removed.<br>See [https://github.com/multitheftauto/mtasa-blue/issues/1071 GitHub issue #1071].<br />
</section><br />
<br />
<br />
=== Extra information ===<br />
''More detailed information available on our GitHub repositories:<br />
:* [https://github.com/multitheftauto/mtasa-blue MTA:SA Blue]<br />
:* [https://github.com/multitheftauto/mtasa-resources MTA:SA Official Resources]<br />
<br />
[[Category:Changelog]]<br />
[[Category:Incomplete]]</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Next_Stable_Version&diff=72836Template:Next Stable Version2021-10-01T16:59:43Z<p>Lvrent: </p>
<hr />
<div>{{#ifeq:{{{1|}}}|full|Error!|1.6.0}}</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Current_Stable_Version&diff=72835Template:Current Stable Version2021-10-01T16:59:11Z<p>Lvrent: </p>
<hr />
<div>{{#ifeq:{{{1|}}}|full|Error!|1.5.9}}</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Changelogsrow&diff=72722Template:Changelogsrow2021-09-24T07:51:00Z<p>Lvrent: </p>
<hr />
<div>|-<br />
!style="text-align:center; background-color: #e7e7e7; border-radius: 7px; color:#000000;" | {{{1}}}<br />
|style="text-align:left; color:#000000;" | {{{2}}}<br />
|-</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Changelogsrow&diff=72721Template:Changelogsrow2021-09-24T07:50:37Z<p>Lvrent: </p>
<hr />
<div>|-<br />
!style="text-align:center; background-color: #e7e7e7; border-radius: 7px; color:#000000;" | {{{1}}}<br />
|style="text-align:left; color:#000000; font-weight: bold;" | {{{2}}}<br />
|-</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Changelogsrow&diff=72720Template:Changelogsrow2021-09-24T07:49:59Z<p>Lvrent: </p>
<hr />
<div>|-<br />
!style="text-align:center; background-color: #e7e7e7; border-radius: 7px; color:#000000; font-weight: bold;" | {{{1}}}<br />
|style="text-align:left; color:#000000;" | {{{2}}}<br />
|-</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Changelogs&diff=72719Template:Changelogs2021-09-24T07:46:35Z<p>Lvrent: </p>
<hr />
<div>{| cellpadding="4" width="50%" style="border-width: 1px; border-style: solid; border-color: #bababa; border-radius: 10px; float: right; margin-left: 1em;"<br />
|-<br />
!width=30% style="background-color: #fff; color: #00000;"| MTA:SA Releases<br />
!width=70% style="white-space: nowrap; background-color: #fff;"| Changelog Pages<br />
{{Changelogsrow|1.0|[[Changes in 1.0|1.0.0]] &bull; 1.0.1 &bull; 1.0.2 &bull; 1.0.3 &bull; 1.0.4}}<br />
{{Changelogsrow|1.1|[[Changes in 1.1|1.1.0]] &bull; 1.1.1}}<br />
{{Changelogsrow|1.2|[[Changes in 1.2|1.2.0]]}}<br />
{{Changelogsrow|1.3|[[Changes in 1.3|1.3.0]] &bull; [[Changes in 1.3.1|1.3.1]] &bull; [[Changes in 1.3.2|1.3.2]] &bull; [[Changes in 1.3.3|1.3.3]] &bull; [[Changes in 1.3.4|1.3.4]] &bull; [[Changes in 1.3.5|1.3.5]]}}<br />
{{Changelogsrow|1.4|[[Changes in 1.4|1.4.0]] &bull; [[Changes in 1.4.1|1.4.1]]}}<br />
{{Changelogsrow|1.5|[[Changes in 1.5|1.5.0]] &bull; [[Changes in 1.5.1|1.5.1]] &bull; [[Changes in 1.5.2|1.5.2]] &bull; [[Changes in 1.5.3|1.5.3]] &bull; [[Changes in 1.5.4|1.5.4]] &bull; [[Changes in 1.5.5|1.5.5]] &bull; [[Changes in 1.5.6|1.5.6]] &bull; [[Changes in 1.5.7|1.5.7]] &bull; [[Changes in 1.5.8|1.5.8]] &bull; [[Changes in 1.5.9|1.5.9]]}}<br />
{{Changelogsrow|1.6|[[Changes in 1.6|1.6.0]]}}<br />
|}</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Changelogs&diff=72718Template:Changelogs2021-09-24T07:44:00Z<p>Lvrent: </p>
<hr />
<div>{| cellpadding="4" width="50%" style="border-width: 1px; border-style: solid; border-color: #bababa; border-radius: 10px; float: right; margin-left: 1em;"<br />
|-<br />
!width=20% style="background-color: #fff; color: #00000;"| MTA:SA Releases<br />
!width=80% style="white-space: nowrap; background-color: #fff;"| Changelog Pages<br />
{{Changelogsrow|1.0|[[Changes in 1.0|1.0.0]] &bull; 1.0.1 &bull; 1.0.2 &bull; 1.0.3 &bull; 1.0.4}}<br />
{{Changelogsrow|1.1|[[Changes in 1.1|1.1.0]] &bull; 1.1.1}}<br />
{{Changelogsrow|1.2|[[Changes in 1.2|1.2.0]]}}<br />
{{Changelogsrow|1.3|[[Changes in 1.3|1.3.0]] &bull; [[Changes in 1.3.1|1.3.1]] &bull; [[Changes in 1.3.2|1.3.2]] &bull; [[Changes in 1.3.3|1.3.3]] &bull; [[Changes in 1.3.4|1.3.4]] &bull; [[Changes in 1.3.5|1.3.5]]}}<br />
{{Changelogsrow|1.4|[[Changes in 1.4|1.4.0]] &bull; [[Changes in 1.4.1|1.4.1]]}}<br />
{{Changelogsrow|1.5|[[Changes in 1.5|1.5.0]] &bull; [[Changes in 1.5.1|1.5.1]] &bull; [[Changes in 1.5.2|1.5.2]] &bull; [[Changes in 1.5.3|1.5.3]] &bull; [[Changes in 1.5.4|1.5.4]] &bull; [[Changes in 1.5.5|1.5.5]] &bull; [[Changes in 1.5.6|1.5.6]] &bull; [[Changes in 1.5.7|1.5.7]] &bull; [[Changes in 1.5.8|1.5.8]] &bull; [[Changes in 1.5.9|1.5.9]]}}<br />
{{Changelogsrow|1.6|[[Changes in 1.6|1.6.0]]}}<br />
|}</div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Resource_functions&diff=72717Template:Resource functions2021-09-23T21:45:18Z<p>Lvrent: </p>
<hr />
<div>*[[abortRemoteRequest]]<br />
*[[addResourceConfig]]<br />
*[[addResourceMap]]<br />
*[[call]]<br />
*[[callRemote]]<br />
*[[copyResource]]<br />
*[[createResource]]<br />
*[[deleteResource]]<br />
*[[fetchRemote]]<br />
*[[getRemoteRequestInfo]]<br />
*[[getRemoteRequests]]<br />
*[[getResourceACLRequests]]<br />
*[[getResourceConfig]]<br />
*[[getResourceDynamicElementRoot]]<br />
*[[getResourceExportedFunctions]]<br />
*[[getResourceFromName]]<br />
*[[getResourceInfo]]<br />
*[[getResourceLastStartTime]]<br />
*[[getResourceLoadFailureReason]]<br />
*[[getResourceLoadTime]]<br />
*[[getResourceMapRootElement]]<br />
*[[getResourceName]]<br />
*[[getResourceOrganizationalPath]]<br />
*[[getResourceRootElement]]<br />
*[[getResources]]<br />
*[[getResourceState]]<br />
*[[getThisResource]]<br />
*[[isResourceArchived]]<br />
*[[isResourceProtected]]<br />
*[[refreshResources]]<br />
*[[removeResourceFile]]<br />
*[[renameResource]]<br />
*[[restartResource]]<br />
*[[setResourceInfo]]<br />
*[[startResource]]<br />
*[[stopResource]]<br />
*[[updateResourceACLRequest]]<br />
<br />
<noinclude>[[Category:Functions templates]]</noinclude></div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Resource_functions&diff=72716Template:Resource functions2021-09-23T21:44:49Z<p>Lvrent: </p>
<hr />
<div>*[[addResourceConfig]]<br />
*[[addResourceMap]]<br />
*[[call]]<br />
*[[callRemote]]<br />
*[[copyResource]]<br />
*[[createResource]]<br />
*[[deleteResource]]<br />
*[[fetchRemote]]<br />
*[[getResourceACLRequests]]<br />
*[[getResourceConfig]]<br />
*[[getResourceDynamicElementRoot]]<br />
*[[getResourceExportedFunctions]]<br />
*[[getResourceFromName]]<br />
*[[getResourceInfo]]<br />
*[[getResourceLastStartTime]]<br />
*[[getResourceLoadFailureReason]]<br />
*[[getResourceLoadTime]]<br />
*[[getResourceMapRootElement]]<br />
*[[getResourceName]]<br />
*[[getResourceOrganizationalPath]]<br />
*[[getResourceRootElement]]<br />
*[[getResourceState]]<br />
*[[getResources]]<br />
*[[getThisResource]]<br />
*[[isResourceArchived]]<br />
*[[isResourceProtected]]<br />
*[[refreshResources]]<br />
*[[removeResourceFile]]<br />
*[[renameResource]]<br />
*[[restartResource]]<br />
*[[setResourceInfo]]<br />
*[[startResource]]<br />
*[[stopResource]]<br />
*[[updateResourceACLRequest]]<br />
*[[getRemoteRequests]]<br />
*[[getRemoteRequestInfo]]<br />
*[[abortRemoteRequest]]<br />
<noinclude>[[Category:Functions templates]]</noinclude></div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Updated_feature/item&diff=72715Template:Updated feature/item2021-09-23T21:43:00Z<p>Lvrent: </p>
<hr />
<div><includeonly>{{#ifexpr: ({{{1|}}}) = {{Next Stable Version}} and ({{{2|}}}) = {{Current Stable Version}}<br />
|<div style='border: 2px solid #1b2027; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #1b2027; color: #fff; font-weight: bold; padding: 4px 8px'>[[Beta Features|<span style="color: #fff; text-decoration: underline">BETA</span>]]: UPDATED FEATURE (BUILD: {{{2}}} {{r|{{{3}}}}})</div><div style='padding: 4px 8px'>{{{4}}}</div></div><br />
|{{#ifexpr: {{Next Stable Version}} > ({{{1|}}}) and ({{{1|}}}) = {{Current Stable Version}}<br />
|<div style='border: 2px solid #232933; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #232933; color: #fff; padding: 4px 8px'>* FEATURE UPDATED IN {{{1}}} (REVISION: {{r|{{{3}}}}})</div><div style='padding: 4px 8px'>{{{4}}}</div></div>[[Category:Changes in {{{1}}}]]<br />
|{{{4}}}<br />
}}<br />
}}</includeonly><noinclude>This template is used for highlighting beta and features introduced in the latest version of MTA: San Andreas. The highlighted appearance will automatically disappear when a newer version is released.<br />
<br />
===Parameters===<br />
#Version in numeric format (for internal usage)<br />
#Stable version (the stable version the feature will appear in)<br />
#Beta version (the beta version the feature appeared in)<br />
#Revision (the build the feature appeared in)<br />
#Description (the feature main description)<br />
[[Category:Utility templates]]</noinclude></div>Lvrenthttps://wiki.multitheftauto.com/index.php?title=Template:Added_feature/item&diff=72714Template:Added feature/item2021-09-23T21:42:19Z<p>Lvrent: </p>
<hr />
<div><includeonly>{{#ifexpr: ({{{1|}}}) = {{Next Stable Version}} and ({{{2|}}}) = {{Current Stable Version}}<br />
|<div style='border: 2px solid #1b2027; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #1b2027; color: #fff; font-weight: bold; padding: 4px 8px'>[[Beta Features|<span style="color: #fff; text-decoration: underline">BETA</span>]]: NEW FEATURE (BUILD: {{{2}}} {{r|{{{3}}}}})</div><div style='padding: 4px 8px'>{{{4}}}</div></div><br />
|{{#ifexpr: {{Next Stable Version}} > ({{{1|}}}) and ({{{1|}}}) = {{Current Stable Version}}<br />
|<div style='border: 2px solid #232933; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #232933; color: #fff; padding: 4px 8px'>* FEATURE ADDED IN {{{1}}} (REVISION: {{r|{{{3}}}}})</div><div style='padding: 4px 8px'>{{{4}}}</div></div>[[Category:Changes in {{{1}}}]]<br />
|{{{4}}}<br />
}}<br />
}}</includeonly><noinclude>This template is used for highlighting beta and features introduced in the latest version of MTA: San Andreas. The highlighted appearance will automatically disappear when a newer version is released.<br />
<br />
===Parameters===<br />
#Version in numeric format (for internal usage)<br />
#Stable version (the stable version the feature will appear in)<br />
#Beta version (the beta version the feature appeared in)<br />
#Revision (the build the feature appeared in)<br />
#Description (the feature main description)<br />
[[Category:Utility templates]]</noinclude></div>Lvrent