Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 1.20 Fabric 多人模式无法转换为图片 #24

Closed
oldkingOK opened this issue Jan 9, 2024 · 6 comments
Closed

[Bug] 1.20 Fabric 多人模式无法转换为图片 #24

oldkingOK opened this issue Jan 9, 2024 · 6 comments
Assignees

Comments

@oldkingOK
Copy link

oldkingOK commented Jan 9, 2024

Bug 描述

单人模式可以展示图片,但是多人模式无法将链接转换成图片

复现问题的步骤

1. 下载游戏:
- 1.20
- Fabric 0.15.3
- Fabric API 0.83.0+1.20
2. 下载mod
https://github.com/kitUIN/ChatImage/releases/tag/1.1.12
ChatImage-1.1.12+1.20+fabric.jar
3. 打开单人模式
输入并发送链接 [[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]
——图片可正常展示
4. 连接任意服务器
输入并发送链接 [[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]
——只显示白色文字,且鼠标移到上面时无法查看图片

日志记录

in-server.log
in-single-player.log

模组加载器

Fabric

我的世界版本

1.20

Mod版本

1.1.12

电脑系统|JAVA版本

版本 Windows 11 专业版
版本 23H2
操作系统版本 22635.2921
体验 Windows Feature Experience Pack 1000.22684.1000.0

openjdk 17.0.8.1 2023-08-24 LTS
OpenJDK Runtime Environment Microsoft-8297089 (build 17.0.8.1+1-LTS)
OpenJDK 64-Bit Server VM Microsoft-8297089 (build 17.0.8.1+1-LTS, mixed mode)

截图

image
image

备注

No response

@kitUIN
Copy link
Owner

kitUIN commented Jan 10, 2024

在你的服务器日志中并没有任何有用信息,该模组的显示图片仅作用于客户端,服务器端仅作为传输本地图片使用

已测试,在我的服务器中,使用

[[CICode,url=https://c2cpicdw.qpic.cn/offpic_new/0/123-0-1C173618A5697A6ACED5233491AA95
C0/0?term=2.gif,name=Image]]

未发现问题
image

@kitUIN
Copy link
Owner

kitUIN commented Jan 10, 2024

也许是由其他因素造成的

即便是服务端未安装也不影响使用

可以尝试用命令chatimage来查看模组是否正常加载,正常加载的话应该会出现自动补全,如下图

image

@oldkingOK
Copy link
Author

你好,感谢回复

可以尝试用命令chatimage来查看模组是否正常加载,正常加载的话应该会出现自动补全

确认mod已加载,chatimage命令会出现自动补全

Pasted image 20240110193716

我让朋友也测试了这个mod,他也遇到同样情况

你使用的fabric以及fabric-api版本是什么,以及方便上传一下你使用的mod.jar吗,我想进行更多尝试

@kitUIN

This comment was marked as off-topic.

@oldkingOK

This comment was marked as off-topic.

kitUIN added a commit that referenced this issue Jan 12, 2024
@kitUIN
Copy link
Owner

kitUIN commented Jan 16, 2024

https://github.com/kitUIN/ChatImage/releases/tag/1.1.13

@kitUIN kitUIN closed this as completed Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants