aboutsummaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2020-09-07Inventory: Protect Craft and Drop actions (#10353)SmallJoker
Change dangerous pointer to unique_ptr for automated deletion.
2020-09-04Prevent interacting with items out of the hotbar (#10359)Lejo
2020-09-01[2] Code cleanup in serverpackethandler (#9349)HybridDog
* Code cleanup in serverpackethandler * do not define p_under unless a node is pointed * use switch-case and reduce indentation
2020-08-29Prevent players accessing inventories of other players (#10341)Lars Müller
2020-08-23Complete Haiku platform support. (#10311)David CARLIER
Fixing linkage/libraries missing issue. Implements missing platform specifics.
2020-08-15Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-07-29Add PUT and DELETE request + specific method value to HTTP API (#9909)Lejo
2020-07-23Replace std::list<session_t> in networking code (#10215)sfan5
2020-07-12Add reconnect button on error: Too many players (#9405)Lejo
2020-07-10Formspec: Make dropdowns optionally return event based on index, not value ↵v-rob
(#9496)
2020-06-13Exposing the zoom key to Lua API (#9903)Lars Müller
Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
2020-06-13Server pushing media at runtime (#9961)sfan5
2020-05-23Implement spawning particles with node texture appearancesfan5
2020-05-23Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid
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
2020-05-22Cleanup of particle & particlespawner structures and code (#9893)sfan5
2020-05-16Log protocol ver on mismatched client connect toosfan5
2020-05-14network: Replace a fatal_error with just error loggingsfan5
2020-05-11Add support for statbar “off state” icons (#9462)Wuzzy
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>
2020-05-07Server class code cleanups (#9769)Loïc Blot
* Server::overrideDayNightRatio doesn't require to return bool There is no sense to sending null player, the caller should send a valid object * Server::init: make private & cleanup This function is always called before start() and loads some variables which can be loaded in constructor directly. Make it private and call it directly in start * Split Server inventory responsibility to a dedicated object This splits permit to found various historical issues: * duplicate lookups on player connection * sending inventory to non related player when a player connects * non friendly lookups on detached inventories ownership This reduce the detached inventory complexity and also increased the lookup performance in a quite interesting way for servers with thousands of inventories.
2020-05-05Server: Improve some log messages (#9820)sfan5
2020-05-05Sky API: Rename *_tint to fog_*_tint for consistencySmallJoker
2020-05-02set_fov: Add support for time-based transitions (#9705)ANAND
2020-05-01Allow connection info to be missing from minetest.get_player_information() ↵sfan5
(#9739) fixes #9352 This reverts commit 23c907befea02005e2c0c87fca0131b60aace18a.
2020-04-25Add server side translations capability (#9733)EvidenceB Kidscode
* Add server side translations capability
2020-04-20Improve protocol-level receiving code (#9617)sfan5
2020-04-18serverpackethandler: Reduce pkt->getPeerId() invocations and more (#9689)HybridDog
2020-04-13Add scroll_container formspec element (redo) (#9101)DS
New formspec elements: - `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]` - `scroll_container_end[]` Other elements can be embedded in this element. Scrollbar must be placed manually.
2020-04-11Move PlayerSAO to dedicated filesLoic Blot
2020-04-10Drop genericobject.{cpp,h} (#9629)Loïc Blot
* Drop genericobject.{cpp,h} This file is not for generic object but for ActiveObject message passing. Put ownership of the various commands to the right objects and cleanup the related code. * Protect ServerActiveObject::m_messages_out * typo fix
2020-04-08Overall improvements to log messages (#9598)sfan5
Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
2020-04-08Miscellaneous networking improvements (#9611)sfan5
fixes #2862
2020-03-26Connection: Fix deadlock in debug mode (#9550)SmallJoker
2020-03-20Add comments for translators (#9510)Wuzzy
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
2020-03-08Workaround for get_player_informationSmallJoker
'-1' as value is handled as an error. If there are no RTT updates upon fast connect, set_player_information returned nil.
2020-03-05Fix memory leak in protocol 38 set_skysfan5
2020-03-05Fixes around ServerActiveObject on_punch handlingsfan5
2020-03-05set_sky improvements, set_sun, set_moon and set_starsJordach
2020-02-26Allow texture modifiers in hotbar textures. (#9271)Warr1024
2020-02-01Improve core.sound_play with ephemeral sounds and player exclusionsfan5
2020-01-16Make clipping of formspec elements more consistent (#9262)Hugues Ross
2019-12-08Formspec: make bgcolor element less confusing and allow setting fullscreen ↵DS
color (#8996)
2019-12-06Add z-index management to HUDPierre-Yves Rollo
2019-11-19Rework packet receiving in ServerThreadsfan5
Notably it tries to receive all queued packets between server steps, not just one.
2019-11-10Call on_secondary_use when object is right-clickedsfan5
2019-11-07Formspec: draw order and clipping for all elements (#8740)DS
2019-09-23Fix broken buildsfan5
The variable name changed but this didn't cause merge conflicts, so it wasn't caught before.
2019-09-22Punchwear (improved) (#8959)sfan5
2019-09-21Wieldhand: Specify which ItemStack to use (#8961)SmallJoker
Makes 'get_wield_item' to return the "main" ItemStack
2019-09-19Add support for per-player FOV overrides and multipliersAnand S
2019-09-19Remove incorrect MutexAutoLocksfan5
The line declared a variable "m_con" instead of locking m_con. getClient() doesn't need this anyway, so remove it.