Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

[BUG] Crash on input command

Open RainC7 opened this issue 1 year ago • 4 comments

Prerequisites

  • [X] I made sure I am running the latest development build
  • [X] I tried to look for similar issues before opening a new one
  • [X] I have set debugmessages=true in config to diagnose my issue
  • [X] I have redacted session tokens and passwords before attaching screenshots

Minecraft Version

1.20.2

Console Client Version

GitHub build 245, built on 2024-01-30 from commit 1e60b61

Expected Behavior

The script executes normally and receives information feedback from the server.

Actual Behavior

MCC prompts the command to be sent, but the actual command is not sent.

Steps to Reproduce the bug

  1. Start MCC
  2. Script auto-execution
  3. MCC lost connection

Attach screenshot here (If applicable)

No response

Anythings that could help diagnosing the bug

[MCC] 该版本受到支持
正在登录...
[MCC] 服务器正处于离线模式。
[MCC] 已成功加入服务器。
输入 '/quit' 离开服务器。
[DEBUG] Receive JoinGame
[DEBUG] CanSendMessage = True
▌[+] xxxxxx
[DEBUG] Receive ChatUuid = Empty
[DEBUG] Receive DeclareCommands
[DEBUG] CanSendMessage = True
[DEBUG] Receive DeclareCommands
[DEBUG] CanSendMessage = True
[MCC] [ScriptScheduler] 登录 / 运行中的操作:script auto.txt
[DEBUG] chat command = l xxxxxx▌
[MCC] [脚本] send /l xxxxxx▌
登陆成功, 祝旅途顺利.
[DEBUG] chat command = home new
[MCC] [脚本] send /home new
[DEBUG] chat command = home new
[DEBUG] chat command = signin click
[MCC] [脚本] send /signin click
[DEBUG] chat command = home new
[MCC] 失去连接。

The script didn't work at all.

Minecraft Console Client v1.20.2 - for MC 1.4.6 to 1.20.2 - Github.com/MCCTeam
GitHub build 245, built on 2024-01-30 from commit 1e60b61
[MCC] [ScriptScheduler] 已加载任务:
首次登录时触发: False
 登录时触发: True
 指定时刻触发: False
 指定时间间隔触发: False
 时刻触发配置: 14:00:00
 间隔触发配置: 48
 动作: script auto.txt

auto.txt

wait 2
send /l xxxxxx
wait 40
send /home new
wait 80
send /signin click
wait 60

Device

VPS

Operating System

Linux

Server Address (If applicable)

No response

RainC7 avatar Feb 03 '24 01:02 RainC7

After testing, in 1.20.2, entering any command will cause a crash

RainC7 avatar Feb 03 '24 13:02 RainC7

I can no reproduce this. Provide the IP and the Server Software name.

milutinke avatar Feb 03 '24 17:02 milutinke

Velocity + Paper 1.20.4 with ViaVersion plugin The server IP has a whitelist and I cannot disclose it From Server Admin: ccc617692dc1bdcd9ff87591f69fe4f2

RainC7 avatar Feb 04 '24 02:02 RainC7

Velocity + Paper 1.20.4 with ViaVersion plugin The server IP has a whitelist and I cannot disclose it From Server Admin: ccc617692dc1bdcd9ff87591f69fe4f2

Add the -Dvelocity.packet-decode-logging=true to your server start command, so we can see which packet is in question, and attach the screenshot of the log.

milutinke avatar Feb 04 '24 10:02 milutinke