aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
AgeCommit message (Collapse)Author
2013-02-26Fix most warnings, re-fix MSVC compile errorkwolekr
2013-02-25Merge pull request #482 from proller/liquidkwolekr
finite liquid
2013-02-25Add multi-Emerge thread supportkwolekr
2013-02-25Add emerge.cpp, initial EmergeThread changeskwolekr
- Neatly placed all emerge related code into a new file, emerge.cpp - Greatly cleaned up the code in EmergeThread::Thread() - Reworked Emerge queue. Now an actual std::queue of v3s16 block positions - Removed the completely unnecessary map of peer ids requesting blocks
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2013-02-24new adjustable finite liquidproller
2013-02-22new auto masterserverproller
2013-02-20Print missing mod dependencies on server startJürgen Doser
i.e., not only the mod with missing dependencies, but also the missing dependencies itself. (This already used to be the case before the mod selection gui was added) Also, mods with unsatisfied dependencies are no longer reported as mods that could not be found.
2013-02-14Improved Player PhysicsMirceaKitsune
2013-01-23Make mapgen factory setup more elegant, add mapgen_v6.hkwolekr
2013-01-21Fix compile on certain Linux configurations, reduce spawn point heightkwolekr
2013-01-21Finish and clean up mapgen configurationkwolekr
2013-01-21Clean up EmergeManager, do initial work on Mapgen configurationkwolekr
2013-01-21Readded and optimized mapgen V6kwolekr
2013-01-21The new mapgen, noise functions, et al.kwolekr
2013-01-21Make WATER_LEVEL configurable, fix slight comparison bug in findSpawnPos()kwolekr
2013-01-21Basic support for configuring which mods to load for each worldJürgen Doser
settings.h: added function to return all keys used in settings, and a function to remove a setting mods.{h,cpp}: added class ModConfiguration that represents a subset of the installed mods. server.{h,cpp}: server does not load add-on mods that are disabled in the world.mt file. mods are disabled by a setting of the form "load_mod_<modname> = false". if no load_mod_<modname> = ... setting is found, the mod is loaded anyways for backwards compatibilty. server also complains to errorstream about mods with unstatisfied dependencies and about mods that are not installed. guiConfigureWorld.{h,cpp}: shows a treeview of installed add-on mods and modpacks with little icons in front of their name indicating their status: a checkmark for enabled mods, a cross for disabled mods, a question mark for "new" mods Mods can be enabled/disabled by a checkbox. Mods also show a list of dependencies and reverse dependencies. double-click on a mod in dependency or reverse dependency listbox selects the corresponding mod. Enabling a mod also enables all its dependencies. Disabling a mod also disables all its reverse dependencies. For modpacks, show buttons to enable/disable all mods (recursively, including their dependencies) in it. Button "Save" saves the current settings to the world.mt file and returns to the main menu. Button "Cancel" returns to main menu without saving. basic keyboard controls (if the proper widget has keyboard focus): up/down: scroll through tree of mods left/right: collaps/expand a modpack space: enable/disable the selected mod
2013-01-07Disable all HP handling if enable_damage is falsePilzAdam
2013-01-07Fix buttons not working for Lua-triggered formspecssapier
2013-01-02Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from luasapier
2012-12-17Fix hypen used as minus sign (manpages), fix spelling error (server.cpp)Ilya Zhuravlev
2012-12-16Added ability to fetch media from remote server (using cURL library)Ilya Zhuravlev
2012-12-02ShaderSource and silly example shadersKahrl
2012-11-30Run scriptapi_on_shutdown() thread-safely and remove some old crapPerttu Ahola
2012-11-30Add shutdown hook interface to Lua APIMatthew I
Scripts can call minetest.register_on_shutdown() to register a shutdown hook. Document that minetest.register_on_shutdown() callbacks may not be run If the server crashes, it is unlikely that callbacks registered using minetest.register_on_shutdown() will be called.
2012-11-29Full protocol 13 compatibility on server sidePerttu Ahola
2012-11-29Make strict and non-strict protocol version checking to work more like expectedPerttu Ahola
2012-11-29Ranged support of protocol version on server sidePerttu Ahola
2012-11-29Support serialization of protocol 13 ContentFeaturesPerttu Ahola
2012-11-26Default server step to 0.1s and sync object/player update intervals to itPerttu Ahola
2012-11-26Move util/serialize.h out from staticobject.h for smaller header dependenciesPerttu Ahola
2012-11-26New PROTOCOL_VERSION scheme (allow client to support a range of versions)Perttu Ahola
2012-11-25RealBadAngel's patch which allows the lua api to read pressed player keys. ↵MirceaKitsune
This should make it possible to change the player's animation based on what he is doing Correct lua api version number Always update animations and attachments after the entity is added to scene client side. Fixes animations not being applied in client initialization for some reason. Attachments should be re-tested now just to be safe. Fix a segmentation fault caused by reaching materials that didn't exist in a loop for setting texture
2012-11-25Update attachments at the ending of the addToScene function for parents. And ↵MirceaKitsune
with this... *drum roll* Client-side attachments are at last functional and stick visibly. Fix the last segmentation fault (apparently). So far attachments seem to be fully functional, although removing the parent causes children to go to origin 0,0,0 and possibly still cause such a fault (though this should already be addressed) Fix a bug in falling code where entities get stuck Also check if the parent has been removed server-side, and detach the child if so. Fixes children going to origin 0,0,0 when their parent is removed. Unset all attachment properties when permanently detaching (on both the client and server). Also store less data we don't need Create a separate function for detaching, and also update lua api documentation When a child is detached, update its position from the server to clients. This WILL cause it to get positioned slightly differently client side, as the server attachment system only copies parent origin and knows not about mesh / bone transformation. This prevents different clients seeing the object detached in different spots which is most correct Update the position of attached players to clients. An attached player will see himself move, but this is currently VERY ugly and laggy as it is done by the server (it probably must stay this way too) Use a different approach for locally attached players. This allows for smooth positio transitions to work, as well at the player turning around freely. Still buggy however
2012-11-25Get the mesh working through the memory cache properly. Most credit goes to ↵MirceaKitsune
celeron55 for the help on this code Get the texture from memory as well Add .x to the list of supported formats Update LUA API documentation
2012-11-25Add a subfolder for models and transfer models from server to clientMirceaKitsune
(obj, md2 and md3 are currently allowed) Get rid of the texture string and use the existing textures array. Segmented meshes have multiple materials, and this will allow us to texture each. Do not switch to this commit yet! If a texture string is left empty in LUA, don't modify that material. Useful so a script can change specific textures without affecting others
2012-09-01Fix github issue #224Perttu Ahola
2012-08-12Move chat commands to Lua and remove servercommand.{cpp,h}Matthew I
Commands moved: /me /status /time /shutdown /ban /clearobjects
2012-08-12Remove trailing comma after player list in server status stringMatthew I
2012-07-28Add enable_rollback_recording setting, defaulting to falsePerttu Ahola
2012-07-27Properly rollback chat command triggered thingsPerttu Ahola
2012-07-27Experimental-ish rollback functionalityPerttu Ahola
2012-07-25Remove special handling of creative modePerttu Ahola
2012-07-24Detached inventoriesPerttu Ahola
2012-07-24darkrose should work at a nuclear power plant.Perttu Ahola
It'd take years to figure out what caused the accident.
2012-07-23Increase node id/param0 to 16 bits, leaving param2 always with 8 bitsdarkrose
2012-07-23Implement node timersdarkrose
2012-07-22minetest.register_on_player_receive_fields()Perttu Ahola
2012-07-22Add minetest.get_modnames() to Lua APIMatthew I