summaryrefslogtreecommitdiffstats
path: root/src/Protocol (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-09idle/deflating creeper should be -1Gargaj2-2/+2
according to http://wiki.vg/Entities#Creeper
2015-10-26Update Loops required for JsonCPPLukas Pioch2-8/+8
2015-10-02Improved types of utf 16 stringstycho1-3/+3
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby5-11/+11
2015-09-25Namechange to CuberiteMattes D5-11/+11
2015-09-21Refactored cProtocol Chat handlingtycho7-219/+22
2015-09-06added bungeecord support for protocol18xEric Chai1-0/+14
2015-08-20Fixed food drain bugsTiger Wang1-4/+1
2015-08-20Use container-based infrastructure for TravisTiger Wang1-1/+1
2015-08-12Fix old style casts and implicit conversionsMatti Hänninen2-6/+6
2015-07-31Unified the doxy-comment format.Mattes D2-9/+13
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney10-140/+138
2015-07-17 Added Rabbit Metadata values.bibo381-8/+11
Added the Rabbit Types and the MoreCarrotTicks value. Types are selected randomly on creation. Fixes #1867
2015-07-15Leather Armor can now be dyed.Samuel Barney2-4/+24
* Created new color class to handle dye-related coloring
2015-07-15Added CustomName and Health to sended Metadata of Monsters.bibo382-10/+27
Fixes #2113
2015-07-14Improved mapsTiger Wang7-122/+56
2015-07-14Support ageable mobsHallucino1-15/+48
Move ageable stuff in Monster directly
2015-07-09Fixes compilation failures on MacOSX 10.10Samuel Barney1-1/+1
* Replace old c-style casts with c++ casts * Added `-Wno-error=old-style-cast` to Protocol18x.cpp
2015-07-07Fixed warnings generated by 64-bit MSVC.Mattes D2-8/+8
2015-06-25Fixed Middle-Click Button in the ClickWindow-Packet.bibo382-2/+2
See http://wiki.vg/Protocol#Click_Window The MiddleClick has the button 2 and not 0. Now you can max an item in an inventory in Creative mode, without inventory desync. Bugfix #2260
2015-06-18Check the return value of InflateStringTiger Wang1-2/+1
Fixes #2256
2015-06-16Removed version 29 serilizationtycho2-62/+0
This has been unused since support for <1.7 has been dropped.
2015-06-07Fix incorrent experience sending for 1.7 clientsjan641-2/+2
2015-06-03Changed SendAboveActionBarMessage / SendSystemMessage to be a noop for < 1.8 clientsjan641-1/+11
2015-06-02Added system and above action bar chat messagesjan647-4/+196
2015-05-24Made -Weverything an error.tycho1-2/+6
2015-05-23Close Ssl Socket on destroyTiger Wang1-1/+0
* Fixes #2072
2015-05-21Added Equifax root CA.Mattes D2-6/+39
Fixes #2076. Closes #2081. Ref.: #2072.
2015-05-19Make -Werror disabling file onlytycho1-0/+5
Ad fix a load of warnings
2015-05-19Fixed a lot of warningstycho2-3/+3
2015-05-16Fixed inventory handling.Mattes D1-2/+2
Fixes #2035.
2015-05-16Initial implementation of IniFile overloadingtycho4-16/+16
2015-05-12Fixed creative click-outsideTiger Wang1-1/+1
* Fixes #1995
2015-05-09CheckBasicStyle: checks spaces around * and &.Mattes D1-2/+2
2015-05-09More style checking.Mattes D3-6/+6
Spaces around some operators are checked.
2015-05-07Added support for additional data in the ParticleEffect Packettycho7-0/+71
Also started refactoring how broadcasts are handled
2015-05-04Change visual protocol name to include MCServerjan642-3/+3
2015-05-04Entity improvementsTiger Wang1-1/+1
•Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes
2015-04-28Updated MC versions in ProtocolRecognizer.hwiseoldman951-1/+1
2015-04-20Protocol 1.8: Limit the amount of displayed data on NBT parse failure.Mattes D1-1/+1
2015-04-17Fixed arm swing animationTiger Wang1-1/+1
* Fixes #1861
2015-04-13Implement backend for /title commandScott Moore7-0/+247
2015-03-22Added VarInt64, normalized cPacketizer datatype names.Mattes D5-673/+682
2015-03-22Unified cPacketizer across all protocols.Mattes D10-757/+857
2015-03-21Fixed signedness warnings in Protocol.Mattes D7-9/+9
2015-03-21Fixed signedness issues in protocols.Mattes D4-60/+74
2015-03-21Unified cByteBuffer types.Mattes D6-185/+241
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-03-14cPainting saving implementedTiger Wang2-10/+2
Additionally, it now inherits from cHangingEntity.
2015-02-241.8 Protocol: Fixed a possible race condition.Mattes D1-5/+9
Fixes #1759.
2015-02-08Handle client 'leave bed' requestTiger Wang1-3/+1
* Fixes #1728
2015-02-08Protocol 1.7: Fixed Coverity issues.Mattes D1-4/+7
Fixes CID 66411, CID 103166 and CID 103167.
2015-02-07Added IsOnGround() to cEntityHowaner1-6/+6
2015-01-27Removed cFile::ReplaceFileNameInvalidChars().Mattes D1-1/+3
Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems.
2015-01-27Protocol18: Fixed failure with invalig logfile names.Mattes D1-8/+15
2015-01-18Fixed warnings in 1.7 protocol.Mattes D1-106/+127
2015-01-03Fixed Linux compilation.Mattes D2-2/+2
2015-01-03Protocols: Ignore garbage data at the end of PluginMessage packets.Mattes D2-0/+21
Fixes #1692.
2014-12-24Refactored all player block placing to go through hooks.Mattes D2-4/+4
Fixes #1618.
2014-12-21Fixed coverity issues in protocols.Mattes D2-4/+11
Fixes CID 73099, CID 66411.
2014-12-07cMojangAPI: Fixed a possible problem with thread termination order.Mattes D1-5/+17
2014-11-29Removed unused imports.Howaner2-2/+0
2014-11-29Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner4-2/+4
2014-11-18Finished mob spawner implementation.Howaner1-0/+13
2014-10-23Merged IniFile into main MCS sources.Mattes D2-2/+2
2014-10-23En masse NULL -> nullptr replaceTiger Wang5-94/+94
2014-10-21Properly exported cItemFrame and cHangingEntity to Lua.Mattes D2-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang5-94/+94
2014-10-17cMojangAPI: Don't update data if server is in offline mode.Mattes D2-3/+6
2014-10-06cMojangAPI: Added periodical refreshes.Mattes D2-19/+132
2014-10-05cClientHandle: Added protocol version knowledge.Mattes D2-1/+2
2014-10-03Improved furnacesTiger Wang7-7/+7
* Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070
2014-10-02Optimized chunk loaderHowaner2-0/+2
2014-09-30Fixed a missing semicolon.madmaxoft1-1/+1
2014-09-30Rewritten plugin messages, vanilla are being parsed directly.madmaxoft4-13/+172
This should finally fix the compatibility problems between 1.7 and 1.8 protocols with the changes in the vanilla plugin messages.
2014-09-29Style fixes.madmaxoft1-3/+3
2014-09-28Plugin messages: Vanilla prefixes its payloads with VarInt lengths.madmaxoft1-4/+13
2014-09-28Revert "1.8: Fixed plugin messages."madmaxoft1-1/+3
This reverts commit 04ee8c43dd17eb98d1e3d66ff691898e9f269b95.
2014-09-28Protocol 1.8: Fixed possible crash on malformed packet.madmaxoft1-0/+5
2014-09-28Compilation fixTiger Wang1-1/+1
2014-09-271.8: Fixed plugin messages.Howaner1-3/+4
2014-09-27Bug fixTiger Wang1-2/+15
2014-09-27Dropped support for <1.7.xTiger Wang18-4700/+6
2014-09-26Fixed players custom name in 1.8Howaner9-57/+20
2014-09-25Protocol 1.8: Fixed plugin message packet.madmaxoft1-1/+3
2014-09-25Added cByteBuffer::WriteBEUShort().madmaxoft1-1/+1
2014-09-25Protocol 1.8: Handling packet compression properly.madmaxoft2-14/+39
The compression didn't work with CommLog turned on.
2014-09-25Protocol 1.8: Added checks for values presence.madmaxoft1-2/+8
Reported by @worktycho / Coverity.
2014-09-25Use the json writer to write sign texts.Howaner1-5/+10
Without this change the client disconnects if the text contains "
2014-09-251.8 Protocol: Fixed problems with no-payload packets.madmaxoft1-6/+7
2014-09-251.7 Protocol: fixed potential problems with no-payload packets.madmaxoft1-4/+4
2014-09-23Fixed compiler warnings in 1.8 protocol.madmaxoft1-2/+2
2014-09-22Updated README.mdHowaner1-1/+1
2014-09-22Hotfixed 1.8 item reading.Howaner2-6/+6
2014-09-22Changed metadata reading again.Howaner2-173/+7
2014-09-22Fixed item nbt reading.Howaner2-3/+168
2014-09-19Implemented mob spawner.Howaner1-1/+13
2014-09-19Code improvements.Howaner4-38/+36
2014-09-18Exported player list states to extra functions.Howaner9-426/+616
2014-09-181.8: Simplified item metadata reading.Howaner1-7/+3
2014-09-17Added an explicit setting for allowing BungeeCord handshake.madmaxoft1-1/+1
2014-09-17Added first test to show the object can be createdTycho2-31/+31
2014-09-17Full BungeeCord compatibility.madmaxoft1-0/+4
Fixes #1392. Fixes SpigotMC/BungeeCord#1211.
2014-09-17Initial BungeeCord support.madmaxoft2-1/+10
Ref.: #1392
2014-09-14Simplified WriteUUID()Howaner1-9/+9
2014-09-14Fixed warnings.Howaner1-3/+3
2014-09-131.8: Updated scoreboard packets.Howaner1-3/+7
2014-09-13Moved chat json creating to the CompositeChat class.Howaner4-346/+8
2014-09-131.8: Fixed maps.Howaner9-35/+33
2014-09-12Spawn exp if you break a mob spawner.Howaner1-3/+3
2014-09-12Fixed wrong buffer length in the 1.8 protocol.Howaner1-10/+4
2014-09-121.8: Fixed ReadItem()Howaner1-19/+39
2014-09-121.8: Added difficulty sendingHowaner1-0/+6
2014-09-121.8: Fixed block entities.Howaner1-8/+2
2014-09-121.8: Fixed workbench, enchanting and anvil window.Howaner1-3/+19
2014-09-121.8: Enderman, byte -> shortHowaner1-1/+1
2014-09-121.8: Fixed enderman spawning.Howaner1-1/+1
2014-09-111.8: Fixed inventory open packet.Howaner1-3/+2
2014-09-11Removed GetProtocolVersion() from the protocols.Howaner7-19/+6
2014-09-111.8: Fixed sign placing.Howaner1-1/+1
2014-09-111.8: Fixed hangings.Howaner3-31/+88
2014-09-111.8: Added ParticleEffect packet.Howaner11-26/+103
2014-09-091.8: Added MultiBlockChange packet.Howaner3-51/+82
2014-09-09Added the player list to the 1.8 protocol.Howaner9-21/+92
2014-09-09PlayerSpawn packet: Send the correct uuid.Howaner1-5/+1
2014-09-091.8: Added new uuid field.Howaner2-0/+19
2014-09-08More fixes.Howaner2-1/+6
2014-09-08Recoded cProtocol180 class.Howaner4-589/+2690
2014-09-081.8: Fixed tab complete.Howaner3-2/+20
2014-09-08Fixed more 1.8 packets.Howaner4-35/+243
2014-09-08Updated chunk sending to 1.8Howaner4-26/+22
2014-09-08Added GetProtocolVersion() to cProtocol.Howaner8-26/+29
2014-09-08Implemented packet compression.Howaner7-35/+117
ChunkData packet needs this.
2014-09-06Added Y-wise asserts to signs.Mattes D1-0/+1
This should help detect #1313's second case.
2014-09-06Alpha-sorted protocol 1.7 senders.Mattes D1-7/+7
2014-09-04Fixed client errors.Howaner5-52/+79
2014-09-04Added more 1.8 protocol things.Howaner6-14/+632
2014-09-04Started implementing of the 1.8 protocol.Howaner7-7/+502
2014-09-02Added SetCustomName() to players.Howaner8-25/+45
2014-09-01Added CustomName to cMonster.Howaner1-0/+10
2014-09-01Make sure packets are validworktycho1-6/+24
Fixes CID 66408, 66409 and 72045
2014-08-31Init RankMgr pointer to NULLworktycho1-1/+2
2014-08-25Type warning fixes.Mattes D1-1/+1
2014-08-25Fixed a type warning.Mattes D1-2/+2
2014-08-21Fixed 1.7.2 login packet reading.Mattes D1-1/+5
Fixes #1317.
2014-08-21cMojangAPI updates cRankManager's playernames.Mattes D2-1/+40
2014-08-21cMojangAPI: Fixed MakeUUID___() bindings.Mattes D1-4/+0
ToLua would generate a shadow return value for the input strings.
2014-08-20Renamed a_Motd to a_ServerDescription.Howaner2-7/+7
2014-08-20Added a_ClientHandle to the HOOK_SERVER_PING hook.Howaner2-2/+5
2014-08-20Added "HOOK_SERVER_PING" call to older protocolsHowaner1-13/+12
2014-08-20Cleaned up code.Howaner1-1/+0
2014-08-20Added HOOK_SERVER_PINGHowaner2-29/+72
2014-08-11cProtocol172: Check return values.madmaxoft1-4/+9
Fixes CID 43489, CID 43490, CID 43491, CID 43493, CID 66410, CID 66411, CID 66416, CID 66417, CID 66418, CID 66419, CID 66420, CID 66421, CID 66422, CID 66423, CID 66424, CID 66425, CID 66429, CID 66430, CID 66431
2014-08-11Exported daylight cycle flag to the protocol.Howaner9-10/+24
2014-08-11Gave names to unnamed enumsarchshift1-1/+1
2014-08-04MojangAPI: Fixed PlayerNameToUUID().madmaxoft1-1/+1
2014-08-04Fixed #1286Howaner1-1/+1
2014-08-04Refactored case-conversion functions.madmaxoft2-32/+24
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
2014-08-04Changed properties for-loop.Howaner1-1/+1
2014-08-03Fixed skins in mc 1.7.9/1.7.10Howaner1-6/+5
2014-08-03cMojangAPI: Added UUID-to-Name lookup.madmaxoft3-60/+424
Also fixed the bindings, now all functions are static-like.
2014-08-03Added cMojangAPI:GetUUIDFromPlayerName().madmaxoft2-0/+35
This is a simpler way to ask for a single name -> uuid conversion.
2014-07-31Removed trailing whitespace.madmaxoft1-2/+2
2014-07-31MojangAPI: Moved the settings to a separate ini section.madmaxoft1-2/+2
2014-07-31Renamed functions and added beacon json saving.Howaner1-2/+2
2014-07-31MojangAPI: Added a UseCachedOnly param to GetUUIDsFromPlayerNames().madmaxoft2-4/+9
2014-07-30Added beacon.Howaner1-0/+15
2014-07-30MojangAPI: Renamed cache file to MojangAPI.sqlite.madmaxoft1-2/+2
2014-07-30MojangAPI: Clarified the UUID conversion code.madmaxoft2-4/+17
2014-07-30MojangAPI: Implemented UUID shortening and dashing.madmaxoft3-20/+31
2014-07-30Exported cMojangAPI to Lua.madmaxoft1-1/+12
2014-07-30Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft5-237/+556
The cache is persisted into a SQLite DB file on server shutdown.
2014-07-28cAuthenticator: Added GetUUIDsFromPlayerNames().madmaxoft2-3/+116
2014-07-24Removed redundant semicolons and re-added warningarchshift2-2/+2
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft7-11/+11
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
2014-07-19Fixed attempts to call c_str on ChatColorsarchshift1-2/+2
2014-07-19Code style: Fixed braces on separate lines.madmaxoft1-1/+2
2014-07-19Fixed spaces after commas in protocol data.madmaxoft1-7/+7
The JSON data is well-formatted with spaces, too; we can afford to waste the few bytes.
2014-07-19Fixed style: spaces after commas.madmaxoft2-2/+2
2014-07-19Authenticator.cpp: Killed a global destructor warningarchshift1-53/+56
2014-07-19Subdirs: Only add_library if not using MSVCarchshift1-1/+3
2014-07-19Protocol/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+23
2014-07-18Fix failed merge and other issuesTiger Wang7-7/+7
2014-07-18ProtocolRecognizer.cpp: removed unused NumBytesReadarchshift1-2/+0
2014-07-17Fixed tabs used for alignment.madmaxoft2-12/+13
2014-07-17Basic style fixes.madmaxoft6-9/+9
2014-07-17Normalized comments.madmaxoft9-86/+86
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-07-16SuggestionsTiger Wang1-2/+5
2014-07-16Function renameTiger Wang2-3/+3
2014-07-16Unified functionsTiger Wang2-34/+28
Thanks @Howaner!
2014-07-16Store properties as Json::ValueTiger Wang3-12/+20
2014-07-14Player properties are now retrievedTiger Wang3-102/+198
2014-07-13Fixed MSVC warnings in SoundEffect functions.madmaxoft2-14/+6
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner9-24/+25
2014-07-07Implemented trapped chests & othersTiger Wang1-2/+2
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-07-04Crash and compile fixTiger Wang1-1/+1
2014-06-29Fixed respawningTiger Wang9-15/+15
* Fixes #1103
2014-06-29Send statistics to the player, when he logged in.Howaner1-2/+1
2014-06-27Added generic entity-collecting.Mattes D9-15/+15
Now any cEntity can be collected, not only cPickups. This should help PR #1098.
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-06-12Portals animate and delay correctlyTiger Wang9-17/+17
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D10-16/+42
Fixes #1039, fixes #851
2014-05-31Implemented end and nether portalsTiger Wang9-13/+13
2014-05-28Fixed a crash in message formatter.madmaxoft1-1/+2
The code would fail if a message is sent to a player not yet added to a world.
2014-05-19cCompositeChat message type is now formattedTiger Wang1-1/+1
2014-05-19Added client translation to achievementsTiger Wang1-0/+29
2014-05-12cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew1-5/+1
2014-05-11Statistic Managerandrew7-7/+84
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D2-11/+11
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D2-11/+11
2014-05-07Change m_RepairCost to int.Howaner1-2/+2
2014-05-07Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.Howaner1-0/+11
2014-05-03Hotfixed Chunked transfer encoding in Yggdrasil.madmaxoft1-1/+1
By using HTTP/1.0, we're disabling the support for the Chunked encoding on the server. This is a hotfix for #979, a proper parser implementation is still needed.
2014-05-03Fixed connection encryption.madmaxoft1-1/+1
Fixes #975.
2014-05-01Fixed warnings in ClientHandle.madmaxoft7-7/+7
2014-04-30Removed the unused cBlockingTCPLink class.madmaxoft1-1/+0
2014-04-29Removed unneeded #includes.madmaxoft1-6/+0
2014-04-29Moved the rest of the Crypto objects into their own respective files.madmaxoft4-23/+14
2014-04-29Moved cRsaPrivateKey to PolarSSL++, rewritten using existing objects.madmaxoft2-2/+2
2014-04-28Added the G1 root cert.madmaxoft1-2/+29
Now the authenticator finally works.
2014-04-28Revert "Changed the old invulnerable methods from the wither to the new."Howaner2-16/+2
This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.
2014-04-28Fixed projectile source filenames, indentationsarchshift2-3/+3
2014-04-27Rewritten cAuthenticator to use the new PolarSSL++ wrapper classes.madmaxoft1-91/+45
2014-04-27Another attempt at #889.madmaxoft1-3/+5
The packet was being sent after the state was adjusted, so another thread *may* have sent another packet in the meantime.
2014-04-27Moved cFireworkEntity out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift2-1/+2
2014-04-26Changed the old invulnerable methods from the wither to the new.Howaner2-2/+16
2014-04-26FixesHowaner2-2/+2
2014-04-26Fixes resource leaks in the yggdrasil authenticator. (CID 43617)jfhumann1-0/+33
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift1-0/+1
2014-04-24Authenticator uses some C++ SSL objects.madmaxoft1-19/+40
2014-04-21Allow 1.6.4 Forge clients to log in.Mattes D2-0/+20
Fixes #913.
2014-04-18Small style changesjfhumann2-7/+7
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann6-77/+100
2014-04-17Modified many thingsdaniel09161-2/+0
2014-04-16Added asserts for proper game state.madmaxoft1-5/+131
This is to help hunt #889.
2014-04-15Attempted fix for the client crash with the new protocols.madmaxoft1-0/+7
2014-04-14Implemented the 1.7.6 protocol and authenticator.madmaxoft8-119/+169
Server works both in online and offline modes with 1.7.9.
2014-04-14A client UUID is generated when the server is in offline mode.madmaxoft1-4/+10
1.7.9 client works with these changes in offline mode.
2014-04-14Initial 1.7.6 protocol support.madmaxoft4-2/+69
Doesn't work yet because of missing UUIDs.
2014-04-14Bug fixesdaniel09161-3/+0
2014-04-13Fixed mistakedaniel09162-2/+2
2014-04-13Fixed Error?daniel09161-2/+2
2014-04-13Code Updatedaniel09161-4/+5
2014-04-13Added Yggdrasil Authentication Systemdaniel09162-0/+418
Code by Howaner. Fixes/Changes by me.
2014-04-07Fixed Errorsdaniel09161-2/+2
2014-04-06Fixed 1.6.4 client crash on composite chat messages.madmaxoft2-0/+14
2014-04-06Fixed crash in protocols sending 64-bit ints.madmaxoft1-1/+1
Fixes #855.
2014-04-04Explicit change record size.madmaxoft1-1/+1
2014-04-04Fixed format string mismatch.madmaxoft1-1/+1
2014-04-04More Clang warning fixes in the protocols.madmaxoft6-81/+82
2014-04-04Fixed CreateHexDump's signedness.madmaxoft1-1/+1
2014-04-04More Clang warning fixes in the protocols.madmaxoft1-28/+37
2014-04-04Fixed some Clang warnings in protocols.madmaxoft10-26/+31
2014-03-31Console logging supports cCompositeChat as its parameters.madmaxoft1-22/+1
2014-03-25Protocol: Wither metadataandrew2-0/+18
2014-03-20Plugins can set flying speed.madmaxoft1-2/+1
2014-03-20Rewritten player speeds to be relative unit-less.madmaxoft2-5/+6
Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof.
2014-03-12Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho2-7/+7
2014-03-11Fixed a load of format string errorsTycho2-4/+4
2014-03-11Fixed format errors in protocolTycho1-3/+3
2014-03-10Removed unused macroTycho1-13/+0
2014-03-09Hotfix for MSVC compilation.madmaxoft1-0/+1
2014-03-09Adjusted style of switch/caseJan-Fabian Humann3-45/+15
2014-03-08Changed if-else to switch-caseJan-Fabian Humann3-39/+33
2014-03-08Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting.Jan-Fabian Humann3-3/+65
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho1-2/+2
2014-03-07WarningsTycho9-12/+25
2014-03-07Add Flower PotsHowaner1-1/+15
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang1-25/+52
+ Added fireworks
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-9/+9
2014-02-23Add break to Protocol17x.cpp and use new comment delimiterHowaner1-0/+1
2014-02-23Add Skulls/HeadsHowaner1-0/+14
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-9/+9
2014-02-19Add break to Protocol17x.cpp and use new comment delimiterHowaner1-0/+1
2014-02-18De-breaked stuffTiger Wang1-2/+0
2014-02-18Map decorators; Map clientsandrew7-1/+60
2014-02-18Implemented paintings, fixes #689Tiger Wang6-0/+28
+ Implemented paintings
2014-02-18Implemented item frames, a part of #689Tiger Wang1-2/+14
+ Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!)
2014-02-17Add Skulls/HeadsHowaner1-0/+14
2014-02-16Add Locale to ClientHandleHowaner3-2/+4
2014-02-16Set max. Players in the Tablist to 60Howaner1-1/+1
2014-02-15Implemented cCompositeChat.madmaxoft7-12/+231
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
2014-02-13Implementation of in-game mapsandrew7-0/+91
2014-02-05Improved the signedness conversion.madmaxoft1-2/+2
2014-02-05Fixed a bunch of MSVS warningsTiger Wang1-1/+2
* Possibly also fixed some bugs with pathfinding and TNT, though unlikely
2014-02-04Protocol 1.7: Fixed a signed / unsigned comparison warning.madmaxoft1-2/+2
2014-02-04Protocol 1.7 uses char for blockface.madmaxoft1-2/+2
That should fix #644 on RasPi.
2014-02-04Improved Type safety of eBlockFaceTycho3-5/+5
May Fix #640
2014-02-01added EnchantItemPacket to older Protocolsdaniel09161-1/+4
2014-01-31Some updates for enchanting (2)daniel09164-14/+21
2014-01-29Limited sign lines to 15 chars.madmaxoft1-4/+5
Fixes #598.
2014-01-29Added 1.7.4 to the list of supported protocols.madmaxoft1-1/+1
2014-01-29Protocol 1.7: Encryption is enabled only with auth.madmaxoft1-1/+1
2014-01-28Protocol 1.7: Forced encryption on all connections.madmaxoft2-3/+101
This is for testing purposes only, to find bugs in the encryption. Once the encryption is deemed stable, it will be enabled only for servers with enabled Authentication.
2014-01-26Fixed client packet parsing.madmaxoft1-12/+33
When the packet wouldn't fit the current buffer, the server would mis-parse the next packet. This was the cause for #541. Also modified comm logging, now each direction can be turned on separately.
2014-01-25Comm logging is available in both Debug and Release modes.madmaxoft2-12/+16
2014-01-25Protocol17: Comm logging shows the data left over from previous parse.madmaxoft1-2/+15
2014-01-24Added per-connection comm logging in debug mode.madmaxoft2-0/+69
It is meant for debugging only, so it is compiled only into debug mode. It is activated by starting the server with "/logcomm" parameter.
2014-01-24removed hook from enchanting commitdaniel09161-1/+1
2014-01-24Some updates for enchantingdaniel09162-4/+12
2014-01-23PolarSSL is fully used for 1.3.2 protocol encryption.madmaxoft6-139/+51
2014-01-23Fixed 1.5.x scoreboard packet IDsandrew1-3/+3
2014-01-21Scoreboard SendTo()andrew1-3/+3
2014-01-21Scoreboard protocol supportandrew8-5/+141
2014-01-20Fix a crash but somewhere...Alexander Harkness1-2/+1
2014-01-20first changes for enchanting (not finished)daniel09162-0/+18
- added enchanting table block handler and added it to the blockhandler - added enchanting window - drop item in the slot 0 when the player close the window - added enchanting packet (1.7 only) - some more...
2014-01-19Removed unneeded paramtersTiger Wang6-11/+19
2014-01-19Switched EnchantmentSerilizer to namespaceTycho2-4/+4
2014-01-19Spilt Writing of Enchantments to seperate classTycho2-4/+6
Created a new class cEnchantmentSerializer to serilize Enchantments to NBT. This breaks a dependecy chain between cChunkGenerator and cWorld. cEnchantmentSerializer is seperate from NBTWriter as it needs to access private members of cEnchantments so having it seperate reduces the spread of the frein modifier
2014-01-19Changed SendBlockEntity format slightlyTiger Wang6-13/+46
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug
2014-01-19Improved command blocksTiger Wang6-0/+42
* Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity
2014-01-17Removed internal cEntity::GetRot() usage.madmaxoft3-14/+14
2014-01-17Protocol 1.7: More output on unknown packets / protocol states.madmaxoft1-4/+21
2014-01-16Fixed block break packet numberTiger Wang1-1/+1
2014-01-16Changed newline character because of issuesTiger Wang1-3/+3
2014-01-16Protocol 1.7: Unknown packets are dumped to log in Debug mode.madmaxoft1-1/+14
2014-01-16Removed obsoleted functionsTiger Wang3-7/+7
2014-01-16Added packet diagnostics to 1.7 protocol.madmaxoft2-30/+40
When the packet is mis-interpreted, a log message is output about the packet type and lengths.
2014-01-15Implemented custom names and loreTiger Wang1-5/+55
+ Added custom names and lore + Added saving and loading + Added writing and parsing of NBT
2014-01-13Added handshake processing to protocol 1.7.madmaxoft1-2/+23
This fixes #495
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior1-6/+6
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior1-1/+16
2014-01-09Fixed wrong packet number for PluginMessage packet.madmaxoft1-1/+1
2014-01-09Added cClientHandle::SendPluginMessage().madmaxoft7-0/+40
It is not yet exported in the API, though.
2014-01-07Fixed faviconsTiger Wang1-1/+1
2014-01-07Plugin messages are received and handed to plugins.madmaxoft1-1/+1
Note that MCS doesn't currently handle any channel registrations, this will come later on.
2014-01-07A few more touch upsBill Derouin1-11/+1
2014-01-07Removed unused lineBill Derouin1-1/+0
2014-01-07Implement favicon for 1.7.2Bill Derouin2-0/+14
Favicon data is a png encoded in base64 which is stored in the server and sent in the server response packet
2014-01-07Fixed a few MSVC warnings.madmaxoft2-3/+3
2014-01-06Fixed a few MSVC warnings.madmaxoft4-5/+4
2014-01-05Added warning(push) and warning(pop) around all of the inclusions of cryptopp/*.hDiusrex4-2/+52
I also added a warning(push)/(pop) around crpytlib.cpp because it would go crazy with warnings. So now, the only warning from cryptopp that is not blocked is 'unreferenced local function has been removed', which also occurs at a single function.
2014-01-02More memory alignment fixes.madmaxoft1-3/+3
Ref.: #420.
2013-12-22Implented BroadcastParticleEffectSTRWarrior9-2/+65
2013-12-20Fixed minor warnings.madmaxoft1-2/+2
2013-12-19Fixed PlayerAbilities and creativeTiger Wang1-10/+3
2013-12-19moved protocol to globTycho Bickerstaff1-1/+5
2013-12-17Fixed player falling through the floor on spawn.madmaxoft1-1/+5
The 1.7 client seems to have math issues with exact coords. Adding 0.001 to the Y coord fixed the problem.
2013-12-15Fixed player spawning packet.madmaxoft1-1/+1
The player was spawned 1.62 blocks below their pos. This fixes #323.
2013-12-15Moved reading flags to the protocol.STRWarrior1-1/+19
2013-12-15Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior1-2/+10
2013-12-15Fixed pre 1.7 clients crashing.STRWarrior1-2/+2
2013-12-14Removed leftover debugging messages from cProtocol172.madmaxoft1-4/+0
2013-12-14Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison.STRWarrior7-0/+82
2013-12-13Fixed threading issues affecting cProtocol172.madmaxoft2-191/+191
2013-12-12Fixed protocol 1.7 recovery after unknown packet.madmaxoft1-4/+0
2013-12-10more cmakeTycho Bickerstaff1-0/+7
2013-12-08Fixed tabcompletion packet, fixes #356Tiger Wang1-8/+4
2013-12-08Fixed falling block metas, fixes #406Tiger Wang1-1/+1
2013-12-07Renamed animation functionTiger Wang7-10/+10
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
2013-12-02Removed stray printf, again.Samuel Barney1-1/+0
2013-12-02Switched to using provided ReadItem function.Samuel Barney1-17/+3
Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs.
2013-12-02Removed stray printf.Samuel Barney1-1/+0
2013-12-02Fixed 1.7 slab and stair placement.Samuel Barney1-0/+19
2013-11-27Fixed the remaining derpsAlexander Harkness4-5/+5
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness1-2/+2
2013-11-25Further attempts to fix compileTiger Wang5-7/+7
2013-11-24Attempt to fix compilationTiger Wang5-8/+8
2013-11-24Moved source to srcAlexander Harkness17-0/+7588