Skip to content
Snippets Groups Projects
  1. Nov 23, 2015
  2. Nov 21, 2015
    • paramat's avatar
      Mapgen: Add global 'decorations' flag · d7bbe817
      paramat authored
      Flag is set by default in MapgenParams
      The global 'trees' flag remains but is now
      undocumented and unset by default in MapgenParams
      Add mgv6_spflag 'trees' set by default in
      defaultsettings.cpp to affect new worlds only
      This is automatically backwards
      compatible for existing worlds
      d7bbe817
    • Rui's avatar
      Log static_spawn error only once · 4fd394b6
      Rui authored
      4fd394b6
  3. Nov 15, 2015
  4. Nov 14, 2015
  5. Nov 13, 2015
  6. Nov 12, 2015
  7. Nov 11, 2015
  8. Nov 08, 2015
    • est31's avatar
      Settings tab: add v3f type · 9a91f58e
      est31 authored
      Add the v3f type, currently is just a nice placeholder for string.
      Currently undocumented, on wish of @PilzAdam, to support future changes.
      9a91f58e
  9. Nov 07, 2015
  10. Nov 06, 2015
    • paramat's avatar
    • est31's avatar
      Add server side ncurses terminal · 5e507c98
      est31 authored
      This adds a chat console the server owner can use for administration
      or to talk with players.
      It runs in its own thread, which makes the user interface immune to
      the server's lag, behaving just like a client, except timeout.
      As it uses the same console code as the f10 console, things like nick
      completion or a scroll buffer basically come for free.
      The terminal itself is written in a general way so that adding a
      client version later on is just about implementing an interface.
      
      Fatal errors are printed after the console exists and the ncurses
      terminal buffer gets cleaned up with endwin(), so that the error still
      remains visible.
      
      The server owner can chose their username their entered text will
      have in chat and where players can send PMs to.
      Once the username is secured with a password to prevent anybody to
      take over the server, the owner can execute admin tasks over the
      console.
      
      This change includes a contribution by @kahrl who has improved ncurses
      library detection.
      5e507c98
  11. Nov 05, 2015
  12. Nov 04, 2015
  13. Nov 03, 2015
  14. Oct 31, 2015
  15. Oct 29, 2015
    • paramat's avatar
      findSpawnPos: Add setting for max height above water level · c0a7c670
      paramat authored
      Increase default from 6 to 16 to help with mgv7 and mgfractal
      Large-scale or alternative mapgens can result in a lowland spawn point not
      being found, causing a spawn at (0, 0, 0) possibly buried underground
      The max height is now settable to allow correct player spawn
      in any mapgen or when using custom noise parameters
      c0a7c670
  16. Oct 25, 2015
  17. Oct 24, 2015
  18. Oct 22, 2015
    • Robert Zenz's avatar
      Add more ways to pass data to check_player_privs · c3284783
      Robert Zenz authored
      The callback can now be invoked with either the player object or name as
      the first parameter, and with either a table or a list of strings, like
      this:
      
          minetest.check_player_privs(player_name, { shout = true, fly = true })
          minetest.check_player_privs(player_name, "shout", "fly")
          minetest.check_player_privs(player, { shout = true, fly = true })
          minetest.check_player_privs(player, "shout", "fly")
      c3284783
  19. Oct 18, 2015
    • est31's avatar
      Display sane output for empty descriptions · f3d82567
      est31 authored
      According to its man page, the function gettext(3)
      "may return a nonempty string" when msgid is "".
      
      This commit fixes a bug where the comment ""
      for some settings caused gettext to return a
      "nonempty string", in this case header info of the
      po file.
      f3d82567
  20. Oct 17, 2015
  21. Oct 14, 2015
    • ShadowNinja's avatar
      Refactor logging · 2139d7d4
      ShadowNinja authored
      - Add warning log level
      - Change debug_log_level setting to enumeration string
      - Map Irrlicht log events to MT log events
      - Encapsulate log_* functions and global variables into a class, Logger
      - Unify dstream with standard logging mechanism
      - Unify core.debug() with standard core.log() script API
      2139d7d4
  22. Oct 12, 2015
  23. Oct 06, 2015
  24. Oct 04, 2015
  25. Sep 29, 2015
    • est31's avatar
      Some map border related fixes · 2a7d01b8
      est31 authored
      1. Check for entity addition success in spawn_item implementation
      2. Check for success in item_drop callback, so that the player
      doesn't lose the item if they are outside bounds and try to drop it.
      3. When existing player joins game, check that their position is inside
      map bounds. If not, set their position to the return value of findSpawnPos().
      4. Make findSpawnPos() respect the border
      
      2 fixes a lua crash if a player drops an item outside map bounds.
      3 fixes an assertion crash if a player leaves when being outside map bounds,
      and then rejoins.
      2a7d01b8
  26. Sep 23, 2015
  27. Sep 21, 2015
  28. Sep 14, 2015
  29. Sep 03, 2015
  30. Sep 01, 2015
  31. Aug 31, 2015
Loading