summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-07-21Dropped 1.7 support (#3253)Mathias1-3305/+0
2016-05-141.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135)Pokechu221-2/+16
* Semistable update to 15w31a I'm going through snapshots in a sequential order since it should make things easier, and since protocol version history is written. * Update to 15w34b protocol Also, fix an issue with the Entity Equipment packet from the past version. Clients are able to connect and do stuff! * Partially update to 15w35e Chunk data doesn't work, but the client joins. I'm waiting to do chunk data because chunk data has an incomplete format until 15w36d. * Add '/blk' debug command This command lets one see what block they are looking at, and makes figuring out what's supposed to be where in a highly broken chunk possible. * Fix CRLF normalization in CheckBasicStyle.lua Normally, this doesn't cause an issue, but when running from cygwin, it detects the CR as whitespace and creates thousands of violations for every single line. Lua, when run on windows, will normalize automatically, but when run via cygwin, it won't. The bug was simply that gsub was returning a replaced version, but not changing the parameter, so the replaced version was ignored. * Update to 15w40b This includes chunk serialization. Fully functional chunk serialization for 1.9. I'm not completely happy with the chunk serialization as-is (correct use of palettes would be great), but cuberite also doesn't skip sending empty chunks so this performance optimization should probably come later. The creation of a full buffer is suboptimal, but it's the easiest way to implement this code. * Write long-by-long rather than creating a buffer This is a bit faster and should be equivalent. However, the code still doesn't look too good. * Update to 15w41a protocol This includes the new set passengers packet, which works off of the ridden entity, not the rider. That means, among other things, that information about the previously ridden vehicle is needed when detaching. So a new method with that info was added. * Update to 15w45a * 15w51b protocol * Update to 1.9.0 protocol Closes #3067. There are still a few things that need to be worked out (picking up items, effects, particles, and most importantly inventory), but in general this should work. I'll make a few more changes tomorrow to get the rest of the protocol set up, along with 1.9.1/1.9.2 (which did make a few changes). Chunks, however, _are_ working, along with most other parts of the game (placing/breaking blocks). * Fix item pickup packet not working That was a silly mistake, but at least it was an easy one. * 1.9.2 protocol support * Fix version info found in server list ping Thus, the client reports that it can connect rather than saying that the server is out of date. This required creating separate classes for 1.9.1 and 1.9.2, unfortunately. * Fix build errors generated by clang These didn't happen in MSVC. * Add protocol19x.cpp and protocol19x.h to CMakeLists * Ignore warnings in protocol19x that are ignored in protocol18x * Document BLOCK_FACE and DIG_STATUS constants * Fix BLOCK_FACE links and add separate section for DIG_STATUS * Fix bat animation and object spawning The causes of both of these are explained in #3135, but the gist is that both were typos. * Implement Use Item packet This means that buckets, bows, fishing rods, and several other similar items now work when not looking at a block. * Handle DIG_STATUS_SWAP_ITEM_IN_HAND * Add support for spawn eggs and potions The items are transformed from the 1.9 version to the 1.8 version when reading and transformed back when sending. * Remove spammy potion debug logging * Fix wolf collar color metadata The wrong type was being used, causing several clientside issues (including the screen going black). * Fix 1.9 chunk sending in the nether The nether and the end don't send skylight. * Fix clang build errors * Fix water bottles becoming mundane potions This happened because the can become splash potion bit got set incorrectly. Water bottles and mundane potions are only differentiated by the fact that water bottles have a metadata of 0, so setting that bit made it a mundane potion. Also add missing break statements to the read item NBT switch, which would otherwise break items with custom names and also cause incorrect "Unimplemented NBT data when parsing!" logging. * Copy Protocol18x as Protocol19x Aditionally, method and class names have been swapped to clean up other diffs. This commit is only added to make the following diffs more readable; it doesn't make any other changes (beyond class names). * Make thrown potions use the correct appearence This was caused by potions now using metadata. * Add missing api doc for cSplashPotionEntity::GetItem * Fix compile error in SplashPotionEntity.cpp * Fix fix of cSplashPotionEntity API doc * Temporarilly disable fall damage particles These were causing issues in 1.9 due to the changed effect ID. * Properly send a kick packet when connecting with an invalid version This means that the client no longer waits on the server screen with no indication whatsoever. However, right now the server list ping isn't implemented for unknown versions, so it'll only load "Old" on the ping. I also added a GetVarIntSize method to cByteBuffer. This helps clean up part of the code here (and I think it could clean up other parts), but it may make sense for it to be moved elsewhere (or declared in a different way). * Handle server list pings from unrecognized versions This isn't the cleanest way of writing it (it feels odd to use ProtocolRecognizer to send packets, and the addition of m_InPingForUnrecognizedVersion feels like the wrong technique), but it works and I can't think of a better way (apart from creating a full separate protocol class to handle only the ping... which would be worse). * Use cPacketizer for the disconnect packet This also should fix clang build errors. * Add 1.9.3 / 1.9.4 support * Fix incorrect indentation in APIDesc
2016-02-05Bulk clearing of whitespaceLogicParrot1-111/+111
2016-01-11Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8bibo381-1/+1
The NBT format now carries the texture data and transmit it to the client. See: http://minecraft.gamepedia.com/Head#Block_entity Related to #2674
2015-11-24Add enum for Sound and Particle EffectsDave Tucker1-2/+2
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-11-09idle/deflating creeper should be -1Gargaj1-1/+1
according to http://wiki.vg/Entities#Creeper
2015-10-26Update Loops required for JsonCPPLukas Pioch1-4/+4
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-3/+3
2015-09-25Namechange to CuberiteMattes D1-3/+3
2015-09-21Refactored cProtocol Chat handlingtycho1-62/+5
2015-08-12Fix old style casts and implicit conversionsMatti Hänninen1-2/+2
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-28/+29
2015-07-15Leather Armor can now be dyed.Samuel Barney1-2/+12
* Created new color class to handle dye-related coloring
2015-07-15Added CustomName and Health to sended Metadata of Monsters.bibo381-9/+13
Fixes #2113
2015-07-14Improved mapsTiger Wang1-44/+35
2015-06-25Fixed Middle-Click Button in the ClickWindow-Packet.bibo381-1/+1
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-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 messagesjan641-1/+55
2015-05-19Fixed a lot of warningstycho1-2/+2
2015-05-09More style checking.Mattes D1-2/+2
Spaces around some operators are checked.
2015-05-07Added support for additional data in the ParticleEffect Packettycho1-0/+10
Also started refactoring how broadcasts are handled
2015-05-04Change visual protocol name to include MCServerjan641-2/+2
2015-04-13Implement backend for /title commandScott Moore1-0/+63
2015-03-22Added VarInt64, normalized cPacketizer datatype names.Mattes D1-328/+329
2015-03-22Unified cPacketizer across all protocols.Mattes D1-279/+266
2015-03-21Fixed signedness warnings in Protocol.Mattes D1-2/+2
2015-03-21Fixed signedness issues in protocols.Mattes D1-48/+52
2015-03-21Unified cByteBuffer types.Mattes D1-97/+123
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-03-14cPainting saving implementedTiger Wang1-1/+1
Additionally, it now inherits from cHangingEntity.
2015-02-08Protocol 1.7: Fixed Coverity issues.Mattes D1-4/+7
Fixes CID 66411, CID 103166 and CID 103167.
2015-01-18Fixed warnings in 1.7 protocol.Mattes D1-106/+127
2015-01-03Fixed Linux compilation.Mattes D1-1/+1
2015-01-03Protocols: Ignore garbage data at the end of PluginMessage packets.Mattes D1-0/+11
Fixes #1692.
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-2/+2
Fixes #1618.
2014-12-21Fixed coverity issues in protocols.Mattes D1-2/+5
Fixes CID 73099, CID 66411.
2014-11-29Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-21Properly exported cItemFrame and cHangingEntity to Lua.Mattes D1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-03Improved furnacesTiger Wang1-1/+1
* Fixed progress bar on 1.8 * Fixed bugs * Improved code * Fixes #1068 * Fixes #1070
2014-10-02Optimized chunk loaderHowaner1-0/+1
2014-09-30Fixed a missing semicolon.madmaxoft1-1/+1
2014-09-30Rewritten plugin messages, vanilla are being parsed directly.madmaxoft1-0/+92
This should finally fix the compatibility problems between 1.7 and 1.8 protocols with the changes in the vanilla plugin messages.
2014-09-27Dropped support for <1.7.xTiger Wang1-14/+0
2014-09-26Fixed players custom name in 1.8Howaner1-16/+4
2014-09-251.7 Protocol: fixed potential problems with no-payload packets.madmaxoft1-4/+4
2014-09-19Implemented mob spawner.Howaner1-1/+13
2014-09-18Exported player list states to extra functions.Howaner1-7/+59
2014-09-17Added an explicit setting for allowing BungeeCord handshake.madmaxoft1-1/+1
2014-09-17Added first test to show the object can be createdTycho1-15/+15
2014-09-17Full BungeeCord compatibility.madmaxoft1-0/+4
Fixes #1392. Fixes SpigotMC/BungeeCord#1211.
2014-09-17Initial BungeeCord support.madmaxoft1-0/+9
Ref.: #1392
2014-09-13Moved chat json creating to the CompositeChat class.Howaner1-170/+3
2014-09-131.8: Fixed maps.Howaner1-3/+2
2014-09-12Spawn exp if you break a mob spawner.Howaner1-3/+3
2014-09-11Removed GetProtocolVersion() from the protocols.Howaner1-3/+1
2014-09-111.8: Fixed hangings.Howaner1-1/+1
2014-09-111.8: Added ParticleEffect packet.Howaner1-2/+2
2014-09-09Added the player list to the 1.8 protocol.Howaner1-4/+9
2014-09-08More fixes.Howaner1-1/+1
2014-09-08Recoded cProtocol180 class.Howaner1-56/+16
2014-09-08Fixed more 1.8 packets.Howaner1-19/+40
2014-09-08Updated chunk sending to 1.8Howaner1-6/+6
2014-09-08Added GetProtocolVersion() to cProtocol.Howaner1-14/+12
2014-09-08Implemented packet compression.Howaner1-1/+25
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-04Fixed client errors.Howaner1-1/+1
2014-09-04Added more 1.8 protocol things.Howaner1-0/+1
2014-09-04Started implementing of the 1.8 protocol.Howaner1-2/+4
2014-09-02Added SetCustomName() to players.Howaner1-6/+20
2014-09-01Added CustomName to cMonster.Howaner1-0/+10
2014-08-21Fixed 1.7.2 login packet reading.Mattes D1-1/+5
Fixes #1317.
2014-08-20Renamed a_Motd to a_ServerDescription.Howaner1-3/+3
2014-08-20Added a_ClientHandle to the HOOK_SERVER_PING hook.Howaner1-2/+2
2014-08-20Cleaned up code.Howaner1-1/+0
2014-08-20Added HOOK_SERVER_PINGHowaner1-28/+71
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.Howaner1-1/+6
2014-08-04Fixed #1286Howaner1-1/+1
2014-08-04Changed properties for-loop.Howaner1-1/+1
2014-08-03Fixed skins in mc 1.7.9/1.7.10Howaner1-6/+5
2014-07-31Renamed functions and added beacon json saving.Howaner1-2/+2
2014-07-30Added beacon.Howaner1-0/+15
2014-07-30MojangAPI: Implemented UUID shortening and dashing.madmaxoft1-3/+3
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
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.madmaxoft1-1/+1
2014-07-18Fix failed merge and other issuesTiger Wang1-1/+1
2014-07-17Fixed tabs used for alignment.madmaxoft1-3/+4
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-32/+32
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-16Store properties as Json::ValueTiger Wang1-6/+2
2014-07-14Player properties are now retrievedTiger Wang1-1/+13
2014-07-13Fixed MSVC warnings in SoundEffect functions.madmaxoft1-7/+3
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner1-5/+9
2014-07-04Crash and compile fixTiger Wang1-1/+1
2014-06-29Fixed respawningTiger Wang1-3/+3
* Fixes #1103
2014-06-29Send statistics to the player, when he logged in.Howaner1-2/+1
2014-06-27Added generic entity-collecting.Mattes D1-2/+2
Now any cEntity can be collected, not only cPickups. This should help PR #1098.
2014-06-12Portals animate and delay correctlyTiger Wang1-4/+4
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D1-3/+12
Fixes #1039, fixes #851
2014-05-31Implemented end and nether portalsTiger Wang1-2/+2
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 Managerandrew1-7/+41
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-9/+9
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-9/+9
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-01Fixed warnings in ClientHandle.madmaxoft1-1/+1
2014-04-29Moved the rest of the Crypto objects into their own respective files.madmaxoft1-2/+3
2014-04-29Moved cRsaPrivateKey to PolarSSL++, rewritten using existing objects.madmaxoft1-1/+1
2014-04-28Revert "Changed the old invulnerable methods from the wither to the new."Howaner1-8/+1
This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.
2014-04-28Fixed projectile source filenames, indentationsarchshift1-2/+2
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.harchshift1-0/+1
2014-04-26Changed the old invulnerable methods from the wither to the new.Howaner1-1/+8
2014-04-26FixesHowaner1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-37/+48
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.madmaxoft1-22/+40
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.madmaxoft1-0/+36
Doesn't work yet because of missing UUIDs.
2014-04-14Bug fixesdaniel09161-3/+0
2014-04-13Fixed mistakedaniel09161-1/+1
2014-04-04Fixed format string mismatch.madmaxoft1-1/+1
2014-04-04More Clang warning fixes in the protocols.madmaxoft1-1/+1
2014-04-04Fixed some Clang warnings in protocols.madmaxoft1-2/+2
2014-03-25Protocol: Wither metadataandrew1-0/+10
2014-03-20Plugins can set flying speed.madmaxoft1-2/+1
2014-03-20Rewritten player speeds to be relative unit-less.madmaxoft1-3/+4
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 macrosTycho1-6/+6
2014-03-11Fixed a load of format string errorsTycho1-3/+3
2014-03-11Fixed format errors in protocolTycho1-3/+3
2014-03-09Adjusted style of switch/caseJan-Fabian Humann1-15/+5
2014-03-08Changed if-else to switch-caseJan-Fabian Humann1-13/+11
2014-03-08Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting.Jan-Fabian Humann1-1/+21
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho1-2/+2
2014-03-07WarningsTycho1-1/+1
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 clientsandrew1-0/+20
2014-02-18Implemented paintings, fixes #689Tiger Wang1-0/+15
+ 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 ClientHandleHowaner1-0/+2
2014-02-16Set max. Players in the Tablist to 60Howaner1-1/+1
2014-02-15Implemented cCompositeChat.madmaxoft1-0/+153
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
2014-02-13Implementation of in-game mapsandrew1-0/+35
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 eBlockFaceTycho1-2/+2
May Fix #640
2014-01-31Some updates for enchanting (2)daniel09161-13/+4
2014-01-29Limited sign lines to 15 chars.madmaxoft1-4/+5
Fixes #598.
2014-01-29Protocol 1.7: Encryption is enabled only with auth.madmaxoft1-1/+1
2014-01-28Protocol 1.7: Forced encryption on all connections.madmaxoft1-3/+99
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.madmaxoft1-10/+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.madmaxoft1-0/+64
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 enchantingdaniel09161-3/+11
2014-01-23PolarSSL is fully used for 1.3.2 protocol encryption.madmaxoft1-4/+4
2014-01-21Scoreboard SendTo()andrew1-3/+3
2014-01-21Scoreboard protocol supportandrew1-0/+40
2014-01-20Fix a crash but somewhere...Alexander Harkness1-2/+1
2014-01-20first changes for enchanting (not finished)daniel09161-0/+17
- 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 Wang1-5/+13
2014-01-19Switched EnchantmentSerilizer to namespaceTycho1-2/+2
2014-01-19Spilt Writing of Enchantments to seperate classTycho1-2/+3
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 Wang1-4/+39
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug
2014-01-19Improved command blocksTiger Wang1-0/+25
* 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-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-16Added packet diagnostics to 1.7 protocol.madmaxoft1-28/+36
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().madmaxoft1-0/+12
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-07Implement favicon for 1.7.2Bill Derouin1-0/+13
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.madmaxoft1-1/+1
2014-01-06Fixed a few MSVC warnings.madmaxoft1-1/+0
2013-12-22Implented BroadcastParticleEffectSTRWarrior1-0/+18
2013-12-19Fixed PlayerAbilities and creativeTiger Wang1-10/+3
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-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.STRWarrior1-0/+24
2013-12-13Fixed threading issues affecting cProtocol172.madmaxoft1-163/+163
2013-12-12Fixed protocol 1.7 recovery after unknown packet.madmaxoft1-4/+0
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 Wang1-2/+2
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-24Moved source to srcAlexander Harkness1-0/+0
2013-11-16fixed bug and added SpendExperience()Daniel O'Brien1-3/+3
2013-11-15finished #143 I believeDaniel O'Brien1-1/+1
2013-11-14cProtocol add SendExperience() and debuggingDaniel O'Brien1-0/+12
2013-11-12Bundled fixes [SEE DESC]Tiger Wang1-3/+7
* BoundingBox now returns FACE_NONE + Arrows can be picked up * Arrows dug up resume physics simulations * Added sound effects for bows, lava to stone, and arrows * Fixed SoundParticleEffect on <1.7 protocols
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-3/+3
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery
2013-11-10Protocol 1.7: Fixed crashes and d/c with bad packets.madmaxoft1-3/+3
Fixes #332.
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-5/+35
* Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata
2013-11-10Using DoWithPlayer instead of FindAndDoWithPlayer for callbacks.STRWarrior1-0/+2
You are able to dye the collar.
2013-11-10Protocol 1.7: Attempt at fixing SoundParticleEffect packet.madmaxoft1-5/+3
2013-11-10Fixed Player animation packet.madmaxoft1-1/+1
Fixes #329.
2013-11-08Fixed sprinting in 1.7 protocol.madmaxoft1-1/+17
Fixes #324
2013-11-08cProtocol::SendWindowOpen() signature changed.madmaxoft1-10/+13
This implements #313.
2013-11-08Protocol 1.7: Fixed using entities.madmaxoft1-2/+1
The mouse buttons were swapped.
2013-11-08Protocol 1.7: Copied Mob Metadata code from 1.2.5.madmaxoft1-4/+195
2013-11-07Added hardcore client effectTiger Wang1-1/+1
Also fixed multiple world comments issue.
2013-11-07Fix for entity spawning in generalTiger Wang1-3/+3
2013-11-07Possible fix for 1.7 pickup spawningTiger Wang1-1/+1
2013-11-07Protocol 1.7: Fixed the Spawn Mob packet.madmaxoft1-1/+1
This should fix #318
2013-11-06Protocol 1.7: Added the remaining server-bound packets.madmaxoft1-14/+99
2013-11-06Protocol 1.7: Added more server-bound packets.madmaxoft1-25/+132
2013-11-06Protocol 1.7: Finished the client-bound packets.madmaxoft1-7/+32
2013-11-05Protocol 1.7: More client-bound packets.madmaxoft1-17/+27
Also removed the SendWholeInventory(cInventory &) function, as promised in prev commit.
2013-11-04Protocol 1.7: Added more client-bound packets.madmaxoft1-15/+164
Untested, still more to come.
2013-11-03Protocol 1.7: Added client status packet.madmaxoft1-1/+22
2013-11-03Protocol 1.7: Rewritten packet-sending to use cPacketizer.madmaxoft1-159/+316
Implemented enough of the protocol that the client now spawns in the world (but cannot do anything).
2013-11-01Protocol 1.7: Implemented the first batch of sent packets.madmaxoft1-0/+577
2013-10-31Protocol 1.7: Added skeleton functions for reading client packets.madmaxoft1-17/+317
Untested, this is skeleton code only.
2013-10-30Protocol 1.7: Added status ping handling.madmaxoft1-0/+25
2013-10-30Added 1.7 to protocol recognizer.madmaxoft1-0/+216
The 1.7 protocol currently only reports server description and playercount.