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

Bug fix: 修正会错误地合并他人的游戏记录的问题 #121

Merged
merged 14 commits into from
Jul 30, 2024

Conversation

kaikaiiiiiii
Copy link
Contributor

No description provided.

@kaikaiiiiiii
Copy link
Contributor Author

kaikaiiiiiii commented Jul 30, 2024

稍等,还需要更新,改后台 ajax 以后逻辑有变化

@kaikaiiiiiii
Copy link
Contributor Author

Updated:

  1. 用 Ajax 从奖杯页 Page1 开始往后更新,如果某一页出现与已有记录一致,进度无变化的奖杯,则停止往后翻页
  2. 承1,继续检查是否存在某一页无时间记录,或者已经记录的页面小于从 ajax 获得的页面数量,若有,则这些页都会更新
  3. 当用户正常开新坑时,会导致原游戏向后挤出现新页旧内容,则会根据 2. 也读取新页
  4. 当用户处于自己的主页或游戏列表页时,也会更新记录,相当于省一次 ajax 请求。
  5. 没有删除条目逻辑,用户隐藏特定游戏也只是为了第三方看起来帅,自己看的话仍然显示。真要删除可以手动改脚本
  6. 存在某种极端情况,当脚本更新到第 p 页,用户隐藏游戏并且成功在 psnine 有所体现,导致 p+1 页的第一个游戏与前次记录的 p 页的最后游戏中间出现遗漏。这个就不管了,用户可以手动翻开每个页面来更新

@swsoyee swsoyee merged commit 65d4caa into swsoyee:master Jul 30, 2024
1 check failed
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.

2 participants