Joining the packet sources
#10
I'm not planning on having that old protocol support forever. It's just a temporary measure for when there are two versions out in the public. Once there is a prevalent version of the protocol, the old one can be cut off (or left in if it's not too much of a trouble).

Also, most changes to the protocol don't include changes in the chunk block serialization (an exception being the change in chunk height and axis direction, but that happenned once). I don't plan on modifying the sent blockdata dependent on block support in the clients (such as replacing emerald block with stone for older clients), so once serialized, the block data will be used by all protocols.

The simplification will go only to the granularity of "metadata changed" event, no further. When in today's code you construct a cPacket-desendant instance you'de be sending a protocol command instead in the new version.

I even think the refactoring I'm proposing will make things faster, because packet objects won't have to be allocated (especially on the heap while queueing them), and copy-constructed, thus getting rid of two potential bottlenecks.
Reply
Thanks given by:


Messages In This Thread
Joining the packet sources - by xoft - 08-01-2012, 08:24 AM
RE: Joining the packet sources - by xoft - 08-08-2012, 10:42 PM
RE: Joining the packet sources - by xoft - 08-09-2012, 07:57 PM
RE: Joining the packet sources - by NiLSPACE - 08-09-2012, 08:09 PM
RE: Joining the packet sources - by xoft - 08-09-2012, 08:27 PM
RE: Joining the packet sources - by Luksor - 08-09-2012, 11:08 PM
RE: Joining the packet sources - by xoft - 08-10-2012, 12:01 AM
RE: Joining the packet sources - by xoft - 08-10-2012, 02:03 AM
RE: Joining the packet sources - by l0udPL - 08-11-2012, 05:29 AM
RE: Joining the packet sources - by xoft - 08-11-2012, 06:14 AM
RE: Joining the packet sources - by l0udPL - 08-11-2012, 06:32 AM
RE: Joining the packet sources - by xoft - 08-11-2012, 06:45 AM
RE: Joining the packet sources - by l0udPL - 08-11-2012, 07:10 AM
RE: Joining the packet sources - by FakeTruth - 08-14-2012, 10:15 PM
RE: Joining the packet sources - by xoft - 08-15-2012, 12:11 AM
RE: Joining the packet sources - by xoft - 08-16-2012, 05:54 AM
RE: Joining the packet sources - by xoft - 08-17-2012, 09:00 PM
RE: Joining the packet sources - by FakeTruth - 08-17-2012, 09:02 PM
RE: Joining the packet sources - by xoft - 08-17-2012, 10:10 PM
RE: Joining the packet sources - by xoft - 08-18-2012, 06:54 PM
RE: Joining the packet sources - by FakeTruth - 08-18-2012, 09:08 PM
RE: Joining the packet sources - by NiLSPACE - 08-18-2012, 08:06 PM
RE: Joining the packet sources - by xoft - 08-18-2012, 08:41 PM
RE: Joining the packet sources - by xoft - 08-18-2012, 09:38 PM
RE: Joining the packet sources - by FakeTruth - 08-18-2012, 09:53 PM
RE: Joining the packet sources - by xoft - 08-18-2012, 10:43 PM
RE: Joining the packet sources - by NiLSPACE - 08-24-2012, 10:40 PM
RE: Joining the packet sources - by FakeTruth - 08-24-2012, 11:27 PM
RE: Joining the packet sources - by xoft - 08-25-2012, 12:14 AM
RE: Joining the packet sources - by xoft - 08-26-2012, 07:49 AM
RE: Joining the packet sources - by FakeTruth - 08-26-2012, 08:04 AM
RE: Joining the packet sources - by xoft - 08-26-2012, 08:27 AM
RE: Joining the packet sources - by xoft - 08-27-2012, 07:05 AM
RE: Joining the packet sources - by NiLSPACE - 08-27-2012, 07:12 AM
RE: Joining the packet sources - by xoft - 08-27-2012, 07:16 AM
RE: Joining the packet sources - by NiLSPACE - 08-27-2012, 07:17 AM
RE: Joining the packet sources - by xoft - 08-29-2012, 08:05 AM
RE: Joining the packet sources - by FakeTruth - 08-30-2012, 12:20 AM
RE: Joining the packet sources - by xoft - 08-30-2012, 07:07 AM
RE: Joining the packet sources - by Taugeshtu - 08-30-2012, 08:04 PM
RE: Joining the packet sources - by xoft - 08-30-2012, 10:29 PM
RE: Joining the packet sources - by Taugeshtu - 08-30-2012, 10:33 PM
RE: Joining the packet sources - by xoft - 08-30-2012, 10:43 PM
RE: Joining the packet sources - by FakeTruth - 08-31-2012, 12:39 AM
RE: Joining the packet sources - by NiLSPACE - 09-24-2012, 03:02 AM
RE: Joining the packet sources - by xoft - 09-24-2012, 03:07 AM
RE: Joining the packet sources - by NiLSPACE - 09-24-2012, 03:10 AM
RE: Joining the packet sources - by FakeTruth - 09-24-2012, 03:41 AM
RE: Joining the packet sources - by xoft - 09-24-2012, 05:21 AM
RE: Joining the packet sources - by NiLSPACE - 11-10-2012, 06:21 AM
RE: Joining the packet sources - by FakeTruth - 11-10-2012, 07:37 AM
RE: Joining the packet sources - by Luksor - 11-10-2012, 07:41 AM
RE: Joining the packet sources - by FakeTruth - 11-10-2012, 08:47 AM
RE: Joining the packet sources - by NiLSPACE - 11-12-2012, 02:23 AM
RE: Joining the packet sources - by xoft - 11-12-2012, 02:25 AM
RE: Joining the packet sources - by NiLSPACE - 11-12-2012, 02:29 AM
RE: Joining the packet sources - by xoft - 11-12-2012, 03:46 AM
RE: Joining the packet sources - by NiLSPACE - 11-12-2012, 04:08 AM
RE: Joining the packet sources - by NiLSPACE - 10-26-2013, 11:46 PM
RE: Joining the packet sources - by xoft - 10-27-2013, 01:09 AM
RE: Joining the packet sources - by NiLSPACE - 12-15-2013, 10:33 PM
RE: Joining the packet sources - by xoft - 12-15-2013, 10:54 PM
RE: Joining the packet sources - by NiLSPACE - 12-15-2013, 11:26 PM
RE: Joining the packet sources - by tonibm19 - 12-15-2013, 11:29 PM
RE: Joining the packet sources - by NiLSPACE - 12-15-2013, 11:33 PM
RE: Joining the packet sources - by tigerw - 12-15-2013, 11:38 PM
RE: Joining the packet sources - by NiLSPACE - 12-15-2013, 11:50 PM
RE: Joining the packet sources - by xoft - 12-16-2013, 12:00 AM



Users browsing this thread: 3 Guest(s)