考虑直播艾特全体成员嘛
FuYon 发布的帖子
-
RE: B站动态/直播检测插件 v3船新版本 低延迟 美观 可配置性高
目前一直出现这个·问题:
2021-12-04 20:30:27 E/BilibiliDynamic: java.lang.Exception java.lang.Exception at top.colter.mirai.plugin.bilibili.InitKt.initTagid(Init.kt:54) at top.colter.mirai.plugin.bilibili.PluginMain.onEnable(PluginMain.kt:42) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:113) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:122) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:36) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:129) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:172) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:214) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:276) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:152) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:151) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.itxtech.mcl.Utility.bootMirai(Utility.java:83) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43) at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155) at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105) at org.mozilla.javascript.Context.call(Context.java:554) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522) at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105) at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126) at com.sun.proxy.$Proxy4.run(Unknown Source) at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106) at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176) at org.itxtech.mcl.Loader.tryCatching(Loader.java:145) at org.itxtech.mcl.Loader.start(Loader.java:176) at org.itxtech.mcl.Loader.main(Loader.java:68) >
我的配置文件难道有误嘛...
# 管理员 admin: '1691914478' # 推送模式 # 0: 文字推送 # 1: 图片推送 pushMode: 1 # 添加订阅时是否允许bot自动关注未关注的用户 autoFollow: true # Bot关注时保存的分组(最长16字符) followGroup: Bot关注 # 检测间隔(推荐15-30) 单位秒 interval: 15 # 图片推送模式用的字体, 详细请看readme font: Microsoft Yahei # cookie cookie: "" # 百度翻译 baiduTranslate: enable: false APP_ID: '' SECURITY_KEY: ''
注:cookie是在双引号内的,不过配置文件给的是单引号,给改过来了
环境:mcl安装器自动在目录下装的:jdk14 x64
-
RE: ABot-Graia 瞎拼凑的多功能bot(?
我来顶一下、
ABot 现在能干什么:
菜单以及功能介绍
群名片修正 [被他人修改后自动触发] and 私聊群名片修正
微软文字转语音
兽语转换
小鸡词典查梗
小鸡词典文字转 emoji
汉语词典查询
点歌姬(支持 [QQ 音乐 / 网易云音乐] 以语音形式发送歌曲)
网络黑话(缩写)翻译(字母缩写,如 awsl 等)
词云生成
我的世界服务器 Motd Ping
摸头 gif 生成
涩图
风格化 logo 生成
复读姬
有点涩的词库?(
废物证申请 废物证申请
禁言套餐(如果 ABot 是管理员的情况下)
防撤回(支持内容审核,检测是否为违禁内容)
色图(随机生成色图 gif)
娱乐功能
简单的经济系统
增加游戏币 私聊充值 <qq> <数量>
所有人增加游戏币 私聊全员充值 <数量>
赠送游戏币
签到
查询当日签到率 私聊签到率查询
你画我猜
奖券
排行榜(可查看游戏币榜和发言榜)查看排行榜
(待开发中)
简易骰娘(可设置数量、面数、取最大前 n 个)
简单的作息系统(每日 0 点至 7 点半将自动关闭大部分功能)休息 and 工作
BiliBili 视频解析
听歌识曲(识别语音形式的原曲或哼唱歌曲)
白名单系统(将拒绝退出白名单外的群)私信添加白名单 <group> 取消白名单 <group>
淫文翻译机
背单词
全局黑名单控制
消息量统计 查看消息量统计
BiliBili 动态/直播 订阅推送
性能统计 查看性能统计
随机人设
以图搜图 / 以图搜番
查战绩
彩虹六号:围攻
(待开发中)
明日方舟蹲饼
低多边形图片生成
计算器(?
漂流瓶
明日方舟猜干员
定时提醒
亿些杂七杂八没整理的小功能
ABot 事件提醒
ABot 被禁言后自动退群
撤回群消息 [回复]1
(待开发中) -
RE: B站动态/直播检测插件 v3船新版本 低延迟 美观 可配置性高
加上了,然后机器人给我发送这个
动态检测失败 Could not initialize class top.colter.mirai.plugin.bilibili.utils.ImgUtils
-
RE: B站动态/直播检测插件 v3船新版本 低延迟 美观 可配置性高
2021-11-26 19:20:45 E/BilibiliDynamic: ERROR java.lang.ExceptionInInitializerError 2021-11-26 19:20:45 V/Bot.2876932165: Friend(1691914478) <- 动态检测失败\nnull
一直出现这个问题。
或是这样:
我用的是jre11,x32(因为要使用mirai native)
这是我的config:(直接复制了gitub的因为不这样做会一直报baidu translate的语法错误)# 可以是群号或QQ号 admin: 16914478 # 推送模式 # 0 :以文字形式推送 # 1 :以图片形式推送 (默认) pushMode: 1 # 添加订阅时是否允许bot自动关注未关注的用户 # 开启 true # 关闭 false autoFollow: true # Bot关注时保存的分组(最长16字符) # 如果要保存到默认分组请填写为 "" followGroup: Bot # 检测间隔(推荐15-30 最低10) 单位秒 # 不建议超过60,超过60可能会漏动态 interval: 30 # 图片推送模式用的字体 # 如不带后缀名则使用系统的字体,如系统中没有这个字体 则会使用系统默认字体 # 带后缀名则使用插件数据路径下 font 文件夹下的字体文件 # 如使用字体文件仅支持ttf格式 # 字体文件路径 data/BilibiliDynamic/font # 需自行创建font文件夹,并把字体文件放进去 font: LxgwMarkerGothic-Regular.ttf # cookie !!必填!! # cookie请包在双引号内 # 如何获取见下文 获取Cookie cookie: "" # 百度翻译 baiduTranslate: # 是否开启百度翻译 enable: true # 百度翻译api密钥 如需使用请自行申请 # https://api.fanyi.baidu.com/ APP_ID: '' SECURITY_KEY: ''
-
RE: [Mirai-Native] 原神UID信息查询
群里用原神查询的人一下子特别多,大概一分钟十几次的样子,然后就出bug了
不查询任何UID都会马上连发两条消息:
少女祈祷中...
未查询到相关角色信息......
然而控制台并未输出任何错误日志。
然后我关闭控制台后,将
me.cqp.luohuaming.GenshinQuery.zip
重新解压到数据目录(并未置换cookie)并将me.cqp.luohuaming.GenshinQuery.dll
和me.cqp.luohuaming.GenshinQuery.json
重新放在data/miraiNative/plugin
。重新测试查询指令,仍将原本可以查询到的信息返回为“未查询到...”,并无输出错误日志。
所以这个bug大概是调用次数达到上限了?
-
RE: 【涩图插件喜加一】mirai-console-lolicon
来请教问题啦~从启动到加载各种插件到上qq发送lolicon get....链接发送出来了,以下日志有显示,但是到图片就不行了。之前还没有这个错误,我现在用的是默认的配置。但是比之前多加了三四个其他的插件,是冲突了吗?谢谢回答萌新的问题!
23:11:12 [INFO] Verifying "net.mamoe:mirai-console" v2.8.0-M1 23:11:13 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.8.0-M1 23:11:13 [INFO] Verifying "net.mamoe:mirai-core-all" v2.8.0-M1 23:11:13 [INFO] Verifying "org.itxtech:mcl-addon" v1.2.2 2021-10-15 23:11:16 I/main: Starting mirai-console... 2021-10-15 23:11:16 I/main: Backend: version 2.8.0-M1, built on 2021-09-22 17:49:01. 2021-10-15 23:11:16 I/main: Frontend Terminal: version 2.8.0-M1, provided by Mamoe Technologies 2021-10-15 23:11:16 I/main: Welcome to visit https://mirai.mamoe.net/ 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin AntiStu v0.1.1 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin bilibili-helper v1.1.8 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin Chat Command v0.5.0 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin MCL Addon v1.2.2 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.3.1 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin mirai-console-lolicon v4.1.1 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin 点歌插件 v1.1.3 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin Reporter v1.2.10 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin PluginVoodoo v1.5.0 2021-10-15 23:11:17 I/plugin: Successfully loaded plugin dada.reversedTictactoe v1.0-SNAPSHOT 2021-10-15 23:11:17 I/main: Prepared built-in commands: autoLogin, help, login, permission, status, stop 2021-10-15 23:11:17 I/AntiStu: 加载数据.... 2021-10-15 23:11:17 I/AntiStu: 初始化运行环境.... 2021-10-15 23:11:18 I/AntiStu: 初始化成功 Starting ChromeDriver 94.0.4606.41 (333e85df3c9b656b518b5f1add5ff246365b6c24-refs/branch-heads/4606@{#845}) on port 13291 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. 2021-10-15 23:11:22 I/MCL Addon: iTXTech MCL Version: 1.2.2-60c67fb 2021-10-15 23:11:22 W/net.mamoe.mirai-api-http: USING INITIAL KEY, please edit the key 2021-10-15 23:11:22 I/Mirai HTTP API: ******************************************************** SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2021-10-15 23:11:24 I/http adapter: >>> [http adapter] is listening at http://localhost:8080 2021-10-15 23:11:24 I/Mirai HTTP API: Http api server is running with verifyKey: INITKEYLRIauV01 2021-10-15 23:11:24 I/Mirai HTTP API: adaptors: [http] 2021-10-15 23:11:24 I/Mirai HTTP API: ******************************************************** 2021-10-15 23:11:24 I/mirai-console-lolicon: Plugin mirai-console-lolicon loaded ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10.2.0 (Rev6, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv - -enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e -- enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx -- enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf -- enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-li bglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --ena ble-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libm ysofa --enable-librubberband --enable-libsoxr --enable-chromaprint libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 2021-10-15 23:11:25 I/点歌插件: 当前配置项:宽域AMR:true AMR自动大小:false 2021-10-15 23:11:25 I/点歌插件: 插件加载完毕! 2021-10-15 23:11:25 I/PluginVoodoo: VoodooPlugin loaded 2021-10-15 23:11:25 I/dada.reversedTictactoe: Plugin loaded 2021-10-15 23:11:25 I/main: 10 plugin(s) enabled. 2021-10-15 23:11:25 I/main: mirai-console started successfully. 2021-10-15 23:11:26 I/bilibili-helper: driver agent {BiliApp=false, CMDC=false, MicroMessenger=true, QQLive=false, Safari=false, Youku=false , android=false, baidu=false, chrome=false, iPad=true, iPhone=false, ios=true, iqiyi=false, mbaidu=false, mobile=true, mqq=false, qq=false, uc=false, webApp=false, weibo=false, windowsphone=false} > login 2876932165 Qwer7741561 ANDROID_WATCH 2021-10-15 23:11:46 I/Mirai: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭. 2021-10-15 23:11:46 I/Mirai: Mirai is using desktop. Captcha will be thrown by window popup. You can add `mirai.no-desktop` to JVM propertie s (-Dmirai.no-desktop) to disable it. 2021-10-15 23:11:47 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Usi ng SimpleLogger to log to the console... 2021-10-15 23:11:48 I/Bot.2876932165: Loaded account secrets from local cache. 2021-10-15 23:11:49 I/Bot.2876932165: Saved account secrets to local cache for fast login. 2021-10-15 23:11:49 I/Bot.2876932165: Login successful. 2021-10-15 23:11:53 V/Bot.2876932165: Event: BotOnlineEvent(bot=Bot(2876932165)) 2021-10-15 23:11:53 I/bilibili-helper: EMOJI缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: DYNAMIC缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: VIDEO缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: LIVE缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: SEASON缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: EPISODE缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/bilibili-helper: USER缓存清理任务开始运行,间隔1h 2021-10-15 23:11:53 I/Bot.2876932165: Bot login successful. Login successful 2021-10-15 23:12:10 I/mirai-console-lolicon: {"error":"","data":[{"pid":77203057,"p":0,"uid":569672,"title":"食用系少女 まどかちゃん","autho r":"ミルクセーキ","r18":false,"width":1010,"height":1429,"tags":["R-18","マドカ(食用系少女)","小圆(食用系少女)","食用系少女","Food Girls", "おっぱい","欧派","極上の乳","极上乳房","魅惑の谷間","魅惑的乳沟","揉みしだきたい乳","诱人把玩的乳房","目がハート","眼睛爱心"],"ext":"jpg"," uploadDate":1570635309000,"urls":{"regular":"https://i.pixiv.cat/img-master/img/2019/10/10/00/35/09/77203057_p0_master1200.jpg"}}]} 2021-10-15 23:12:10 V/Bot.2876932165: Group(749470782) <- 标题: 食用系少女 まどかちゃん\n作者: ミルクセーキ (uid: 569672)\n标签: [R-18, マド カ(食用系少女), 小圆(食用系少女), 食用系少女, Food Girls, おっぱい, 欧派, 極上の乳, 极上乳房, 魅惑の谷間, 魅惑的乳沟, 揉みしだきたい乳, 诱 人把玩的乳房, 目がハート, 眼睛爱心]\n链接: https://pixiv.net/artworks/77203057 2021-10-15 23:12:20 E/mirai-console-lolicon: io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pix iv.cat/img-master/img/2019/10/10/00/35/09/77203057_p0_master1200.jpg, connect_timeout=unknown ms] io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-master/img/2019/10/10/00/35/09/772 03057_p0_master1200.jpg, connect_timeout=unknown ms] at io.ktor.client.features.HttpTimeoutKt.ConnectTimeoutException(HttpTimeout.kt:183) at io.ktor.client.engine.okhttp.OkUtilsKt.mapOkHttpException(OkUtils.kt:75) at io.ktor.client.engine.okhttp.OkUtilsKt.access$mapOkHttpException(OkUtils.kt:1) at io.ktor.client.engine.okhttp.OkHttpCallback.onFailure(OkUtils.kt:39) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:510) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:831) Caused by: java.net.SocketTimeoutException: Connect timed out at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546) at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:333) at java.base/java.net.Socket.connect(Socket.java:645) at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:119) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:283) at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:195) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:502) ... 3 more