ApexLookUp - Apex英雄查询插件
-
@Shennoter 没问题了,之前那个apikey有问题,重新申请了一个就好了,谢谢大佬
顺便再问一下,能绑定steam吗 -
@orbitly17 steam登录其实用的就是origin,只能查询橘子id,每个steam账号也会对应一个橘子id的
-
@Shennoter 好的,谢谢大佬
-
能不能开发一个模拟开箱的功能 感觉应该很好玩!
-
@haohengok 可以
-
2022-08-04 13:24:58 W/ApexLookUp: Linked class okhttp3.OkHttpClient$Builder in mirai-skia-plugin-1.1.4.mirai.jar but plugin not depend on it.
2022-08-04 13:24:58 W/ApexLookUp: Class loading logic may change in feature.
2022-08-04 13:25:00 W/ApexLookUp: Exception in executing command[mirai:source:ids=[742], internalIds=[-1194176845], from group 450752262 to 761882387 at 1659590699]/apexid aipiao
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Static.call(CallerImpl.kt:106)
at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:173)
at kotlin.reflect.full.KCallables.callSuspendBy(KCallables.kt:74)
at net.mamoe.mirai.console.internal.command.CommandReflector$findSubCommands$6$1.invokeSuspend(CommandReflector.kt:337)
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:168)
at net.mamoe.mirai.console.command.CommandManager.executeCommand$suspendImpl(CommandManager.kt:130)
at net.mamoe.mirai.console.command.CommandManager.executeCommand(CommandManager.kt)
at net.mamoe.mirai.console.command.CommandManager$INSTANCE.executeCommand(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(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)
Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:225)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.Gson.fromJson(Gson.java:991)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.Gson.fromJson(Gson.java:956)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.Gson.fromJson(Gson.java:905)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.Gson.fromJson(Gson.java:876)
at ApexLookUp-1.6.0.mirai.jar//PlayerStatKt.playerStat(PlayerStat.kt:32)
at ApexLookUp-1.6.0.mirai.jar//Player.apexPlayerInfo(Commands.kt:19)
at ApexLookUp-1.6.0.mirai.jar//Player.apexPlayerInfo$default(Commands.kt:17)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 23 more
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
at ApexLookUp-1.6.0.mirai.jar//com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:214)
... 31 more
怎么解 -
大佬我是小白 这个插件该怎么使用啊
-
@atc-atc 在github的release页面下载jar文件,放进mirai的plugin文件夹
-
StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console.
大佬能问下这个报错是为啥吗 -
@Bmo1805 跟这个插件无关(我也有这个报错,暂时没发现有什么影响)
升级openjdk可以解决这个问题 -
@Shennoter 有影响的,插件直接查不到了,好像是因为Apex api要过Google,国内访问Google懂的都懂,可能要想想办法了
-
@hejinding 我才发现上面回错人了😱, Log4j2这个问题升级openjdk就行了
关于你的这个报错不知道会不会跟mirai-skia-plugin有关系,我腾讯云服务器也没梯子,访问api是没问题的 -
@Shennoter 哈哈哈哈哈哈(
-
@Rowxuan 兄弟能教一下我吗
-
@atc-atc 兄弟你搞懂了吗
-
@Shennoter 大佬我想问下,腾讯linux云服务器可以跑吗,需要什么安装什么环境吗?我有点小白,搞不懂这个插件安装逻辑
-
@haohengok 大佬,我纯小白,能不能教我一下 我真的看不明白
-
@yuanshiyu 首先你要配置java环境,然后下载安装mcl运行,再把这个插件放到plugin文件夹,建议阅读用户手册https://github.com/mamoe/mirai/blob/dev/docs/UserManual.md
-
你好 我已经做到这一步了,mcl启动了 java也安装了配置了环境变量 请问接下来需要改什么或者我怎么去看效果
-
@yuanshiyu 再装个chat-command,然后就可以给机器人输指令了