kukume / kukubot

A bot.
183 stars 36 forks source link

更新pre0.0.3用不了 #55

Closed nikissXI closed 3 years ago

nikissXI commented 3 years ago

机器人直接傻掉了

Cubik65536 commented 3 years ago

机器人直接傻掉了

CentOS 8 x86 测试环境一切正常,可以描述一下你所使用的环境和更新使用的方法吗

nikissXI commented 3 years ago

win10和Ubuntu都试过,v2.4可以用,然后下载v0.0.3把jar换过去就不行 莫非不是这样更新? 顺便问一下 1、我把项目git clone下来,然后/gradlew build编译失败,是用这条命令编译吗 2、能加插件么

kukume commented 3 years ago

不是用的一个框架,得重新来,https://www.kuku.me/archives/16/  部署教程

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月28日(星期三) 下午2:25 收件人:"kukume/kukubot" @.>; 抄送:"Subscribed @.***>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

win10和Ubuntu都试过,v2.4可以用,然后下载v0.0.3把jar换过去就不行 莫非不是这样更新? 顺便问一下,我把项目git clone下来,然后/gradlew build编译失败,是用这条命令编译吗

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

我想给他增加功能的话是修改源码再编译还是加插件?

kukume commented 3 years ago

修改源码再编译 加插件是啥 2.4的是主分支,0.0.3是simbot分支

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月28日(星期三) 下午2:31 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

我想给他增加功能的话是修改源码再编译还是加插件?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

编译环境有要求吗,还是直接./gradlew build

kukume commented 3 years ago

simbot的用的maven  需要装maven 或者使用ide的编译,命令的话是 mvn clean package

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月28日(星期三) 下午2:38 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

编译环境有要求吗,还是直接./gradlew build

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

