aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
AgeCommit message (Collapse)Author
2014-02-12Fix possible missing unlock of env_locksapier
2014-02-09ServerEnvironment: Remove direct dependency on EmergeManagerkwolekr
2014-02-05Add the option to bind to a specific addressShadowNinja
2014-02-03Huge overhaul of the entire MapgenParams systemkwolekr
MapgenParams is no longer a polymorphic class, eliminating the need for messy and bug-prone reallocations. Separation between the common and mapgen-specific parameters is now strongly defined. Mapgen parameters objects are now properly encapsulated within the proper subsystems.
2014-02-02Add additional check to avoid broadcasting private messages in error conditionssapier
2014-02-01Add player:override_day_night_ratio() for arbitrarily controlling sunlight ↵Perttu Ahola
brightness
2014-02-01Add player:set_sky() with simple skybox supportPerttu Ahola
2014-01-31Add propper client initializationsapier
-add client states to avoid server sending data to uninitialized clients -don't show uninitialized clients to other players -propper client disconnect handling Minor comment fixes in server Minor bugfixes in connection -improved peer id calculation -honor NDEBUG flag -improved disconnect handling -increased initial send window Remove some dead code
2014-01-26New HUD element - waypoint.RealBadAngel
2014-01-26Fix use of previously deallocated EmergeManagerkwolekr
2014-01-23Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacksShadowNinja
2014-01-13Allow vertical axis particle rotation constraintkhonkhortisan
Use tables for adding particles, deprecate former way. separate particles(pawner) definition, add default values, work with no arguments
2014-01-10Fixed minetest reliable udp implementation (compatible to old clients)sapier
2014-01-06Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height ↵ShadowNinja
settings" The commit didn't work because the blocks weren't loaded yet. This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b. Conflicts: minetest.conf.example
2014-01-07Send long announce as POST, show OS in useragentproller
Add lag reporting to masterserver (average dtime) StyledWriter -> FastWriter in masterserver announce
2013-12-30Initialize world before creating BanManager and RollbackManagerShadowNinja
2013-12-15Replace SimpleThread by JThread now implementing same featuressapier
2013-12-14Update mapgen params in ServerMap after Mapgen initkwolekr
2013-12-13Rewrite client media download and support hash-based remote downloadKahrl
Move most of the media-related code in client.cpp into a new class ClientMediaDownloader (clientmedia.cpp, clientmedia.h). Among other things, this class does the following things: - Download [remote_server][sha1] instead of [remote_server][name]. This is to support servers that provide the same file name with different contents. - Initially fetch [remote_server]index.mth. This file should follow the Minetest Hashset format (currently version 1) and contain a list of SHA1 hashes that exist on the server. - The list of needed SHA1s is uploaded (via HTTP POST) when index.mth is requested, so servers can optionally narrow down the list to the needs of the client. - If index.mth is missing (HTTP response code 404), we enter compat mode, fetching [remote_server][name] as before this commit. - remote_server can now contain multiple servers, separated by commas. The downloader code attempts to split requests between the different servers, as permitted by each server's index.mth. If one server claims to have a file but actually doesn't (or something fails), we ask a different server that also claims to have it. - As before, when none of the remote servers provide a particular file, we download it via the conventional method, i.e. using the minetest protocol: TOSERVER_REQUEST_MEDIA / TOCLIENT_MEDIA. - Bugfix: Every downloaded file's SHA1 is now verified against the SHA1 announced by the minetest server (before loading it and inserting it into the file cache). - Bugfix: Only send TOSERVER_RECEIVED_MEDIA when we actually have all media. This should fix #863.
2013-12-12Add 'on_prejoinplayer' callbackkaeza
2013-12-05Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settingssweetbomber
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-11-30Add minetest.swap_nodeNovatux
2013-11-01Add a callback: minetest.register_on_craft(itemstack, player,Novatux
old_craft_grid, craft_inv) and minetest.register_craft_predict(itemstack, player, old_craft_grid, craft_inv)
2013-10-18Masterserver updateproller
2013-09-28Show git hash in version string at top left corner of windowKahrl
2013-09-16Fix some warnings and other minor detailskwolekr
2013-09-15Always use builtin JThread librarykwolekr
2013-09-05Use player:set_hotbar_image() instead of hardcoded hotbar.pngPilzAdam
2013-09-03Server::ProcessData(): call getBanName once instead of twice (#639)Ilya
2013-08-17Send player damage to all clients and apply [brightenPilzAdam
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-08-08Don't freak out when a client sends multiple TOSERVER_INIT packets; also log ↵Perttu Ahola
one thing more.
2013-08-06Clean up server's log messages and give a better error to client when its ↵Perttu Ahola
player is in use
2013-08-04Add texture pack selection to main menuNovatux
2013-08-04Fix server getting completely choked up on even a little of DoSPerttu Ahola
* If client count is unbearable, immediately delete denied clients * Re-prioritize the checking order of things about incoming clients * Remove a huge CPU-wasting exception in ReliablePacketBuffer
2013-08-04Allow mods to listen to cheat detections using minetest.register_on_cheat()Perttu Ahola
2013-08-03Fix anticheatPerttu Ahola
2013-08-02Weather backward compatibilityproller
2013-07-27Dont announce server in singleplayerproller
2013-07-24Cosmetic player info changesproller
2013-07-20Add set_breath and get_breath to lua API.RealBadAngel
2013-07-13Masterserver mods announse, ipv6, better curl errorsproller
2013-07-12Disallow the name 'singleplayer' in a multiplayer serverPilzAdam
2013-06-27Add Lua on_mapgen_init callback, and minetest.set_mapgen_params APIkwolekr
2013-06-23Math mapgen fix, ip show on connect, pathfinder segfault fixproller
2013-06-23Add support for IPv6proller
Two new configuration options are added: - "enable_ipv6" to enable/disable the overall use of IPv6 - "ipv6_server" to enable/disable the use of IPv6 sockets when running a server (when "enable_ipv6" is enabled)
2013-06-16Tweak IDropAction restriction handling in server.cppKahrl
2013-05-26Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAMKahrl
2013-05-25Move scriptapi to separate folder (by sapier)sapier
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)