iTXTech / mirai-native

强大的 mirai 原生插件加载器
GNU Affero General Public License v3.0
371 stars 140 forks source link

mcl中尝试启动native插件失败(原#138) #150

Closed Initial-heart-1 closed 1 year ago

Initial-heart-1 commented 3 years ago

描述这个Bug、复现步骤、期望的行为 同 #138

日志 日志经处理

01:58:40 [INFO] Verifying "net.mamoe:mirai-console" v2.7.1-dev-1 01:58:41 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.7.1-dev-1 01:58:41 [INFO] Verifying "net.mamoe:mirai-core-all" v2.7.1-dev-1 01:58:42 [INFO] Verifying "org.itxtech:mcl-addon" v1.2.2 01:58:42 [INFO] Verifying "org.itxtech:mirai-native" v2.0.0-beta.1 2021-09-15 01:58:46 I/main: Starting mirai-console... 2021-09-15 01:58:46 I/main: Backend: version 2.7.1-dev-1, built on 2021-09-09 18:29:51. 2021-09-15 01:58:46 I/main: Frontend Terminal: version 2.7.1-dev-1, provided by Mamoe Technologies 2021-09-15 01:58:46 I/plugin: Successfully loaded plugin MCL Addon v1.2.2 2021-09-15 01:58:46 I/plugin: Successfully loaded plugin MiraiNative v2.0.0-beta.2 2021-09-15 01:58:48 I/MCL Addon: iTXTech MCL Version: 1.2.2-60c67fb 2021-09-15 01:58:50 I/MiraiNative: 正在加载 Mirai Native Bridge C:\Users\30612\Downloads\mcl\data\MiraiNative\CQP.dll 2021-09-15 01:58:56 I/main: Auto-login ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... 2021-09-15 01:59:01 I/Bot.: Loaded account secrets from local cache. 2021-09-15 01:59:01 I/Bot.: Saved account secrets to local cache for fast login. 2021-09-15 01:59:02 I/Bot.: Login successful. 2021-09-15 01:59:04 V/Bot.: Event: BotOnlineEvent(bot=Bot()) 2021-09-15 01:59:04 I/Bot.: Bot login successful. 2021-09-15 01:59:04 I/main: mirai-console started successfully.

npm enable 0 Bot 还未上线,无法调用 Enable 事件。

运行环境

Initial-heart-1 commented 3 years ago

问题解决了但是没有完全解决,删除autologin配置再手动登录可排除故障