Comments (13)
日志有显示什么吗
from chatimage.
已经复现,等待修复
from chatimage.
当时服务器的日志信息
[036月2023 23:49:39.872] [Server thread/INFO] [net.minecraftforge.common.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@5e37d44f
[036月2023 23:49:39.879] [Server thread/INFO] [net.minecraft.server.players.PlayerList/]: muc_zhu[/218.79.248.242:60507] logged in with entity id 13296 at (-336.5, 96.0, 28.5)
[036月2023 23:49:39.890] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: muc_zhu joined the game
[036月2023 23:49:39.950] [Server thread/INFO] [Jade/]: Syncing config to muc_zhu (3c27b515-60de-4e56-b91f-1124c90d42dd)
[036月2023 23:51:03.239] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: <Hatsune_Miku_YYY> [[CICode,url=file:///C:\Users\Hinata\Pictures\Saved Pictures\QQ图片20230603234753.gif]]
[036月2023 23:51:03.279] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: muc_zhu lost connection: Illegal packet received, terminating connection
[036月2023 23:51:03.280] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: muc_zhu left the game
[036月2023 23:51:03.364] [Server thread/INFO] [github.kituin.chatimage.ChatImage/]: [FileChannel->Server]C:\Users\Hinata\Pictures\Saved Pictures\QQ图片20230603234753.gif
[036月2023 23:51:10.088] [User Authenticator #4/INFO] [net.minecraft.server.network.ServerLoginPacketListenerImpl/]: UUID of player muc_zhu is 3c27b515-60de-4e56-b91f-1124c90d42dd
[036月2023 23:51:12.572] [Server thread/INFO] [net.minecraftforge.common.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@52e39e12
[036月2023 23:51:12.582] [Server thread/INFO] [net.minecraft.server.players.PlayerList/]: muc_zhu[/218.79.248.242:60542] logged in with entity id 13731 at (-340.0211089337486, 96.0, 34.06087941206464)
[036月2023 23:51:12.592] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: muc_zhu joined the game
[036月2023 23:51:12.649] [Server thread/INFO] [Jade/]: Syncing config to muc_zhu (3c27b515-60de-4e56-b91f-1124c90d42dd)
[036月2023 23:51:37.633] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: <Hatsune_Miku_YYY> [[CICode,url=file:///C:\Users\Hinata\Pictures\Saved Pictures\QQ图片20230603235128.jpg]]
[036月2023 23:51:37.686] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: muc_zhu lost connection: Illegal packet received, terminating connection
[036月2023 23:51:37.686] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: muc_zhu left the game
[036月2023 23:51:37.779] [Server thread/INFO] [github.kituin.chatimage.ChatImage/]: [FileChannel->Server]C:\Users\Hinata\Pictures\Saved Pictures\QQ图片20230603235128.jpg
from chatimage.
请尝试在服务器将enforce-secure-profile=false
from chatimage.
已经定位到问题代码,马上修复
from chatimage.
这怎么可能.....我怎么看都觉得这一段不会出错
为什么报错呀......😭
from chatimage.
我还没有改那个服务器的设置 等下回去改下试试
from chatimage.
还是会掉线 这是掉线方客户端的日志
[056月2023 18:27:30.762] [Render thread/INFO] [journeymap/]: Loaded 1 waypoints from H:\Minecraft.minecraft\versions\1.19.2-Forge_43.2.13-OptiFine_H9\journeymap\data\mp\Minecraft~\waypoints
[056月2023 18:27:30.795] [Render thread/INFO] [journeymap/]: Mapping started in H:\Minecraft.minecraft\versions\1.19.2-Forge_43.2.13-OptiFine_H9\journeymap\data\mp\Minecraft~\overworld. Memory: 5496MB total, 4269MB free
[056月2023 18:27:35.669] [Render thread/WARN] [journeymap/]: Can't get entityTexture for aquaculture:textures/entity_icon/fishackfish.png
[056月2023 18:27:35.670] [Render thread/WARN] [journeymap/]: Can't get entityTexture for aquaculture:textures/entity_icon/fish/atlantic_herring.png
[056月2023 18:27:35.670] [Render thread/WARN] [journeymap/]: Can't get entityTexture for aquaculture:textures/entity_icon/fish/pink_salmon.png
[056月2023 18:27:39.852] [Render thread/INFO] [github.kituin.chatimage.network.ChatImagePacket/]: [try get from server]C:\Users\Hinata\Pictures\Saved Pictures\QQ图片20230603235128.jpg
[056月2023 18:27:39.852] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [CHAT] <Hatsune_Miku_YYY> [图片]
[056月2023 18:27:39.899] [Render thread/INFO] [mezz.jei.forge.startup.StartEventObserver/]: JEI StartEventObserver received class net.minecraftforge.client.event.ClientPlayerNetworkEvent$LoggingOut
[056月2023 18:27:39.899] [Render thread/INFO] [mezz.jei.forge.startup.StartEventObserver/]: JEI StartEventObserver transitioning state from JEI_STARTED to DISABLED
[056月2023 18:27:39.899] [Render thread/INFO] [mezz.jei.library.startup.JeiStarter/]: Stopping JEI
[056月2023 18:27:39.899] [Render thread/INFO] [mezz.jei.library.load.PluginCaller/]: Sending Runtime Unavailable: jei:minecraft ...
[056月2023 18:27:39.899] [Render thread/INFO] [mezz.jei.library.load.PluginCaller/]: Sending Runtime Unavailable: jei:minecraft took 11.87 μs
[056月2023 18:27:39.899] [Render thread/INFO] [mezz.jei.library.load.PluginCaller/]: Sending Runtime Unavailable: jade:main ...
[056月2023 18:27:39.899] [Render thread/INFO] [mezz.jei.library.load.PluginCaller/]: Sending Runtime Unavailable: jade:main took 2.864 μs
[056月2023 18:27:39.900] [Render thread/INFO] [mezz.jei.library.load.PluginCaller/]: Sending Runtime Unavailable: jei:gui ...
from chatimage.
很奇怪,我调了一下午了。
from chatimage.
会不会是从客户端发送图片的时候 我是直接拖的文件进去发 模组的的url为本地文件路径 而接收方收文件的时候也用的这个路径?然后导致掉线?url是不是必须要用网络资源路径
from chatimage.
之所以会掉线,是因为发送了错误的数据包,可是我检查了好几遍,我写的数据包跟之前是一个版本呀,应该是没有问题的
from chatimage.
这俩天再调试一下,这个问题很神奇
from chatimage.
Please use 1.1.8
from chatimage.
Related Issues (20)
- 1.20.2Fabric HOT 8
- [Bug] Fabric 1.20.2 网络图片无法加载
- [Bug] [Fabric 1.20.1] ChatImage not working on server HOT 2
- [Bug] 1.20 Fabric 多人模式无法转换为图片 HOT 6
- [Bug] 使用TextComponent或Rcon发送消息会出现literal([图片]) HOT 8
- [Bug] 1.18.2 forge 服务器不安装该模组无法进入 HOT 1
- Questions about the compatibility of ChatImage with other mods HOT 5
- [Feat] 支持/me命令
- [Bug] 与allmusic mod的okhttp3库冲突 HOT 3
- [Feat] 支持原始 json 文本 HOT 3
- [Feat] 支持Forge,Fabric 1.20.3+
- [Bug] 1.16.5 Forge图片发送存在缺陷 HOT 5
- [Bug] 在1.20.1客户端使用Mod时接收比较多的图片消息会导致材质出错 HOT 8
- [新功能] 添加一个开关以支持直接将图片显示到聊天框,而非鼠标移动上去后悬浮显示
- [Bug]
- [Bug] 花屏
- [Bug] 在如果服务端装有NoChatReports,则客户端发送的CICode等指令无法正常渲染为图片。 HOT 4
- [Bug] 发送超过32767字节的图片会被踢出 HOT 5
- [Bug] 在发送本地图片时(发送者)会被踢出游戏 HOT 3
- [Bug] 超过33kb图片踢出服务器 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatimage.