Code Monkey home page Code Monkey logo

chatimage's Introduction

您好👋

一只摸鱼的鸽子,偶尔去海滩偷吃薯条~咕咕咕

有事情请发邮件

counter

Top Langs

statu

willianrod's wakatime stats

wakatime

Lines of code

Timeline

Lines of Code chart

Last Updated on 2024-05-16 01:36:04 UTC

chatimage's People

Contributors

evanhsieh0415 avatar kituin avatar lgc2333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chatimage's Issues

[Bug] 与allmusic mod的okhttp3库冲突

Bug 描述

我在我的1.18.2服务器使用此mod,将其与allmusic mod一起启动后发生冲突

复现问题的步骤

1:启动服务器
2:服务器启动后加载allmusic
3:报错后自动关服

日志记录

:[22:24:21] [Server thread/INFO]: Done (6.359s)! For help, type "help"
[22:24:21] [Server thread/INFO]: §d[AllMusic]§e正在初始化网络爬虫
[22:24:22] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NoSuchFieldError: okio/Options.Companion
at okhttp3.internal.Util.(Util.kt:70) ~[com_squareup_okhttp3_okhttp-4.10.0-f0ad7a2a4fa6af51.jar:?]
at okhttp3.internal.concurrent.TaskRunner.(TaskRunner.kt:309) ~[com_squareup_okhttp3_okhttp-4.10.0-f0ad7a2a4fa6af51.jar:?]
at okhttp3.ConnectionPool.(ConnectionPool.kt:41) ~[com_squareup_okhttp3_okhttp-4.10.0-f0ad7a2a4fa6af51.jar:?]
at okhttp3.ConnectionPool.(ConnectionPool.kt:47) ~[com_squareup_okhttp3_okhttp-4.10.0-f0ad7a2a4fa6af51.jar:?]
at okhttp3.OkHttpClient$Builder.(OkHttpClient.kt:471) ~[com_squareup_okhttp3_okhttp-4.10.0-f0ad7a2a4fa6af51.jar:?]
at coloryr.allmusic.core.music.api.HttpClientUtil.init(HttpClientUtil.java:30) ~[%5BFabric1.18.2%5DAllMusic_Server-2.19.4.jar:?]
at coloryr.allmusic.core.music.api.APIMain.(APIMain.java:34) ~[%5BFabric1.18.2%5DAllMusic_Server-2.19.4.jar:?]
at coloryr.allmusic.core.AllMusic.start(AllMusic.java:337) ~[%5BFabric1.18.2%5DAllMusic_Server-2.19.4.jar:?]
at coloryr.allmusic.AllMusicFabric.lambda$onInitialize$1(AllMusicFabric.java:45) ~[%5BFabric1.18.2%5DAllMusic_Server-2.19.4.jar:?]
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$2(ServerLifecycleEvents.java:49) ~[fabric-lifecycle-events-v1-2.1.1+cc71601c60-9ad41f25ee9ba96b.jar:?]
at net.minecraft.server.MinecraftServer.handler$zod000$fabric-lifecycle-events-v1$afterSetupServer(MinecraftServer.java:5312) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:676) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:889) [?:?]
[22:24:22] [Server thread/ERROR]: This crash report has been saved to: D:\server.\crash-reports\crash-2024-01-26_22.24.22-server.txt
[22:24:22] [Server thread/INFO]: §d[AllMusic]§2§e已停止,感谢使用

模组加载器

Fabric

我的世界版本

1.18.x

Mod版本

ChatImage-1.1.5+1.18.2+fabric

电脑系统|JAVA版本

Windows 11 10.0.22621.2861
java:java version "20" 2023-03-21
Java(TM) SE Runtime Environment (build 20+36-2344)
Java HotSpot(TM) 64-Bit Server VM (build 20+36-2344, mixed mode, sharing)

服务器版本

fabric-server-mc.1.18.2-loader.0.15.6-launcher.1.0.0.jar

截图

No response

备注

No response

