Skip to content
Snippets Groups Projects
  1. Nov 29, 2014
    • Ciaran Gultnieks's avatar
      Improve Lua API documentation · c30346ea
      Ciaran Gultnieks authored
      Changes:
        * Add extra documentation for remove_item.
      
          This isn't as silly as it sounds: iterate a list containing items with
          unique metadata each, and remove_item the first one you find, placing
          into a different - fine, except the remove will invariably remove the
          wrong one, leading to items being duplicated and others destroyed.
      
          Arguably it's a bug, and Inventory::removeItem should actually remove
          the item you tell it to. (i.e. if the passed ItemStack has metadata,
          match it). But it seems reasonable to just document the behaviour
          more clearly.
      
       * Improve string_to_pos documentation.
       * Clarify dig_node documentation (return value).
       * Better on_step documentation.
       * get_nodemeta -> get_meta.
       * Other minor fixes.
      c30346ea
  2. Nov 27, 2014
  3. Nov 13, 2014
  4. Oct 29, 2014
  5. Oct 19, 2014
  6. Oct 18, 2014
  7. Oct 05, 2014
  8. Oct 02, 2014
  9. Sep 21, 2014
  10. Sep 20, 2014
  11. Sep 12, 2014
  12. Sep 01, 2014
  13. Aug 25, 2014
  14. Aug 23, 2014
    • Zeno-'s avatar
      Fix seg fault if popping from empty stack (L-system trees) · f33d3169
      Zeno- authored
      See: https://github.com/minetest/minetest/issues/1525
      
      Background
      Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack.
      
      ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error
      
      Commit Description
      This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace.
      
      L-Systems fix randomness
      Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree
      Resolves: https://github.com/minetest/minetest/issues/1469
      
      Fix l-system crash when treedef random_level not set by Lua
      f33d3169
  15. Aug 22, 2014
  16. Aug 19, 2014
    • sapier's avatar
      Mod profiling support · c24e0753
      sapier authored
      Config settings:
      profiling = true/false (gather statistics)
      detailed_profiling = true/false (break mod times to callbacks)
      
      Chat commands:
      save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
      c24e0753
  17. Jul 29, 2014
  18. Jul 16, 2014
  19. Jul 06, 2014
  20. Jul 05, 2014
  21. Jun 24, 2014
    • RealBadAngel's avatar
      Tooltips rework. · 27538ece
      RealBadAngel authored
      Separate element for tooltips. Delayed showing,
      use global color or given ones.
      27538ece
  22. Jun 19, 2014
  23. May 29, 2014
  24. May 27, 2014
  25. May 07, 2014
  26. Apr 25, 2014
  27. Apr 18, 2014
  28. Apr 12, 2014
  29. Apr 08, 2014
    • sapier's avatar
      Cleanup client init states by bumping protocol version · 142e2d3b
      sapier authored
      Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready
      Handle clients with protocol version < 23 (almost) same way as before
      Make client tell server about it's version
      Add client state to not send bogus player position updates prior init complete
      Add access to statistics information (peer connction time,rtt,version)
      Fix clients standing stalled in world while preloading item visuals (new clients only)
      Add get_player_information to read client specific information from lua
      142e2d3b
  30. Mar 05, 2014
  31. Feb 27, 2014
  32. Feb 16, 2014
  33. Feb 09, 2014
Loading