自动采集

wjdr
wangbing 12 months ago
parent da62a95be9
commit 731683aefa

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

@ -84,11 +84,11 @@ public class MacroForWJDR extends JMacro {
new Task_(this, focusRect).run(); new Task_(this, focusRect).run();
new Task_(this, focusRect).run(); new Task_(this, focusRect).run();
new Task_(this, focusRect).run(); new Task_(this, focusRect).run();
// new Task_英雄招募领取(this, focusRect).run(); new Task_(this, focusRect).run();
// new Task_任务奖励领取(this, focusRect).run(); new Task_(this, focusRect).run();
// new Task_探险奖励领取(this, focusRect).run(); new Task_(this, focusRect).run();
// new Task_邮件奖励领取(this, focusRect).run(); new Task_(this, focusRect).run();
// new Task_仓库奖励领取(this, focusRect).run(); new Task_(this, focusRect).run();
} }
} else { } else {
Logger.info("当前时间为非工作时间,休眠待命!"); Logger.info("当前时间为非工作时间,休眠待命!");

@ -37,7 +37,7 @@ public class Task_探险奖励领取 extends BaseTask {
} }
macro.mouseLeftClick(_2); macro.mouseLeftClick(_2);
ViewRect _ = macro.waitAndMatchLegend("探险_获得奖励", 0.8); ViewRect _ = macro.waitAndMatchLegend("探险_获得奖励", 0.5);
if (_ == null) { if (_ == null) {
Logger.error("任务终止"); Logger.error("任务终止");
return; return;

@ -84,9 +84,9 @@ public class Task_邮件奖励领取 extends BaseTask {
} }
macro.mouseLeftClick(); macro.mouseLeftClick();
ViewRect 退 = macro.waitAndMatchLegend("点击任意位置退出", 0.5, 2); ViewRect 退 = macro.waitAndMatchLegend("邮件_获得奖励", 0.5, 5);
if (退 != null) { if (退 != null) {
Logger.info("点击任意位置退出"); Logger.info("点击获得奖励退出");
macro.mouseLeftClick(退); macro.mouseLeftClick(退);
macro.delay(500); macro.delay(500);
} }
@ -104,9 +104,9 @@ public class Task_邮件奖励领取 extends BaseTask {
} }
macro.mouseLeftClick(); macro.mouseLeftClick();
ViewRect 退 = macro.waitAndMatchLegend("邮件_点击任意位置退出", 0.5, 2); ViewRect 退 = macro.waitAndMatchLegend("邮件_获得奖励", 0.5, 5);
if (退 != null) { if (退 != null) {
Logger.info("点击任意位置退出"); Logger.info("点击获得奖励退出");
macro.mouseLeftClick(退); macro.mouseLeftClick(退);
macro.delay(500); macro.delay(500);
} }
@ -124,9 +124,9 @@ public class Task_邮件奖励领取 extends BaseTask {
} }
macro.mouseLeftClick(); macro.mouseLeftClick();
ViewRect 退 = macro.waitAndMatchLegend("点击任意位置退出", 0.5, 2); ViewRect 退 = macro.waitAndMatchLegend("邮件_获得奖励", 0.5, 5);
if (退 != null) { if (退 != null) {
Logger.info("点击任意位置退出"); Logger.info("点击获得奖励退出");
macro.mouseLeftClick(退); macro.mouseLeftClick(退);
macro.delay(500); macro.delay(500);
} }
@ -144,9 +144,9 @@ public class Task_邮件奖励领取 extends BaseTask {
} }
macro.mouseLeftClick(); macro.mouseLeftClick();
ViewRect 退 = macro.waitAndMatchLegend("点击任意位置退出", 0.5, 2); ViewRect 退 = macro.waitAndMatchLegend("邮件_获得奖励", 0.5, 5);
if (退 != null) { if (退 != null) {
Logger.info("点击任意位置退出"); Logger.info("点击获得奖励退出");
macro.mouseLeftClick(退); macro.mouseLeftClick(退);
macro.delay(500); macro.delay(500);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.