- Oct 06, 2016
-
-
Loïc Blot authored
Also remove some unused parameters/functions
-
- Oct 05, 2016
-
-
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
-
- Mar 29, 2016
-
-
sfan5 authored
Writing an u8 to verbosestream writes a char, not it's numeric value.
-
- Mar 15, 2016
-
-
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
-
- Feb 23, 2016
-
-
Loïc Blot authored
-
- Jan 09, 2016
-
-
ASL97 authored
-
- Dec 02, 2015
-
-
Alex Ford authored
-
- Nov 13, 2015
-
- Nov 06, 2015
-
-
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.
-
- Oct 14, 2015
-
-
ShadowNinja authored
Remove DTIME macro and its uses, too
-
- Oct 12, 2015
-
-
Kahrl authored
- SRP: print the address only once, not twice - Legacy: previously the address was not printed at all - Make both messages structurally the same, to facilitate log analyzers
-
- Oct 04, 2015
-
-
kwolekr authored
-
- Sep 14, 2015
-
-
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.
-
- Jul 21, 2015
-
-
est31 authored
-> Fix server crash with protocol >=25 if a default password is set. -> Remove some useless and possibly confusion causing code for the TOCLIENT_FIRST_SRP packet handler
-
- Jul 10, 2015
-
-
kwolekr authored
-
- Jul 08, 2015
-
-
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.
-
- Jun 23, 2015
-
-
Craig Davison authored
-
- May 22, 2015
-
-
est31 authored
Thanks to @UltimateNate for pointing this out :)
-
- May 19, 2015
-
-
kwolekr authored
Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
-
est31 authored
Its a possible mistake to log in to a server with twice the same name. Before, it triggered a server wide error message, now it logs to actionstream.
-
- May 16, 2015
- May 11, 2015
-
-
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.
-
- Apr 22, 2015
-
-
est31 authored
Also fix std::logic_error when server::DenyAccess() is used with only two arguments.
-
- Apr 17, 2015
-
-
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.
-
- Apr 03, 2015
-
-
est31 authored
This seems to be a debug message which has been forgotten to be removed.
-
- Apr 01, 2015
-
-
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
-
- Mar 27, 2015
-
-
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.
-
- Mar 24, 2015
-
-
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
-
- Mar 21, 2015
-
-
poet-nohit authored
This call was missing when change looping to triggering SendInventory: 1b2f6447
-
- Mar 18, 2015
-
-
Loïc Blot authored
-
- Mar 17, 2015
-
-
Loïc Blot authored
Use the NetworkPacket api to read full version string instead of u8 pointers. Also store the reserved byte to use API properly Fixes #2509
-
- Mar 16, 2015
- Mar 13, 2015
-
-
Loïc Blot authored
-
Loïc Blot authored
* TOSERVER_INIT and TOCLIENT_INIT renamed to _LEGACY * TOSERVER_PASSWORD merged from dev-0.5, can use protocol v24 and v25 * TOCLIENT_ACCESS_DENIED merged from dev-0.5, can use protocol v24 and v25, with normalized strings an a custom id for custom errors * new TOSERVER_INIT packet only send MT version, supported compressions, protocols and serialization, this permit to rework everything later without break the _INIT packet * new TOSERVER_AUTH packet which auth the client * new TOCLIENT_HELLO packet which send server serialization version atm * new TOCLIENT_AUTH_ACCEPTED which is send when TOCLIENT_AUTH was okay. After this packet, the client load datas from servers, like after TOCLIENT_INIT_LEGACY packet
-
Loïc Blot authored
Rename some packet and handlers to <packet>_Legacy name for compat layer between new network changes and old network clients
-
Loïc Blot authored
-
- Mar 12, 2015