ApexLookUp - Apex英雄查询插件
-
@SVIPNB 下次看看能不能优化
-
@Shennoter 好的,加油!还有/apexid生成的图片也稍微大了一点,其实1M的图片已经很清晰了
-
/apexcraft查询成功,其他指令报错
MethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(De
legatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(Caller
Impl.kt:97)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(Cal
lerImpl.kt:113)
at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_re
flection(KCallableImpl.kt:159)
at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubComm
ands$6$1.invokeSuspend(CommandReflector.kt:329)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubComm
ands$6$1.invoke(CommandReflector.kt)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubComm
ands$6$1.invoke(CommandReflector.kt)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunct
ionImpl.call$suspendImpl(CommandSignature.kt:88)
at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunct
ionImpl.call(CommandSignature.kt)
at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.execute
CommandImpl(CommandManagerImpl.kt:168)
at net.mamoe.mirai.console.command.CommandManager.executeCommand(Command
Manager.kt:130)
at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeComman
d(CommandManager.kt)
at net.mamoe.mirai.console.command.CommandManager.executeCommand$default
(CommandManager.kt:125)
at chat-command-0.5.1.jar//net.mamoe.mirai.console.plugins.chat.command.
PluginMain.handleCommand(PluginMain.kt:86)
at chat-command-0.5.1.jar//net.mamoe.mirai.console.plugins.chat.command.
PluginMain$onEnable$2$1.invokeSuspend(PluginMain.kt:69)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Contin
uationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineS
cheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(C
oroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(Cor
outineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Coroutine
Scheduler.kt:665)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.awt.G
raphicsEnvironment$LocalGE
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment
(GraphicsEnvironment.java:106)
at java.desktop/java.awt.image.BufferedImage.createGraphics(BufferedImag
e.java:1181)
at ranklookup-1.1.1.mirai.jar//PlayerStatKt.drawImageToImage(PlayerStat.
kt:85)
at ranklookup-1.1.1.mirai.jar//pers.shennoter.MapStatKt.mapPictureMode(M
apStat.kt:54)
at ranklookup-1.1.1.mirai.jar//pers.shennoter.MapStatKt.mapStat(MapStat.
kt:34)
at ranklookup-1.1.1.mirai.jar//pers.shennoter.Map.apexMapInfo(RankLookUp
.kt:75)
... 26 more -
@ZixuCReat 可能和这个issue的问题一样:
Issue #8 可以正常加载但无法查询,提示"java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit"试试添加环境变量
export JAVA_TOOL_OPTIONS="-Djava.awt.headless=true"
-
@SVIPNB 已更新
-
@Shennoter 好的👌,nb!
-
@Shennoter emmmm图片还是那么大,并没有变小
-
@SVIPNB 你要到配置文件里面把picType改成JPG
-
@Shennoter 好了,nb!我太心急,没看介绍
-
最新版本调用报错
2022-05-01 20:34:09 W/RankLookUp: Exception in executing command `[mirai:source:[1015],[-444575135]]/apexmap` java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) 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:305) 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:88) at net.mamoe.mirai.console.command.descriptor.CommandSignatureFromKFunctionImpl.call(CommandSignature.kt) at net.mamoe.mirai.console.internal.command.CommandManagerImplKt.executeCommandImpl(CommandManagerImpl.kt:167) at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt:131) at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(CommandManager.kt) at net.mamoe.mirai.console.command.CommandManager.executeCommand$default(CommandManager.kt:126) at net.mamoe.mirai.console.plugins.chat.command.PluginMain.handleCommand(PluginMain.kt:86) at net.mamoe.mirai.console.plugins.chat.command.PluginMain$onEnable$2$1.invokeSuspend(PluginMain.kt:69) 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: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: javax.imageio.IIOException: Caught exception during read: at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source) at java.desktop/javax.imageio.ImageIO.read(Unknown Source) at java.desktop/javax.imageio.ImageIO.read(Unknown Source) at pers.shennoter.ApexUtilsKt.ImageCache(ApexUtils.kt:29) at pers.shennoter.MapStatKt.mapPictureMode(MapStat.kt:45) at pers.shennoter.MapStatKt.mapStat(MapStat.kt:33) at pers.shennoter.Map.apexMapInfo(RankLookUp.kt:77) ... 26 more Caused by: java.lang.IndexOutOfBoundsException at java.base/java.io.RandomAccessFile.readBytes(Native Method) at java.base/java.io.RandomAccessFile.read(Unknown Source) at java.desktop/javax.imageio.stream.FileImageInputStream.read(Unknown Source) at java.desktop/com.sun.imageio.plugins.common.SubImageInputStream.read(Unknown Source) at java.desktop/com.sun.imageio.plugins.common.InputStreamAdapter.read(Unknown Source) at java.base/java.io.SequenceInputStream.read(Unknown Source) at java.base/java.util.zip.InflaterInputStream.fill(Unknown Source) at java.base/java.util.zip.InflaterInputStream.read(Unknown Source) at java.base/java.io.BufferedInputStream.fill(Unknown Source) at java.base/java.io.BufferedInputStream.read1(Unknown Source) at java.base/java.io.BufferedInputStream.read(Unknown Source) at java.base/java.io.DataInputStream.readFully(Unknown Source) at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.decodePass(Unknown Source) at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.decodeImage(Unknown Source) at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source) ... 33 more
-
/apexid查询数据后,分数是八千八,应该是钻二,但是图片中是钻四!
-
查询特定id时报错 -
emmm,大佬,现在无论隔多长时间查,都返回“错误,短时间内请求过多,请稍后再试”。之前不使用api的时候是用的什么方式?
-
@SVIPNB 同样的方式,一直报这个可能id是错的
-
@SVIPNB 刚刚试了试,是api出问题了,报错说没有这个apikey
-
@Shennoter 是查询网站出问题了?
-
@SVIPNB 是
-
@Shennoter 好的吧,大佬有空看看https://apex.tracker.gg这个查询网站,看看有没有搞头
-
@SVIPNB 现在这个api的服务器炸了,等等就行了
-
@Shennoter 好的👌🏻