madmaxoft@gmail.com
8191ed3b93
More ByteBuffer checks: Is it used from a single thread only?
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1062 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-22 20:42:33 +00:00
madmaxoft@gmail.com
c96447007e
Aggressive debug mode cByteBuffer validity checking.
...
Hopefully fixed the "BytesToEndOfBuffer" assert.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1057 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-20 20:44:47 +00:00
madmaxoft@gmail.com
5e5b87a187
Debugging in cByteBuffer::Write(); added the ReadAgain() method to allow ProtoProxy re-send the data it has parsed.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@833 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-04 19:06:46 +00:00
madmaxoft@gmail.com
38efe73154
Added writing support to cByteBuffer (will be used by ProtoProxy)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@825 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-02 19:38:37 +00:00
madmaxoft@gmail.com
66f4c9e0c0
Cut out all packet handling to a separate cProtocol descendant
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-27 17:31:16 +00:00
madmaxoft@gmail.com
2691e8daed
Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.
...
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-18 09:56:28 +00:00
madmaxoft@gmail.com
70a4ca5bc1
Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-17 10:18:07 +00:00