Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix player HP desync between client and server | savilli | 2021-10-12 | 1 | -1/+2 |
| | |||||
* | Various code improvements | SmallJoker | 2021-09-27 | 3 | -36/+28 |
| | | | | | * Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits | ||||
* | Fix trivial typos | sfan5 | 2021-09-19 | 1 | -2/+2 |
| | |||||
* | Shave off buffer copies in networking code (#11607) | sfan5 | 2021-09-17 | 5 | -86/+79 |
| | |||||
* | Fix broken handling of NodemetaChanged packets | sfan5 | 2021-09-12 | 1 | -1/+1 |
| | | | | fixes #11610 | ||||
* | Make sure relevant std::stringstreams are set to binary | sfan5 | 2021-09-11 | 1 | -7/+5 |
| | |||||
* | Dynamic_Add_Media v2 (#11550) | sfan5 | 2021-09-09 | 5 | -59/+122 |
| | |||||
* | Remove redundant on_dieplayer calls | savilli | 2021-08-28 | 1 | -16/+0 |
| | |||||
* | Joystick sensitivity for player movement (#11262) | NeroBurner | 2021-08-27 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit deprecates the forward, backward, left, and right binary inputs currently used for player movement in the PlayerControl struct. In their place, it adds the movement_speed and movement_direction values, which represents the player movement is a polar coordinate system. movement_speed is a scalar from 0.0 to 1.0. movement_direction is an angle from 0 to +-Pi: FWD 0 _ LFT / \ RGT -Pi/2 | | +Pi/2 \_/ +-Pi BCK Boolean movement bits will still be set for server telegrams and Lua script invocations to provide full backward compatibility. When generating these values from an analog input, a direction is considered active when it is 22.5 degrees away from either orthogonal axis. Co-authored-by: Markus Koch <markus@notsyncing.net> Co-authored-by: sfan5 <sfan5@live.de> | ||||
* | HUD: Reject and warn on invalid stat types (#11548) | SmallJoker | 2021-08-21 | 1 | -11/+23 |
| | | | | This comes into play on older servers which do not know the "stat" type. Warnings are only logged once to avoid spam within globalstep callbacks | ||||
* | Add bold, italic and monospace font styling for HUD text elements (#11478) | sfan5 | 2021-07-27 | 1 | -1/+4 |
| | | | Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de> | ||||
* | Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵ | Wuzzy | 2021-06-24 | 2 | -1/+8 |
| | | | | | 'debug' priv to view wireframe (#9315) Fixes #7245. | ||||
* | Block & report player self-interaction (#11137) | Lars Müller | 2021-03-30 | 1 | -0/+6 |
| | |||||
* | Check for duplicate login in TOSERVER_INIT handler (#11017) | Elias Fleckenstein | 2021-03-19 | 1 | -0/+10 |
| | | | i.e. checks for duplicate logins before sending all media data to the client. | ||||
* | Protect dropping from far node inventories | SmallJoker | 2021-03-07 | 1 | -24/+23 |
| | | | | Also changes if/if to switch/case | ||||
* | Protect per-player detached inventory actions | SmallJoker | 2021-03-07 | 1 | -1/+5 |
| | |||||
* | Clean up ClientEvent hudadd/hudchange internals | sfan5 | 2021-03-06 | 1 | -27/+26 |
| | |||||
* | Fix hud_change and hud_remove after hud_add (#10997) | savilli | 2021-02-26 | 1 | -23/+14 |
| | |||||
* | Server-side authority for attached players (#10952) | SmallJoker | 2021-02-15 | 1 | -2/+6 |
| | | | The server must have authority about attachments. This commit ignores any player movement packets as long they're attached. | ||||
* | Encode high codepoints as surrogates to safely transport wchar_t over network | sfan5 | 2021-02-02 | 3 | -24/+42 |
| | | | | fixes #7643 | ||||
* | Drop wide/narrow conversion functions | sfan5 | 2021-02-02 | 1 | -5/+3 |
| | | | | | | | | | 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. | ||||
* | Server GotBlocks(): Lock clients to avoid multithreading issues | SmallJoker | 2021-02-02 | 1 | -2/+4 |
| | |||||
* | Cache client IP in RemoteClient so it can always be retrieved (#10887) | sfan5 | 2021-01-31 | 1 | -5/+6 |
| | | | specifically: after the peer has already disappeared | ||||
* | Remove dead code (#10845) | rubenwardy | 2021-01-22 | 1 | -7/+1 |
| | |||||
* | Fix some minor code issues all over the place | sfan5 | 2020-12-24 | 1 | -1/+1 |
| | |||||
* | Documentation for highest formspec_version[] and changelog (#10592) | DS | 2020-12-18 | 1 | -16/+1 |
| | |||||
* | serverpackethandler: Minor log message fixes | sfan5 | 2020-11-12 | 1 | -7/+6 |
| | | | | closes #10434 | ||||
* | Fix object interaction distance not being checked (#10547) | rubenwardy | 2020-11-09 | 1 | -6/+7 |
| | |||||
* | Block attempts to connect to the client (#10589) | red-001 | 2020-11-02 | 3 | -2/+10 |
| | | | A Minetest peer initiates a connection by sending a packet with an invalid peer_id, for whatever reason the code for doing this ran on both the client and the server meaning you could connect to a client if you knew what the address:port tuple it was listening on. | ||||
* | Remove unused functions reported by cppcheck (#10463) | SmallJoker | 2020-10-05 | 2 | -8/+0 |
| | | | | | | | Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use. | ||||
* | Minimap as HUD element with API control | Pierre-Yves Rollo | 2020-10-04 | 4 | -6/+56 |
| | | | | | | | 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 | 1 | -4/+4 |
| | | | | | | | 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 | ||||
* | Inventory: Protect Craft and Drop actions (#10353) | SmallJoker | 2020-09-07 | 1 | -44/+35 |
| | | | Change dangerous pointer to unique_ptr for automated deletion. | ||||
* | Prevent interacting with items out of the hotbar (#10359) | Lejo | 2020-09-04 | 1 | -1/+20 |
| | |||||
* | [2] Code cleanup in serverpackethandler (#9349) | HybridDog | 2020-09-01 | 1 | -199/+180 |
| | | | | | | * Code cleanup in serverpackethandler * do not define p_under unless a node is pointed * use switch-case and reduce indentation | ||||
* | Prevent players accessing inventories of other players (#10341) | Lars Müller | 2020-08-29 | 1 | -7/+13 |
| | |||||
* | Complete Haiku platform support. (#10311) | David CARLIER | 2020-08-23 | 1 | -5/+0 |
| | | | | | Fixing linkage/libraries missing issue. Implements missing platform specifics. | ||||
* | Allow binding dig, place actions to keys; remove LMB/RMB hardcoding | ANAND | 2020-08-15 | 1 | -11/+12 |
| | | | | Co-authored-by: Sam Caulfield <sam@samcaulfield.com> | ||||
* | Add PUT and DELETE request + specific method value to HTTP API (#9909) | Lejo | 2020-07-29 | 1 | -1/+1 |
| | |||||
* | Replace std::list<session_t> in networking code (#10215) | sfan5 | 2020-07-23 | 3 | -18/+17 |
| | |||||
* | Add reconnect button on error: Too many players (#9405) | Lejo | 2020-07-12 | 1 | -0/+3 |
| | |||||
* | Formspec: Make dropdowns optionally return event based on index, not value ↵ | v-rob | 2020-07-10 | 1 | -1/+3 |
| | | | | (#9496) | ||||
* | Exposing the zoom key to Lua API (#9903) | Lars Müller | 2020-06-13 | 1 | -0/+1 |
| | | | Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com> | ||||
* | Server pushing media at runtime (#9961) | sfan5 | 2020-06-13 | 4 | -2/+57 |
| | |||||
* | Implement spawning particles with node texture appearance | sfan5 | 2020-05-23 | 1 | -0/+10 |
| | |||||
* | Add on_authplayer callback and 'last_login' to on_joinplayer (#9574) | sorcerykid | 2020-05-23 | 1 | -21/+23 |
| | | | | | | Replace on_auth_fail callback with more versatile on_authplayer Better clarify account login process in Lua API documentation Change initial timestamp for newly registered accounts to -1 | ||||
* | Cleanup of particle & particlespawner structures and code (#9893) | sfan5 | 2020-05-22 | 1 | -97/+39 |
| | |||||
* | Log protocol ver on mismatched client connect too | sfan5 | 2020-05-16 | 1 | -2/+2 |
| | |||||
* | network: Replace a fatal_error with just error logging | sfan5 | 2020-05-14 | 1 | -5/+3 |
| | |||||
* | Add support for statbar “off state” icons (#9462) | Wuzzy | 2020-05-11 | 2 | -12/+9 |
| | | | | | | | This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com> |