mamoe / mirai

高效率 QQ 机器人支持库
https://mirai.mamoe.net
GNU Affero General Public License v3.0
14.2k stars 2.53k forks source link

踢出成员后触发了 Operation too fast,无法恢复正常操作 #2318

Open DreamUniverse843 opened 1 year ago

DreamUniverse843 commented 1 year ago

问题描述

如题,在踢出成员后触发了 Operation too fast,且无法恢复正常操作 重启/清理 device.json/重装 Mirai 均无法让账号恢复踢人能力

复现

通过 MiraiCP 进行踢人操作(理论上任何踢人操作均可),大约 20-30 个就会触发这个问题,而且短时间无法解除。

(我发 issue 的时候距离触发 Operation too fast 已经一个多小时了,还是没好)

mirai-core 版本

2.12.3

bot-protocol

ANDROID_PAD

其他组件版本

MiraiCP: v2.12.0-RC2

系统日志

2022-10-30 11:42:55 I/main: Starting mirai-console...
2022-10-30 11:42:55 I/main: Backend: version 2.12.3, built on 2022-09-11 21:02:46.
2022-10-30 11:42:55 I/main: Frontend Terminal: version 2.12.3, provided by Mamoe Technologies
2022-10-30 11:42:55 I/main: Welcome to visit https://mirai.mamoe.net/
2022-10-30 11:42:56 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

2022-10-30 11:42:56 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation

2022-10-30 11:42:56 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

2022-10-30 11:42:56 I/plugin: Successfully loaded plugin MiraiCP v2.12.0-RC2
2022-10-30 11:42:56 I/plugin: Successfully loaded plugin MCL Addon v2.0.2
2022-10-30 11:42:56 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
2022-10-30 11:42:56 I/MiraiCP: ⭐MiraiCP启动中⭐
2022-10-30 11:42:56 I/MiraiCP: ⭐github地址:https://github.com/Nambers/MiraiCP
2022-10-30 11:42:56 I/MiraiCP: ⭐MiraiCP-loader 版本: 2.12.0-RC2, 构建时间: Fri Jul 22 08:29:04 UTC 2022
2022-10-30 11:42:56 I/MiraiCP/LibLoader: ⭐libLoader 版本: v2.12.0-RC2
2022-10-30 11:42:56 I/MiraiCP/LibLoader: loaded plugin MiraiCPPlugin.dll in 19ms
2022-10-30 11:42:56 I/MiraiCP: ⭐已成功启动MiraiCP⭐
2022-10-30 11:42:56 I/MiraiCP/LibLoader: libLoader thread start
2022-10-30 11:42:56 I/plugin/Xiaobao-QQGroup-Plugin: 开始启动插件: cn.xiaobaomc.group
2022-10-30 11:42:56 I/plugin/Xiaobao-QQGroup-Plugin: [Info]插件正在启动。如群内无法接收到机器人消息,则可能处于风控状态。
2022-10-30 11:42:57 I/MCL Addon: iTXTech MCL Version: 2.1.0-71ec418
2022-10-30 11:42:57 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2022-10-30 11:42:57 I/main: 2 plugin(s) enabled.
2022-10-30 11:42:57 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 `mirai.no-desktop` 以关闭.
2022-10-30 11:42:57 I/WindowHelperJvm: Mirai is using desktop. Captcha will be thrown by window popup. You can add `mirai.no-desktop` to JVM properties (-Dmirai.no-desktop) to disable it.
2022-10-30 11:42:57 I/main: Auto-login 2651987825
2022-10-30 11:42:57 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...

2022-10-30 11:42:59 W/stderr: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.JceSecurity.getInstance(JceSecurity.java:131)

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:240)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.crypto.ECDH$Companion.calculateShareKey(ECDHJvmDesktop.kt:89)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.crypto.ECDH.lambda-3$testECDH(ECDHJvmDesktop.kt:49)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.crypto.ECDH.<clinit>(ECDHJvmDesktop.kt:61)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.crypto.ECDHKt.adjustToPublicKey(ECDH.kt:141)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.crypto.ECDHKt.adjustToPublicKey(ECDH.kt:136)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.crypto.ECDHInitialPublicKey.<init>(ECDH.kt:125)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.crypto.ECDHInitialPublicKey$$serializer.deserialize(ECDH.kt:122)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.crypto.ECDHInitialPublicKey$$serializer.deserialize(ECDH.kt:122)

