@duoxini
我这边测试正常,查看下触发词是不是重置了。

写了个Alapi版本的,通过配置token可以正常使用。
[蓝奏云下载地址](https://wwoz.lanzoul.com/iOeGv1k80ing) 
密码:bgbj
修改部分:
1.早报接口修改为alapi。
2.摸鱼日志更换源,去除头部的引流。
3.添加自定义早报下的文字信息。(由于有缓存机制,更改文字后会在4个小时内生效)
新增指令:
/reporter_msg newsBottomText 文本信息
/reporter_msg alApiToken 自己的token
没有token的自己去注册一个,免费的。
@duoxini 发一份我自己用的吧
修改内容:
替换早报数据源为: https://api.2xb.cn/zaob
早报时间修改为早上7点
摸鱼日志时间为早报时间后的3小时(也就是10点,因为太早了摸鱼日志的爬虫爬取的地址还没有更新。)
下载地址:
https://wwoz.lanzoul.com/i4YO11ig3ref
密码:d47m
        我已经改好了,使用Alapi的,分享出来给需要的吧。修改基于当前版本1.5.2源代码。
1、在build.gradle.kts中的dependencies项内添加依赖:
dependencies {
    ......原有内容......
    implementation("org.json:json:20230227")
    implementation("com.squareup.okhttp3:okhttp:4.10.0")
}
2、找到kotlin/online/ruin_of_future/reporter/crawler/NewsCrawler.kt类,修改newsToday方法内容为以下代码:
if (byteArrayCache.isNotOutdated()) {
    return byteArrayCache.value
}
var url = "https://v2.alapi.cn/api/zaobao"
var params = JSONObject()
params.put("format","json")
params.put("token","xxxxxxxx")//此处替换为你自己的token,注册后在alapi个人主页查看
var requestBody = RequestBody.create("application/json; charset=utf-8".toMediaTypeOrNull(), params.toString())
var postRequest = Request.Builder()
        .url(url)
        .post(requestBody)
        .build()
var resp = client.newCall(postRequest).execute()
var respJson = JSONObject(resp.body?.bytes()?.let { String(it) })
respJson = JSONObject(respJson.get("data").toString())
val newsImg = withContext(ioDispatcher) {
    ImageIO.read(URL(respJson.getString("image")))
}
val bufferedImage = writeToImage(newsImg, respJson.getString("weiyu"))
val os = ByteArrayOutputStream()
withContext(ioDispatcher) {
    ImageIO.write(bufferedImage, "png", os)
}
byteArrayCache.value = os.toByteArray()
return byteArrayCache.value
修改后编译出插件正常使用即可。
@cssxsh 感谢!确实是因为这个问题。
原本我看到github上unidbg-fetch-qsign作者说可以更改config来适配原本的版本,我就直接复制了一个原本的然后改成跟现有协议一样的版本。(8.9.58)
后来我把现在的协议升级成unidbg-fetch-qsign中自带的协议版本就可以正常登录了。
@cssxsh 我使用github上下载的Sakura Login Solver在手机上进行了滑块验证,验证在手机上完成后服务器端报错237 网络环境不稳定。刚刚再次尝试登录后变成了45版本更新的报错
Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(3563445774), code=45, title=禁止登录, message=登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。, errorInfo=)
        1、mirai版本 2.1.50
===================================[ Mirai console 2.15.0 ]===================================
| \ / \ \ | / \ | \
| ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______
| ▓▓▓\ / ▓▓▓ / \ | | \ ▓▓ \▓▓/ | \ / / | ▓▓/ \
| ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\
| ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓
| ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
| ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \
\▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓
2023-07-18 21:26:41 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17.
2023-07-18 21:26:41 I/main: Frontend Terminal: version 2.15.0, provided by Ma
2、协议版本:
2023-07-18 21:26:49 I/fix-protocol-version: 当前各协议版本日期:
ANDROID_PHONE  8.9.58.11170  2023-05-19T11:35+08:00
ANDROID_PAD    8.9.58.11170  2023-05-19T11:35+08:00
ANDROID_WATCH  2.0.8         2019-06-03T20:25:31+08:00
IPAD           8.9.50.611    2023-02-16T15:10:14+08:00
MACOS          6.8.2.21241   2022-03-14T11:11:35+08:00
2023-07-18 21:26:50 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
3、密码登录 ANDROID_PAD
4、部署mirai-login-solver-sakura后进行滑块验证,完成后仍然报错237网络环境不稳定
2023-07-18 21:29:41 I/UnidbgFetchQsign: Bot(3563445774) initialize by http://127.0.0.1:33333
2023-07-18 21:29:48 I/UnidbgFetchQsign: Bot(3563445774) register, Instance loaded successfully.
2023-07-18 21:29:48 I/UnidbgFetchQsign: Bot(3563445774) initialize complete
2023-07-18 21:29:50 I/Bot.3563445774: Calculating type 2 PoW, it can take some time....
2023-07-18 21:29:51 I/Bot.3563445774: Got PoW result, cost: 379 ms
2023-07-18 21:30:56 I/Bot.3563445774: Bot cancelled: Bot closed
Login failed: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
2023-07-18 21:30:56 E/console: net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
net.mamoe.mirai.network.BotAuthorizationException: BotAuthorization(BotAuthorization.byPassword(<ERASED>)) threw an exception during authorization process. See cause below.
        at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.login(SsoProcessor.kt:263)
        at net.mamoe.mirai.internal.network.handler.CommonNetworkHandler$StateConnecting$startState$2.invokeSuspend(CommonNetworkHandler.kt:247)
        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:750)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
        Suppressed: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(3563445774), code=237, title=安全提醒, message=当前网络不稳定,登录失败。推荐使用常用设备或通过手机号登录。, errorInfo=)