@MrXiaoM 哦哦,看到了,感谢大佬
G
guizaipiao 发布的帖子
-
RE: 想收集一下现在大家对于mirai的使用情况
还在使用mirai吗:是
通过那种登录方式使用的mirai: 1.签名服务
mirai登录情况稳定吗:半个月账号被封一次
mirai的相关功能使用方式: 1.mirai插件
使用mirai的相关平台:linux -
RE: Overflow —— 将 mirai 实现换成 Onebot,机器人的又一个解决方案
大佬,我在pom文件里面添加这个依赖,依赖不到,版本号是2.16.0-9132e58-SNAPSHOT。
是还少了什么配置吗? -
RE: 协议问题汇报
我代码没变,看了下好像是这个async-http-client依赖了3.0.0版本后就出现了这个问题,如果换回之前的2.12.3版本,就还是熟悉的code=45。。。
<dependency> <groupId>org.asynchttpclient</groupId> <artifactId>async-http-client</artifactId> <version>3.0.0.Beta2</version> </dependency>
大佬有什么解决办法吗?
-
RE: 协议问题汇报
1.mirai 版本
2.15.02.协议版本信息
ANDROID_PHONE 8.9.63.11390 2023-05-26T10:46:18+08:00 ANDROID_PAD 8.9.63.11390 2023-05-26T10:46:18+08:00 ANDROID_WATCH 2.0.8 2019-06-03T20:25:31+08:00 IPAD 8.9.33.614 2021-12-31T11:36:26+08:00 MACOS 6.8.2.21241 2022-03-14T11:11:35+08:00
3.登录方式及使用的协议
密码登录(ANDROID_PHONE)4.出现的问题
登录不上,日志内容如下:2023-09-13 14:08:55 W/Bot 1234567890: KFCFactory(config=file:///D:/tool/Mirai/AiMu3.0/aimu/aimu-server/KFCFactory.json) is not yet supported EncryptService with bot Bot(1234567890) java.lang.UnsupportedOperationException: repeated create EncryptService at xyz.cssxsh.mirai.tool.KFCFactory.createForBot(KFCFactory.kt:81) at net.mamoe.mirai.internal.network.components.EncryptServiceHolderImpl.<init>(EncryptServiceHolder.kt:49) at net.mamoe.mirai.internal.QQAndroidBot.createBotLevelComponents(QQAndroidBot.kt:288) at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:192) at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:191) at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:47) at net.mamoe.mirai.internal.QQAndroidBot.getDefaultBotLevelComponents(QQAndroidBot.kt:191) at net.mamoe.mirai.internal.QQAndroidBot.createNetworkLevelComponents(QQAndroidBot.kt:300) at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:312) at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:305) at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelectorKt$KeepAliveNetworkHandlerSelector$1.createInstance(AbstractKeepAliveNetworkHandlerSelector.kt:277) at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.refreshInstance(AbstractKeepAliveNetworkHandlerSelector.kt:249) at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.getCurrentInstanceOrCreate(AbstractKeepAliveNetworkHandlerSelector.kt:57) at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getContext(SelectorNetworkHandler.kt:51) at net.mamoe.mirai.internal.AbstractBot$network$2.invoke(AbstractBot.kt:139) at net.mamoe.mirai.internal.AbstractBot$network$2.invoke(AbstractBot.kt:137) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at net.mamoe.mirai.internal.AbstractBot.getNetwork(AbstractBot.kt:137) at net.mamoe.mirai.internal.QQAndroidBot.getComponents(QQAndroidBot.kt:189) at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:156) at net.mamoe.mirai.Bot$login$1.invoke(Bot.kt:65535) at net.mamoe.mirai.Bot$login$1.invoke(Bot.kt) at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__IntrinsicsJvmKt$1.invokeSuspend(IntrinsicsJvm.kt:205) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115) at me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspendKt.$runSuspend$(RunSuspend.kt:18) at net.mamoe.mirai.Bot.login(Bot.kt) at com.aimu.qq.autoconfigure.AimuAutoConfiguration.bot(AimuAutoConfiguration.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1334) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) at org.springframework.boot.SpringApplication.run(SpringApplication.java:338) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1332) at com.aimu.AimuServerApplication.main(AimuServerApplication.java:14)
5.肯德基工厂信息
{ "8.9.63": { "base_url": "http://127.0.0.1:8080", "type": "fuqiuluo/unidbg-fetch-qsign", "key": "114514" }, "8.9.58": { "base_url": "http://127.0.0.1:8888", "type": "kiliokuara/magic-signer-guide", "server_identity_key": "vivo50", "authorization_key": "kfc" }, "8.8.88": { "base_url": "", "type": "TLV544Provider" } }
-
RE: 求助:请检查 magic-signer-guide by http://127.0.0.1:8888 的可用性
@cssxsh
大佬,这会是啥问题呢?2023-09-13 14:08:55 W/Bot 1234567890: KFCFactory(config=file:///D:/tool/Mirai/AiMu3.0/aimu/aimu-server/KFCFactory.json) is not yet supported EncryptService with bot Bot(1234567890) java.lang.UnsupportedOperationException: repeated create EncryptService at xyz.cssxsh.mirai.tool.KFCFactory.createForBot(KFCFactory.kt:81) at net.mamoe.mirai.internal.network.components.EncryptServiceHolderImpl.<init>(EncryptServiceHolder.kt:49) at net.mamoe.mirai.internal.QQAndroidBot.createBotLevelComponents(QQAndroidBot.kt:288) at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:192) at net.mamoe.mirai.internal.QQAndroidBot$defaultBotLevelComponents$2.invoke(QQAndroidBot.kt:191) at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:47) at net.mamoe.mirai.internal.QQAndroidBot.getDefaultBotLevelComponents(QQAndroidBot.kt:191) at net.mamoe.mirai.internal.QQAndroidBot.createNetworkLevelComponents(QQAndroidBot.kt:300) at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:312) at net.mamoe.mirai.internal.QQAndroidBot$createNetworkHandler$1.invoke(QQAndroidBot.kt:305) at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelectorKt$KeepAliveNetworkHandlerSelector$1.createInstance(AbstractKeepAliveNetworkHandlerSelector.kt:277) at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.refreshInstance(AbstractKeepAliveNetworkHandlerSelector.kt:249) at net.mamoe.mirai.internal.network.handler.selector.AbstractKeepAliveNetworkHandlerSelector.getCurrentInstanceOrCreate(AbstractKeepAliveNetworkHandlerSelector.kt:57) at net.mamoe.mirai.internal.network.handler.selector.SelectorNetworkHandler.getContext(SelectorNetworkHandler.kt:51) at net.mamoe.mirai.internal.AbstractBot$network$2.invoke(AbstractBot.kt:139) at net.mamoe.mirai.internal.AbstractBot$network$2.invoke(AbstractBot.kt:137) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at net.mamoe.mirai.internal.AbstractBot.getNetwork(AbstractBot.kt:137) at net.mamoe.mirai.internal.QQAndroidBot.getComponents(QQAndroidBot.kt:189) at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:156) at net.mamoe.mirai.Bot$login$1.invoke(Bot.kt:65535) at net.mamoe.mirai.Bot$login$1.invoke(Bot.kt) at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__IntrinsicsJvmKt$1.invokeSuspend(IntrinsicsJvm.kt:205) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115) at me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspendKt.$runSuspend$(RunSuspend.kt:18) at net.mamoe.mirai.Bot.login(Bot.kt) at com.aimu.qq.autoconfigure.AimuAutoConfiguration.bot(AimuAutoConfiguration.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1334) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) at org.springframework.boot.SpringApplication.run(SpringApplication.java:338) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1332) at com.aimu.AimuServerApplication.main(AimuServerApplication.java:14)
协议版本如下:
ANDROID_PHONE 8.9.63.11390 2023-05-26T10:46:18+08:00 ANDROID_PAD 8.9.63.11390 2023-05-26T10:46:18+08:00 ANDROID_WATCH 2.0.8 2019-06-03T20:25:31+08:00 IPAD 8.9.33.614 2021-12-31T11:36:26+08:00 MACOS 6.8.2.21241 2022-03-14T11:11:35+08:00
肯德基工厂json文件内容如下:
{ "8.9.63": { "base_url": "http://127.0.0.1:8080", "type": "fuqiuluo/unidbg-fetch-qsign", "key": "114514" }, "8.9.58": { "base_url": "http://127.0.0.1:8888", "type": "kiliokuara/magic-signer-guide", "server_identity_key": "vivo50", "authorization_key": "kfc" }, "8.8.88": { "base_url": "", "type": "TLV544Provider" } }
-
RE: 求助,请检查 unidbg-fetch-qsign by http://127.0.0.1:8080 的可用性
大佬,我的ANDROID_PHONE协议版本是8.9.58是啥情况呢?fix-protocol-version版本是1.9.8