Skip to content

Latest commit

 

History

History
 
 

zsfc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

掌上飞车

代码已同时兼容 Surge & QuanX, 使用同一份签到脚本即可

感谢@danchaw PR、@chiupam 修改签到脚本,感谢@chiupam PR购物脚本、寻宝脚本

代码已适配最新版掌上飞车APP,旧版本APP无法继续签到,请及时更新

配置 (Surge)

[MITM]
hostname = %APPEDN% comm.ams.game.qq.com, bang.qq.com

[Script]
掌上飞车Cookie = type=http-request, pattern=^https?://(comm\.ams\.game\.qq\.com/ams/ame/amesvr*|bang\.qq\.com/app/speed/mall/main2\?*), requires-body=true, max-size=-1, script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.js, script-update-interval=0, timeout=5
掌飞寻宝Cookie = type=http-request, pattern=^https?://bang\.qq\.com/app/speed/treasure/index\?*, requires-body=true, max-size=-1, script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.treasure.js, script-update-interval=0, timeout=60
掌上飞车 =type=cron, cronexp="0 10 0,21 * * *", wake-system=1, script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.js, script-update-interval=0, timeout=60
掌飞寻宝 =type=cron, cronexp="0 */11 17 * * *", wake-system=1, script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.treasure.js, script-update-interval=0, timeout=60

配置 (Loon)

[Mitm]
hostname = comm.ams.game.qq.com, bang.qq.com

[Script]
http-request ^https?://(comm\.ams\.game\.qq\.com/ams/ame/amesvr*|bang\.qq\.com/app/speed/mall/main2\?*) script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.js, requires-body=true, timeout=10, tag=掌上飞车Cookie
http-request ^https?://bang\.qq\.com/app/speed/treasure/index\?* script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.treasure.js, requires-body=true, timeout=60, tag=掌飞寻宝Cookie

cron "0 10 0,21 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.js, tag=掌上飞车
cron "0 */11 17 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.treasure.js, tag=掌飞寻宝

配置 (QuanX)

[MITM]
hostname = comm.ams.game.qq.com, bang.qq.com

[rewrite_local]
^https?://(comm\.ams\.game\.qq\.com/ams/ame/amesvr*|bang\.qq\.com/app/speed/mall/main2\?*) url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.js
^https?://bang\.qq\.com/app/speed/treasure/index\?* url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.treasure.js

[task_local]
0 10 0,21 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.js, tag=掌上飞车, enabled=true
0 */11 17 * * * https://raw.githubusercontent.com/chavyleung/scripts/master/zsfc/zsfc.treasure.js, tag=掌飞寻宝, enabled=true

说明

  1. 先把comm.ams.game.qq.com, bang.qq.com加到[MITM]
  2. 再配置重写规则:
    • Surge: 把三条远程脚本放到[Script]
    • Loon: 把三条远程脚本放到[Script]
    • QuanX: 把远程重写脚本放到[rewrite_local],再把远程定时任务放到[task_local]
  3. 打开掌上飞车APP,点击咨询栏的签到(每日福利),系统提示✅ 获取签到数据成功!即可
  4. 打开掌上飞车APP,点击下方游戏栏,然后点击掌飞商城,系统提示✅ 获取商城数据成功!即可
  5. 打开掌上飞车APP,点击下方游戏栏,然后点击每日寻宝,系统提示✅ 获取寻宝数据成功!即可
  6. 如果使用了掌飞购物脚本的,请继续订阅chiupam boxjs仓库并在应用中设置掌飞商城所需购买的游戏道具名称

反馈bug

如果出现bug,请提交issue到chiupam仓库

感谢

@NobyDa @lhie1 @ConnersHua @danchaw @chiupam