summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Connection.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-02Improved types of utf 16 stringstycho1-4/+4
2015-03-22Added VarInt64, normalized cPacketizer datatype names.Mattes D1-6/+6
2015-03-22ProtoProxy: Fixed connection and logging.Mattes D1-0/+1
2015-03-21Unified cByteBuffer types.Mattes D1-333/+344
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-01-21ProtoProxy: Fixed warnings in Connection.cpp.Matyas Dolak1-87/+89
2015-01-21ProtoProxy: Fixed warnings in Connection.cpp.Matyas Dolak1-15/+23
2014-12-25ProtoProxy: Log block change packet details.Mattes D1-0/+3
2014-12-21ProtoProxy: Added a sanity check to metadata string lengths.Mattes D1-2/+6
Fixes CID 66415.
2014-12-07Fixed c++11 branch issues.Mattes D1-1/+2
2014-11-23Compilation fixesTiger Wang1-2/+2
2014-09-28Compilation fixTiger Wang1-2/+1
2014-05-01ProtoProxy: Renamed PublicKey to CryptoKey.madmaxoft1-2/+2
2014-04-29Moved the rest of the Crypto objects into their own respective files.madmaxoft1-2/+2
2014-04-29Moved cPublicKey to its separate file in PolarSSL++.madmaxoft1-0/+1
2014-04-14ProtoProxy: Fixed weird gcc compilation errors.madmaxoft1-16/+22
2014-04-14ProtoProxy: Added 1.7.9 compatibility.madmaxoft1-0/+29
2014-04-04ProtoProxy: Fixed a few Clang and MSVC warnings.madmaxoft1-3/+7
2014-03-14Fixed a couple of unneeded returns in ProtoProxyTycho1-4/+0
2014-03-12Fixed comments an assertTycho1-2/+2
2014-03-10Fixed xofts issuesTycho1-1/+1
2014-03-10Fixed Issues in ProtoProxyTycho1-8/+8
2014-01-28ProtoProxy: Added encryption support.madmaxoft1-2/+19
2014-01-25ProtoProxy: Modified to use PolarSSL.madmaxoft1-31/+20
2014-01-24ProtoProxy: Fixed connection on *nix.madmaxoft1-1/+2
2014-01-19ProtoProxy: UpdateBlockEntity NBT is writtenTiger Wang1-1/+14
2014-01-17ProtoProxy: Compiles under Linux.madmaxoft1-24/+33
2014-01-17ProtoProxy: Fixed compilation in Windows and in Linux.madmaxoft1-8/+4
2014-01-15Fixed ProtoProxy compilation.madmaxoft1-4/+8
2014-01-13ProtoProxy: Fixed login kick packet direction.madmaxoft1-1/+1
2014-01-08ProtoProxy: Fixed favicon relaying.madmaxoft1-2/+2
The buffer was too small for the favicon; now it's dynamic.
2013-12-15ProtoProxy: Fixed description-changing to work with 1.7.4.madmaxoft1-2/+3
2013-12-05ProtoProxy: Fixed metadata parsing.madmaxoft1-9/+27
2013-11-10ProtoProxy: Added dblquotes.madmaxoft1-2/+2
2013-11-07ProtoProxy: Fixed SpawnMob packet.madmaxoft1-12/+13
2013-11-03ProtoProxy: Fixed the SpawnObjectVehicle packet.madmaxoft1-1/+13
2013-11-03ProtoProxy: Removed unused enums.madmaxoft1-109/+3
2013-11-03ProtoProxy: Fixed handling of incomplete packets.madmaxoft1-0/+2
2013-10-29ProtoProxy: Working 1.7 protocol.madmaxoft1-158/+156
Players can login, move around, dig blocks.
2013-10-29ProtoProxy: Updated the server-side packets to 1.7.madmaxoft1-171/+239
Forgotten a file in the previous commit.
2013-10-29ProtoProxy: The login part of the protocol is implemented.madmaxoft1-206/+195
2013-10-28ProtoProxy: Implemented 1.7.2 status request / response / ping.madmaxoft1-113/+265
2013-09-19ProtoProxy: Added handling for the Explosion packet.madmaxoft1-0/+45
This will help #129.
2013-09-19ProtoProxy: Removed the per-packet sleep from the DEBUG version.madmaxoft1-2/+9
It is now enabled by defining a macro, by default off.
2013-09-08ProtoProxy: Logs are saved to a Logs subfolder.madmaxoft1-1/+11
2013-09-08ProtoProxy: The MOTD is modified to indicate ProtoProxy presence.madmaxoft1-7/+34
2013-09-04ProtoProxy: Improved logging for fixed-point numbers.madmaxoft1-14/+26
"Absolute integers" and velocity are reported including their fractional part.
2013-08-30ProtoProxy: Log individual chunks in MapChunkBulk packet.madmaxoft1-3/+32
2013-08-30ProtoProxy: Next packet type is logged for client as well.madmaxoft1-2/+2
2013-08-30ProtoProxy: Uses cTimer for the timing information.madmaxoft1-3/+2
Previously used clock() is not suitable for the task, unfortunately it worked in MSVC.
2013-08-25Fixed ProtoProxy compilation, added client Kick handling.madmaxoft1-0/+17
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-0/+2
Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue
2013-07-31ProtoProxy: Tab completion logging lists the last item, toomadmaxoft1-0/+4
2013-07-31ProtoProxy: Added the tab completion packet parsingmadmaxoft1-0/+40
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-2551/+2551
2013-07-28ProtoProxy now properly waits for both sides to establish encryptionmadmaxoft1-12/+47
No more "End of stream" kicks in the client. Data sent while one connection is encrypted and the other is not is buffered and sent when the other link establishes encryption.
2013-07-081.6.2 protocol implemented, both in MCServer and in ProtoProxymadmaxoft@gmail.com1-0/+68
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1669 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-06ProtoProxy: moved into the Tools foldermadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1657 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05ProtoProxy: Updated to protocol 1.6.1 (#73)madmaxoft@gmail.com1-42/+79
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1648 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04ProtoProxy: Added PACKET_SPAWN_NAMED_ENTITY and PACKET_PLAYER_ANIMATION parsingmadmaxoft@gmail.com1-4/+68
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1552 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02ProtoProxy: Added logging for the window contents, item's metadata is saved to a separate filemadmaxoft@gmail.com1-13/+30
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1537 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-08ProtoProxy: Added server-ping parsingmadmaxoft@gmail.com1-2/+43
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1460 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05ProtoProxy: log PlayerPositionLook packet decoded datamadmaxoft@gmail.com1-2/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1260 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-28ProtoProxy: Now handles the ATTACH_ENTITY packet (0x27)madmaxoft@gmail.com1-0/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1115 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27ProtoProxy: Fixed 1.4.6 compatibility with vehicles, logging for entity metadata.madmaxoft@gmail.com1-15/+137
Also removed logging to console, it was slowing the program too much. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1108 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-26ProtoProxy: more 1.4.6 stuff, now the connection holds stable with the 1.4.6 client.madmaxoft@gmail.com1-0/+37
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1103 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-24ProtoProxy: updated to 1.4.6madmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1100 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-10ProtoProxy: Updated to protocol version 1.4.2madmaxoft@gmail.com1-5/+11
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1027 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13ProtoProxy: Fixed parsing of the PACKET_PLAYER_ABILITIES packet.madmaxoft@gmail.com1-5/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@955 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13ProtoProxy: Added the PACKET_ENTITY_ACTION packet handlingmadmaxoft@gmail.com1-0/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@954 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-11ProtoProxy: Added the PACKET_COLLECT_PICKUP packet handlingmadmaxoft@gmail.com1-0/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@949 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23ProtoProxy: added the PACKET_PLAYER_ABILITIES packet parsing for client-sidemadmaxoft@gmail.com1-0/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@873 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20ProtoProxy: moar packets! (can now sustain parsing while connected to vanilla server, most of the times)madmaxoft@gmail.com1-5/+130
git-svn-id: http://mc-server.googlecode.com/svn/trunk@866 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-19ProtoProxy: Added the PACKET_UPDATE_TILE_ENTITY packet handlingmadmaxoft@gmail.com1-0/+27
git-svn-id: http://mc-server.googlecode.com/svn/trunk@865 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-19ProtoProxy: added handling of several spawning packetsmadmaxoft@gmail.com1-0/+181
git-svn-id: http://mc-server.googlecode.com/svn/trunk@864 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-18ProtoProxy: Added the ENTITY-class packets handlingmadmaxoft@gmail.com1-22/+231
git-svn-id: http://mc-server.googlecode.com/svn/trunk@863 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-18ProtoProxy: Added the PACKET_MAP_CHUNK_BULK packet handlingmadmaxoft@gmail.com1-0/+30
git-svn-id: http://mc-server.googlecode.com/svn/trunk@862 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-18ProtoProxy: Added the PACKET_SET_EXPERIENCE packet handlingmadmaxoft@gmail.com1-0/+19
git-svn-id: http://mc-server.googlecode.com/svn/trunk@861 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-18ProtoProxy: added the CHANGE_GAME_STATE packet handlingmadmaxoft@gmail.com1-0/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@860 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-14ProtoProxy: added more packets, mostly windowing-relatedmadmaxoft@gmail.com1-43/+176
git-svn-id: http://mc-server.googlecode.com/svn/trunk@859 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-07ProtoProxy: fixed a few mis-interpreted packets, added block placement packet parsing. Added leftover dumping for unparsed data (should not happen, if so, parsing is probably wrong)madmaxoft@gmail.com1-2/+122
git-svn-id: http://mc-server.googlecode.com/svn/trunk@845 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-06ProtoProxy: Added blockchange packet parsingmadmaxoft@gmail.com1-0/+42
git-svn-id: http://mc-server.googlecode.com/svn/trunk@838 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-05ProtoProxy: Added about 10 new packet types parsedmadmaxoft@gmail.com1-14/+96
git-svn-id: http://mc-server.googlecode.com/svn/trunk@835 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-04ProtoProxy: Parsing some initial packets early in the conversationmadmaxoft@gmail.com1-30/+408
git-svn-id: http://mc-server.googlecode.com/svn/trunk@834 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-02Protocol proxy now decrypts the data (but doesn't understand the packets yet)madmaxoft@gmail.com1-16/+499
git-svn-id: http://mc-server.googlecode.com/svn/trunk@826 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-02ProtoProxy: Initial import of the protocol proxy project.madmaxoft@gmail.com1-0/+203
Currently it logs all communication, doesn't decode anything, doesn't decrypt. git-svn-id: http://mc-server.googlecode.com/svn/trunk@822 0a769ca7-a7f5-676a-18bf-c427514a06d6