summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-14Bug fixesdaniel09161-3/+0
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.