summaryrefslogtreecommitdiffstats
path: root/source/ByteBuffer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* RCONClient: Initial implementation.madmaxoft2013-11-241-0/+54
| | | | Fix #79.
* cByteBuffer: Fixed GetUsedSpace() off-by-one error.madmaxoft2013-11-031-1/+1
|
* ByteBuffer: Writing a string doesn't modify it (missing const).madmaxoft2013-10-311-1/+1
|
* MC uses VarInts only up to 32-bits.madmaxoft2013-10-281-9/+9
|
* cByteBuffer: Added the VarInt and VarUTF8String type reading and writing.madmaxoft2013-10-281-2/+128
| | | | This implements #296.
* Changed everyting to Unix line endings.Alexander Harkness2013-07-291-661/+661
|
* ProtoProxy: Fixed 1.4.6 compatibility with vehicles, logging for entity metadata.madmaxoft@gmail.com2012-12-271-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
* ByteBuffer: Fixed buffer overrun possibility.madmaxoft@gmail.com2012-11-221-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
* More ByteBuffer checks: Is it used from a single thread only?madmaxoft@gmail.com2012-11-221-0/+69
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1062 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Aggressive debug mode cByteBuffer validity checking.madmaxoft@gmail.com2012-11-201-21/+88
| | | | | | Hopefully fixed the "BytesToEndOfBuffer" assert. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1057 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed a bug introduced in rev 1023 (ThuGie's crash)madmaxoft@gmail.com2012-11-101-4/+7
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1029 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Hotfix for ThuGie's crash, with a sanity check in debug mode.madmaxoft2012-11-071-1/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1023 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed up a few valgrind warningsmadmaxoft@gmail.com2012-10-251-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
* Fixed slot parsing in 1.2.5 causing weird behavior ( http://forum.mc-server.org/showthread.php?tid=551&pid=4413#pid4413 )madmaxoft@gmail.com2012-09-061-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
* Debugging in cByteBuffer::Write(); added the ReadAgain() method to allow ProtoProxy re-send the data it has parsed.madmaxoft@gmail.com2012-09-041-0/+28
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@833 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added writing support to cByteBuffer (will be used by ProtoProxy)madmaxoft@gmail.com2012-09-021-3/+137
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@825 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Cut out all packet handling to a separate cProtocol descendantmadmaxoft@gmail.com2012-08-271-0/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com2012-08-181-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
* Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )madmaxoft@gmail.com2012-08-171-0/+324
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6