summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-31removed unneccisary castTycho Bickerstaff1-1/+2
2013-12-31fixed warnings in bytebuffer.cppTycho Bickerstaff1-3/+3
2013-12-13Fixed threading issues affecting cProtocol172.madmaxoft1-0/+22
2013-12-04Hopefully fixed the sparc not being detectedAlexander Harkness1-1/+3
2013-11-29Fixed an off-by-one error in cByteBuffer.madmaxoft1-1/+1
Could have caused random protocol errors and maybe even crashes.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-24RCONClient: Initial implementation.madmaxoft1-0/+54
Fix #79.
2013-11-03cByteBuffer: Fixed GetUsedSpace() off-by-one error.madmaxoft1-1/+1
2013-10-31ByteBuffer: Writing a string doesn't modify it (missing const).madmaxoft1-1/+1
2013-10-28MC uses VarInts only up to 32-bits.madmaxoft1-9/+9
2013-10-28cByteBuffer: Added the VarInt and VarUTF8String type reading and writing.madmaxoft1-2/+128
This implements #296.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-661/+661
2012-12-27ProtoProxy: Fixed 1.4.6 compatibility with vehicles, logging for entity metadata.madmaxoft@gmail.com1-0/+5
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-11-22ByteBuffer: Fixed buffer overrun possibility.madmaxoft@gmail.com1-1/+3
http://forum.mc-server.org/showthread.php?tid=633&pid=5473#pid5473 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1063 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-22More ByteBuffer checks: Is it used from a single thread only?madmaxoft@gmail.com1-0/+69
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1062 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20Aggressive debug mode cByteBuffer validity checking.madmaxoft@gmail.com1-21/+88
Hopefully fixed the "BytesToEndOfBuffer" assert. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1057 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-10Fixed a bug introduced in rev 1023 (ThuGie's crash)madmaxoft@gmail.com1-4/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1029 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-07Hotfix for ThuGie's crash, with a sanity check in debug mode.madmaxoft1-1/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1023 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-25Fixed up a few valgrind warningsmadmaxoft@gmail.com1-1/+1
( http://forum.mc-server.org/showthread.php?tid=598&pid=5071#pid5071 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1010 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-06Fixed slot parsing in 1.2.5 causing weird behavior ( http://forum.mc-server.org/showthread.php?tid=551&pid=4413#pid4413 )madmaxoft@gmail.com1-0/+5
Also added some asserts into ByteBuffer so that this won't happen again. git-svn-id: http://mc-server.googlecode.com/svn/trunk@842 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-04Debugging in cByteBuffer::Write(); added the ReadAgain() method to allow ProtoProxy re-send the data it has parsed.madmaxoft@gmail.com1-0/+28
git-svn-id: http://mc-server.googlecode.com/svn/trunk@833 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-02Added writing support to cByteBuffer (will be used by ProtoProxy)madmaxoft@gmail.com1-3/+137
git-svn-id: http://mc-server.googlecode.com/svn/trunk@825 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-27Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com1-0/+14
This breaks plugin API! Plugins need to modify their hook functions to match those used in the Core plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@750 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-17Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )madmaxoft@gmail.com1-0/+324
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6