第86批:AI静默失败兜底+创造42越界+背包配置变更补扫
Auto Release / build (push) Successful in 1m57s

Bug1 AI静默失败:thenAccept处理体无try-catch,跨线程sendMessage抛异常被
CompletableFuture静默吞掉(无日志/无回复/无留档)。整体包try-catch:
severe级异常日志(类型+消息+栈前5层)+玩家失败提示(双层try-catch)+
handleRequestFailure强制留档issue.json

Bug2 创造模式42报错:InventoryCreativeEvent点击rawSlot 43-45超出
CraftInventoryPlayer 43槽(0-42),setItem抛AIOOBE中断处理器。
加边界守卫:rawSlot超界跳过写回

Bug3 背包堆叠失效:onInventoryOpen预写只在开包时刻生效,配置变更后
背包已有物品max停留在旧值(如64)→点击合并读旧max失败,表现为
「必须重新进容器才能堆叠」。reload()变更后rescanOnlinePlayers()补扫
在线玩家(主背包+getOpenInventory().getTopInventory()容器都重写);
新增onPlayerJoin MONITOR优先级加入时补扫(旧配置堆好的物品join时刷新)
This commit is contained in:
youpaishidifu
2026-11-05 17:29:13 +08:00
parent 6e7470bccc
commit 059884772b
3 changed files with 154 additions and 3 deletions
+13 -2
View File
@@ -15,7 +15,19 @@
"deepseek": "https://api.deepseek.com",
"kimi": "https://api.moonshot.cn/v1",
"智谱GLM": "https://open.bigmodel.cn/api/paas/v4",
"通义千问": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"火山引擎(方舟)": {
"通用(按量/Agent)": "https://ark.cn-beijing.volces.com/api/v3",
"Coding Plan(仅编程)": "https://ark.cn-beijing.volces.com/api/coding/v3"
},
"千问AI平台": {
"按量计费": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"Coding Plan": "https://coding.dashscope.aliyuncs.com/v1",
"说明": "千问ai是原阿里百炼"
},
"QwenCloud": {
"按量计费": "https://ap-southeast-1.maas.qwencloudapi.com/compatible-mode/v1",
"Token Plan": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1"
},
"百度AIStudio": "https://aistudio.baidu.com/llm/lmapi/v3",
"MiniMax": "https://api.minimax.cn/v1",
"阶跃星辰": {
@@ -25,7 +37,6 @@
"零一万物": "https://api.lingyiwanwu.com/v1",
"百川": "https://api.baichuan-ai.com/v1",
"美团": "https://api.longcat.chat/openai",
"抖音云(豆包/火山)": "https://ark.cn-beijing.volces.com/api/v3",
"讯飞": {
"讯飞星火": "https://spark-api-open.xf-yun.com/v1",
"讯飞星辰MaaS": {