2022-10-30 11:42:59 W/stderr:  at kotlinx.serialization.protobuf.internal.ProtobufDecoder.decodeSerializableValue(ProtobufDecoding.kt:191)

2022-10-30 11:42:59 W/stderr:  at kotlinx.serialization.protobuf.internal.ProtobufTaggedDecoder.decodeSerializableElement(ProtobufTaggedDecoder.kt:82)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.AccountSecretsImpl$$serializer.deserialize(AccountSecretsManager.kt:80)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.AccountSecretsImpl$$serializer.deserialize(AccountSecretsManager.kt:80)

2022-10-30 11:42:59 W/stderr:  at kotlinx.serialization.protobuf.internal.ProtobufDecoder.decodeSerializableValue(ProtobufDecoding.kt:191)

2022-10-30 11:42:59 W/stderr:  at kotlinx.serialization.protobuf.internal.ProtobufDecoder.decodeSerializableValue(ProtobufDecoding.kt:181)

2022-10-30 11:42:59 W/stderr:  at kotlinx.serialization.protobuf.ProtoBuf.decodeFromByteArray(ProtoBuf.kt:137)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.io.serialization.SerializationUtils__UtilsKt.loadAs(utils.kt:230)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.io.serialization.SerializationUtils.loadAs(utils.kt:1)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.io.serialization.SerializationUtils__UtilsKt.loadAs$default(utils.kt:225)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.utils.io.serialization.SerializationUtils.loadAs$default(utils.kt:1)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.FileCacheAccountSecretsManager.getSecretsImpl(AccountSecretsManager.kt:198)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.FileCacheAccountSecretsManager.getSecrets(AccountSecretsManager.kt:192)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.CombinedAccountSecretsManager.getSecrets(AccountSecretsManager.kt:240)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.AccountSecretsManagerKt.getSecretsOrCreate(AccountSecretsManager.kt:152)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.createClient(BotClientHolder.kt:36)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.access$createClient(BotClientHolder.kt:24)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.BotClientHolderImpl$client$2.invoke(BotClientHolder.kt:28)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.BotClientHolderImpl$client$2.invoke(BotClientHolder.kt:28)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:38)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.getClient(BotClientHolder.kt:28)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.getClient(SsoProcessor.kt:107)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:122)

2022-10-30 11:42:59 W/stderr:  at net.mamoe.mirai.internal.network.impl.netty.NettyNetworkHandler$StateConnecting$startState$2.invokeSuspend(NettyNetworkHandler.kt:273)

2022-10-30 11:42:59 W/stderr:  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

2022-10-30 11:42:59 W/stderr:  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)

2022-10-30 11:42:59 W/stderr:  at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)

2022-10-30 11:42:59 W/stderr:  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)

2022-10-30 11:42:59 W/stderr:  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)

2022-10-30 11:42:59 W/stderr:  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

2022-10-30 11:42:59 W/stderr: Caused by: java.util.jar.JarException: The JCE Provider file:/C:/Users/Server/Desktop/MiraiLauncher/libs/mirai-core-all-2.12.3.jar is not signed.

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:464)

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.JarVerifier.verifyJars(JarVerifier.java:317)

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.JarVerifier.verify(JarVerifier.java:260)

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.ProviderVerifier.verify(ProviderVerifier.java:130)

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.JceSecurity.verifyProvider(JceSecurity.java:190)

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:218)

2022-10-30 11:42:59 W/stderr:  at java.base/javax.crypto.JceSecurity.getInstance(JceSecurity.java:128)

2022-10-30 11:42:59 W/stderr:  ... 39 more

