aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
AgeCommit message (Collapse)Author
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
2012-07-21Server-side checking of digging; disable_anticheat settingPerttu Ahola
2012-07-21Define M_PI on MSVCPerttu Ahola
2012-07-21Add support for "textures/all" (and thus texture packs) to serverdarkrose
2012-07-21Message cleanups (consistency) and prevent /me when not allowed to shoutCalinou
2012-07-19Allow defining player's inventory form in LuaPerttu Ahola
2012-06-17Properly and efficiently use split utility headersPerttu Ahola
2012-06-17Initially split utility.h to multiple files in util/Perttu Ahola
2012-06-10Node placement client-side predictionPerttu Ahola
2012-06-07Add disallow_empty_password settingPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-06-04Add ignore_world_load_errors configuration option and provide better error ↵Perttu Ahola
messages
2012-06-03Implement sign using form field protocolPerttu Ahola
2012-06-03WIP node metadata, node timersKahrl
2012-06-03Catch VersionMismatchException while loading world dataPerttu Ahola
2012-06-03Check password hash validityPerttu Ahola
2012-04-14Fix continuing to process TOSERVER_INIT2 even if player doesn't existPerttu Ahola
2012-04-10Fix unhandled InvalidPositionExceptionPerttu Ahola
2012-04-09Make client know about reverted disallowed diggingsPerttu Ahola
2012-04-07Fix segfault when setting privileges of a non-connected playerPerttu Ahola
2012-04-01Don't apply player movement cheat detection in singleplayerPerttu Ahola
2012-04-01Allow getting the path of builtin.lua using minetest.get_modpath("__builtin")Perttu Ahola
2012-03-31Add server-side enforcement of the 'fast' privilege; also fix client ↵Perttu Ahola
checking 'fly' instead of 'fast'
2012-03-31Add 'fly' and 'fast' privileges and the underlying privileges-to-client systemPerttu Ahola
2012-03-30Make server ignore media files with unknown filename extensionsPerttu Ahola
2012-03-30Reimplement authentication handler in Lua; now we have 1) infinite privilege ↵Perttu Ahola
names, 2) minetest.register_authentication_handler()
2012-03-29Add GenericCAO and player armor groups, but don't use them yetPerttu Ahola
2012-03-29on_joinplayer + on_leaveplayer + scriptapi_run_callbacks + bugfixKahrl
Add minetest.register_on_joinplayer and minetest.register_on_leaveplayer, make adding new callbacks to scriptapi.cpp easier by adding scriptapi_run_callbacks, also fix a minor bug with PlayerSAO <-> singleplayer mode interaction
2012-03-29added PlayerSAO and RemotePlayer, removed ServerRemotePlayerKahrl
2012-03-29Remove unnecessary debug outputPerttu Ahola