b602b7b3e0
example server. close #61
2020-06-30 23:35:11 +08:00
0c01e5a140
Merge pull request #60 from rain931215/patch-1
...
指定當傳送加入伺服器的請求至Mojang時的Content-Type標頭
2020-06-23 23:09:32 +08:00
3f8f85aa1d
指定當傳送加入伺服器的請求至Mojang時的Content-Type標頭
...
官方好像正常是要指定Content-Type( https://wiki.vg/Authentication#Request_format )
現在是不加沒關係
但如果Mojang修正的話可能會出錯
2020-06-23 17:26:48 +08:00
d0371163cd
document part 3: Chinese version
2020-05-24 14:47:05 +08:00
91db0ec40b
document part 2
2020-05-24 14:24:18 +08:00
100a73c2d8
document part 1
2020-05-24 13:10:16 +08:00
dade32116f
Simplified bit operation
2020-05-24 12:40:01 +08:00
cfd8d6b870
Merge pull request #57 from Tnze/patch-chunkdata
...
Rewrite chunk data decoder
2020-05-21 17:31:03 +08:00
2ae88b10f4
change API of Section from (x, y, z int) to (offset int)
2020-05-21 17:28:42 +08:00
2db43755f1
The paletteSection can auto increase its underlying directSection.
2020-05-21 17:07:18 +08:00
97dca98819
add unit test for paletteSection
2020-05-19 16:15:39 +08:00
39c9525525
add unit test for directSection
2020-05-19 14:41:01 +08:00
32527442ed
add SetBlock function
2020-05-19 14:15:44 +08:00
fa75535f37
add GetBlock function
2020-05-17 14:45:27 +08:00
eba832b424
rewrite chunk data decoder
2020-05-17 13:35:52 +08:00
ab9db15d0b
Merge pull request #54 from rain931215/master
...
攻擊時不需指定主手或副手
2020-05-02 18:24:05 +08:00
1d58589601
攻擊時不需指定主手或副手
...
參照https://wiki.vg/Protocol#Interact_Entity裡的
Hand為Only if Type is interact or interact at;
2020-05-02 17:03:07 +08:00
e3052668a3
Merge remote-tracking branch 'origin/master'
2020-05-01 10:44:36 +08:00
3257c81a27
expose control sequences function
2020-05-01 10:43:50 +08:00
c87bdc91be
Add unit test for invalid long VarInt
2020-04-26 13:06:42 +08:00
e6ca182ba1
Fixed VarInt and VarLong max size
...
Before VarInt could have had a size of 7 byte without generating errors (max should be 5).
>= 5 is because we start from 0 and i=5 is already in error.
For example if byte of VarInt are [255 255 255 255 255 255 1], at penultimate iteration, i will be 5 (start at 0) so there aren't errors and at the last the break bypass the sec&0x80 check.
Same for VarLong.
2020-04-25 18:06:37 +02:00
b509967247
Merge remote-tracking branch 'origin/master'
2020-04-12 14:59:46 +08:00
ebf1d5c2c2
Update languages file. Add two function to chat packet: Append and TranslateMsg
2020-04-12 14:58:44 +08:00
cf150c16fa
support marshal []int16, []float32, []float64 and []string. More work needed for #50
2020-04-08 16:02:01 +08:00
bcddc6698b
add marshal test for nbt library
2020-04-08 13:18:26 +08:00
73727eccb9
Better error message that helps issue #49 .
2020-04-04 17:06:15 +08:00
739761d434
update mcping README
2020-03-11 16:02:34 +08:00
c0f3f3f8d4
update go version
2020-03-06 10:32:36 +08:00
a908a03fcd
Use %w in file ingame.go and nbt package, then we can use errors.Is for compare
2020-03-04 12:37:43 +08:00
7defd6062c
fix nbt: unexpected TAG_End error, which trigger by picking up an item without NBT.
2020-03-04 12:00:19 +08:00
e10bb44716
fix nbt: unexpected TAG_End error, which trigger by picking up an item without NBT.
2020-03-04 11:53:16 +08:00
5740edd409
Merge pull request #39 from mcfx0/master
...
Fix wrong behavior when data covers two adjacent int64 in fillSection
2020-02-19 10:56:07 +08:00
478fd678c8
Fix wrong behavior when data covers two adjacent int64 in fillSection
2020-02-18 16:48:14 +08:00
72c389c86f
Support VarLong encode/decode
2020-01-29 13:57:57 +08:00
e5004ab9c9
Merge pull request #36 from Computeiful/Autofish
...
Updated autofish to respawn when killed
2020-01-29 11:21:12 +08:00
2270b25f0c
Merge pull request #35 from Computeiful/Sound-1.15.2
...
Update sound ids to work with 1.15.2
2020-01-28 14:06:52 +08:00
c251b48043
Updated autofish to respawn when killed
2020-01-28 02:43:59 +00:00
06b7779db5
Update sound ids to work with 1.15.2
2020-01-27 22:18:19 +00:00
c2677ae3c8
更新.gitignore
2020-01-25 16:13:12 +08:00
66e881dedd
删除编辑器的配置文件
2020-01-25 16:12:15 +08:00
4791ce6467
Merge pull request #34 from nugget/protocol-1.15.2
...
更新版本号至1.15.2
2020-01-23 10:22:14 +08:00
73219f5a10
更新README中游戏版本号
...
你漏了
2020-01-23 10:17:42 +08:00
beac876beb
更新版本号至1.15.2
...
Updates code to minecraft 1.15.2 (protocol 578)
2020-01-22 12:17:58 -06:00
4370b6c3cd
修复RCON库过于信任包Size字段的问题
2020-01-16 12:57:01 +08:00
8d4b2421f8
Merge pull request #33 from Sunbread/master
...
Correct behavior of method Client.Disconnect()
2020-01-16 12:33:11 +08:00
a8798ce9fb
Correct behavior of method Client.Disconnect()
2020-01-14 17:19:12 +08:00
3041792dac
nbt: fix TagLongArray error message
2020-01-05 01:40:14 +08:00
7818d3a0fc
Merge branch 'Sunbread-master'
2020-01-05 01:23:00 +08:00
9245a6b9ff
yggdrasil支持代理的方式仍需考虑
2020-01-05 01:22:33 +08:00
72b1820826
用更简单的方式为bot包支持代理
2020-01-05 01:14:38 +08:00