-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
适配1.1更新 使用数字按键代替部分点击事件 优化框架提高可扩展性 调整鼠标移动速度 调整搜索点击逻辑 调整等待时长参数
- Loading branch information
Showing
16 changed files
with
242 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
setRatio() { | ||
coordsData := { | ||
16x9: { | ||
角色操作: { | ||
M: [1170, 880, 1800, 920, 0xffffff], | ||
Q: [1770, 1020, 1790, 1050, 0xffffff], | ||
Tab: [1800, 100, 1850, 130, 0xffffff] | ||
}, | ||
零号选择: { | ||
资质考核: [240, 700, 260, 750, 0x78cc00], | ||
旧都列车: [580, 780, 600, 850, 660, 770, 0x78cc00], | ||
施工废墟: [680, 410, 700, 450, 0x78cc00] | ||
}, | ||
旧都列车: { | ||
前线: [1600, 349, 1800, 420, 1706, 374, 0xbff700], | ||
下一步: [1660, 960, 1740, 1040, 1707, 1028, 0xffffff], | ||
出战: [1660, 960, 1740, 1040, 1707, 1028, 0xffffff] | ||
}, | ||
快捷手册: { | ||
挑战_灰色: [1490, 160, 1535, 200, 0xbbbbbb], | ||
挑战_黑色: [1490, 160, 1535, 200, 1513, 185, 0x000000], | ||
零号空洞: [275, 463, 380, 490, 330, 475, 0xaaaaaa], | ||
前往: [1424, 353, 1476, 390, 1450, 370, 0xffffff], | ||
传送: [1000, 600, 1100, 640, 1125, 620, 0x00cc0d] | ||
}, | ||
空洞: { | ||
铭徽: [930, 760, 1000, 810, 960, 790, 0xffffff], | ||
侵蚀: [840, 620, 1000, 810, 0x00cc0d], | ||
确定: [930, 750, 985, 810, 0xffffff], | ||
选项框: [1360, 490, 1390, 763], | ||
集齐铭徽: [840, 620, 1000, 810, 0x00cc0d], | ||
1: { | ||
右上终点: [1300, 220, 1380, 270, 0xf63d49], | ||
右下终点: [1300, 840, 1400, 900, 0xeb2a2c], | ||
战斗: { | ||
计时: [1230, 430, 1370, 610, 0xffc300], | ||
确定键: [1130, 840, 1190, 1020, 0xffffff], | ||
确定绿勾: [1000, 840, 1040, 1020, 0x00cc0d] | ||
} | ||
}, | ||
2: { | ||
降压准备: [930, 700, 1000, 760, 960, 730, 0xffffff], | ||
银行: { | ||
礼包: [1340, 540, 1380, 600, 0xaa7cff], | ||
不要礼包: [1400, 660, 1460, 690, 1653, 678, 0xffffff] | ||
} | ||
}, | ||
退出副本: { | ||
放弃: [1580, 960, 1600, 1050, 1712, 1026, 0xcb0000], | ||
确定: [1000, 600, 1100, 640, 1125, 620, 0x00cc0d] | ||
}, | ||
结算: { | ||
零号业绩: [1320, 600, 1440, 666, 0xffb500], | ||
完成: [1670, 970, 1730, 1040, 1700, 1027, 0xffffff] | ||
} | ||
} | ||
}, | ||
16x10: { | ||
角色操作: { | ||
M: [1170, 880, 1800, 920, 0xffffff], | ||
Q: [1770, 1020, 1790, 1050, 0xffffff], | ||
Tab: [1800, 100, 1850, 130, 0xffffff] | ||
}, | ||
零号选择: { | ||
资质考核: [240, 700, 260, 750, 0x78cc00], | ||
旧都列车: [580, 780, 600, 850, 660, 770, 0x78cc00], | ||
施工废墟: [680, 410, 700, 450, 0x78cc00] | ||
}, | ||
旧都列车: { | ||
前线: [1600, 349, 1800, 420, 1706, 374, 0xbff700], | ||
下一步: [1660, 960, 1740, 1040, 1707, 1028, 0xffffff], | ||
出战: [1660, 960, 1740, 1040, 1707, 1028, 0xffffff] | ||
}, | ||
快捷手册: { | ||
挑战_灰色: [1490, 160, 1535, 200, 0xbbbbbb], | ||
挑战_黑色: [1490, 160, 1535, 200, 1513, 185, 0x000000], | ||
零号空洞: [275, 463, 380, 490, 330, 475, 0xaaaaaa], | ||
前往: [1424, 353, 1476, 390, 1450, 370, 0xffffff], | ||
传送: [1000, 600, 1100, 640, 1125, 620, 0x00cc0d] | ||
}, | ||
空洞: { | ||
铭徽: [930, 760, 1000, 810, 960, 790, 0xffffff], | ||
侵蚀: [840, 620, 1000, 810, 0x00cc0d], | ||
确定: [930, 750, 985, 810, 0xffffff], | ||
选项框: [1360, 490, 1390, 763], | ||
集齐铭徽: [840, 620, 1000, 810, 0x00cc0d], | ||
1: { | ||
右上终点: [1300, 220, 1380, 270, 0xf63d49], | ||
右下终点: [1300, 840, 1400, 900, 0xeb2a2c], | ||
战斗: { | ||
计时: [1230, 430, 1370, 610, 0xffc300], | ||
确定键: [1130, 840, 1190, 1020, 0xffffff], | ||
确定绿勾: [1000, 840, 1040, 1020, 0x00cc0d] | ||
} | ||
}, | ||
2: { | ||
降压准备: [930, 700, 1000, 760, 960, 730, 0xffffff], | ||
银行: { | ||
礼包: [1340, 540, 1380, 600, 0xaa7cff], | ||
不要礼包: [1400, 660, 1460, 690, 1653, 678, 0xffffff] | ||
} | ||
}, | ||
退出副本: { | ||
放弃: [1580, 960, 1600, 1050, 1712, 1026, 0xcb0000], | ||
确定: [1000, 600, 1100, 640, 1125, 620, 0x00cc0d] | ||
}, | ||
结算: { | ||
零号业绩: [1320, 600, 1440, 666, 0xffb500], | ||
完成: [1670, 970, 1730, 1040, 1700, 1027, 0xffffff] | ||
} | ||
} | ||
}, | ||
} | ||
ratio := A_ScreenWidth / A_ScreenHeight | ||
for (key, value in coordsData.OwnProps()) { | ||
sp := StrSplit(key, "x") | ||
designRatio := sp[1] / sp[2] | ||
if (designRatio = ratio) { | ||
global c := value | ||
return | ||
} | ||
} | ||
MsgBox("当前显示器分辨率" A_ScreenWidth "x" A_ScreenHeight "无内置数据,将使用16:9的分辨率比例数据进行缩放处理`n若此脚本无法正常运行,请尝试更改显示器分辨率比例为16:9", "警告", "Icon! 0x40000") | ||
global c := coordsData.16x9 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.