Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Cache serialized mapblocks during sending | sfan5 | 2022-05-08 |
| | | | | | | | This reduces the (absolute) time spent in Server::SendBlocks() from 700ms to 300ms (relative) share of MapBlock::serialize() from 80% to 60% in a test setup with 10 players and many block changes | ||
* | Make logging cost free when there is no output target (#12247) | paradust7 | 2022-05-04 |
| | | | | | The logging streams now do almost no work when there is no output target for them. For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing. | ||
* | Async environment for mods to do concurrent tasks (#11131) | sfan5 | 2022-05-02 |
| | |||
* | Refactor some Lua API functions in preparation for async env | sfan5 | 2022-05-02 |
| | |||
* | Clean up some auth packet handling related code | sfan5 | 2022-04-28 |
| | |||
* | Disentangle map implementations (#12148) | Jude Melton-Houghton | 2022-04-07 |
| | | | | Fixes violation of Liskov substitution principle Fixes #12144 | ||
* | Add API to control shadow intensity from the game/mod (#11944) | x2048 | 2022-03-26 |
| | | | * Also Disable shadows when sun/moon is hidden. Fixes #11972. | ||
* | Move the codebase to C++14 | sfan5 | 2022-02-26 |
| | |||
* | Clean up ClientReady packet handling | sfan5 | 2022-02-17 |
| | | | | fixes #12073 | ||
* | Send HUD flags only if changed | Lars Müller | 2022-02-08 |
| | |||
* | Clean up ClientInterface locking | Jude Melton-Houghton | 2022-02-03 |
| | |||
* | Add game name to server status string | sfan5 | 2022-01-28 |
| | |||
* | Give the ASCII console splash a facelift | Alex | 2022-01-15 |
| | |||
* | Improve situation around race condition with dynamic_add_media during client ↵ | sfan5 | 2022-01-15 |
| | | | | join | ||
* | Don't call on_dieplayer callback two times (#11874) | savilli | 2022-01-15 |
| | |||
* | Use a database for mod storage (#11763) | Jude Melton-Houghton | 2022-01-07 |
| | |||
* | Socket-related cleanups | sfan5 | 2021-12-29 |
| | | | Improve error handling on Windows and reduce the size of the `Address` class | ||
* | Fix various code & correctness issues (#11815) | sfan5 | 2021-12-05 |
| | |||
* | Make /status message easier to read | Wuzzy | 2021-10-15 |
| | |||
* | Readd TGA to the list of valid texture formats. (#11598) | ROllerozxa | 2021-09-15 |
| | |||
* | Clean up/improve some scriptapi error handling code | sfan5 | 2021-09-10 |
| | |||
* | Send to clients node metadata that changed to become empty (#11597) | Jude Melton-Houghton | 2021-09-10 |
| | |||
* | Dynamic_Add_Media v2 (#11550) | sfan5 | 2021-09-09 |
| | |||
* | Remove redundant on_dieplayer calls | savilli | 2021-08-28 |
| | |||
* | Remove unsupported formats from the media enumerator | hecks | 2021-07-29 |
| | |||
* | Add bold, italic and monospace font styling for HUD text elements (#11478) | sfan5 | 2021-07-27 |
| | | | Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de> | ||
* | Server: Ignore whitespace-only chat messages | SmallJoker | 2021-06-22 |
| | |||
* | Translate builtin (#10693) | Wuzzy | 2021-03-05 |
| | | | | | This PR is the second attempt to translate builtin. Server-sent translation files can be added to `builtin/locale/`, whereas client-side translations depend on gettext. | ||
* | Send attachments instantly before set_pos (#10235) | SmallJoker | 2021-02-12 |
| | |||
* | Server: properly delete ServerMap on interrupted startups | SmallJoker | 2021-02-05 |
| | | | | A static mod error (e.g. typo) would abort the initialization but never free ServerMap | ||
* | Encode high codepoints as surrogates to safely transport wchar_t over network | sfan5 | 2021-02-02 |
| | | | | fixes #7643 | ||
* | Drop wide/narrow conversion functions | sfan5 | 2021-02-02 |
| | | | | | | | | | The only valid usecase for these is interfacing with OS APIs that want a locale/OS-specific multibyte encoding. But they weren't used for that anywhere, instead UTF-8 is pretty much assumed when it comes to that. Since these are only a potential source of bugs and do not fulfil their purpose at all, drop them entirely. | ||
* | Revise dynamic_add_media API to better accomodate future changes | sfan5 | 2021-02-01 |
| | |||
* | Preserve immortal group for players when damage is disabled | sfan5 | 2021-01-31 |
| | |||
* | Cache client IP in RemoteClient so it can always be retrieved (#10887) | sfan5 | 2021-01-31 |
| | | | specifically: after the peer has already disappeared | ||
* | Settings: Proper priority hierarchy | SmallJoker | 2021-01-29 |
| | | | | | | | | | | | Remove old defaults system Introduce priority-based fallback list Use new functions for map_meta special functions Change groups to use end tags Unittest changes: * Adapt unittest to the new code * Compare Settings objects | ||
* | Allow configuring block disk and net compression. Change default disk level. | Lars | 2020-12-15 |
| | |||
* | Minimap as HUD element with API control | Pierre-Yves Rollo | 2020-10-04 |
| | | | | | | | Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map | ||
* | (se)SerializeString: Include max length in the name | SmallJoker | 2020-10-01 |
| | | | | | | | This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions | ||
* | Remove null bytes from TOCLIENT_BLOCKDATA (#10433) | luk3yx | 2020-09-26 |
| | |||
* | Correct erroneous reported max lag with prometheus (#10427) | Buckaroo Banzai | 2020-09-25 |
| | | | Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com> | ||
* | Clean up server-side translations, remove global variable (#10075) | rubenwardy | 2020-09-16 |
| | |||
* | Properly handle mod-errors in on_shutdown | Desour | 2020-08-24 |
| | |||
* | Load media from subfolders (#9065) | DS | 2020-08-20 |
| | |||
* | Sanitize world directory names on create. Keep original name separate (#9432) | Hugues Ross | 2020-07-28 |
| | | | Blacklisted characters are replaced by '_' in the path. The display name is stored in world.mt, and duplicate file names are resolved by adding an incrementing suffix (_1, _2, _3, etc). | ||
* | Server pushing media at runtime (#9961) | sfan5 | 2020-06-13 |
| | |||
* | Value copy / allocation optimizations mostly in server, SAO and serialize code | sfan5 | 2020-05-27 |
| | |||
* | Optimize particlespawner sending by not sending to distant players | sfan5 | 2020-05-23 |
| | |||
* | Implement spawning particles with node texture appearance | sfan5 | 2020-05-23 |
| | |||
* | Cleanup of particle & particlespawner structures and code (#9893) | sfan5 | 2020-05-22 |
| |