MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.67k stars 402 forks source link

[BUG] Unable to join 1.21 server #2755

Closed theabab2333 closed 4 months ago

theabab2333 commented 4 months ago

Prerequisites

Minecraft Version

1.21

Console Client Version

20240703-271

Expected Behavior

Be able to join the server

Actual Behavior

Unable to enter the server and

Steps to Reproduce the bug

Set the version to 1.21 in the configuration to enter the server

Attach screenshot here (If applicable)

No response

Anythings that could help diagnosing the bug

Minecraft Console Client v1.20.4 - for MC 1.4.6 to 1.20.4 - Github.com/MCCTeam
GitHub build 271, built on 2024-07-03 from commit 2f9cf7b
[MCC] [ScriptScheduler] 已加载任务:
首次登录时触发: False
 登录时触发: False
 指定时刻触发: True
 指定时间间隔触发: True
 时刻触发配置: 14:00:00
 间隔触发配置: 53.4
 动作: send /hello
[MCC] [ScriptScheduler] 已加载任务:
首次登录时触发: False
 登录时触发: True
 指定时刻触发: False
 指定时间间隔触发: False
 时刻触发配置:
 间隔触发配置: 56
 动作: send /login pass
颜色测试:终端应该显示:[0123456789ABCDEF]: (4bit)[0123456789ABCDEF]
颜色测试:终端应该显示:[0123456789]: (vt100 8bit)[0123456789]
颜色测试:终端应该显示:[0123456789]: (vt100 24bit)[0123456789]
[SessionCache] 正在为文件D:\awa\Games\挂机\SessionCache.ini初始化FileSystemWatcher
加载Minecraft配置文件:launcher_profiles.json
从磁盘加载会话缓存:SessionCache.ini
已加载会话:zbk0580@126.com:eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQxNjkyMDU5MjIyNSIsImFnZyI6IkFkdWx0Iiwic3ViIjoiNzA5NTZiZTAtZWYwNS00YTM3LTliYWYtYzJlODExNWJlMGYyIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMDVjMDM5NTQtMDdhOC00NjExLThmZGMtN2I5ZDdkYTY5NGJiIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJlOWE1YjFhODJhNDA2MmIwYTIyNDk4YmFlOGQ3MDM0NCIsIm5iZiI6MTcyMDQyNjcyMCwiZXhwIjoxNzIwNTEzMTIwLCJpYXQiOjE3MjA0MjY3MjB9.eUeseyHedkJmypv7rXXupBADdDsm_JASHxoTZHzsWrE
已成功从磁盘中加载会话数据。
Access token expiration time is 2024/7/9 16:18:40
HuZT0pre_qwq的会话缓存仍然有效。
将会话缓存保存到磁盘
成功!(会话ID:eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQxNjkyMDU5MjIyNSIsImFnZyI6IkFkdWx0Iiwic3ViIjoiNzA5NTZiZTAtZWYwNS00YTM3LTliYWYtYzJlODExNWJlMGYyIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMDVjMDM5NTQtMDdhOC00NjExLThmZGMtN2I5ZDdkYTY5NGJiIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJlOWE1YjFhODJhNDA2MmIwYTIyNDk4YmFlOGQ3MDM0NCIsIm5iZiI6MTcyMDQyNjcyMCwiZXhwIjoxNzIwNTEzMTIwLCJpYXQiOjE3MjA0MjY3MjB9.eUeseyHedkJmypv7rXXupBADdDsm_JASHxoTZHzsWrE)
未知或不受支持的Minecraft版本1.21。 正在切换至自动检测模式。
正在获取服务器信息...
正在请求sessionserver.mojang.com
加载Minecraft配置文件:launcher_profiles.json
从磁盘加载会话缓存:SessionCache.ini
已加载会话:zbk0580@126.com:eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQxNjkyMDU5MjIyNSIsImFnZyI6IkFkdWx0Iiwic3ViIjoiNzA5NTZiZTAtZWYwNS00YTM3LTliYWYtYzJlODExNWJlMGYyIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMDVjMDM5NTQtMDdhOC00NjExLThmZGMtN2I5ZDdkYTY5NGJiIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJlOWE1YjFhODJhNDA2MmIwYTIyNDk4YmFlOGQ3MDM0NCIsIm5iZiI6MTcyMDQyNjcyMCwiZXhwIjoxNzIwNTEzMTIwLCJpYXQiOjE3MjA0MjY3MjB9.eUeseyHedkJmypv7rXXupBADdDsm_JASHxoTZHzsWrE
> POST /session/minecraft/join HTTP/1.1
> Host: sessionserver.mojang.com
> User-Agent: MCC/1.20.4
> Content-Type: application/json
> Content-Length: 737
> Connection: close
>
> {"accessToken":"eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQxNjkyMDU5MjIyNSIsImFnZyI6IkFkdWx0Iiwic3ViIjoiNzA5NTZiZTAtZWYwNS00YTM3LTliYWYtYzJlODExNWJlMGYyIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMDVjMDM5NTQtMDdhOC00NjExLThmZGMtN2I5ZDdkYTY5NGJiIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJlOWE1YjFhODJhNDA2MmIwYTIyNDk4YmFlOGQ3MDM0NCIsIm5iZiI6MTcyMDQyNjcyMCwiZXhwIjoxNzIwNTEzMTIwLCJpYXQiOjE3MjA0MjY3MjB9.eUeseyHedkJmypv7rXXupBADdDsm_JASHxoTZHzsWrE","selectedProfile":"05c0395407a846118fdc7b9d7da694bb","serverId":"2f83522e080b884269dd7f3fcf05d8f59e0ec16f"}
{"version":{"name":"Purpur 1.21","protocol":767},"enforcesSecureChat":true,"description":"A Minecraft Server","players":{"max":20,"online":2,"sample":[{"id":"c39819d6-d299-483f-986b-e9efe45ea220","name":"jiu_miaomiao"},{"id":"7321c4e4-948b-41f7-bb8f-7c0074524921","name":"X_cang"}]}}
服务器的Minecraft版本:Purpur 1.21 (协议v767)
[KeysCache] 正在为文件D:\awa\Games\挂机\ProfileKeyCache.ini初始化FileSystemWatcher
从磁盘加载聊天签名密钥缓存: ProfileKeyCache.ini
已加载签名密钥,下次刷新于 2024/7/10 1:52:39
已成功从磁盘中加载聊天签名密钥。
HuZT0pre_qwq的聊天签名密钥缓存仍然有效.
正在强制启动Forge支持。
[MCC] [自动重连] 已启动,尝试了3次重新连接
无法连接到服务器:不支持此版本!
服务器版本:

< HTTP/1.1 204 No Content
< Date: Tue, 09 Jul 2024 05:16:58 GMT
< Content-Type: application/json
< Connection: close
< x-minecraft-request-id: f317d94ffb729c95
< Cache-Control: no-store
< x-azure-ref: 20240709T051657Z-174798b5644kcd57sfea7g1f3s0000000720000000011fxw
< X-Cache: TCP_MISS
<
<
正在重启Minecraft Console Client...
[MCC] [ScriptScheduler] 已加载任务:
首次登录时触发: False
 登录时触发: False
 指定时刻触发: True
 指定时间间隔触发: True
 时刻触发配置: 14:00:00
 间隔触发配置: 53.4
 动作: send /hello
[MCC] [ScriptScheduler] 已加载任务:
首次登录时触发: False
 登录时触发: True
 指定时刻触发: False
 指定时间间隔触发: False
 时刻触发配置:
 间隔触发配置: 56
 动作: send /login pass
已从 MinecraftClient.ini 加载设置。
Access token expiration time is 2024/7/9 16:18:40
HuZT0pre_qwq的会话缓存仍然有效。
将会话缓存保存到磁盘
成功!(会话ID:eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQxNjkyMDU5MjIyNSIsImFnZyI6IkFkdWx0Iiwic3ViIjoiNzA5NTZiZTAtZWYwNS00YTM3LTliYWYtYzJlODExNWJlMGYyIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMDVjMDM5NTQtMDdhOC00NjExLThmZGMtN2I5ZDdkYTY5NGJiIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJlOWE1YjFhODJhNDA2MmIwYTIyNDk4YmFlOGQ3MDM0NCIsIm5iZiI6MTcyMDQyNjcyMCwiZXhwIjoxNzIwNTEzMTIwLCJpYXQiOjE3MjA0MjY3MjB9.eUeseyHedkJmypv7rXXupBADdDsm_JASHxoTZHzsWrE)
正在请求sessionserver.mojang.com
未知或不受支持的Minecraft版本1.21。 正在切换至自动检测模式。
正在获取服务器信息...
加载Minecraft配置文件:launcher_profiles.json
从磁盘加载会话缓存:SessionCache.ini
{"version":{"name":"Purpur 1.21","protocol":767},"enforcesSecureChat":true,"description":"A Minecraft Server","players":{"max":20,"online":2,"sample":[{"id":"7321c4e4-948b-41f7-bb8f-7c0074524921","name":"X_cang"},{"id":"c39819d6-d299-483f-986b-e9efe45ea220","name":"jiu_miaomiao"}]}}
已加载会话:zbk0580@126.com:eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQxNjkyMDU5MjIyNSIsImFnZyI6IkFkdWx0Iiwic3ViIjoiNzA5NTZiZTAtZWYwNS00YTM3LTliYWYtYzJlODExNWJlMGYyIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMDVjMDM5NTQtMDdhOC00NjExLThmZGMtN2I5ZDdkYTY5NGJiIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJlOWE1YjFhODJhNDA2MmIwYTIyNDk4YmFlOGQ3MDM0NCIsIm5iZiI6MTcyMDQyNjcyMCwiZXhwIjoxNzIwNTEzMTIwLCJpYXQiOjE3MjA0MjY3MjB9.eUeseyHedkJmypv7rXXupBADdDsm_JASHxoTZHzsWrE
服务器的Minecraft版本:Purpur 1.21 (协议v767)
[KeysCache] 正在为文件D:\awa\Games\挂机\ProfileKeyCache.ini初始化FileSystemWatcher
从磁盘加载聊天签名密钥缓存: ProfileKeyCache.ini
已加载签名密钥,下次刷新于 2024/7/10 1:52:39
已成功从磁盘中加载聊天签名密钥。
HuZT0pre_qwq的聊天签名密钥缓存仍然有效.
正在强制启动Forge支持。
[MCC] [自动重连] 已启动,尝试了3次重新连接
无法连接到服务器:不支持此版本!
服务器版本:
> POST /session/minecraft/join HTTP/1.1
> Host: sessionserver.mojang.com
> User-Agent: MCC/1.20.4
> Content-Type: application/json
> Content-Length: 737
> Connection: close
>
> {"accessToken":"eyJraWQiOiJhYzg0YSIsImFsZyI6IkhTMjU2In0.eyJ4dWlkIjoiMjUzNTQxNjkyMDU5MjIyNSIsImFnZyI6IkFkdWx0Iiwic3ViIjoiNzA5NTZiZTAtZWYwNS00YTM3LTliYWYtYzJlODExNWJlMGYyIiwiYXV0aCI6IlhCT1giLCJucyI6ImRlZmF1bHQiLCJyb2xlcyI6W10sImlzcyI6ImF1dGhlbnRpY2F0aW9uIiwiZmxhZ3MiOlsidHdvZmFjdG9yYXV0aCIsIm1zYW1pZ3JhdGlvbl9zdGFnZTQiLCJvcmRlcnNfMjAyMiIsIm11bHRpcGxheWVyIl0sInByb2ZpbGVzIjp7Im1jIjoiMDVjMDM5NTQtMDdhOC00NjExLThmZGMtN2I5ZDdkYTY5NGJiIn0sInBsYXRmb3JtIjoiVU5LTk9XTiIsInl1aWQiOiJlOWE1YjFhODJhNDA2MmIwYTIyNDk4YmFlOGQ3MDM0NCIsIm5iZiI6MTcyMDQyNjcyMCwiZXhwIjoxNzIwNTEzMTIwLCJpYXQiOjE3MjA0MjY3MjB9.eUeseyHedkJmypv7rXXupBADdDsm_JASHxoTZHzsWrE","selectedProfile":"05c0395407a846118fdc7b9d7da694bb","serverId":"2f83522e080b884269dd7f3fcf05d8f59e0ec16f"}

< HTTP/1.1 204 No Content
< Date: Tue, 09 Jul 2024 05:17:53 GMT
< Content-Type: application/json
< Connection: close
< x-minecraft-request-id: 54d92fe230532372
< Cache-Control: no-store
< x-azure-ref: 20240709T051752Z-174798b5644bnrhckuk1nq1g2n00000007ug00000000t49w
< X-Cache: TCP_MISS
<
<
>

Device

Desktop

Operating System

Windows

Server Address (If applicable)

geziwo.club

milutinke commented 4 months ago

The client does not implement 1.21 yet.

theabab2333 commented 4 months ago

The client does not implement 1.21 yet.

I see, I thought the latest version would support 1.21