2022-10-30 11:42:59 I/Bot.2651987825: Loaded account secrets from local cache.
2022-10-30 11:42:59 I/Bot.2651987825: Saved account secrets to local cache for fast login.
2022-10-30 11:42:59 I/Bot.2651987825: Login successful.
2022-10-30 11:43:00 V/Bot.2651987825: Event: BotOnlineEvent(bot=Bot(2651987825))
2022-10-30 11:43:00 I/Bot.2651987825: Bot login successful.
2022-10-30 11:43:00 I/main: mirai-console started successfully.
2022-10-30 11:43:14 V/Bot.2651987825: [包子铺入服通知群(181327275)] DreamUniverse(3212903564) -> .cleannick
2022-10-30 11:43:14 I/plugin/Xiaobao-QQGroup-Plugin: [Operation]管理员操作:清理不合规群名片的群成员。
2022-10-30 11:43:14 I/plugin/Xiaobao-QQGroup-Plugin: [System]当前时间是 2022-10-30_11-43-14
2022-10-30 11:43:14 I/MiraiCP: Send message for Group(181327275) is 十秒后将执行不合规成员清理操作。
如需在操作期间执行取消操作,请输入 .cleancancel。
2022-10-30 11:43:15 V/Bot.2651987825: Group(181327275) <- 十秒后将执行不合规成员清理操作。\n如需在操作期间执行取消操作,请输入 .cleancancel。
2022-10-30 11:43:25 I/MiraiCP: Send message for Group(181327275) is 清理任务已启动。
2022-10-30 11:43:25 V/Bot.2651987825: Group(181327275) <- 清理任务已启动。
2022-10-30 11:43:26 I/plugin/Xiaobao-QQGroup-Plugin: [System]群成员清单拉取完毕,长度 531
2022-10-30 11:43:26 I/MiraiCP: Send message for Group(181327275) is 获取群成员元素完毕,当前群成员数为 531
2022-10-30 11:43:26 V/Bot.2651987825: Group(181327275) <- 获取群成员元素完毕,当前群成员数为 531
2022-10-30 11:43:28 I/stdout: Operation too fast

2022-10-30 11:43:28 I/stdout: {"data":{"contactSource":"{\"botid\":2651987825,\"groupid\":604890935,\"id\":1822802301,\"nickornamecard\":\"云鸢12138\",\"type\":3}","message":"您的群名片不合乎格式要求。"},"type":11}

2022-10-30 11:43:28 W/stderr: java.lang.IllegalStateException: Operation too fast

2022-10-30 11:43:28 W/stderr:  at net.mamoe.mirai.internal.contact.NormalMemberImpl.kick(NormalMemberImpl.kt:186)

2022-10-30 11:43:28 W/stderr:  at net.mamoe.mirai.internal.contact.NormalMemberImpl$kick$1.invokeSuspend(NormalMemberImpl.kt)

2022-10-30 11:43:28 W/stderr:  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)

2022-10-30 11:43:28 W/stderr:  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)

2022-10-30 11:43:28 W/stderr:  at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)

2022-10-30 11:43:28 W/stderr:  at MiraiCP-plugin-2.12.0-RC2.mirai2.jar//tech.eritquearcus.miraicp.shared.CPPLib.KOperation(CPPLib.kt:226)

