mirai原生还能用吗不都是ntqq了吗
shenleqinau 发布的帖子
-
RE: ♿otto-hzys - 电棍の活字印刷插件♿
出现了一个问题,ffmprg已经正确设置系统环境路径以及音频合成的前置插件,但是似乎otto插件更想用ffmpeg但是调用ffmpeg会出现拒绝访问的问题
2024-11-10 23:18:01 I/otto-hzys: 阿洛娜杂项-活字印刷 2024-11-10 23:18:01 I/stdout: result:原神2024-11-10 23:18:01 I/stdout: [yuan, shen, ^] 2024-11-10 23:18:01 I/otto-hzys: 阿洛娜杂项-开始转换 wav -> amr 2024-11-10 23:18:01 W/otto-hzys: Exception in executing command `[mirai:source:ids=[314849279], internalIds=[314849279], from group 3530611703 to 616614136 at 1731251]/活字印刷 原神` command owned by otto-hzys v1.0.2 with NormalMember(3530611703) java.lang.RuntimeException: java.io.IOException: Cannot run program "D:\ffmpeg-master-latest-win64-gpl\bin": CreateProcess error=5, 拒绝访问。 at otto-hzys-1.0.2.mirai2.jar//cn.travellerr.Hzys.gen(Hzys.java:113) at otto-hzys-1.0.2.mirai2.jar//cn.travellerr.Hzys.info(Hzys.java:40) at otto-hzys-1.0.2.mirai2.jar//cn.travellerr.command.GenerateHzys.useVoice(CommandUtil.kt:21) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159) at kotlin.reflect.jvm.internal.KCallableImpl.callBy(KCallableImpl.kt:112) at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1$invokeSuspend$$inlined$runBIO$1.invoke(CoroutineUtils.kt:23) at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51) at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1) at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: java.io.IOException: Cannot run program "D:\ffmpeg-master-latest-win64-gpl\bin": CreateProcess error=5, 拒绝访问。 at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) at java.base/java.lang.Runtime.exec(Runtime.java:594) at java.base/java.lang.Runtime.exec(Runtime.java:453) at otto-hzys-1.0.2.mirai2.jar//cn.travellerr.Hzys.gen(Hzys.java:98) ... 23 more Caused by: java.io.IOException: CreateProcess error=5, 拒绝访问。 at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:494) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110) ... 27 more
-
RE: AntiSetuV3 --- 新模型已发布
有一个bug使用overflow的对接ntqq llonebot会出现无法下载图片的问题
2024-10-27 21:46:12 V/Bot.12345678: [Rim Mc 边缘世界(建家之前先圈地)(12345678)] cxk114514(12345678) -> [overflow:image,url=https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhTKjMzgAS_bGHPvfHq9116T63CFxxj3tQog_woog6jtmdmuiQMyBHByb2RQgL2jAVoQCbXOlPUpgyitekxRq-9M8Q&spec=0&rkey=CAISKKSBekjVG1fMpxFiZ0GONWIAsNaps1lxxf18oHcf972j-UoilVqu1e0] 2024-10-27 21:46:13 E/AntiStuV3: Exception in coroutine Plugin win.rainchan.mirai.antisetuv3 of AntiStuV3 java.lang.IllegalArgumentException: 无法下载图片https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=EhTKjMzgAS_bGHPvfHq9116T63CFxxj3tQog_woog6jtmdmuiQMyBHByb2RQgL2jAVoQCbXOlPUpgyitekxRq-9M8Q&spec=0&rkey=CAISKKSBekjVG1fMpxFiZ0GONWIAsNaps1lxxf18oHcf972j-UoilVqu1e0 at AntiSetu-0.0.3.mirai.jar//win.rainchan.mirai.antisetu.Detector$downloadImg$2.invokeSuspend(Detector.kt:152) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
签名服务器已部署无法登录QQ
签名服务器已部署无法登录QQ,包括刚注册新号和老号都报code45提示更新QQ,使用8.9.88较新版本都没有用
希望有活佛大佬能解决!!!Qsign API:http://127.0.0.1:13579 KEY=1145141919810 Qsign_version:2023-12-19 TXlib_version:8.9.88
上面片段是签名服务器配置
2023-12-29 13:28:11 I/KFCFactory: create EncryptService(id=***), protocol=ANDROID_PHONE(8.9.88) by fuqiuluo/unidbg-fetch-qsign from file:///E:/wenda6b/new%20mirai/KFCFactory.json 2023-12-29 13:28:11 I/KFCFactory: unidbg-fetch-qsign by http://127.0.0.1:13579 about { "code": 0, "msg": "IAA 云天明 章北海", "data": { "version": "1.1.9", "protocol": { "qua": "V1_AND_SQ_8.9.88_4852_YYB_D", "version": "8.9.88", "code": "4852", "package_name": "com.tencent.mobileqq" } } } 2023-12-29 13:28:12 I/UnidbgFetchQsign: Bot(***) initialize by http://127.0.0.1:13579 2023-12-29 13:28:15 W/reverse-ws adapter: 2023-12-29 13:28:15 I/UnidbgFetchQsign: Bot(***) register, Instance loaded successfully. 2023-12-29 13:28:15 I/UnidbgFetchQsign: Bot(***) initialize complete 2023-12-29 13:28:17 I/UnidbgFetchQsign: Bot(***) destroy, Instance destroyed successfully. Login failed: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. 2023-12-29 13:28:17 I/Bot.***: Bot cancelled: Bot closed 2023-12-29 13:28:17 E/console: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below. at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263) at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(***), code=45, title=禁止登录, message=登录失败,请前往QQ官网im.qq.com下载最新版QQ后重试,或通过问题反馈与我们联系。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:490) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ... 5 more Caused by: [CIRCULAR REFERENCE: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(***), code=45, title=禁止登录, message=登录失败,请前往QQ官网im.qq.com下载最新版QQ后重试,或通过问题反馈与我们联系。, errorInfo=)]
上面则是QQ框架登录日志的片段,更换QQ号使用都无法登录
-
RE: 用签名服务后依旧code45
@7in7 使用https://github.com/rhwong/qsign-onekey/tree/main中的签名和服务器有概率可以实在不行就转战cqhttp
-
RE: 小冰颜值检测
/permission add 368319163 cn.lliiooll.bot.xiaoiceface:command.face
OK
2023-09-10 21:38:00 V/Bot.3530611703: [<%ĀĀ␇Ö> 神乐七奈のDD后宫团(616614136)] 神楽七奈(368319163) -> /face[mirai:image:{9192ECB7-80C1-F5E2-A194-B4D69BDC80ED}.jpg, width=1182, height=1576, size=202122, type=JPG, isEmoji=false]
2023-09-10 21:38:00 V/Bot.3530611703: Event: MemberCardChangeEvent(origin=汇汪AI | 服务器CPU占用 1.558%, new=汇汪AI | 服务器CPU占用 1.550%, member=NormalMember(3530611703))
2023-09-10 21:38:01 W/XiaoIceFace: Exception in executing command[mirai:source:ids=[1516073], internalIds=[784792179], from group 368319163 to 616614136 at 1694353081]/face[mirai:image:{9192ECB7-80C1-F5E2-A194-B4D69BDC80ED}.jpg, width=1182, height=1576, size=202122, type=JPG, isEmoji=false]
command owned by XiaoIceFace v0.0.2 with NormalMember(368319163)
java.io.FileNotFoundException: http://c2cpicdw.qpic.cn/offpic_new/616614136/0BADBADBAD-1639699087/0?term=2&is_origin=0
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1993)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
at 颜值检测XiaoIceFace-0.0.2.mirai.jar//cn.lliiooll.bot.util.Utils.bytes(Utils.java:122)
at 颜值检测XiaoIceFace-0.0.2.mirai.jar//cn.lliiooll.bot.ai.XiaoIceFaceModule.getImgBase64(XiaoIceFaceModule.java:103)
at 颜值检测XiaoIceFace-0.0.2.mirai.jar//cn.lliiooll.bot.ai.XiaoIceFaceModule.process(XiaoIceFaceModule.java:45)
at 颜值检测XiaoIceFace-0.0.2.mirai.jar//cn.lliiooll.bot.FaceCommand.handle(FaceCommand.kt:29)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:159)
at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:339)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invoke(CommandReflector.kt)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call$suspendImpl(CommandSignature.kt:84)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt)
at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:168)
at net.mamoe.mirai.console.command.CommandManager.executeCommand$suspendImpl(CommandManager.kt:131)
at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt)
at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt)
at net.mamoe.mirai.console.command.CommandManager.executeCommand$default(CommandManager.kt:126)
at chat-command-0.6.0.mirai2.jar//net.mamoe.mirai.console.plugins.chat.command.PluginMain.handleCommand(PluginMain.kt:98)
at chat-command-0.6.0.mirai2.jar//net.mamoe.mirai.console.plugins.chat.command.PluginMain$onEnable$2$1.invokeSuspend(PluginMain.kt:66)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt