ProfMobius
a732947920
Loaded chunks sending is now splitted in 500 chunks packets to prevent overloading the 250.
...
A "clear array" is sent prior to the data and data is cumulativly added to the array.
2014-03-31 11:12:35 +02:00
ProfMobius
d08540ace3
Added a more generic way of setting up profilers (for WorldTick for now).
2014-03-31 01:06:46 +02:00
ProfMobius
32cfa4800e
Done moving all the message handlers to their proper place.
...
ChunkManager is now a singleton instead of a collection of statics.
2014-03-27 20:54:25 +01:00
ProfMobius
96db5c338f
Moved all the data packets data to the top class, renamed everything.
...
Put the dispatcher in the main code and started adding Messages.
2014-03-27 04:11:51 +01:00
ProfMobius
11e8203065
Loaded chunks are now sent as a msg in form of ArrayList of CoordinatesChunk with metadata 0 or 1.
...
Overlay updates are now sent on a timer and not by ticks (5s timer).
2014-03-25 19:09:56 +01:00
ProfMobius
d8dc1af510
CoordinatesChunk can now use some metadata for various purposes (right now, will be used for ChunkLoaded/Forced).
...
Finer profiling of the worldTick. Will be reworked later.
Packets with a size > 32000 are dropped before being sent and print an error to the server console.
2014-03-25 18:39:46 +01:00
ProfMobius
dcbc5e2f59
Refactoring of client side packet handling.
...
It is using the same enum and same generic design as the server side.
2014-03-25 15:31:45 +01:00