2022-10-30 11:43:28 E/plugin/Xiaobao-QQGroup-Plugin: MiraiCP内部无法预料的错误:
2022-10-30 11:43:28 E/plugin/Xiaobao-QQGroup-Plugin: 文件名:E:\Dev\GroupDLL-cpp\single_include\MiraiCP\MiraiCP.cpp
行号:674
2022-10-30 11:43:54 V/Bot.2651987825: [包子铺入服通知群(181327275)] DreamUniverse(3212903564) -> .cleannick
2022-10-30 11:43:54 I/plugin/Xiaobao-QQGroup-Plugin: [Operation]管理员操作:清理不合规群名片的群成员。
2022-10-30 11:43:54 I/plugin/Xiaobao-QQGroup-Plugin: [System]当前时间是 2022-10-30_11-43-54
2022-10-30 11:43:54 I/MiraiCP: Send message for Group(181327275) is 十秒后将执行不合规成员清理操作。
如需在操作期间执行取消操作,请输入 .cleancancel。
2022-10-30 11:43:55 V/Bot.2651987825: Group(181327275) <- 十秒后将执行不合规成员清理操作。\n如需在操作期间执行取消操作,请输入 .cleancancel。
2022-10-30 11:44:05 I/MiraiCP: Send message for Group(181327275) is 清理任务已启动。
2022-10-30 11:44:05 V/Bot.2651987825: Group(181327275) <- 清理任务已启动。
2022-10-30 11:44:06 I/plugin/Xiaobao-QQGroup-Plugin: [System]群成员清单拉取完毕,长度 531
2022-10-30 11:44:06 I/MiraiCP: Send message for Group(181327275) is 获取群成员元素完毕,当前群成员数为 531
2022-10-30 11:44:06 V/Bot.2651987825: Group(181327275) <- 获取群成员元素完毕,当前群成员数为 531
2022-10-30 11:44:08 V/Bot.2651987825: [包子铺(604890935)] 游戏ID:hjgjy(3212965744) -> [mirai:quote:[mirai:source:ids=[151140], internalIds=[-215348388], from 3028694658 to 604890935 at 1667100531], content=[图片]能打龙了][mirai:at:3028694658] 恶魂之泪?
2022-10-30 11:44:08 I/stdout: Operation too fast

2022-10-30 11:44:08 I/stdout: {"data":{"contactSource":"{\"botid\":2651987825,\"groupid\":604890935,\"id\":1822802301,\"nickornamecard\":\"云鸢12138\",\"type\":3}","message":"您的群名片不合乎格式要求。"},"type":11}

2022-10-30 11:44:08 W/stderr: java.lang.IllegalStateException: Operation too fast

2022-10-30 11:44:08 W/stderr:  at net.mamoe.mirai.internal.contact.NormalMemberImpl.kick(NormalMemberImpl.kt:186)

2022-10-30 11:44:08 W/stderr:  at net.mamoe.mirai.internal.contact.NormalMemberImpl$kick$1.invokeSuspend(NormalMemberImpl.kt)

2022-10-30 11:44:08 W/stderr:  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)

2022-10-30 11:44:08 W/stderr:  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)

2022-10-30 11:44:08 W/stderr:  at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)

2022-10-30 11:44:08 W/stderr:  at MiraiCP-plugin-2.12.0-RC2.mirai2.jar//tech.eritquearcus.miraicp.shared.CPPLib.KOperation(CPPLib.kt:226)

2022-10-30 11:44:08 E/plugin/Xiaobao-QQGroup-Plugin: MiraiCP内部无法预料的错误:
2022-10-30 11:44:08 E/plugin/Xiaobao-QQGroup-Plugin: 文件名:E:\Dev\GroupDLL-cpp\single_include\MiraiCP\MiraiCP.cpp
行号:674
2022-10-30 11:44:34 V/Bot.2651987825: Event: BotOfflineEvent.Dropped(bot=Bot(2651987825), cause=NettyChannelException(message=null, cause=null), reconnect=true)
2022-10-30 11:44:34 I/Bot.2651987825: Bot cancelled: Job was cancelled

网络日志

