Commit Graph

9524 Commits (d08faa6e5de60a0ca0323ca4778109fba1291fbe)

Author SHA1 Message Date
sfan5 d08faa6e5d Validate staticdata and object property length limits
Some games provide users with enough freedom to create items
with metadata longer than 64KB, preventing this from causing
issues is on them but we'll still do the minimum not to abort
the server if this happens.
2022-02-07 09:25:35 +13:00
Vitaliy eda0178885
Fix memory leak when CSM blocks inventory opening (#34) 2022-02-04 15:27:13 +02:00
Maksim 2d406b8318 Disable SmokePuff spawn when a entity dies 2022-02-02 20:41:44 +02:00
Maksim 90ab16ef7d Improve client-side death formspec 2022-02-01 13:37:10 +02:00
Maksim e2ab4ac9d4 macOS: update and switch to LuaJIT 2022-01-30 10:23:05 +02:00
luk3yx dae831a223
Generate MT 0.4 character.b3d files at load time
These generated files are kept in RAM and not on disk.
2022-01-28 00:22:13 +01:00
MoNTE48 26a5aed0c4 Mobile: minor fixes 2022-01-27 00:35:15 +01:00
MoNTE48 c4d691600d Re-enable `core.get_server_status()` 2022-01-27 00:08:42 +01:00
MoNTE48 2c0b370748 Update font 2022-01-27 00:08:42 +01:00
Vitaliy 77d590c58a Optimize clouds (#25) 2022-01-24 01:08:32 +01:00
MoNTE48 73392bc567 Scale images in the table on the desktop 2022-01-24 01:04:35 +01:00
DS f8fb722740 Use utf-8 for the Irrlicht clipboard (#11538) 2022-01-24 01:04:35 +01:00
MoNTE48 e8ed7f95aa Add `string:trim8()` and fix intllib 2022-01-21 15:11:17 +01:00
luk3yx eb535064ba Add bit library to environment (with LuaJIT) 2022-01-11 10:33:52 +13:00
luk3yx 952471c8f8 Add ChaCha library 2022-01-09 13:52:31 +13:00
MoNTE48 444772113a macOS: switch to gettext 2022-01-05 21:57:02 +01:00
MoNTE48 9d4bda1cdf HUD: property scale crosshair image 2021-12-31 00:35:04 +01:00
MoNTE48 bf9a01085e Clear the item selection when receive an Inventory event 2021-12-31 00:35:04 +01:00
MoNTE48 2352512795 Mobile: fix KeyChangeMenu scaling 2021-12-30 00:44:30 +01:00
luk3yx e7c44f2796 Allow changing inventory_items_animations from the main menu
If you try and change the setting from in-game you'll have to log out 
and back in for it to update.
2021-12-30 12:30:49 +13:00
MoNTE48 8053b775e4 Remove broken `TMPFolder` setting 2021-12-28 19:35:32 +01:00
luk3yx 4f45afdba5 Intllib: add `core.get_translator_auto()` wrapper 2021-12-28 18:46:29 +13:00
MoNTE48 4cfc5a506f OSX: minor fixes 2021-12-26 02:24:23 +01:00
MoNTE48 168acbd050 Hide driver name from window title 2021-12-26 02:23:01 +01:00
MoNTE48 8763f41ed9 Intllib: minor cleanup 2021-12-23 15:17:18 +01:00
MoNTE48 d3ef0c30bc Mobile: fix checkbox scaling 2021-12-18 00:33:21 +01:00
MoNTE48 d07f0a660d Fix the time format in `duration_to_string` 2021-12-18 00:31:56 +01:00
Maksim ff04baa9b3 Show in `/help` only commands available to the player 2021-12-13 18:49:28 +01:00
MoNTE48 9e5d97cb35 Minor update for base textures 2021-12-05 18:31:40 +01:00
MoNTE48 b90fe6bbc6 Fix position of the infotext 2021-12-04 23:47:06 +01:00
Bektur 0d1d39b2f9 Android: Kotlin, modern unzip system and other improvements (#23) 2021-12-04 23:47:06 +01:00
MoNTE48 cca13417fe iOS: forced saving settings when connecting to the game 2021-12-04 23:47:06 +01:00
sfan5 75d755a331 Reserve vectors before pushing and other code quality changes (#11161) 2021-12-04 23:47:06 +01:00
sfan5 991cceaf16 Remove broken timeout behaviour
Code that relies on `resend_count` was added in 7ea4a03 and 247a1eb, but never worked.
This was fixed in #11607 which caused the problem to surface.
Hence undo the first commit entirely and change the logic of the second.
2021-12-04 23:47:06 +01:00
sfan5 b7f2ba0da2 Shave off buffer copies in networking code (#11607) 2021-12-04 23:47:06 +01:00
luk3yx 1a13324379 Add new functions 2021-12-04 23:47:06 +01:00
MoNTE48 9454597e32 Mobile: improve formspec scaling on large tablets 2021-12-02 10:12:03 +01:00
MoNTE48 34d0166af9 Improve delete world dialog 2021-11-17 03:12:33 +02:00
sfan5 667f1f2a2e Fix "Could not create ITexture, texture needs to have a non-empty name" warning 2021-11-17 02:49:18 +02:00
MoNTE48 d6b01ab8ef Revert "Prevent interacting with items out of the hotbar (#10359)" 2021-11-16 01:09:50 +02:00
MoNTE48 bd17b2f6d7 Fix compatibility with Irrlicht 1.9-dev 2021-11-04 00:30:52 +01:00
MoNTE48 0dc4830be2 Write settings after executing `/set` command 2021-11-03 23:52:29 +01:00
sfence d40a598fe4 Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)
This check can be used by ABM to reduce CPU usage.
2021-11-03 23:49:48 +01:00
MoNTE48 e91813755c Builtin: minor fixes 2021-10-21 00:28:35 +02:00
luk3yx a3e3f12900 Log approximate RAM usage of mods during startup (with --info) 2021-09-13 12:58:34 +02:00
MoNTE48 5d1b891c6b Align text in death formspec 2021-09-12 16:27:25 +02:00
MoNTE48 96bc43a459 Update Credits tab 2021-09-04 19:58:50 +02:00
Vitaliy 40bdb9c609 Pause animations while game is paused (#10658)
Pauses all mesh animations while game is paused.
2021-09-03 21:36:02 +12:00
luk3yx db15e61216 Make messagebox() the same size as the main tabs 2021-09-03 21:28:40 +12:00
MoNTE48 95e1e263c6 macOS: minor fixes 2021-08-30 22:53:49 +02:00