TheMode
|
4ab35fbbc0
|
Remove magic value for pre-filled var ints
|
2021-05-11 03:10:18 +02:00 |
|
TheMode
|
d41a4dcf54
|
Reduce grouped packet buffer overhead
|
2021-05-10 11:16:17 +02:00 |
|
TheMode
|
96fe9f1063
|
Framed packet cleanup 4
|
2021-05-10 11:03:58 +02:00 |
|
TheMode
|
aaa012a975
|
Framed packet cleanup 3
|
2021-05-10 11:02:12 +02:00 |
|
TheMode
|
590b42c223
|
Framed packet cleanup 2
|
2021-05-10 07:00:16 +02:00 |
|
TheMode
|
b96386cee5
|
PacketUtils#writeFramedPacket cleanup
|
2021-05-10 05:47:14 +02:00 |
|
TheMode
|
165b7bced2
|
Only direct buffer should be used for IO
|
2021-05-08 22:45:57 +02:00 |
|
TheMode
|
f1e48b07b9
|
Reduce use of the pooled allocator
|
2021-05-08 00:52:46 +02:00 |
|
TheMode
|
f7bf7c1321
|
Merge pull request #204 from kezz/send-packets-to-audience
Add util method to send a packet to an audience
|
2021-04-11 15:29:04 +02:00 |
|
TheMode
|
e4f7a66046
|
Packet cache rename
|
2021-04-10 02:02:59 +02:00 |
|
Kieran Wallbanks
|
18608deefa
|
Add util method to send a packet to an audience
|
2021-03-30 15:54:56 +01:00 |
|
themode
|
1e817ee4b5
|
Use velocity native compression
|
2021-03-28 20:40:27 +02:00 |
|
themode
|
85d01e5009
|
Micro optimize packet header varint
|
2021-03-28 19:34:38 +02:00 |
|
TheMode
|
d73f87d545
|
Use default compression level
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-03-28 17:35:22 +02:00 |
|
themode
|
56a34f73d9
|
Improve/simplify packet memory allocation
|
2021-03-28 15:58:52 +02:00 |
|
Kieran Wallbanks
|
aa2d1f6397
|
Rename serializer and make static static
|
2021-03-26 17:34:39 +00:00 |
|
Kieran Wallbanks
|
8dc7328c76
|
Off-by-default component translation
|
2021-03-26 17:34:38 +00:00 |
|
Kieran Wallbanks
|
52ce8027f2
|
Simplify component translation
|
2021-03-26 17:34:38 +00:00 |
|
themode
|
0d7d7ef453
|
Cleanup comment
|
2021-03-26 16:43:25 +01:00 |
|
themode
|
cef7e3d591
|
Optimize packet writing & reduce allocation
|
2021-03-26 15:58:46 +01:00 |
|
themode
|
9c8c8c8bf8
|
WIP packet allocation improvement
|
2021-03-26 13:08:05 +01:00 |
|
themode
|
622f632989
|
Use heap buffer for short lived packets
|
2021-03-25 16:51:36 +01:00 |
|
themode
|
b3655ad82d
|
Small style cleanup
|
2021-03-25 16:05:10 +01:00 |
|
Eoghanmc22
|
0f5bb0e4f2
|
Changes to networking
|
2021-03-25 10:44:02 -04:00 |
|
themode
|
4c3215bf1b
|
Fix packet writing when compression is disabled
|
2021-03-22 19:37:16 +01:00 |
|
themode
|
01e56636da
|
Reduce the number of buffer copy
|
2021-03-22 14:31:38 +01:00 |
|
themode
|
126382f55d
|
Reduce memory allocation
|
2021-03-21 13:22:49 +01:00 |
|
themode
|
cd273b4d99
|
Use direct buffer for framed packets
|
2021-03-20 11:59:02 +01:00 |
|
themode
|
a9a0a672f0
|
Reduce deflater level, prevent race condition when releasing tick buffer
|
2021-03-20 10:20:45 +01:00 |
|
themode
|
999a815eba
|
Use ThreadLocal for deflater instead of dirty hack
|
2021-03-05 23:57:28 +01:00 |
|
themode
|
8334e100cf
|
Don't send packet to disconnected clients
|
2021-02-07 22:02:03 +01:00 |
|
Tyan
|
855c8af455
|
Added ExceptionManager for custom exception handling
|
2021-01-20 11:43:45 +01:00 |
|
themode
|
90006ac48d
|
Prevent compression from blocking the thread too much
|
2021-01-08 16:20:04 +01:00 |
|
themode
|
0faaea2c1b
|
Added option to disable the grouped packet feature
|
2021-01-02 15:44:50 +01:00 |
|
themode
|
3a988ddba1
|
Fixed block break particles and sound being played two times for the breaker
|
2020-12-14 06:06:28 +01:00 |
|
Felix Cravic
|
91a000ab31
|
heap buffers don't need to be released manually
|
2020-12-08 09:49:29 +01:00 |
|
Felix Cravic
|
fec23a9783
|
Improve grouped packet performance
|
2020-12-08 09:13:22 +01:00 |
|
Felix Cravic
|
e3f6b73241
|
NettyPlayerConnection.java#write and flush should return a ChannelFuture
|
2020-12-05 20:35:43 +01:00 |
|
Felix Cravic
|
635d6f9f95
|
Fixed EntityCreeper metadata
|
2020-12-02 20:35:09 +01:00 |
|
Felix Cravic
|
79a5f99358
|
A few internal comments
|
2020-11-26 01:38:08 +01:00 |
|
Felix Cravic
|
ae845e38ab
|
Small cleanup
|
2020-11-26 01:24:43 +01:00 |
|
Eoghanmc22
|
d056fceb8a
|
slightly improve performance and fix memory leak
|
2020-11-22 12:44:08 -05:00 |
|
Eoghanmc22
|
ee2e141673
|
implement pooled buffers
|
2020-11-20 12:16:45 -05:00 |
|
Eoghanmc22
|
9a64a0a409
|
Merge branch 'master' of https://github.com/Minestom/Minestom
Conflicts:
src/main/java/net/minestom/server/entity/Player.java
src/main/java/net/minestom/server/network/player/NettyPlayerConnection.java
src/main/java/net/minestom/server/utils/PacketUtils.java
|
2020-11-20 08:56:58 -05:00 |
|
themode
|
871cb993b4
|
Do not send packet to empty collection
|
2020-11-20 14:14:55 +01:00 |
|
themode
|
98fe83c605
|
Comments for PacketUtils
|
2020-11-20 14:05:22 +01:00 |
|
themode
|
075ff7600a
|
Added a whole new caching system for ChunkDataPacket and UpdateLightPacket
|
2020-11-20 11:14:15 +01:00 |
|
themode
|
02eab844a5
|
Fix logging when compression is disabled (not recommended)
|
2020-11-20 07:55:34 +01:00 |
|
themode
|
9f45cf11a3
|
Added todo to optimize buffer allocation
|
2020-11-20 05:50:52 +01:00 |
|
themode
|
4060f8d290
|
Added GroupedPacketHandler to prevent rewriting the same packet multiple times
|
2020-11-20 05:37:13 +01:00 |
|