噢噢,好的,谢谢 master和simbot哪个更好使,第一次用不太懂qwq 还有就是,增加功能的话在ToolController.java源码添加自己的功能函数就可以了吧 (望请大佬谅解一下菜狗的啰嗦

nikissXI commented 3 years ago

现在启动了simbot0.0.3,但是机器人不会说话 image 进群退群有报错 image

kukume commented 3 years ago

差不多把  master的那个框架有bug一直没更新,所以我直接迁移到另一个框架了。论开发的话,我觉得simbot的更麻烦

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月28日(星期三) 下午2:46 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

噢噢,好的,谢谢 master和simbot哪个更好使,第一次用不太懂qwq 还有就是,增加功能的话在ToolController.java源码添加自己的功能函数就可以了吧 (望请大佬谅解一下菜狗的啰嗦

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

kukume commented 3 years ago

群里面发  kukubot开 指令只有一个参数中间没有空格,后面我应该会有没有空格都可以

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月28日(星期三) 下午2:48 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

现在启动了simbot0.0.3,但是机器人不会说话

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

kukubot 开 和 kukubot开 都没反应

kukume commented 3 years ago

报错没,你机器人账号登陆成功了吗? 如果都没有的话,等我回去看下。。

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月28日(星期三) 下午2:56 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

kukubot 开 和 kukubot开 都没反应

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

有wrong,没error,账号正常登陆了的,你回去试试看吧,我放win和Ubuntu都这样

kukume commented 3 years ago

我测试了一下,没有问题, application.properties里面你更改了机器人主人的qq号没?如果没有更改也是没有反应

nikissXI commented 3 years ago

我测试了一下,没有问题, application.properties里面你更改了机器人主人的qq号没?如果没有更改也是没有反应

更改了

kukume commented 3 years ago

更改了也没反应?

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月29日(星期四) 中午1:14 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

我测试了一下,没有问题, application.properties里面你更改了机器人主人的qq号没?如果没有更改也是没有反应

更改了

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

一个文件填qq账号密码 另一个填主人qq 没别的了吧

kukume commented 3 years ago

.bot结尾的文件填账号密码,application.properties填机器人主人

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月29日(星期四) 中午1:34 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

一个文件填qq账号密码 另一个填主人qq 没别的了吧

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

对的,跟着你的文档操作的,老版的qq机器人正常,就是simbot这个不行

nikissXI commented 3 years ago

加群退群都会刷报错出来

kukume commented 3 years ago

有报错带日志过来哇

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月29日(星期四) 中午1:40 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

加群退群都会刷报错出来

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

从登陆成功后开始截的

2021-07-29 13:42:18.672 INFO 13064 --- [ main] l.f.s.component.mirai.bot.1356090004 : Login successful 2021-07-29 13:42:18.674 INFO 13064 --- [atcher-worker-3] l.f.s.component.mirai.net.1356090004 : Scheduled refresh login session in 19d 23h 59min 55.0s. 2021-07-29 13:42:18.674 INFO 13064 --- [atcher-worker-4] l.f.s.component.mirai.net.1356090004 : Scheduled key refresh in 23h 59min 55.0s. 2021-07-29 13:42:18.697 INFO 13064 --- [ main] .f.s.c.c.CoreMethodPostListenerRegistrar : Ready to register method listeners. 2021-07-29 13:42:18.697 INFO 13064 --- [ main] .f.s.c.c.CoreMethodPostListenerRegistrar : If you want to view the details, please enable log debug. 2021-07-29 13:42:19.398 WARN 13064 --- [ main] .s.c.l.FunctionFromClassListenerFunction : Strict mode was disabled for core function listener. 2021-07-29 13:42:19.413 WARN 13064 --- [ main] .m.e.G.String!): kotlin.String!.notSpeak : notSpeak Parameter(name=day, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:19.415 WARN 13064 --- [ main] a.m.e.GroupMsg!): kotlin.String!.weather : weather Parameter(name=local, index=1)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:19.529 WARN 13064 --- [ main] pi.sender.MsgSender!): kotlin.Unit.flash : flash Parameter(name=qq, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:19.816 WARN 13064 --- [ main] ts.GroupMsg): kotlin.Unit.getNextMessage : Unable to determine the name of the filter value name in parameter(1) extension receiver parameter of fun me.kuku.simbot.controller.ContextSessionController.(love.forte.simbot.api.message.events.GroupMsg.)getNextMessage(love.forte.simbot.api.message.events.GroupMsg): kotlin.Unit 2021-07-29 13:42:19.818 WARN 13064 --- [ main] .PrivateMsg): kotlin.Unit.getNextMessage : Unable to determine the name of the filter value name in parameter(1) extension receiver parameter of fun me.kuku.simbot.controller.ContextSessionController.(love.forte.simbot.api.message.events.PrivateMsg.)getNextMessage(love.forte.simbot.api.message.events.PrivateMsg): kotlin.Unit 2021-07-29 13:42:20.201 WARN 13064 --- [ main] nts.GroupMsg!): kotlin.String!.allShutUp : allShutUp Parameter(name=statusStr, index=1)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.203 WARN 13064 --- [ main] f.k.s.c.M.d.k.s.e.G.S.String!.delQa : delQa Parameter(name=q, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.206 WARN 13064 --- [ main] f.k.s.c.M.m.k.s.e.G.I.S.maxCommandCount : maxCommandCount Parameter(name=count, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.210 WARN 13064 --- [ main] events.GroupMsg!): kotlin.String!.shutUp : shutUp Parameter(name=group, index=1)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.214 WARN 13064 --- [ main] events.GroupMsg!): kotlin.String!.shutUp : shutUp Parameter(name=at, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.215 WARN 13064 --- [ main] events.GroupMsg!): kotlin.String!.shutUp : shutUp Parameter(name=timeStr, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.216 WARN 13064 --- [ main] ession!): kotlin.String!.addShellCommand : addShellCommand Parameter(name=command, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.217 WARN 13064 --- [ main] ession!): kotlin.String!.addShellCommand : addShellCommand Parameter(name=qq, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.218 WARN 13064 --- [ main] .k.s.c.M.a.k.s.e.G.S.I.S.addCommandLimit : addCommandLimit Parameter(name=command, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.218 WARN 13064 --- [ main] .k.s.c.M.a.k.s.e.G.S.I.S.addCommandLimit : addCommandLimit Parameter(name=count, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.220 WARN 13064 --- [ main] f.k.s.c.M.o.k.s.e.G.S.S.S.openOrOff : openOrOff Parameter(name=statusStr, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.220 WARN 13064 --- [ main] f.k.s.c.M.o.k.s.e.G.S.S.S.openOrOff : openOrOff Parameter(name=op, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.222 WARN 13064 --- [ main] nder!, kotlin.Long): kotlin.String!.kick : kick Parameter(name=at, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.231 WARN 13064 --- [ main] f.k.s.c.M.d.k.s.e.G.S.S.delCommandLimit : delCommandLimit Parameter(name=command, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.233 WARN 13064 --- [ main] pi.sender.MsgSender!): kotlin.String!.qa : qa Parameter(name=qq, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.233 WARN 13064 --- [ main] pi.sender.MsgSender!): kotlin.String!.qa : qa Parameter(name=q, index=4)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.234 WARN 13064 --- [ main] pi.sender.MsgSender!): kotlin.String!.qa : qa Parameter(name=group, index=5)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.235 WARN 13064 --- [ main] f.k.s.c.M.d.k.s.e.G.S.S.delShellCommand : delShellCommand Parameter(name=command, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.236 WARN 13064 --- [ main] f.k.s.c.M.d.k.s.e.G.S.S.String!.del : del Parameter(name=type, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.236 WARN 13064 --- [ main] f.k.s.c.M.d.k.s.e.G.S.S.String!.del : del Parameter(name=content, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.237 WARN 13064 --- [ main] .f.s.c.c.CoreMethodPostListenerRegistrar : Function fun me.kuku.simbot.controller.ManagerController.delManager(com.alibaba.fastjson.JSONArray!, kotlin.String!): kotlin.Unit is marked as a Listener, but it is not a public function, ignored. 2021-07-29 13:42:20.239 WARN 13064 --- [ main] .f.s.c.c.CoreMethodPostListenerRegistrar : Function fun me.kuku.simbot.controller.ManagerController.delMonitorList(com.alibaba.fastjson.JSONArray!, kotlin.String!): kotlin.Unit is marked as a Listener, but it is not a public function, ignored. 2021-07-29 13:42:20.241 WARN 13064 --- [ main] .G.S.S.k.s.c.C.Long): kotlin.String!.add : add Parameter(name=type, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.241 WARN 13064 --- [ main] .G.S.S.k.s.c.C.Long): kotlin.String!.add : add Parameter(name=content, index=3)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.241 WARN 13064 --- [ main] .G.S.S.k.s.c.C.Long): kotlin.String!.add : add Parameter(name=qq, index=5)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.243 WARN 13064 --- [ main] f.k.s.c.M.q.k.s.e.G.S.String!.query : query Parameter(name=type, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.249 WARN 13064 --- [ main] .f.s.c.c.CoreMethodPostListenerRegistrar : Cannot get type class org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration$HikariPoolDataSourceMetadataProviderConfiguration$$Lambda$561/711540569 functions because kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Unresolved class: class org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration$HikariPoolDataSourceMetadataProviderConfiguration$$Lambda$561/711540569. skip. 2021-07-29 13:42:20.310 WARN 13064 --- [ main] der!, kotlin.Long): kotlin.Boolean.inter : inter Parameter(name=qq, index=4)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.569 WARN 13064 --- [ main] f.k.s.c.T.w.L.S.S.wordSegmentation : wordSegmentation Parameter(name=qq, index=1)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.569 WARN 13064 --- [ main] f.k.s.c.T.w.L.S.S.wordSegmentation : wordSegmentation Parameter(name=word, index=2)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.573 WARN 13064 --- [ main] f.k.s.c.T.g.L.Any!.girlImage : girlImage Parameter(name=qq, index=1)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.579 WARN 13064 --- [ main] f.k.s.c.T.t.S.String!.talk : talk Parameter(name=ms, index=1)'s type is String or primitive types. In non-strict mode, the filter value will be tried first, followed by the context value, and finally by the dependency. 2021-07-29 13:42:20.665 INFO 13064 --- [atcher-worker-4] l.f.s.component.mirai.net.1356090004 : Server list updated. 2021-07-29 13:42:20.670 INFO 13064 --- [atcher-worker-4] l.f.s.component.mirai.net.1356090004 : Server list: 113.96.12.217:8080, 180.102.110.114:443, 125.94.60.166:8080, 42.81.172.22:443, 114.221.151.171:80, 113.96.13.95:14000, 42.81.170.51:443, 180.102.110.122:8080, msfwifi.3g.qq.com:8080, 42.81.172.22:80. 2021-07-29 13:42:20.683 INFO 13064 --- [atcher-worker-2] l.f.s.component.mirai.net.1356090004 : ConfigPushSvc.PushReq: Server updated. 2021-07-29 13:42:20.796 INFO 13064 --- [ main] .f.s.c.c.CoreMethodPostListenerRegistrar : Method listeners Registration is complete. 2021-07-29 13:42:21.149 INFO 13064 --- [ main] l.f.s.c.c.CoreListenerRegistrar : Registration Bot: code=1356090004, name=Fake, level=1 2021-07-29 13:42:23.290 INFO 13064 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index 2021-07-29 13:42:23.539 INFO 13064 --- [ main] io.undertow : starting server: Undertow - 2.2.9.Final 2021-07-29 13:42:23.562 INFO 13064 --- [ main] org.xnio : XNIO version 3.8.4.Final 2021-07-29 13:42:23.581 INFO 13064 --- [ main] org.xnio.nio : XNIO NIO Implementation Version 3.8.4.Final 2021-07-29 13:42:23.907 INFO 13064 --- [ main] org.jboss.threads : JBoss Threads version 3.1.0.Final 2021-07-29 13:42:23.966 INFO 13064 --- [ main] o.s.b.w.e.undertow.UndertowWebServer : Undertow started on port(s) 8081 (http) 2021-07-29 13:42:23.990 INFO 13064 --- [ main] me.kuku.simbot.BotApplication : Started BotApplication in 17.263 seconds (JVM running for 17.938) 2021-07-29 13:43:01.572 ERROR 13064 --- [nt-dispatcher-2] gSender!): kotlin.Unit.groupMemberReduce : Listener execution exception: java.lang.NullPointerException

java.lang.NullPointerException: null at me.kuku.simbot.event.GroupManagerEvent.groupMemberReduce(GroupManagerEvent.java:136) ~[classes!/:1.0-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_301] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_301] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_301] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_301] at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invokeSuspend(FunctionFromClassListenerFunction.kt:70) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invokeSuspend(FunctionFromClassListenerFunction.kt:610) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction.invoke(FunctionFromClassListenerFunction.kt:632) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.ListenerInvokerImpl.invoke(ListenerInvokerImpl.kt:34) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invokeSuspend(CoreListenerManager.kt:306) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invoke(CoreListenerManager.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invoke(CoreListenerManager.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg0$doListen(CoreListenerManager.kt:351) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg0(CoreListenerManager.kt:396) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg1(CoreListenerManager.kt:274) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.access$onMsg1(CoreListenerManager.kt:93) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$onMsg$2.invokeSuspend(CoreListenerManager.kt:236) [core-2.2.0-BETA.3.jar!/:na] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [kotlin-stdlib-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [kotlinx-coroutines-core-jvm-1.5.0.jar!/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_301] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_301] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_301]

kukume commented 3 years ago

这个退群应该有bug,但是不影响发指令的,发 kukubot开还是没反应吗? 你机器人可能被腾讯屏蔽了? 你可以发一些私聊指令到机器人看有反应没

nikissXI commented 3 years ago

私聊指令有啥,来几个,我私发kukubot开也是没反应,屏蔽的话,不可能,因为我用Mirai加mcl成了= =,我用你v2.4的机器人也可以正常使用,就是你这个pre版用不了

kukume commented 3 years ago

你试试 网易 xxx xxx

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月29日(星期四) 中午1:57 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

私聊指令有啥,来几个,我私发kukubot开也是没反应,屏蔽的话,不可能,因为我用Mirai加mcl成了= =,我用你v2.4的机器人也可以正常使用,就是你这个pre版用不了

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

2021-07-29 14:00:32.710 ERROR 18040 --- [nt-dispatcher-2] f.k.s.c.N.l.S.S.k.s.e.Q.String!.login : Listener execution exception: java.lang.IllegalArgumentException: argument type mismatch

java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_301] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_301] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_301] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_301] at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invokeSuspend(FunctionFromClassListenerFunction.kt:70) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invokeSuspend(FunctionFromClassListenerFunction.kt:610) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction.invoke(FunctionFromClassListenerFunction.kt:632) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.ListenerInvokerImpl.invoke(ListenerInvokerImpl.kt:34) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invokeSuspend(CoreListenerManager.kt:306) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invoke(CoreListenerManager.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invoke(CoreListenerManager.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg0$doListen(CoreListenerManager.kt:351) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg0(CoreListenerManager.kt:396) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg1(CoreListenerManager.kt:274) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.access$onMsg1(CoreListenerManager.kt:93) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$onMsg$2.invokeSuspend(CoreListenerManager.kt:236) [core-2.2.0-BETA.3.jar!/:na] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [kotlin-stdlib-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [kotlinx-coroutines-core-jvm-1.5.0.jar!/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_301] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_301] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_301]

kukume commented 3 years ago

有反应就是能收到消息呗,虽然有异常😂😂 应该是被屏蔽了

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月29日(星期四) 下午2:01 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

2021-07-29 14:00:32.710 ERROR 18040 --- [nt-dispatcher-2] f.k.s.c.N.l.S.S.k.s.e.Q.String!.login : Listener execution exception: java.lang.IllegalArgumentException: argument type mismatch

java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_301] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_301] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_301] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_301] at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) ~[kotlin-reflect-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invokeSuspend(FunctionFromClassListenerFunction.kt:70) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$functionCaller$2.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invokeSuspend(FunctionFromClassListenerFunction.kt:610) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction$invoker$1.invoke(FunctionFromClassListenerFunction.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.FunctionFromClassListenerFunction.invoke(FunctionFromClassListenerFunction.kt:632) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.ListenerInvokerImpl.invoke(ListenerInvokerImpl.kt:34) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invokeSuspend(CoreListenerManager.kt:306) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invoke(CoreListenerManager.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$doListenerFunctionInvoker$2.invoke(CoreListenerManager.kt) ~[core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg0$doListen(CoreListenerManager.kt:351) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg0(CoreListenerManager.kt:396) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.onMsg1(CoreListenerManager.kt:274) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager.access$onMsg1(CoreListenerManager.kt:93) [core-2.2.0-BETA.3.jar!/:na] at love.forte.simbot.core.listener.CoreListenerManager$onMsg$2.invokeSuspend(CoreListenerManager.kt:236) [core-2.2.0-BETA.3.jar!/:na] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [kotlin-stdlib-1.5.20.jar!/:1.5.20-release-287 (1.5.20)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) [kotlinx-coroutines-core-jvm-1.5.0.jar!/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_301] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_301] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_301]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

nikissXI commented 3 years ago

是你这个机器人的问题吧

kukume commented 3 years ago

都是基于mirai的。。后面我加个消息日志把。

--------------原始邮件-------------- 发件人:"nikissXI @.>; 发送时间:2021年7月29日(星期四) 下午2:13 收件人:"kukume/kukubot" @.>; 抄送:"kuku @.>;"Comment @.>; 主题:Re: [kukume/kukubot] 更新pre0.0.3用不了 (#55)

是你这个机器人的问题吧

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

kukume commented 3 years ago

试试 0.0.4 ,加上了日志,如果你在某个框架能正常发消息等操作,把那个程序的device.json复制过来

nikissXI commented 3 years ago

试试 0.0.4 ,加上了日志,如果你在某个框架能正常发消息等操作,把那个程序的device.json复制过来