summaryrefslogtreecommitdiff
path: root/src/server.cpp
Commit message (Collapse)AuthorAge
* Replace SimpleThread by JThread now implementing same featuressapier2013-12-15
|
* Update mapgen params in ServerMap after Mapgen initkwolekr2013-12-14
|
* Rewrite client media download and support hash-based remote downloadKahrl2013-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add 'on_prejoinplayer' callbackkaeza2013-12-12
|
* Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settingssweetbomber2013-12-05
|
* Cleanup jthread and fix win32 buildsapier2013-12-01
|
* Add minetest.swap_nodeNovatux2013-11-30
|
* Add a callback: minetest.register_on_craft(itemstack, player,Novatux2013-11-01
| | | | | | old_craft_grid, craft_inv) and minetest.register_craft_predict(itemstack, player, old_craft_grid, craft_inv)
* Masterserver updateproller2013-10-18
|
* Show git hash in version string at top left corner of windowKahrl2013-09-28
|
* Fix some warnings and other minor detailskwolekr2013-09-16
|
* Always use builtin JThread librarykwolekr2013-09-15
|
* Use player:set_hotbar_image() instead of hardcoded hotbar.pngPilzAdam2013-09-05
|
* Server::ProcessData(): call getBanName once instead of twice (#639)Ilya2013-09-03
|
* Send player damage to all clients and apply [brightenPilzAdam2013-08-17
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Don't freak out when a client sends multiple TOSERVER_INIT packets; also log ↵Perttu Ahola2013-08-08
| | | | one thing more.
* Clean up server's log messages and give a better error to client when its ↵Perttu Ahola2013-08-06
| | | | player is in use
* Add texture pack selection to main menuNovatux2013-08-04
|
* Fix server getting completely choked up on even a little of DoSPerttu Ahola2013-08-04
| | | | | | * 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
* Allow mods to listen to cheat detections using minetest.register_on_cheat()Perttu Ahola2013-08-04
|
* Fix anticheatPerttu Ahola2013-08-03
|
* Weather backward compatibilityproller2013-08-02
|
* Dont announce server in singleplayerproller2013-07-27
|
* Cosmetic player info changesproller2013-07-24
|
* Add set_breath and get_breath to lua API.RealBadAngel2013-07-20
|
* Masterserver mods announse, ipv6, better curl errorsproller2013-07-13
|
* Disallow the name 'singleplayer' in a multiplayer serverPilzAdam2013-07-12
|
* Add Lua on_mapgen_init callback, and minetest.set_mapgen_params APIkwolekr2013-06-27
|
* Math mapgen fix, ip show on connect, pathfinder segfault fixproller2013-06-23
|
* Add support for IPv6proller2013-06-23
| | | | | | | 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)
* Tweak IDropAction restriction handling in server.cppKahrl2013-06-16
|
* Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAMKahrl2013-05-26
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
| | | | | | | | | | | 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)
* Dont load mods that have no entry in world.mtPilzAdam2013-05-19
|
* Clear custom player HUDs when emerging players. Fixes #711.Aaron Suen2013-05-10
|
* Optional dependencies and properly handle mod name conflicts againKahrl2013-05-03
|
* Server: force block send of pointed_pos_under after predicted node placeKahrl2013-05-03
|
* Generalize hud_builtin_enable into hud_set_flagskwolekr2013-04-25
|
* Added support to disable built-in HUD elementsDiego Martínez2013-04-24
|
* Add option to not prepend "Server -!- " to messages sent with ↵ShadowNinja2013-04-23
| | | | minetest.chat_send_player()
* Added offset support for HUD itemsDiego Martínez2013-04-23
|
* Added support for alignment in HUD itemsDiego Martínez2013-04-23
|
* Fix findSpawnPos()kwolekr2013-04-21
|
* Split HUD code off to hud.cpp, make into a class, extensive Lua HUD modificationkwolekr2013-04-18
|
* Lua HUDJonathon Anderson2013-04-18
|
* fix various memory leakssapier2013-04-09
|
* Add Mapgen V7, reorganize biomeskwolekr2013-04-07
|
* Masterserver: report gameid, uptime, cosmetic fixes on server web pageproller2013-03-30
|
* New damage system, add damageGroups to ToolCapabilities, bump protocol versionPilzAdam2013-03-29
|