aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
AgeCommit message (Collapse)Author
2015-02-10Replace getPlayer(playername) by getPlayer(peer_id) in some possible cases. ↵Loic Blot
ok @Zeno-
2015-02-10Network Layer 7 rework (Packet handling)Loic Blot
* Move networkcode to a dedicated directory * Rename clientserver.h to network/networkprotocol.h (Better name) and sanitize some includes * Create object NetworkPacket * It stores command (opcode) and data separated * It also stores peer_id * Data reading can be done by using a streaming interface * Change packet routing analysis * Remove old conditional analysis * Now uses function pointed analysis and add connection state ({Client,Server}::handlers) * Connection state permit to categorize condition to handle before analyze packets * Create a handler for depreciated messages, instead of duplicating code
2015-02-05Give full breath after deathSmallJoker
2015-01-27Fix a crash (assert) when client set serial version < 24 in INITLoic Blot
When SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM To resolve the problem: * Create a different CLIENT_MIN_VERSION to handle this problem * Remove the exception * Use an assert in case of bad developer code
2015-01-24Fix uninitialized variable Server::m_next_sound_idKahrl
2015-01-23Send real port to server listShadowNinja
2015-01-13Performance fixes.onkrot
2015-01-04NodeResolver: Perform callback immediately if node registration phase finishedkwolekr
Also add NodeResolver callbacks on the client
2014-12-30Fix map parameter load orderkwolekr
2014-12-29Expose mapgen parameters on scripting initkwolekr
Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
2014-12-29Fix -Wtype-limits warnings and remove disabling of -Wtype-limitsCraig Robbins
2014-12-27Redefine NodeResolver interface and replace with callback mechanismkwolekr
2014-12-12Use std::string::empty() instead of size() where applicableAnton
2014-12-12Fix typo in mapblock.hCraig Robbins
2014-12-07Add space between client names in status text (client)Muhammad Rifqi Priyo Susanto
Before: Server: version=0.4.10, uptime=190.5, max_lag=0.001, clients={user1,user2,user3,user4,user5,foobar,userplayedminetestthismorning} After: Server: version=0.4.10, uptime=190.5, max_lag=0.001, clients={user1, user2, user3, user4, user5, foobar, userplayedminetestthismorning}
2014-11-19Clean up rollbackShadowNinja
2014-11-14Remove most exceptions from getNode() (and variants)Craig Robbins
2014-11-10Serverlist: announce mg_name from map_meta.txt instead of minetest.confKahrl
2014-11-08Replace setting unlimited_player_transfer_distance with player_transfer_distanceSmallJoker
2014-11-01Split up mapgen.cppkwolekr
2014-10-26Add NodeResolver and clean up node name -> content ID resolution systemkwolekr
2014-10-21Recalculate normals for cached meshes.RealBadAngel
Check if mesh is here before adding to meshcollector. Fix deleting the meshes.
2014-10-01Make players check inventory modification properlyShadowNinja
2014-10-01Simplify player modification checksShadowNinja
2014-09-21Fix locking bugs and make inventory deserialization errors more specificShadowNinja
2014-08-22Fix to to too two timessapier
2014-08-22Add player name length checkssapier
2014-08-22Fix "ghost" blocks if block update is "on wire" while player digs nodessapier
2014-08-21Don't call a player event without having player to do a event forsapier
2014-07-16Fix error handling on inconsistent client ready messagesapier
Fix android makefile to provide a correct dummy githash if detection fails
2014-06-30Fix serverlist code style, const-correctness, and typesShadowNinja
2014-06-29Don't spam server console on player/playersao error but just drop the ↵sapier
affected client
2014-06-29Add formspec api versioningsapier
2014-06-28Add prefixes to enum values and fix style issueskwolekr
2014-06-23Only keep players loaded while they're connectedShadowNinja
2014-06-22Fix uncought deserialization error on receiving datasapier
2014-06-21Fix server assert in case of invalid message from client, just kick that client.sapier
2014-05-31Small cleanup of hud add/remove codesapier
2014-05-20Add joining player to printed player listsapier
2014-05-11Fix old client showing duplicated health bar on new serversapier
Fix client not showing hearts and bubbles on connecting to old server Fix server not remembering hud flags correctly
2014-05-11Fix possible deadlock in error conditionssapier
2014-05-07Organize builtin into subdirectoriesShadowNinja
2014-05-07Fix heart + bubble bar size on different texture packssapier
Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
2014-04-21Add missing ip address to player join log entrysapier
2014-04-19Reduce log level for incoming crap packetssapier
Add log entry for peer timeout
2014-04-12Use integers instead of float valuesBlockMen
2014-04-12Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen
2014-04-12Add third person viewBlockMen
2014-04-10Infer ipv6_server from bind_address; fix client connect to IN(6)ADDR_ANYKahrl
2014-04-09Add support for named threads (atm linux only)sapier