那我建议你先自建一个试试。
不过官方bot出来之后抓得很严了,建议跑路
iceBear67 发布的帖子
-
无法登录,一直发friendlist.GetTroopMemberListReq
2021-08-17 22:10:11 I/Mirai: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭. 2021-08-17 22:10:11 I/Mirai: Mirai is using desktop. Captcha will be thrown by window popup. You can add `mirai.no-desktop` to JVM properties (-Dmirai.no-desktop) to disable it. 2021-08-17 22:10:12 I/Bot QQ: Loaded account secrets from local cache. 2021-08-17 22:10:12 I/Bot QQ: Logging in... 2021-08-17 22:10:13 V/Net QQ: Loading BdhSession from cache file 2021-08-17 22:10:13 V/Net QQ: Loading server list from cache. 2021-08-17 22:10:13 I/Net QQ: Connected to server 111.30.169.59:80 2021-08-17 22:10:13 V/Net QQ: Send: wtlogin.exchange_emp 2021-08-17 22:10:13 V/Net QQ: Recv: LoginPacketResponse.Success 2021-08-17 22:10:13 I/Net QQ: Saved account secrets to local cache for fast login. 2021-08-17 22:10:13 V/Net QQ: Send: StatSvc.register 2021-08-17 22:10:13 V/Net QQ: Recv: Response(StatSvc.register) 2021-08-17 22:10:13 I/Net QQ: Awaiting ConfigPushSvc.PushReq. 2021-08-17 22:10:13 I/Net QQ: Syncing friend message history... 2021-08-17 22:10:13 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:14 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:14 V/Net QQ: Send: StatSvc.GetDevLoginInfo 2021-08-17 22:10:14 V/Net QQ: Recv: StatSvc.GetDevLoginInfo.Response(deviceList.size=3) 2021-08-17 22:10:14 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:14 I/Bot QQ: Online OtherClients: ???(MOBILE), Android手机(MOBILE) 2021-08-17 22:10:14 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:14 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:15 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:15 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:15 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:15 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:15 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:15 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:15 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:15 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:16 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:16 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:16 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:16 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:16 D/Net QQ: Received unknown commandName: ConfigPushSvc.PushDomain 2021-08-17 22:10:16 V/Net QQ: Recv: ConfigPushSvc.PushReq.PushReqResponse.ConfigPush 2021-08-17 22:10:16 V/Net QQ: Saving bdh session to cache 2021-08-17 22:10:16 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:16 V/Net QQ: Send: ConfigPushSvc.PushResp 2021-08-17 22:10:16 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:16 I/Net QQ: ConfigPushSvc.PushReq: Config updated. 2021-08-17 22:10:16 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:16 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:17 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:17 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:17 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:17 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:17 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:17 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:18 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:18 V/Net QQ: Send: MessageSvc.PbGetMsg 2021-08-17 22:10:18 V/Net QQ: Send: MessageSvc.PbDeleteMsg 2021-08-17 22:10:18 I/Net QQ: Syncing friend message history: Success. 2021-08-17 22:10:18 I/Net QQ: Start loading friend list... 2021-08-17 22:10:18 I/Net QQ: Start loading stranger list... 2021-08-17 22:10:18 V/Net QQ: Send: friendlist.getFriendGroupList 2021-08-17 22:10:18 V/Net QQ: Recv: FriendList.GetFriendGroupList.Response 2021-08-17 22:10:18 V/Net QQ: Loading friend list: 126/126 2021-08-17 22:10:18 I/Net QQ: Successfully loaded friend list: 126 in total 2021-08-17 22:10:18 V/Net QQ: Send: OidbSvc.0x496 2021-08-17 22:10:18 V/Net QQ: Recv: TroopManagement.GetTroopConfig.Response(true) 2021-08-17 22:10:18 I/Net QQ: Start loading group list... 2021-08-17 22:10:18 V/Net QQ: Send: OidbSvc.0x5d2_0 2021-08-17 22:10:18 V/Net QQ: Recv: StrangerList.GetStrangerList.Response(result=0) 2021-08-17 22:10:18 I/Net QQ: Successfully loaded stranger list: 1 in total 2021-08-17 22:10:18 V/Net QQ: Send: friendlist.GetTroopListReqV2 2021-08-17 22:10:19 V/Net QQ: Recv: FriendList.GetFriendGroupList.Response 2021-08-17 22:10:19 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:19 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:19 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:19 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:19 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:20 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:20 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:20 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:20 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:20 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:20 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:20 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:20 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:21 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:21 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:21 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:21 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:21 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:21 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:21 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:21 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:22 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:22 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:22 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:22 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:22 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:22 V/Net QQ: Send: friendlist.GetTroopMemberListReq 2021-08-17 22:10:23 V/Net QQ: Recv: FriendList.GetTroopMemberList.Response 2021-08-17 22:10:23 V/Net QQ: Send: friendlist.GetTroopMemberListReq Process finished with exit code 130 (interrupted by signal 2: SIGINT)
尝试了使用 ANDROID_PAD, ANDROID_WATCH, ANDROID_PHONE 都没有找到解决方案..
Core也没人发过 Issue,想了想还是扔到bbs了 -
Minecraft2Mirai——把Mirai-API-Http接入MC服务器
https://github.com/iceBear67/Minecraft2Mirai
代码一坨屎,全都是兼容代码...
配置示例(plugins/Minecraft2Mirai/config.json){ "baseUrl": "http://localhost:8080/", "QQ": xxx, // bot qq "authKey": ".....", "displayMessage": true, // useless in this edition "reconnectLimit": 10, "reconnectTimeWait": 3000, "debug": true, "targetGroup": 114514 // qq group }
需要Mirai-API-Http 1.X 并且启用 WebSocket.
只支持 Spigot 系服务器,1.8 以上 -
MAH-Standalone —— 无需 Console 单跑 Mirai-API-Http
水了一帖
项目地址:https://github.com/iceBear67/mirai-api-http
单跑效果:
支持使用环境变量/配置文件设置QQ,密码,登录用协议
没有 commandroute.
开箱即用
欢迎 issue & pr & star,持续与上游同步更新(只要不是breaking-change
保存图片 / 语音 / 文件的时候可能会有一些潜在的小问题,但问题不大