幻影坦克功能没有自动调整大小,导致里图显示不完整
J
JustinHuangber 发布的最新帖子
-
RE: RandomAnimals 随机动物图片
报红了,直接打开链接可以看图片
2022-09-07 21:53:03 I/随机动物图插件: 将要下载的图片地址是https://static.jks.life/cat/images/kxUakBB2o.jpg 2022-09-07 21:53:05 E/随机动物图插件: 图片下载失败! 2022-09-07 21:53:05 E/随机动物图插件: java.io.FileNotFoundException: .\data\cn.whitrayhb.randomanimal\cache\cat\kxUakBB2o.jpg (系统找不到指定的路径。) java.io.FileNotFoundException: .\data\cn.whitrayhb.randomanimal\cache\cat\kxUakBB2o.jpg (系统找不到指定的路径。) at java.base/java.io.FileOutputStream.open0(Native Method) at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235) at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:123) at randomanimal-0.1.3.mirai2.jar//cn.whitrayhb.randomanimal.data.FetchPicture.fetchPicture(FetchPicture.java:34) at randomanimal-0.1.3.mirai2.jar//cn.whitrayhb.randomanimal.command.RandomCat.onCommand(RandomCat.java:36) at net.mamoe.mirai.console.command.java.JRawCommand.onCommand(JRawCommand.kt:121) at net.mamoe.mirai.console.command.java.JRawCommand$overloads$1$invokeSuspend$$inlined$runBIO$1.invoke(CoroutineUtils.kt:194) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) 2022-09-07 21:53:05 E/随机动物图插件: 图片路径为空,在图片获取过程中出现问题!
-
RE: 基于 graphql 的 宝可梦查询插件
@whiterasbk 文字能正常发出来,但图片报红了
2022-08-17 18:30:37 I/bot.good.QueryPokemon: using jsdelivr for improving static resource access speed 2022-08-17 18:30:38 E/bot.good.QueryPokemon: accessing url: https://cdn.jsdelivr.net/gh/PokeAPI/sprites@2.0.0/sprites/pokemon/1.png 2022-08-17 18:30:38 E/bot.good.QueryPokemon: java.net.UnknownHostException: 请求的名称有效,但是找不到请求的类型的数据。 (raw.githubusercontent.com) java.net.UnknownHostException: 请求的名称有效,但是找不到请求的类型的数据。 (raw.githubusercontent.com) at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:933) at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1519) at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852) at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1509) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1367) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1301) at QueryPokemon-0.0.1.jar//okhttp3.Dns$1.lookup(Dns.java:39) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:173) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.RouteSelector.nextProxy(RouteSelector.java:139) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.RouteSelector.next(RouteSelector.java:81) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:172) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:123) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:93) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:296) at QueryPokemon-0.0.1.jar//okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:248) at QueryPokemon-0.0.1.jar//okhttp3.RealCall.getResponse(RealCall.java:243) at QueryPokemon-0.0.1.jar//okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201) at QueryPokemon-0.0.1.jar//okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163) at QueryPokemon-0.0.1.jar//okhttp3.RealCall.execute(RealCall.java:57) at QueryPokemon-0.0.1.jar//bot.good.UtilsKt.openStreamOnClient(utils.kt:252) at QueryPokemon-0.0.1.jar//bot.good.FormatKt.formatMessage(Format.kt:145) at QueryPokemon-0.0.1.jar//bot.good.FormatKt.formatMessage(Format.kt:238) at QueryPokemon-0.0.1.jar//bot.good.QueryCommand.query(cmd.kt:263) at QueryPokemon-0.0.1.jar//bot.good.QueryCommand.access$query(cmd.kt:9) at QueryPokemon-0.0.1.jar//bot.good.QueryCommand$query$1.invokeSuspend(cmd.kt) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
RE: 基于 graphql 的 宝可梦查询插件
报红了
2022-08-16 23:57:43 E/bot.good.QueryPokemon: 初始化配置失败 2022-08-16 23:57:43 E/bot.good.QueryPokemon: java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.createBindings()" because "bot.good.QueryExecutable.engine" is null java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.createBindings()" because "bot.good.QueryExecutable.engine" is null at QueryPokemon-0.0.1.jar//bot.good.QueryExecutable.<clinit>(QueryExecutable.kt:91) at QueryPokemon-0.0.1.jar//bot.good.QueryPokemon.onEnable(QueryPokemon.kt:57) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:278) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:178) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:235) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52) 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 org.itxtech.mcl.Utility.bootJars(Utility.java:89) at org.itxtech.mcl.Utility.bootJars(Utility.java:79) at org.itxtech.mcl.Utility.bootMirai(Utility.java:101) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189) at org.itxtech.mcl.Loader.tryCatching(Loader.java:146) at org.itxtech.mcl.Loader.start(Loader.java:189) at org.itxtech.mcl.Loader.main(Loader.java:79)