指挥官手册自动抽奖脚本
激战2吧
全部回复
仅看楼主
level 5
♂MOER♂ 楼主
登录活动页面以后按F12,点Console,粘贴下面的代码,回车
2021年05月04日 08点05分 1
level 5
♂MOER♂ 楼主
var autoDraw = function() {
axios.get("http://do.gw2.kongzhong.com/gw2newcommander/draw").then(function(response) {
var res = response.data;
if (res.state != 1) {
console.log(res.msg);
return;
}
console.log(res.record.giftName); //抽奖结果
if (res.num <= 0 || res.record.giftName.indexOf('套装') >= 0) { //次数用完或者抽到套装就不抽了
return;
}
setTimeout(autoDraw, 1000); //停1秒再抽,避免炸服
}).catch(function(error) {
throw error;
});
}
autoDraw();
2021年05月04日 08点05分 2
level 5
♂MOER♂ 楼主
代码好像被吞了,再发一遍[汗]
var autoDraw = function() {
axios.get("http[汗]://do.gw2.kongzhong[汗].com/gw2newcommander/draw").then(function(response) {
var res = response.data;
if (res.state != 1) {
console.log(res.msg);
return;
}
console.log(res.record.giftName); //抽奖结果
if (res.num <= 0 || res.record.giftName.indexOf('套装') >= 0) { //次数用完或者抽到套装就不抽了
return;
}
setTimeout(autoDraw, 1000); //停1秒再抽,避免炸服
}).catch(function(error) {
throw error;
});
}
autoDraw();
2021年05月04日 08点05分 3
level 13
收藏 月底试试
2021年05月04日 08点05分 4
level 9
[啊]
2021年05月04日 08点05分 5
level 9
[啊]
2021年05月04日 10点05分 6
level 14
[啊]
2021年05月04日 11点05分 7
level 14
[真棒]
2021年05月04日 11点05分 8
level 15
2021年05月04日 11点05分 9
level 14
虽然小邋遢都有,但是还是不错的
2021年05月04日 11点05分 10
我看小邋遢上面那个好像挺久没更新了,用的还是旧的抽奖活动的网址
2021年05月04日 11点05分
@♂MOER♂ 不知道,我看奖励垃圾都没用抽,而且平时用鼠标宏点的
2021年05月04日 11点05分
level 12
[你懂的]按键精灵不香吗
2021年05月04日 12点05分 11
要是有那个一键领取奖励就好了,现在每个都要点好麻烦
2021年05月04日 12点05分
level 9
顶起来,6月次数要清零,赶紧抽
2021年06月02日 04点06分 12
1