Skip to content
Snippets Groups Projects
  1. Oct 05, 2016
    • Loïc Blot's avatar
      Chat: new settings to prevent spam · d4c76258
      Loïc Blot authored
      Added the following chat coreside features
      * Chat messages length limit
      * Message rate limiting
      * Message rate kicking
      
      Note:
      * handleChat now takes RemotePlayer pointer instead of u16 to remove useless
        lookups
      d4c76258
  2. Oct 03, 2016
  3. Oct 01, 2016
  4. Sep 23, 2016
    • paramat's avatar
      Conf.example: Re-add deleted noise parameter documentation · cd2c8ade
      paramat authored
      Re-add documentation of noise parameter formats.
      Re-add 'mgv5_np_ground' noise parameters in group format.
      Both these were deleted through auto-generation of conf.example.
      Add note to builtin/mainmenu/dlg_settings_advanced.lua that this
      documentation must be preserved.
      cd2c8ade
  5. Sep 21, 2016
  6. Sep 19, 2016
  7. Sep 17, 2016
    • paramat's avatar
      Register.lua: Throw error if node 'light_source' > core.LIGHT_MAX · 3aefa5d3
      paramat authored
      Add 'core.LIGHT_MAX = 14' to builtin/game/constants.lua with the intention
      to replace misplaced 'default.LIGHT_MAX = 14' in Minetest Game.
      Add comment in light.h requiring the constant be changed in both places.
      Add lighting bug warning to note in lua_api.txt.
      There are hundreds of mod uses of 15 which causes a lighting bug.
      3aefa5d3
  8. Sep 08, 2016
  9. Aug 30, 2016
  10. Aug 29, 2016
  11. Aug 22, 2016
    • est31's avatar
      Client: disable pre v25 init sending by default · d767f025
      est31 authored
      Disable the ability to connect to old servers by default to
      improve password security.
      
      If people still want to connect to old (0.4.12 and earlier)
      servers, they can flip the send_pre_v25_init setting.
      
      Add the ability to detect if we've tried to connect
      to a server which only supports the pre v25 init protocol,
      and show an apropriate error message. Most times the error
      will already be catched at the serverlist level, the
      detection mechanism only acts as last resort, because the
      "Connection timed out" error message that would be shown
      otherwise would be very confusing.
      
      Automatic "fixing" of this condition is not desired,
      as it would allow for downgrade attacks.
      
      As already 161 of the 167 servers on the serverlist
      support the new srp based auth protocol (> 96%),
      the breakage should be minimal.
      
      Follow up of commit
      
      af301831 "Add option to not send pre v25 init packet"
      
      Also change the pessimistic assumption of masterlist
      server versions to optimistic, in order to avoid buggy
      behaviour (favourites not in the serverlist would be
      denied to connect to, etc).
      d767f025
    • Xunto's avatar
      Move on join and on leave messages to lua (#4460) · 0b0075e6
      Xunto authored
      0b0075e6
  12. Aug 20, 2016
    • Tim's avatar
      Tidy up generate_from_settingtypes.lua a bit. · 65901402
      Tim authored
      * Multiline strings
      * Table-concat instead of String-concats
      * string.rep instead of loop-concat
      * string.format %q instead of manual quotation by gsub
      * Assert writeable files
      * Generate new settings_translation_file
      65901402
    • Tim's avatar
      Move generation from settingtypes out of dlg_settings_advanced · ba501273
      Tim authored
      Avoids unreachable code linter warning by moving generation code
      (of minetest.conf.example and settings_translation_file.cpp)
      out of dlg_settings_advanced.
      
      Due to passing the settings, also it avoids reading the settings file twice.
      
      Instead of activating the code by changing the active if-clauses,
      its activation is now done by uncommenting the loadfile() statement.
      ba501273
  13. Aug 10, 2016
  14. Jul 27, 2016
  15. Jul 26, 2016
  16. Jul 12, 2016
    • Tim's avatar
      Builtin/profiler: Replace game profiler (#4245) · d7060c21
      Tim authored
      Use the setting "profiler.load" to enable profiling.
      Other settings can be found in settingtypes.txt.
      
      * /profiler print [filter] - report statistics to in-game console
      * /profiler dump [filter] - report statistics to STDOUT and debug.txt
      * /profiler save [format [filter]] - saves statistics to a file in your worldpath
      	* txt (default) - same treetable format as used by the dump and print commands
      	* csv - ready for spreadsheet import
      	* json - useful for adhoc D3 visualizations
      	* json_pretty - line wrapped and intended json for humans
      	* lua - serialized lua table of the profile-data, for adhoc scripts
      * /profiler reset - reset all gathered profile data.
      	This can be helpful to discard of any startup measurements that often spike during loading or to get more useful min-values.
      
      [filter] allows limiting the output of the data via substring/pattern matching against the modname.
      
      Note: Serialized data structures might be subject to change with changed or added measurements.
      	csv might be the most stable, due to flat structure.
      
      Changes to the previous version include:
      
      * Updated and extended API monitoring
      * Correct calculation of average (mean) values (undistorted by idleness)
      * Reduce instrumentation overhead.
      * Fix crashes related to missing parameters for the future and occasional DIV/0's.
      * Prevent issues caused by timetravel (overflow, timejump, NTP corrections)
      * Prevent modname clashes with internal names.
      * Measure each instrumentation individually and label based on registration order.
      * Labeling of ABM's and LBM's for easier classification.
        Giving several ABM's or LBM's the same label will treat them as one.
        Missing labels will be autogenerated based on name or registration order.
      * Configurable instrumentation and reporting. Skip e.g. builtin if you don't need it.
      * Profile the profiler to measure instrumentation overhead.
      d7060c21
  17. Jul 05, 2016
  18. Jul 04, 2016
    • est31's avatar
      Disable joysticks per default for now · f6491470
      est31 authored
      It seems that various different devices register as
      Joysticks on linux, and their presence has caused
      lots of confusion amongst minetest users.
      
      Therefore, disable the joystick feature.
      
      Closes #4261
      Closes #4221
      f6491470
  19. Jun 28, 2016
  20. Jun 24, 2016
    • paramat's avatar
      Mgflat/fractal/v7/valleys: Denser 3D noise tunnels · 9997e203
      paramat authored
      Reduce spread from 96 to primes 61 and 67 (either side of 64)
      Prime spreads help to keep 3D noise periodic features unaligned
      'cave width' 0.2 to preserve tunnel width
      Reduce octaves to 3 to improve network structure
      9997e203
  21. Jun 17, 2016
    • Auke Kok's avatar
      Builtin/game/item: Add `place_param2` nodedef field · 39a9e987
      Auke Kok authored
      This allows a nodedef to specify a fixed value for param2 to be
      used for all normal placements.
      
      There are several uses for this:
      
      - nodes that require param2 to be set to a non-zero value for
        internal mod use. E.g. leafdecay could use this to detect that
        leaves are played by players.
      - force wallmounted or facedir value at placement at placement
      
      This overrides any player look direction or other on-the-fly
      param2 setting during placement.
      39a9e987
  22. Jun 03, 2016
    • est31's avatar
      Initial Gamepad support · 2060fd9c
      est31 authored
      Adds initial ingame gamepad support to minetest.
      
      Full Formspec support is not implemented yet and
      can be added by a later change.
      2060fd9c
  23. May 31, 2016
  24. May 30, 2016
  25. May 22, 2016
  26. May 17, 2016
  27. May 16, 2016
  28. May 14, 2016
  29. May 13, 2016
    • est31's avatar
      Mainmenu: don't show change keys dialog on android · ec15e35a
      est31 authored
      The change keys dialog can't be left. It doesn't make
      much sense to show it on Android in the first place,
      therefore disable it, just like commit
      
      aed70cb0 'Disable sound and key binding settings in "pause" menu on android'
      
      has disabled it for the esc menu.
      
      Fixes #4115.
      ec15e35a
  30. May 12, 2016
  31. May 09, 2016
  32. May 01, 2016
Loading