[新请求] 添加1.16.5forge版本

Bug 描述

如题,希望能添加对1.16.5forge的支持!!!谢谢!!!

复现问题的步骤

日志记录

不需要日志

Mod版本

不需要填写这里

电脑系统|JAVA版本

java1.8.0_281

截图

No response

备注

No response

Command doesn't work on server

Forge 1.19.2 43.2.21

ChatImage 1.1.6

Installed on both Client and Server

If I play single player there will be /chatimage command but when I join server there is no /chatimage command

[Bug]

Bug 描述

2024-04-10_11 59 59

复现问题的步骤

Q群发送图片,客户端有几率会如图所示。我也不清楚是不是您的mod出现的bug但我这很多人都有这种情况)。我是自己写的velocity插件,直接转发Q群的消息链。

日志记录

2024-04-10-3.log.gz

模组加载器

Fabric

我的世界版本

1.20.1

Mod版本

ChatImage-1.2.3+1.20.1+fabric

电脑系统|JAVA版本

zulu_17

服务器版本

No response

截图

No response

备注

No response

[Bug] 在1.20.1客户端使用Mod时接收比较多的图片消息会导致材质出错

Bug 描述

在1.20.1客户端使用Mod时接收比较多的图片消息会导致材质出错
貌似Fabric和forge都有这个情况
NR9NP1W6FJ675)218T1(IDY_tmb
7Q2KTVZODW)8LWW495G@`5
7~OV_ 1L(10D3%8@UEIGK 4

复现问题的步骤

1.进入服务器
2.服务器同步QQ群消息 并使用[[CICode,url=]]方式同步给玩家群消息的图片
3.长时间游玩服务器后会突然材质包错误或字体乱码(可能是由于接收图片过多导致的问题?)
4.有时候重载材质包可以解决,也有时候需要重启客户端
目前有两个猜测,一个是BUG、一个是接收图片多了会这样(?)

日志记录

2024-03-03-2.log

模组加载器

Fabric

我的世界版本

1.20.1

Mod版本

ChatImage-1.2.0+1.20.1+fabric

电脑系统|JAVA版本

Windows、Java17

服务器版本

No response

截图

No response

备注

No response

[Bug] 在如果服务端装有NoChatReports,则客户端发送的CICode等指令无法正常渲染为图片。

Bug 描述

在如果服务端装有NoChatReports,则客户端发送的CICode等指令无法正常渲染为图片。

复现问题的步骤

在如果服务端装有NoChatReports,则客户端发送的CICode等指令无法正常渲染为图片。

日志记录

1

模组加载器

Fabric

我的世界版本

1.20.2

Mod版本

1.2.3 fabric 1.20.4

电脑系统|JAVA版本

java21

服务器版本

No response

截图

No response

备注

No response

[Bug] 花屏

Bug 描述

2024-04-10_11 59 59

复现问题的步骤

Q群发送图片,客户端有几率会如图所示。我也不清楚是不是您的mod出现的bug但我这很多人都有这种情况)。我是自己写的velocity插件,直接转发Q群的消息链。

日志记录

2024-04-10-3.log.gz

模组加载器

Fabric

我的世界版本

1.20.1

Mod版本

ChatImage-1.2.3+1.20.1+fabric

电脑系统|JAVA版本

zulu_17

服务器版本

No response

截图

No response

备注

No response

[Bug] 该模组导致部分原始JSON文本异常

Bug 描述

forge 1.19.4,模组版本1.1.5
在聊天栏中使用部分原始JSON文本时,某些元素会在聊天消息的最后被重复,卸载这个模组是不会发生这种情况。

复现问题的步骤

1. 安装模组,载入一个世界
2. 放置一个结构方块,调到数据模式,在里面输入"消息"
3. 站在结构方块上运行命令/tellraw @a [{"color":"#ffffff","text":"[SERVER] "},{"nbt":"metadata","block":"~ ~-1 ~","interpret":true}]
4. 得到的聊天消息是[SERVER] 消息消息

5. 卸载模组时得到的聊天消息是[SERVER] 消息

日志记录

latestlog.txt

Mod版本

mod1.1.5
mc1.19.4
forge45.0.43

电脑系统|JAVA版本

android12/pojav9939093/pojav专用java17.0.7

截图

Screenshot_20230415-140152_PojavLauncher (Minecraft Java Edition for Android)
Screenshot_20230415-140316_PojavLauncher (Minecraft Java Edition for Android)
Screenshot_20230415-140406_PojavLauncher (Minecraft Java Edition for Android)
Screenshot_20230415-140420_PojavLauncher (Minecraft Java Edition for Android)

备注

No response

[Bug] 1.16.5 Forge图片发送存在缺陷

Bug 描述

已使用最新版

问题①:发送本地文件时,如果文件名为纯英文gif则发送后以文本显示cicode全内容,不显示图片,暂不知url图片和其他格式是否有此问题
问题②:发送一个新的未在服务器缓存的gif时,会与服务器断开连接,显示:
Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException:
Payload may not be larger than 32767 bytes

复现问题的步骤

*问题发生在整合包上,未在单mod端上尝试*

整合包客户端地址:https://www.123pan.com/s/LyQUjv-wVLN.html
整合包服务端地址:https://www.123pan.com/s/LyQUjv-gVLN.html
*注:这是直接打包的versions文件夹下的版本,不要用启动器安装,没用,全部解压放versions下面开版本隔离就行*
*服务端解压后,点击start.bat即可开服*

1、开一个该整合包的服务器
2、启动客户端,连接进服务器
3.1、发送纯英文名的gif,你会看到纯CIcode文本,而不是图片
3.2、发送一个中文名gif,与服务器断开连接,payload不可大于32767bytes

日志记录

latest - client.log
latest - server.log

模组加载器

Forge

我的世界版本

1.16.x

Mod版本

最新版

电脑系统|JAVA版本

Windows 10 专业工作站版
Azul zulu 8u282

服务器版本

forge-1.16.5-36.2.41

截图

截图可能不能提供太大帮助,描述中已经详细解释

备注

[Bug] 服务器无法正常使用

Bug 描述

无法发送图片,在游戏中只能显示出对应的代码。可以确定服务器以及客户端都安装了相同版本的该模组。但是在单人游戏当中可以发出图片。

复现问题的步骤

1.进入一个安装了该模组的服务器,拖入图片,可以看到显示出了代码,但发送出去之后仍然是代码
2打开一个单人存档,拖入图片,可以正常使用

日志记录

latest.log

Mod版本

1.1.7+1.20.1+0.14.22

电脑系统|JAVA版本

win11 17.0.3

截图

图片
上面是单机情况下,下面是服务器中的情况
图片

备注

No response

[Bug] 在服务器上使用导致玩家掉线

Bug 描述

多名玩家在服务器上 其中一名玩家直接拉取本地图片到聊天窗口发送 之后其他玩家一起掉线

复现问题的步骤

1.开启一个服务端
2.连接多名玩家
3.其中一个玩家直接发送本地图片

日志记录

暂无

Mod版本

mod版本1.1.6 mc 版本1.19.2 forge版本 43.2.13

电脑系统|JAVA版本

java17

截图

No response

备注

No response

[Feature request] 请求兼容gocqhttp转发的图片

我使用的是Chatbridge实现qq和mc的消息互通
gocqhttp转发到游戏内大概长这样:
[CQ:image,file=6decc70d3a5e03ffa1aca403934fe0da.image,subType=1,url=https://gchat.qpic.cn/gchatpic_new/437687850/726315307-2800984320-6DECC70D3A5E03FFA1ACA403934FE0DA/0?term=2&is_origin=0]
url= 后边即为图片地址

[Bug] 1.18.2 forge 服务器不安装该模组无法进入

Bug 描述

1.18.2 forge 服务器不安装该模组无法进入

复现问题的步骤

安装模组
进入服务器

日志记录

模组加载器

Forge

我的世界版本

1.18.x

Mod版本

1.1.13

电脑系统|JAVA版本

jdk17

服务器版本

forge 1.18.2

截图

d7928cb5f9cc793b1ce6bf467cc1774e

备注

No response

[Bug] 使用TextComponent或Rcon发送消息会出现literal([图片])

Bug 描述

在使用Spigot使用TextComponent构建消息或在Rcon发送命令展示图片时,会出现 literal([Image])

  • 这并不影响正常展示图片
  • 且如果我手动输入 [[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]] 也不会显示literal([Image]),而是正确地显示[Image]
# 构建Component
msgComponent.setText("[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]");

# rcon命令
/tellraw @a ["","[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]"]

复现问题的步骤

# 构建Component
msgComponent.setText("[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]");

# rcon命令
/tellraw @a ["","[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]"]

日志记录

无需日志

模组加载器

Forge

我的世界版本

1.20.1

Mod版本

1.1.12
(个人认为理论上所有版本都会这样)

电脑系统|JAVA版本

openjdk-17

截图

image

备注

No response

[Bug] Server pc

Bug 描述

Can't use command on server

复现问题的步骤

Command doesn't work on Server

1.18.2 Forge

日志记录

WindowsTerminal_mani61iQG3

模组加载器

Forge

我的世界版本

1.18.x

Mod版本

1.1.10

电脑系统|JAVA版本

JAVA 17

截图

No response

备注

No response

[Bug] [Fabric 1.20.1] ChatImage not working on server

The mod works fine in single-player, but on a Fabric 0.14.24 server, it does not. The commands work fine for formatting the command but all that appears in the chat is the CI code.

The server and client have the same version of the mod installed: 1.1.12+1.20.1+fabric.

Does this mod require any additional ports to be open (other than 25565udp/tcp)?

[Bug] Fabric 1.20.2 网络图片无法加载

Bug 描述

网络图片无法加载

复现问题的步骤

发送 `[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]`

日志记录

[22:26:17] [OkHttp Dispatcher/ERROR] (FabricLoader) Uncaught exception in thread "OkHttp Dispatcher"
 java.lang.ArrayIndexOutOfBoundsException: arraycopy: last source index 4 out of bounds for byte[0]
	at java.lang.System.arraycopy(Native Method) ~[?:?]
	at com.github.chatimagecode.ChatImageHandler.getPicType(ChatImageHandler.java:138) ~[ChatImageCode-0.5.0.jar:?]
	at com.github.chatimagecode.ChatImageHandler.loadFile(ChatImageHandler.java:96) ~[ChatImageCode-0.5.0.jar:?]
	at com.github.chatimagecode.ChatImageHandler.loadFile(ChatImageHandler.java:117) ~[ChatImageCode-0.5.0.jar:?]
	at com.github.chatimagecode.ChatImageHttpHandler$1.onResponse(ChatImageHttpHandler.java:45) ~[ChatImageCode-0.5.0.jar:?]
	at okhttp3.RealCall$AsyncCall.execute(RealCall.java:174) ~[ChatImageCode-0.5.0.jar:?]
	at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[ChatImageCode-0.5.0.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]

模组加载器

Fabric

我的世界版本

1.20.x

Mod版本

1.1.11+1.20.2+fabric

电脑系统|JAVA版本

Win11,java 17

截图

No response

备注

No response

[Bug] Crash Fabric 1.20.1

Bug 描述

Crash when used command:
2023-06-24_02 10 23

复现问题的步骤

1. Install modpack: https://legacy.curseforge.com/minecraft/modpacks/simplymc/files/4606168
2. Use /chatimage url command
3. Press enter then crash

日志记录

latest.log

Mod版本

ChatImage-1.1.6+1.20.1+fabric.jar

电脑系统|JAVA版本

java 17
windows 10

截图

crash-2023-06-24_01.57.12-client.txt
Description: keyPressed event handler

java.lang.NoClassDefFoundError: okio/Buffer

备注

No response

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

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

[Bug] 发送超过32767字节的图片会被踢出

Bug 描述

在其他人开放的局域网游戏(可能也包括vanilla服务器)发送超过32767字节(约32KB)的图片会被踢出,即使服务器并没有安装ChatImage

复现问题的步骤

1. 进入服务器
2. 发送超过33KB的图片

日志记录

latest.log

模组加载器

Fabric

我的世界版本

1.20.4

Mod版本

1.2.3+1.20.4+fabric

电脑系统|JAVA版本

Windows 11
Zulu 21

服务器版本

vanilla 1.20.4(内置服务端)

截图

image

备注

在单人游戏或自己开启的局域网游戏不受此限制

在 Bukkit 服务器上也没有问题

Release 1.1.9 for Minecraft 1.19.x FORGE is not uploaded on neither CurseForge or Modrinth

When I saw that there was a 1.1.9 for 1.19.2 on Fabric I went looking for the Forge Version, sadly I couldn't find in neither CurseForge or Modrinth, only the 1.1.8

image

image

but here on GitHub releases we have the 1.1.9 for said version, did you forget to upload the 1.19 version on the websites?

image

Please fix if that's the reason, I want to update the mod on my modpack on CF and the application (CurseForge Launcher) needs the file be uploaded onto CF to be considered a valid version.

Side Note:

On CurseForge the latest file name for 1.19 is indeed 1.1.8
image

but on Modrinth...
image

Maybe you uploaded the wrong file onto CurseForge? or something? please check! ❤🥰

1.20.2Fabric

McBot马上就要更新到1.20.2Fabric的版本了,请问聊天图片能跟进更新吗

[Bug - 1.19.2] Incompatible with "ITLT" (It's the little things)

Bug 描述

Unable to launch the game when using ChatImage + It's the Little things because both export the same package...

复现问题的步骤

1. Install Minecraft + Forge 43.2.23
2. Install ChatImage 1.1.6
3. Install ITLT (It's the little things) 2.2.0 
4. Try to Launch the Game
5. Exception caught from launcher (check below for the logs)

日志记录

Exception caught from launcher
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:58)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)
Caused by: java.lang.module.ResolutionException: Modules itlt and chatimage export package net.sf.image4j.util to module forge
	at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901)
	at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:815)
	at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:736)
	at java.base/java.lang.module.Resolver.finish(Resolver.java:380)
	at java.base/java.lang.module.Configuration.<init>(Configuration.java:140)
	at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:494)

Mod版本

ChatImage 1.1.6 - Minecraft 1.19.2

电脑系统|JAVA版本

Windows 10 + JAVA 17

image

image

image

截图

image

备注

Maybe this or this could help?

[Feat] 支持原始 json 文本

目前该模组使用原始 json 文本
hoverEvent":{"action":"show_chatimage","contents":{"code":"[[CICode,url=https://blog.kituin.fun/img/bg.png,name=Image]]"}}
来显示图片,但在命令/tellraw和成书中并不支持该聊天组件。
希望可以让这个聊天组件支持更多用法,例如在命令/tellraw,甚至成书和告示牌中使用。

服务端报错

Bug 描述

只要把此mod放在服务端内,服务端就不能成功开启,也就是说 我把这个mod从服务端内删除服务端就会正常开启。

复现问题的步骤

就是在服务端内添加或删除此mod

日志记录

latest.log
debug-1.log.gz

Mod版本

1.1.4+1.19.2+Forge

电脑系统|JAVA版本

jdk-17.0.1

截图

No response

备注

No response

[Bug] 超出屏幕长度会显示在左侧

Bug 描述

见截图

复现问题的步骤

限制长度后,图片长度若比屏幕大,则出现该情况

日志记录

该情况不需要日志

Mod版本

1.1.2+1.19.2+Fabric

电脑系统|JAVA版本

Win11
JDK17

截图

image

备注

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.