2022-10-30 11:42:57 V/Net 2651987825: Loading server list from cache.
2022-10-30 11:42:57 I/Net 2651987825: Server list: 183.47.102.213:8080, 123.151.54.194:443, msfwifi.3g.qq.com:8080, 123.151.54.60:8080, 42.81.192.181:80, 117.62.243.225:80, 221.238.41.118:443, 117.62.242.81:14000, 183.47.106.14:80.
2022-10-30 11:42:59 I/Net 2651987825: ECDH key is valid.
2022-10-30 11:42:59 V/Net 2651987825: Send: wtlogin.exchange_emp
2022-10-30 11:42:59 V/Net 2651987825: Recv: wtlogin.exchange_emp
2022-10-30 11:42:59 V/Net 2651987825: Send: StatSvc.register(online)
2022-10-30 11:42:59 I/Net 2651987825: Server time updated, serverTime: 1667101378, diff: -1ms=-0.001s
2022-10-30 11:42:59 V/Net 2651987825: Recv: StatSvc.register
2022-10-30 11:42:59 V/Net 2651987825: Loading BdhSession from cache file
2022-10-30 11:42:59 I/Net 2651987825: Syncing friend message history...
2022-10-30 11:42:59 V/Net 2651987825: Send: StatSvc.GetDevLoginInfo(StatSvc.GetDevLoginInfo)
2022-10-30 11:42:59 I/Net 2651987825: Start loading friend list...
2022-10-30 11:42:59 I/Net 2651987825: Start loading stranger list...
2022-10-30 11:42:59 V/Net 2651987825: Send: OidbSvc.0x496(OidbSvc.0x496)
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.getFriendGroupList(friendlist.getFriendGroupList)
2022-10-30 11:42:59 V/Net 2651987825: Send: OidbSvc.0x5d2_0(OidbSvc.0x5d2_0)
2022-10-30 11:42:59 I/Net 2651987825: Successfully loaded stranger list: 0 in total
2022-10-30 11:42:59 V/Net 2651987825: Recv: OidbSvc.0x5d2_0
2022-10-30 11:42:59 V/Net 2651987825: Recv: StatSvc.GetDevLoginInfo
2022-10-30 11:42:59 I/Net 2651987825: No OtherClient online.
2022-10-30 11:42:59 I/Net 2651987825: Start loading group list...
2022-10-30 11:42:59 V/Net 2651987825: Recv: OidbSvc.0x496
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.GetTroopListReqV2(friendlist.GetTroopListReqV2)
2022-10-30 11:42:59 V/Net 2651987825: Recv: friendlist.getFriendGroupList
2022-10-30 11:42:59 V/Net 2651987825: Loading friend list: 17/17
2022-10-30 11:42:59 I/Net 2651987825: Successfully loaded friend list: 17 in total
2022-10-30 11:42:59 V/Net 2651987825: Recv: friendlist.GetTroopListReqV2
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:42:59 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:43:00 I/Net 2651987825: Syncing friend message history: Success.
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 V/Net 2651987825: Send: friendlist.GetTroopMemberListReq(friendlist.GetTroopMemberListReq)
2022-10-30 11:43:00 V/Net 2651987825: Recv: friendlist.GetTroopMemberListReq
2022-10-30 11:43:00 I/Net 2651987825: Successfully loaded group list: 7 in total.
2022-10-30 11:43:00 I/Net 2651987825: Scheduled refresh login session in 19d 23h 55min 0.0s.
2022-10-30 11:43:00 I/Net 2651987825: Scheduled key refresh in 23h 55min 0.0s.
2022-10-30 11:43:02 V/Net 2651987825: Saving bdh session to cache
2022-10-30 11:43:02 V/Net 2651987825: Send: ConfigPushSvc.PushResp(ConfigPushSvc.PushResp)
2022-10-30 11:43:02 V/Net 2651987825: Recv: ConfigPushSvc.PushReq
2022-10-30 11:43:14 V/Net 2651987825: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg)
2022-10-30 11:43:15 V/Net 2651987825: Recv: MessageSvc.PbSendMsg
2022-10-30 11:43:25 V/Net 2651987825: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg)
2022-10-30 11:43:25 V/Net 2651987825: Recv: MessageSvc.PbSendMsg
2022-10-30 11:43:26 V/Net 2651987825: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg)
2022-10-30 11:43:26 V/Net 2651987825: Recv: MessageSvc.PbSendMsg
2022-10-30 11:43:28 V/Net 2651987825: Send: OidbSvc.0x8a0_0(OidbSvc.0x8a0_0)
2022-10-30 11:43:28 V/Net 2651987825: Recv: OidbSvc.0x8a0_0
2022-10-30 11:43:54 V/Net 2651987825: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg)
2022-10-30 11:43:55 V/Net 2651987825: Recv: MessageSvc.PbSendMsg
2022-10-30 11:44:05 V/Net 2651987825: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg)
2022-10-30 11:44:05 V/Net 2651987825: Recv: MessageSvc.PbSendMsg
2022-10-30 11:44:06 V/Net 2651987825: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg)
2022-10-30 11:44:06 V/Net 2651987825: Recv: MessageSvc.PbSendMsg
2022-10-30 11:44:08 V/Net 2651987825: Send: OidbSvc.0x8a0_0(OidbSvc.0x8a0_0)
2022-10-30 11:44:08 V/Net 2651987825: Recv: OidbSvc.0x8a0_0
2022-10-30 11:44:34 V/Net 2651987825: Send: StatSvc.register(offline)

