summaryrefslogtreecommitdiffstats
path: root/src/Protocol (unfollow)
Commit message (Collapse)AuthorFilesLines
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