Skip to content
Snippets Groups Projects
  1. Oct 06, 2016
  2. 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
  3. Mar 29, 2016
  4. Mar 15, 2016
    • est31's avatar
      Much better API for auth.{cpp, h} · e0151d10
      est31 authored
      * No function overloading
      * Adhere coding style and with method names following
        lowercase_underscore_style
      * Use std::string in external API, handling these is
        much more fun
      e0151d10
  5. Feb 23, 2016
  6. Jan 09, 2016
  7. Dec 02, 2015
  8. Nov 13, 2015
  9. Nov 06, 2015
    • 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
  10. Oct 14, 2015
  11. Oct 12, 2015
  12. Oct 04, 2015
  13. Sep 14, 2015
    • est31's avatar
      Serialisation: documentation fixes, clarifying renames and whitespace fixes · 283bf97a
      est31 authored
      1. Do two renames:
      	* SER_FMT_CLIENT_VER_LOWEST -> SER_FMT_VER_LOWEST_WRITE
      	* SER_FMT_VER_LOWEST -> SER_FMT_VER_LOWEST_READ
      Now the two define values are consistently named with the _WRITE defines
      SER_FMT_VER_{HIGHEST,LOWEST}_WRITE, and to better point out what the two
      serialisation versions actually are for.
      
      2. wrap some lines in doc/worldformat.txt, and point out that the node
      timers are serialized at a later point, as this can cause confusion about
      what now happens (if one doesn't strictly read the if block's conditions).
      
      3. some whitespace fixes in NodeTimerList::serialize, and one new comment.
      283bf97a
  14. Jul 21, 2015
  15. Jul 10, 2015
  16. Jul 08, 2015
    • est31's avatar
      Use UTF-8 instead of narrow · b0784ba8
      est31 authored
      Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places.
      Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
      b0784ba8
  17. Jun 23, 2015
  18. May 22, 2015
  19. May 19, 2015
  20. May 16, 2015
  21. May 11, 2015
    • est31's avatar
      Make early protocol auth mechanism generic, and add SRP · 82e35edf
      est31 authored
      Adds everything needed for SRP (and everything works too),
      but still deactivated, as protocol v25 init packets aren't final yet.
      Can be activated by changing the LATEST_PROTOCOL_VERSION header to 25
      inside networkprotocol.h.
      82e35edf
  22. Apr 22, 2015
  23. Apr 17, 2015
    • est31's avatar
      Refactor around translatePassword · f0a1379e
      est31 authored
      Change types for passed password from wstring to string, which removes converting
      back and forth in most cases. Move the narrow_to_wide conversion, where its neccessary,
      closer to irrlicht. Remove trailing spaces in guiPasswordChange.cpp. Make parameters for
      translatePassword passed as const reference.
      f0a1379e
  24. Apr 03, 2015
  25. Apr 01, 2015
    • Zeno-'s avatar
      Move globals from main.cpp to more sane locations · 9527984d
      Zeno- authored
      Move debug streams to log.cpp|h
      
      Move GUI-related globals to clientlauncher
      
      Move g_settings and g_settings_path to settings.cpp|h
      
      Move g_menuclouds to clouds.cpp|h
      
      Move g_profiler to profiler.cpp|h
      9527984d
  26. Mar 27, 2015
    • ShadowNinja's avatar
      Clean up and tweak build system · 93fcab95
      ShadowNinja authored
        * Combine client and server man pages.
        * Update unit test options and available databases in man page.
        * Add `--worldname` to man page.
        * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
        * Disable server build by default on all operating systems.
        * Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
        * Enable LevelDB, Redis, and FreeType detection by default.
        * Remove the `VERSION_PATCH_ORIG` hack.
        * Add option to search for and use system JSONCPP.
        * Remove broken LuaJIT version detection.
        * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
        * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
        * Clean up style of CMake files.
      93fcab95
  27. Mar 24, 2015
    • Loïc Blot's avatar
      Don't send an InventoryAction at each setInventoryModified, we only need one... · 7851c4f7
      Loïc Blot authored
      Don't send an InventoryAction at each setInventoryModified, we only need one SendInventory per inventory modification
      
      Client doesn't like to receive multiples SendInventory for one action, this can trigger glitches on clients (sometimes due to incorrect UDP packet ordering due to UDP protocol)
      
      This fix issue #2544
      7851c4f7
  28. Mar 21, 2015
  29. Mar 18, 2015
  30. Mar 17, 2015
  31. Mar 16, 2015
  32. Mar 13, 2015
  33. Mar 12, 2015
Loading