补充信息

No response

Him188 commented 1 year ago

踢人太快被服务器限制了我们也没办法解决啊

cssxsh commented 1 year ago

踢人太快被服务器限制了我们也没办法解决啊

踢人 的api支持 批量操作的把,修改一下,提供批量踢出的 api 就好

目前是每踢一个人就发一次包 但其实 一次包可以踢多个人来着

Him188 commented 1 year ago

哦那确实可以设计一个批量操作API

lyswhut commented 1 year ago

请问这个API啥时候可以安排上呀?真的很需要它,每次想要批量移除群员都必须慢慢一个个去移除,由于操作太快会被限制,所以我设置了1分钟移除1个,两三百人要4、5个小时,再多一点要十几二十个小时, 由于是一个个移除的,于是期间的几个至十几个小时内其他管理员一分钟就会收到一条QQ群移除成员通知。。。很烦人:(

sandtechnology commented 1 year ago

请问这个API是时候可以安排上呀?真的很需要它,每次想要批量移除群员都必须慢慢一个个去移除,由于操作太快会被限制,所以我设置了1分钟移除1个,两三百人要4、5个小时,再多一点要十几二十个小时, 由于是一个个移除的,于是期间的几个至十几个小时内其他管理员一分钟就会收到一条QQ群移除成员通知。。。很烦人:(

其实可以临时用https://qun.qq.com/manage.html 然后写js脚本来做批量管理( 批量操作需要新的数据包支持 这个比较(((

cssxsh commented 1 year ago

请问这个API是时候可以安排上呀?真的很需要它,每次想要批量移除群员都必须慢慢一个个去移除,由于操作太快会被限制,所以我设置了1分钟移除1个,两三百人要4、5个小时,再多一点要十几二十个小时, 由于是一个个移除的,于是期间的几个至十几个小时内其他管理员一分钟就会收到一条QQ群移除成员通知。。。很烦人:(

其实可以临时用https://qun.qq.com/manage.html 然后写js脚本来做批量管理( 批量操作需要新的数据包支持 这个比较(((

并不,我记得 目前的踢人数据包 里群员信息是数组,只不过目前的api 只给了一个群员信息

sandtechnology commented 1 year ago

请问这个API是时候可以安排上呀?真的很需要它,每次想要批量移除群员都必须慢慢一个个去移除,由于操作太快会被限制,所以我设置了1分钟移除1个,两三百人要4、5个小时,再多一点要十几二十个小时, 由于是一个个移除的,于是期间的几个至十几个小时内其他管理员一分钟就会收到一条QQ群移除成员通知。。。很烦人:(

其实可以临时用https://qun.qq.com/manage.html 然后写js脚本来做批量管理( 批量操作需要新的数据包支持 这个比较(((

并不,我记得 目前的踢人数据包 里群员信息是数组,只不过目前的api 只给了一个群员信息

有结构不代表可以批量吧( 如果说尝试过是可以的那可以做(

lyswhut commented 1 year ago

其实可以临时用https://qun.qq.com/manage.html 然后写js脚本来做批量管理(

是可以写一个调用web api的脚本,但是web api需要cookie,而cookie会过期,mirai没有生成cookie的API, 我现在的场景是在群人数达到一定阈值后自动清人,等触发清人操作时cookie都已经过期了(