MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接

    【涩图插件喜加一】mirai-console-lolicon

    插件发布
    kotlin plugin
    94
    356
    88018
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • CCYellowStar
      CCYellowStar @wangzhengyr 最后由 编辑

      此回复已被删除!
      1 条回复 最后回复 回复 引用 0
      • CCYellowStar
        CCYellowStar @Samarium150 最后由 编辑

        此回复已被删除!
        1 条回复 最后回复 回复 引用 0
        • CCYellowStar
          CCYellowStar 最后由 编辑

          此回复已被删除!
          1 条回复 最后回复 回复 引用 0
          • 王
            王博文是个25 最后由 编辑

            i.pixiv.re
            好像也被墙了

            Samarium150 1 条回复 最后回复 回复 引用 0
            • Samarium150
              Samarium150 童心未泯 @王博文是个25 最后由 编辑

              @王博文是个25 你好,没有的,请自行检查日志

              1 条回复 最后回复 回复 引用 0
              • C
                cheeeeeeen 最后由 编辑

                是否能把发送涩图的方式改成消息合并折叠发送,这样可以避免第一时间开群社死XD

                Samarium150 1 条回复 最后回复 回复 引用 0
                • Samarium150
                  Samarium150 童心未泯 @cheeeeeeen 最后由 编辑

                  @cheeeeeeen 已经提上日程

                  1 条回复 最后回复 回复 引用 0
                  • S
                    superen 最后由 编辑

                    2022-02-10 06:23:50 W/Lolicon Exception in executing command [mirai:source:[2146],[-459717860]]lolicon get
                    java.lang.NoClassDefFoundError: io/ktor/util/reflect/TypeInfoJvmKt
                    at io.github.samarium150.mirai.plugin.lolicon.util.RequestHandlerKt.getAPIResponse(RequestHandler.kt:93)
                    at io.github.samarium150.mirai.plugin.lolicon.util.RequestHandlerKt$getAPIResponse$1.invokeSuspend(RequestHandler.kt)
                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                    at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
                    at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
                    at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
                    at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                    at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
                    at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
                    at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
                    at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                    at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
                    at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
                    at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
                    at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                    at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
                    at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
                    at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
                    at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                    at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
                    at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
                    at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
                    at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
                    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
                    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
                    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
                    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
                    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
                    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
                    Caused by: java.lang.ClassNotFoundException: io.ktor.util.reflect.TypeInfoJvmKt
                    at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoader.findClass$mirai_console(JvmPluginClassLoader.kt:110)
                    at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoader.findClass(JvmPluginClassLoader.kt:51)
                    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
                    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
                    ... 33 more

                    这是为啥呀 我有代理

                    Samarium150 1 条回复 最后回复 回复 引用 0
                    • Samarium150
                      Samarium150 童心未泯 @superen 最后由 编辑

                      @superen console版本?

                      1 条回复 最后回复 回复 引用 0
                      • S
                        superen 最后由 编辑

                        我用的是 https://github.com/sonder-joker/mirai-compose/releases

                        Samarium150 1 条回复 最后回复 回复 引用 0
                        • Samarium150
                          Samarium150 童心未泯 @superen 最后由 编辑

                          @superen 请使用 mirai-console-lolicon-console_2.9.2-5.2.1.mirai.jar 这一版,mirai-compose的console版本还没有更新到2.10.0

                          S CCYellowStar 2 条回复 最后回复 回复 引用 0
                          • S
                            superen @Samarium150 最后由 编辑

                            @samarium150 好的 谢谢

                            1 条回复 最后回复 回复 引用 0
                            • CCYellowStar
                              CCYellowStar @Samarium150 最后由 编辑

                              @samarium150 为什么新版这么小

                              Samarium150 1 条回复 最后回复 回复 引用 0
                              • Samarium150
                                Samarium150 童心未泯 @CCYellowStar 最后由 编辑

                                @ccyellowstar #74

                                1 条回复 最后回复 回复 引用 0
                                • A
                                  Ariasprinter 最后由 编辑

                                  2022-02-11 21:16:21 E/Lolicon: java.net.UnknownHostException: 不知道这样的主机。 (n)
                                  java.net.UnknownHostException: 不知道这样的主机。 (n)
                                  at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
                                  at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source)
                                  at java.base/java.net.InetAddress.getAddressesFromNameService(Unknown Source)
                                  at java.base/java.net.InetAddress$NameServiceAddresses.get(Unknown Source)
                                  at java.base/java.net.InetAddress.getAllByName0(Unknown Source)
                                  at java.base/java.net.InetAddress.getAllByName(Unknown Source)
                                  at java.base/java.net.InetAddress.getAllByName(Unknown Source)
                                  at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
                                  at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:164)
                                  at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:129)
                                  at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:71)
                                  at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205)
                                  at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
                                  at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
                                  at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
                                  at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
                                  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                  at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
                                  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                  at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
                                  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                  at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
                                  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                  at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
                                  at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
                                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
                                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                                  at java.base/java.lang.Thread.run(Unknown Source)

                                  请问一下,在发送图片时出现了这个错误,应该怎么解决

                                  Samarium150 1 条回复 最后回复 回复 引用 0
                                  • Samarium150
                                    Samarium150 童心未泯 @Ariasprinter 最后由 编辑

                                    @ariasprinter 网络问题,可以挂代理试试

                                    A 1 条回复 最后回复 回复 引用 0
                                    • A
                                      Ariasprinter @Samarium150 最后由 编辑

                                      @samarium150 电脑上挂载v2ray代理服务仍然出现这个错误

                                      Samarium150 1 条回复 最后回复 回复 引用 0
                                      • Samarium150
                                        Samarium150 童心未泯 @Ariasprinter 最后由 编辑

                                        @ariasprinter ProxyConfig.yml有相应设置吗,以及这个错误是每次都出现?

                                        A 1 条回复 最后回复 回复 引用 0
                                        • A
                                          Ariasprinter @Samarium150 最后由 编辑

                                          @samarium150
                                          proxyconfig.yml

                                          # 可选:DIRECT/HTTP/SOCKS
                                          type: DIRECT
                                          # IP地址
                                          hostname: 127.0.0.1
                                          # 端口
                                          port: 17122
                                          

                                          报错信息

                                          正在获取图片...
                                          2022-02-12 10:45:18 I/Lolicon: request body: {"r18":0,"num":1,"uid":[],"keyword":"","tag":[],"size":["regular"],"proxy":"N","dataAfter":null,"dataBefore":null,"dsc":null}
                                          2022-02-12 10:45:19 I/Lolicon: {"error":"","data":[{"pid":93859309,"p":0,"uid":12120406,"title":"水浴び","author":"星の 紅茶","r18":false,"width":682,"height":1000,"tags":["魅惑の谷間","魅惑的乳沟","オリジナル","原创","和服","kimono","水面","water surface","水浴び","bathing","リボン","蝴蝶结","巫女装束","おっぱい","欧派"],"ext":"jpg","uploadDate":1635781433000,"urls":{"regular":"https://n/img-master/img/2021/11/02/00/43/53/93859309_p0_master1200.jpg"}}]}
                                          标题: 水浴び
                                          作者: 星の紅茶 (uid: 12120406)
                                          标签: [魅惑の谷間, 魅惑的乳沟, オリジナル, 原创, 和服, kimono, 水面, water surface, 水浴び, bathing, リボン, 蝴蝶结, 巫 女装束, おっぱい, 欧派]
                                          链接: https://pixiv.net/artworks/93859309
                                          2022-02-12 10:45:22 E/Lolicon: java.net.UnknownHostException: 不知道这样的主机。 (n)
                                          java.net.UnknownHostException: 不知道这样的主机。 (n)
                                                  at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
                                                  at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source)
                                                  at java.base/java.net.InetAddress.getAddressesFromNameService(Unknown Source)
                                                  at java.base/java.net.InetAddress$NameServiceAddresses.get(Unknown Source)
                                                  at java.base/java.net.InetAddress.getAllByName0(Unknown Source)
                                                  at java.base/java.net.InetAddress.getAllByName(Unknown Source)
                                                  at java.base/java.net.InetAddress.getAllByName(Unknown Source)
                                                  at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
                                                  at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:164)
                                                  at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:129)
                                                  at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:71)
                                                  at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205)
                                                  at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
                                                  at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
                                                  at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
                                                  at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
                                                  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                  at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
                                                  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                  at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
                                                  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                  at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
                                                  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
                                                  at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
                                                  at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
                                                  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
                                                  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                                                  at java.base/java.lang.Thread.run(Unknown Source)
                                          

                                          每一次都是在发送图片的时候报出错误,目前猜测可能是云服务器的问题,本地电脑执行时没有抛出无法识别主机的错误。

                                          Samarium150 1 条回复 最后回复 回复 引用 0
                                          • Samarium150
                                            Samarium150 童心未泯 @Ariasprinter 最后由 Samarium150 编辑

                                            @ariasprinter 把通常配置Config.yml里的proxy设置为i.pixiv.re或者i.pixiv.cat

                                            A 1 条回复 最后回复 回复 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 17
                                            • 18
                                            • 6 / 18
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact