Skip to content

Commit

Permalink
适配1.3版本
Browse files Browse the repository at this point in the history
  • Loading branch information
UCPr251 committed Nov 7, 2024
1 parent 0a4215f commit e8b99e2
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 22 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
.vscode
/历史版本
*.exe
test*.ahk
/备份
/取坐标.ahk
/数据
/toString.ahk
/*.ini
/活动
/*.ahk
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

## 下载、打开方法

> PS: 程序报毒属正常现象,担心的话可以跑源码或者自行编译,怕别用用别怕
- 方法一(下载即用,懒人最爱):

[<<<点击进入>>>](https://gitee.com/UCPr251/zzzAuto/releases/latest)release最新版本,下载并运行该exe文件
Expand Down
4 changes: 2 additions & 2 deletions components/fight.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ fight(step := 4) {
Sleep(3000)
awaitLoading() {
static startX := Integer(A_ScreenWidth * 0.3), endX := Integer(A_ScreenWidth * 0.7)
static startY := Integer(A_ScreenHeight * 0.8), endY := Integer(A_ScreenHeight * 0.95)
static startY := Integer(A_ScreenHeight * 0.7), endY := Integer(A_ScreenHeight * 0.95)
loop (5) {
if (!PixelSearch(&X, &Y, startX, startY, endX, endY, 0x009dff, setting.variation)) {
return false
Expand All @@ -223,7 +223,7 @@ fight(step := 4) {
}
if (A_Index > 50) {
if (!setting.errHandler) {
throw Error('识别进入副本·第一层失败')
throw Error('识别进入副本·第二层失败')
}
break
}
Expand Down
34 changes: 17 additions & 17 deletions utils/CoordsData.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class CoordsData {
Tab: [1825, 116, 1865, 141, 0xffffff]
},
快捷手册: {
挑战_灰色: [1345, 150, 1389, 182, 0xbbbbbb],
挑战_黑色: [1345, 150, 1389, 182, 1367, 160, 0x000000],
挑战_灰色: [1230, 130, 1280, 170, 0xbbbbbb],
挑战_黑色: [1230, 130, 1280, 170, 1256, 151, 0x000000],
零号空洞: [445, 454, 535, 489, 491, 477, 0xaaaaaa],
前往: [1297, 348, 1346, 387, 1324, 366, 0xffffff],
前往: [1318, 420, 1365, 454, 1341, 433, 0xffffff],
传送: [982, 601, 1003, 647, 1083, 627, 0x00cc0d]
},
零号选择: {
Expand All @@ -28,8 +28,8 @@ class CoordsData {
出战: [1751, 1008, 1804, 1048, 1774, 1029, 0xffffff]
},
空洞: {
确认: [877, 605, 889, 660, 971, 626, 0x00cc0d], ; 有绿勾,确认侵蚀、代理人
确定: [938, 776, 985, 819, 960, 791, 0xffffff, 0.5], ; 无绿勾,铭徽确定、催化、选择
确认: [877, 605, 889, 660, 971, 626, 0x00cc0d],
确定: [938, 776, 985, 819, 960, 791, 0xffffff, 0.5],
1: {
右上终点: [1211, 210, 1290, 240, 0xf63d49],
右下终点: [1211, 860, 1290, 920, 0xe8202a],
Expand Down Expand Up @@ -58,10 +58,10 @@ class CoordsData {
mode: "16x9",
ratio: 1.78,
快捷手册: {
挑战_灰色: [1490, 160, 1535, 200, 0xbbbbbb],
挑战_黑色: [1490, 160, 1535, 200, 1513, 185, 0x000000],
挑战_灰色: [1330, 130, 1400, 170, 0xbbbbbb],
挑战_黑色: [1330, 130, 1400, 170, 1359, 144, 0x000000],
零号空洞: [275, 463, 380, 490, 330, 475, 0xaaaaaa],
前往: [1424, 353, 1476, 390, 1450, 370, 0xffffff],
前往: [1443, 419, 1508, 453, 1475, 438, 0xffffff],
传送: [1000, 600, 1100, 640, 1125, 620, 0x00cc0d]
},
角色操作: {
Expand Down Expand Up @@ -115,10 +115,10 @@ class CoordsData {
Tab: [1800, 100, 1850, 130, 0xffffff]
},
快捷手册: {
挑战_灰色: [1490, 160, 1535, 200, 0xbbbbbb],
挑战_黑色: [1490, 160, 1535, 200, 1513, 185, 0x000000],
挑战_灰色: [1330, 170, 1400, 210, 0xbbbbbb],
挑战_黑色: [1330, 170, 1400, 210, 1361, 186, 0x000000],
零号空洞: [275, 463, 380, 490, 330, 475, 0xaaaaaa],
前往: [1424, 353, 1476, 390, 1450, 370, 0xffffff],
前往: [1447, 433, 1507, 461, 1473, 448, 0xffffff],
传送: [1000, 600, 1100, 640, 1125, 620, 0x00cc0d]
},
零号选择: {
Expand Down Expand Up @@ -167,10 +167,10 @@ class CoordsData {
Tab: [1804, 90, 1846, 104, 0xffffff]
},
快捷手册: {
挑战_灰色: [1487, 250, 1538, 268, 0xbbbbbb],
挑战_黑色: [1487, 250, 1538, 268, 1509, 260, 0x000000],
挑战_灰色: [1330, 230, 1400, 260, 0xbbbbbb],
挑战_黑色: [1330, 230, 1400, 260, 1359, 246, 0x000000],
零号空洞: [277, 481, 378, 498, 329, 492, 0xaaaaaa],
前往: [1424, 397, 1481, 419, 1448, 408, 0xffffff],
前往: [1445, 450, 1510, 472, 1475, 462, 0xffffff],
传送: [998, 587, 1015, 619, 1130, 604, 0x00cc0d]
},
零号选择: {
Expand Down Expand Up @@ -219,10 +219,10 @@ class CoordsData {
Tab: [1802, 84, 1847, 97, 0xffffff]
},
快捷手册: {
挑战_灰色: [1487, 267, 1535, 287, 0xbbbbbb],
挑战_黑色: [1488, 264, 1535, 283, 1510, 272, 0x000000],
挑战_灰色: [1330, 250, 1390, 280, 0xbbbbbb],
挑战_黑色: [1330, 250, 1390, 280, 1359, 263, 0x000000],
零号空洞: [273, 483, 383, 503, 326, 493, 0xaaaaaa],
前往: [1420, 407, 1480, 429, 1450, 415, 0xffffff],
前往: [1445, 457, 1505, 477, 1474, 468, 0xffffff],
传送: [986, 589, 1016, 612, 1127, 598, 0x00cc0d]
},
零号选择: {
Expand Down
6 changes: 3 additions & 3 deletions 零号业绩.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* @description 绝区零零号空洞零号业绩自动刷取、自动银行存款脚本
* @file 零号业绩.ahk
* @author UCPr
* @date 2024/11/04
* @version v1.8.5
* @date 2024/11/07
* @version v1.8.6
* @link https://github.com/UCPr251/zzzAuto
* @warning 请勿用于任何商业用途,仅供学习交流使用
***********************************************************************/
Expand Down Expand Up @@ -39,7 +39,7 @@ SetMouseDelay(-1)
#Include refuse.ahk
#Include saveBank.ahk
global Version := "v1.8.5"
global Version := "v1.8.6"
init()
Expand Down

0 comments on commit e8b99e2

Please sign in to comment.