Commit Graph

77 Commits

Author SHA1 Message Date
195945e4ca Fix server for 1.19.4 2023-04-05 18:06:29 +08:00
90501f1357 fix VarInt written bytes counting problem. And add some comments. 2023-04-01 09:58:28 +08:00
a8f9c4bee5 Write entire compressed packet at once (#236) 2023-04-01 09:57:16 +08:00
58163a8de3 fix VarInt and VarLong fuzz test error message format 2023-03-31 23:04:00 +08:00
dd67478593 Add Len method for VarInt and VarLong. 2023-03-31 13:13:17 +08:00
2e211573fb Write entire packet at once (#235)
Optimize `packWithoutCompression` function, close #234 .
2023-03-31 00:51:25 +08:00
fa83b762bf Add chat session 2023-01-01 13:17:07 +08:00
8445fb63cd fix server login for 1.19.3 2022-12-12 23:48:26 +08:00
7bece3bca9 BitSet improvement 2022-12-12 09:13:02 +08:00
06260e2b00 fix typo 2022-12-11 22:00:32 +08:00
55d12fc76f fix bot/msg (offline-only support) 2022-12-11 22:00:32 +08:00
fceaa33dc4 fix typo 2022-12-10 10:14:11 +08:00
595891b901 Add docs for Option and Opt 2022-12-06 13:23:57 +08:00
ea76e5a713 pk.Option improvement 2022-12-06 11:52:34 +08:00
55bf5eddbb Add pk.Option API 2022-12-06 02:14:38 +08:00
aadf28dde2 add Hash for Chat Header 2022-12-01 01:42:28 +08:00
55d79f791a 1.19.2 chat support 2022-11-30 18:50:10 +08:00
fad92fe364 format repo with "gofumpt" tool 2022-11-26 20:37:57 +08:00
7814e7b1ab update 1.19.2 bot, chat support 2022-11-26 15:58:31 +08:00
64667826d0 go fmt 2022-11-16 23:32:33 +08:00
d829c47731 PlayerList in game 2022-06-23 13:13:38 +08:00
d94993f34f better nbt error message & dimensioncodec decoder 2022-06-19 23:05:10 +08:00
0c9ea959a7 add unpack packet check to prevent panic 2022-05-28 14:23:00 +08:00
4cc7ed22b7 change pk.Ary API 2022-05-28 13:47:07 +08:00
4c2510565d pk.Ary and pk.Array using generic now 2022-03-20 01:17:25 +08:00
be3a834696 Command parse compound 2022-01-03 15:57:54 +08:00
70b0fbf1b7 Palette support 1 2021-12-17 18:45:06 +08:00
4e7db1e122 Fix bugs in packet.Packet.Pack() 2021-12-12 15:23:21 +08:00
b34044cff9 fix #132 2021-11-30 16:12:12 +08:00
11dd523542 Add buffer pool 2021-11-27 16:17:27 +08:00
ab63acbd7e New server framework, an example, and compressed packet fixed. 2021-11-27 15:25:55 +08:00
4d11e7913f BitSet support: no tested 2021-11-26 17:45:59 +08:00
d9853b25aa Changed the packet Ary error message 2021-11-11 16:12:49 -07:00
b367864c2b Changed packet address error meesage 2021-11-11 16:05:58 -07:00
d7091db5b3 NBT RawMessage fully support 2021-07-05 00:58:41 +08:00
d9b6a90afc Handle screen open/send content 2021-07-04 00:44:42 +08:00
7f0641a094 correct loginplugindata type 2021-06-19 16:02:43 +08:00
29ce46a244 Minor changes that don't matter 2021-05-24 13:08:06 +08:00
7d4f4db36a pk.NBT() support parameter optionalTagName 2021-05-24 12:49:48 +08:00
cfde0f6e79 Example for #101 2021-05-24 12:28:51 +08:00
4976a5e72d chunk example fix 2021-04-04 10:29:30 +08:00
0bd427af06 pk.NBT shouldn't panic: #98 2021-04-02 12:28:22 +08:00
c6255de745 pk.Ary support pointer of slice for WriteTo() #98 2021-04-02 09:29:51 +08:00
c4c4ebeda8 Add tests and examples for pk.Opt and pk.Tuple. 2021-04-02 01:16:43 +08:00
6a7ecbf7c6 Fix bugs with pk.Ary. Add tests and examples. 2021-04-02 00:30:45 +08:00
91e7ffa464 Fix #95 2021-03-14 13:35:09 +08:00
951bedbb13 Fix tests, changes pk.NBT api 2021-02-28 15:14:52 +08:00
918fffed1f Fix bug: Write pk.Boolean encode error 2021-02-27 20:19:32 +08:00
21207830c0 Fix over-read bug of go-mc/net packet 2021-02-27 01:15:44 +08:00
3da9321f59 Refactoring package go-mc/bot 2021-02-27 01:06:07 +08:00