以前的没事,跟新到最新的V1.10.22后出现这个致命错误。

Viewed 9

[2025/12/04 10:01:56] [✓] 与服务器链接断开
[2025/12/04 10:01:56] [✓] 与游戏客户端链接断开 链接类型 0
[2025/12/04 10:02:04] [✓] 服务器地址:127.0.0.1:3724
[2025/12/04 10:02:04] [✓] 正在连接Auth服务器: 127.0.0.1
[2025/12/04 10:02:04] [✓] 连接Auth服务器成功
[2025/12/04 10:02:05] [✓] 正在连接到游戏服务器...
[2025/12/04 10:02:05] [✓] 游戏服务器连接成功
[2025/12/04 10:04:22] [✓] 与游戏客户端链接断开 链接类型 0
[2025/12/04 10:04:22] [✓] 与游戏客户端链接断开 链接类型 0
[2025/12/04 10:04:22] [✓] 与服务器链接断开
[2025/12/04 10:13:22] [✓] 服务器地址:127.0.0.1:3724
[2025/12/04 10:13:22] [✓] 正在连接Auth服务器: 127.0.0.1
[2025/12/04 10:13:22] [✓] 连接Auth服务器成功
[2025/12/04 10:13:23] [✓] 正在连接到游戏服务器...
[2025/12/04 10:13:23] [✓] 游戏服务器连接成功
[2025/12/04 10:14:46] [💀] 致命错误 legacy1
[2025/12/04 10:14:46] [💀] goroutine 197 [running]:
sugar/lib/slog.Error({0xc0005756d8, 0x1, 0x1})
D:/heitu/workspace/sugar/lib/slog/method.go:137 +0x131
sugar/world.NewLegacyClient.func1.1()
D:/heitu/workspace/sugar/world/legacy.go:134 +0x6e
panic({0xcf4080, 0x703bf70})
C:/go1.20.14/go1.20.14/src/runtime/panic.go:884 +0x213
sugar/world/handler_legacy/chat.SMSG_CHAT_7080(0xc0000f76b0, 0xc00869a540)
D:/heitu/workspace/sugar/world/handler_legacy/chat/SMSG_CHAT.go:218 +0x998
sugar/world/handler_legacy/chat.SMSG_CHAT(0xcefe60?, 0xc00059eae0?)
D:/heitu/workspace/sugar/world/handler_legacy/chat/SMSG_CHAT.go:105 +0x8e5
sugar/world.(*LegacyClient).HandlePacket(0xc0000f76b0, 0xc00869a540)
D:/heitu/workspace/sugar/world/legacy_base_func.go:39 +0x163
sugar/world.NewLegacyClient.func1()
D:/heitu/workspace/sugar/world/legacy.go:250 +0x718
created by sugar/world.NewLegacyClient
D:/heitu/workspace/sugar/world/legacy.go:131 +0x7dc
[2025/12/04 10:14:46] [💀] runtime error: invalid memory address or nil pointer dereference
[2025/12/04 10:14:46] [💀] goroutine 197 [running]:
sugar/lib/slog.Error({0xc0005756d8, 0x1, 0x1})
D:/heitu/workspace/sugar/lib/slog/method.go:137 +0x131
sugar/world.NewLegacyClient.func1.1()
D:/heitu/workspace/sugar/world/legacy.go:135 +0x9a
panic({0xcf4080, 0x703bf70})
C:/go1.20.14/go1.20.14/src/runtime/panic.go:884 +0x213
sugar/world/handler_legacy/chat.SMSG_CHAT_7080(0xc0000f76b0, 0xc00869a540)
D:/heitu/workspace/sugar/world/handler_legacy/chat/SMSG_CHAT.go:218 +0x998
sugar/world/handler_legacy/chat.SMSG_CHAT(0xcefe60?, 0xc00059eae0?)
D:/heitu/workspace/sugar/world/handler_legacy/chat/SMSG_CHAT.go:105 +0x8e5
sugar/world.(*LegacyClient).HandlePacket(0xc0000f76b0, 0xc00869a540)
D:/heitu/workspace/sugar/world/legacy_base_func.go:39 +0x163
sugar/world.NewLegacyClient.func1()
D:/heitu/workspace/sugar/world/legacy.go:250 +0x718
created by sugar/world.NewLegacyClient
D:/heitu/workspace/sugar/world/legacy.go:131 +0x7dc

2 Answers

应该是你们服务器有变化,在玩家登录服务器之前就发送了聊条消息。 你用老版本一样报错,你可以把微信号发我邮箱

943901167@qq.com

我尝试给你修复一下

好的明白了,非常感谢,我是玩的单机版本的,下载了一个别人整合最新的AZ端,出现的这个问题。看来还子玩自己的比较安全。