Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

结界寄养优化 #251

Merged
merged 3 commits into from
May 30, 2024
Merged

结界寄养优化 #251

merged 3 commits into from
May 30, 2024

Conversation

yEs1do
Copy link
Contributor

@yEs1do yEs1do commented May 19, 2024

1、能够必定刷新所有好友结界卡 yEs1do#8
2、多等会儿小纸人体力
3、寄养滑动距离减少,少跳过几个人
如果觉得有部分调整不合适,可以直接把我的部分提交编辑了,剩余的进行合并

@runhey
Copy link
Owner

runhey commented May 20, 2024

原先的滑动的点位是很认真去调试的,如果换了就需要暂时在滑动执行过程中
如果是windows_message的控制方式,暂时切换到其他的比如Adb,完事后在换回来
#43

@yEs1do
Copy link
Contributor Author

yEs1do commented May 20, 2024

原先的滑动的点位是很认真去调试的,如果换了就需要暂时在滑动执行过程中 如果是 windows_message 的控制方式,暂时切换到其他的比如 Adb,完事后在换回来 #43

真奇怪,太复杂了,那我放弃这部分吧,待我修改一下

@yEs1do
Copy link
Contributor Author

yEs1do commented May 21, 2024

寮里的小纸人体力部分测试还是不够稳定,我再看看咋解决

@runhey
Copy link
Owner

runhey commented May 24, 2024

可以看到上面的两个sleep吗

@yEs1do
Copy link
Contributor Author

yEs1do commented May 24, 2024

可以看到上面的两个 sleep 吗

等三秒基本就能跑过来了,每次进寮的位置都会变所以等的时间不一样

@runhey
Copy link
Owner

runhey commented May 24, 2024

太久了不能这样

@yEs1do
Copy link
Contributor Author

yEs1do commented May 24, 2024

太久了不能这样

那 sleep 时间你看着改吧,你应该能编辑我的 pr

@yEs1do
Copy link
Contributor Author

yEs1do commented May 26, 2024

太久了不能这样

如果其中一次没领成功,下一次再领的话只能领到 20 体,为了每六小时省两秒,放弃溢出的 10 体力?这时间也不算太久。

@runhey
Copy link
Owner

runhey commented May 30, 2024

不是省两秒,而是严禁sleep

@runhey
Copy link
Owner

runhey commented May 30, 2024

尽管我带了一个坏头

@runhey runhey merged commit e0f7cc5 into runhey:dev May 30, 2024
@yEs1do
Copy link
Contributor Author

yEs1do commented May 30, 2024

刚发现合并了。你其实可以编辑我的 pr 把时间改回去。
这个问题其实还有提升空间,等识别到进入寮后再等一秒,并且扩大识别区域,应该可以减少找不到小纸人的问题。
无论如何,刷新结界卡是一定要用上的!

@necro-wbj
Copy link

這樣還有選的意義嗎....?
image

@yEs1do
Copy link
Contributor Author

yEs1do commented May 31, 2024

這樣還有選的意義嗎....? image

是为了强制刷新,就只能这样折腾几秒钟
【找坑难?翻半天?结界寄养快速找 6 星坑位技巧】 https://www.bilibili.com/video/BV1aE42157Kf/

还因为跨区会卡一下不得已加了个等待时间

if friend == SelectFriendList.DIFFERENT_SERVER:
time.sleep(1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants