summaryrefslogtreecommitdiffstats
path: root/source/ByteBuffer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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