MiraiForum

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

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

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

      可能是我的问题?
      如果是的话怎么退回版本到console
      version 2.0-RC
      16:09:57 [WARN] Package "net.mamoe:chat-command" requires "net.mamoe:mirai-console" version 2.0-RC. Current version is 2.11.0

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

        @Ours 2.11暂时还没测试过兼容性

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

          @Ours chat-command的警告可以不用管

          1 条回复 最后回复 回复 引用 0
          • O
            Ours 最后由 编辑

            ok
            那请测试一下谢了,然后再说一下,我这边群里疯狂刷get就能随机获得几个

            1 条回复 最后回复 回复 引用 0
            • O
              Ours 最后由 编辑

              然后再补充一下,我这边是白名单模式,我私聊bot倒是没问题的,貌似就群有这个问题

              1 条回复 最后回复 回复 引用 0
              • X
                XiaoDai 最后由 编辑

                机器人返回的是文本和图片链接 能不能直接把图片发出来

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

                  权限怎么加呀
                  /permission add g133820 nya.xfy.loliconmirai:*

                  好像没用

                  Samarium150 1 条回复 最后回复 回复 引用 0
                  • 好
                    好想吃雪糕 @TZzxx 最后由 编辑

                    @TZzxx 我也是这个问题,挂了加速器也没用,大佬解决了能教一下小白嘛

                    1 条回复 最后回复 回复 引用 0
                    • 好
                      好想吃雪糕 最后由 编辑

                      2022-06-01 20:54:27 E/Lolicon: io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-master/img/2018/12/29/21/13/18/72368617_p0_master1200.jpg, connect_timeout=unknown ms]
                      io.ktor.network.sockets.ConnectTimeoutException: Connect timeout has expired [url=https://i.pixiv.cat/img-master/img/2018/12/29/21/13/18/72368617_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:77)
                      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:525)
                      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
                      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
                      at java.base/java.lang.Thread.run(Thread.java:833)
                      Caused by: java.net.SocketTimeoutException: Connect timed out
                      at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:543)
                      at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:594)
                      at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
                      at java.base/java.net.Socket.connect(Socket.java:633)
                      at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
                      at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
                      at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
                      at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
                      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)
                      ... 3 more

                      2022-06-01 20:54:28 V/Bot.1776826889: Group(1044568351) <- 网络连接失败/超时或图片已被删除,之后再试试吧

                      proxy那里已经改成i.pixiv.re了,加速器也试了几个了,还是只能发出链接,图片发不出,有没有大佬救救孩子。

                      Samarium150 1 条回复 最后回复 回复 引用 0
                      • Samarium150
                        Samarium150 童心未泯 @好想吃雪糕 最后由 编辑

                        @好想吃雪糕 https://github.com/Samarium150/mirai-console-lolicon/issues/61

                        sxjeru created this issue in Samarium150/mirai-console-lolicon

                        closed Pixiv 反代问题 #61

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

                          @a16797 因为我没用mirai的权限管理,之后可能会调整

                          1 条回复 最后回复 回复 引用 0
                          • 好
                            好想吃雪糕 @Samarium150 最后由 编辑

                            @Samarium150 2022-06-02 13:10:15 E/Lolicon: java.net.UnknownHostException: 不知道这样的主机。 (https)
                            java.net.UnknownHostException: 不知道这样的主机。 (https)
                            at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
                            at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52)
                            at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1048)
                            at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1638)
                            at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:997)
                            at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1628)
                            at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1494)
                            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(ThreadPoolExecutor.java:1136)
                            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
                            at java.base/java.lang.Thread.run(Thread.java:833)
                            试这在前面加了https,也发不出图来,但链接没问题

                            Samarium150 1 条回复 最后回复 回复 引用 0
                            • Samarium150
                              Samarium150 童心未泯 @好想吃雪糕 最后由 编辑

                              @好想吃雪糕 123楼

                              好 1 条回复 最后回复 回复 引用 0
                              • Referenced by  Samarium150 Samarium150 
                              • 好
                                好想吃雪糕 @Samarium150 最后由 编辑

                                @Samarium150 谢谢大佬,解决了

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

                                  太神秘了,用.re的时候用的始终是.cat,用.cat则反之

                                  1 条回复 最后回复 回复 引用 0
                                  • B
                                    BadFlandre 最后由 编辑

                                    或许可以用这个来代理i.pixiv.cat的图片
                                    https://images.weserv.nl/?url=

                                    例如这样 https://images.weserv.nl/?url=https://i.pixiv.cat/img-original/img/2020/12/24/00/00/06/86483693_p0.jpg
                                    kora

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

                                      @BadFlandre 代理的代理,直接开始套娃

                                      1 条回复 最后回复 回复 引用 0
                                      • E
                                        EsunR 最后由 编辑

                                        有没有人知道,用这个插件被封号了多久会解封(明明屏蔽了R18😩😩😩

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

                                          捕获.PNG求助大佬帮我看看为什么我跑不起来啊,求求了,谢谢谢谢

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

                                            2022-06-14 19:14:24 W/Lolicon Exception in executing command [mirai:source:[17573],[-651781057]]/lolicon 来一张
                                            java.lang.NoClassDefFoundError: io/ktor/util/reflect/TypeInfoJvmKt
                                            at io.github.samarium150.mirai.plugin.lolicon.util.RequestHandlerKt.getAPIResponse(RequestHandler.kt:95)
                                            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
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 17
                                            • 18
                                            • 10 / 18
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact