|
@ -470,7 +470,7 @@ class UserInfo { |
|
|
console.log(`账号[${this.index}]今天${auctionStr}`) |
|
|
console.log(`账号[${this.index}]今天${auctionStr}`) |
|
|
let maxBid = parseFloat(result.result.userInfo.usableOre) |
|
|
let maxBid = parseFloat(result.result.userInfo.usableOre) |
|
|
let bidNum = 1 |
|
|
let bidNum = 1 |
|
|
if(this.runTask == 1) { |
|
|
if(this.runTask == 2) { |
|
|
if(this.auction.status==0) { |
|
|
if(this.auction.status==0) { |
|
|
if(maxBid >= bidNum) { |
|
|
if(maxBid >= bidNum) { |
|
|
await $.wait(500) |
|
|
await $.wait(500) |
|
@ -557,7 +557,7 @@ class UserInfo { |
|
|
let str = (item.userState==0) ? '未报名' : ((item.userState==5) ? '可打卡' :'已报名') |
|
|
let str = (item.userState==0) ? '未报名' : ((item.userState==5) ? '可打卡' :'已报名') |
|
|
console.log(`账号[${this.index}]${type}${item.number}期 -- ${str}`) |
|
|
console.log(`账号[${this.index}]${type}${item.number}期 -- ${str}`) |
|
|
if(item.userState==0) { |
|
|
if(item.userState==0) { |
|
|
if(this.runTask == 1) { |
|
|
if(this.runTask == 2) { |
|
|
if(this.ore.ore >= item.oreLimitValue) { |
|
|
if(this.ore.ore >= item.oreLimitValue) { |
|
|
await $.wait(500) |
|
|
await $.wait(500) |
|
|
await this.attendanceSignIn(item) |
|
|
await this.attendanceSignIn(item) |
|
@ -671,21 +671,21 @@ class UserInfo { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
console.log('\n================== 竞拍小游戏 ==================') |
|
|
console.log('\n================== 竞拍小游戏 ==================') |
|
|
for(let user of userList) { |
|
|
// for(let user of userList) {
|
|
|
await user.auctionInfo(); |
|
|
// await user.auctionInfo();
|
|
|
await $.wait(200); |
|
|
// await $.wait(200);
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
console.log('\n================== 打卡小游戏 ==================') |
|
|
console.log('\n================== 打卡小游戏 ==================') |
|
|
for(let user of userList) { |
|
|
// for(let user of userList) {
|
|
|
await user.oreMainpage(false); |
|
|
// await user.oreMainpage(false);
|
|
|
await $.wait(200); |
|
|
// await $.wait(200);
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
for(let user of userList) { |
|
|
// for(let user of userList) {
|
|
|
await user.attendanceDetail(); |
|
|
// await user.attendanceDetail();
|
|
|
await $.wait(200); |
|
|
// await $.wait(200);
|
|
|
} |
|
|
// }
|
|
|
|
|
|
|
|
|
console.log('\n================== 金币任务 ==================') |
|
|
console.log('\n================== 金币任务 ==================') |
|
|
if(curHour>=TASK_TIME[0] && curHour<TASK_TIME[1]) { |
|
|
if(curHour>=TASK_TIME[0] && curHour<TASK_TIME[1]) { |
|
|