diff --git "a/2024/07/21/\347\224\237\346\255\273\347\213\231\345\207\2732\345\207\200\345\214\226\350\241\214\345\212\250\346\214\202\346\234\272\350\204\232\346\234\254/index.html" "b/2024/07/21/\347\224\237\346\255\273\347\213\231\345\207\2732\345\207\200\345\214\226\350\241\214\345\212\250\346\214\202\346\234\272\350\204\232\346\234\254/index.html" index b768882..554d6ee 100644 --- "a/2024/07/21/\347\224\237\346\255\273\347\213\231\345\207\2732\345\207\200\345\214\226\350\241\214\345\212\250\346\214\202\346\234\272\350\204\232\346\234\254/index.html" +++ "b/2024/07/21/\347\224\237\346\255\273\347\213\231\345\207\2732\345\207\200\345\214\226\350\241\214\345\212\250\346\214\202\346\234\272\350\204\232\346\234\254/index.html" @@ -1 +1 @@ -生死狙击2净化行动挂机脚本 - 马锦的博客

生死狙击2净化行动挂机脚本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import pyautogui
import pydirectinput
import time
import os
import sys
pyautogui.PAUSE = 0
#适用于净化行动,关闭自动匹配队友,开启单人匹配,在开始匹配页面运行程序。
######### 以管理员身份运行!!!! ###########
# 获取图片的绝对路径
def get_resource_path(relative_path):
if hasattr(sys, '_MEIPASS'):
return os.path.join(sys._MEIPASS, relative_path)
return os.path.join(os.path.abspath("."), relative_path)
#局内动作循环
def repeat_keys(keys):
try:
a = time.time()
bb = time.time()
while a-bb+5000>0:
for key in keys:
pyautogui.keyDown(key)
time.sleep(1)
pyautogui.keyUp(key)
time.sleep(9)
bb = time.time()
pyautogui.press('esc')
except KeyboardInterrupt:
print("Stopped by user")
#检测图片
def identify_picture(a):
left, top, width, height = pyautogui.locateOnScreen(get_resource_path(a),confidence=0.9,grayscale=True) # 寻找图片
center = pyautogui.center((left, top, width, height)) # 寻找图片的中心
print('开始',center)
pydirectinput.moveTo(center[0],center[1])
pydirectinput.click()
time.sleep(10)
# 4:3比例 + 无边框窗口
while True:
try:
identify_picture('img\sta1.png') #检测开始匹配
except TypeError:
try:
identify_picture('img\\bac.png') #检测返回大厅
except TypeError:
try:
identify_picture('img\\img.png') #检测准备完毕
repeat_keys(['w', 'a', 's', 'd']) #局内动作,防止强退
except TypeError:
try:
identify_picture('img\\img_1.png') #检测返回大厅(出错情况)
except TypeError:
try:
identify_picture('img\\img_2.png') #检测确定(出错情况)
except TypeError:
try:
identify_picture('img\\img_3.png') #检测点击空白处关闭(出错情况)
except TypeError:
print('无')
time.sleep(2)

生死狙击2净化行动挂机脚本
https://jimes.cn/2024/07/21/生死狙击2净化行动挂机脚本/
作者
Jimes
发布于
2024年7月21日
许可协议
\ No newline at end of file +生死狙击2净化行动挂机脚本 - 马锦的博客

生死狙击2净化行动挂机脚本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import pyautogui
import pydirectinput
import time
import os
import sys
pyautogui.PAUSE = 0
#适用于净化行动,关闭自动匹配队友,开启单人匹配,在开始匹配页面运行程序。
######### 以管理员身份运行!!!! ###########
# 获取图片的绝对路径
def get_resource_path(relative_path):
if hasattr(sys, '_MEIPASS'):
return os.path.join(sys._MEIPASS, relative_path)
return os.path.join(os.path.abspath("."), relative_path)
#局内动作循环
def repeat_keys(keys):
try:
a = time.time()
bb = time.time()
while a-bb+5000>0:
for key in keys:
pyautogui.keyDown(key)
time.sleep(1)
pyautogui.keyUp(key)
time.sleep(9)
bb = time.time()
pyautogui.press('esc')
except KeyboardInterrupt:
print("Stopped by user")
#检测图片
def identify_picture(a):
left, top, width, height = pyautogui.locateOnScreen(get_resource_path(a),confidence=0.9,grayscale=True) # 寻找图片
center = pyautogui.center((left, top, width, height)) # 寻找图片的中心
print('开始',center)
pydirectinput.moveTo(center[0],center[1])
pydirectinput.click()
time.sleep(10)
# 4:3比例 + 无边框窗口
while True:
try:
identify_picture('img\sta1.png') #检测开始匹配
except TypeError:
try:
identify_picture('img\\bac.png') #检测返回大厅
except TypeError:
try:
identify_picture('img\\img.png') #检测准备完毕
repeat_keys(['w', 'a', 's', 'd']) #局内动作,防止强退
except TypeError:
try:
identify_picture('img\\img_1.png') #检测返回大厅(出错情况)
except TypeError:
try:
identify_picture('img\\img_2.png') #检测确定(出错情况)
except TypeError:
try:
identify_picture('img\\img_3.png') #检测点击空白处关闭(出错情况)
except TypeError:
print('无')
time.sleep(2)

生死狙击2净化行动挂机脚本
https://jimes.cn/2024/07/21/生死狙击2净化行动挂机脚本/
作者
Jimes
发布于
2024年7月21日
许可协议
\ No newline at end of file diff --git a/2024/09/05/PDF_math/index.html b/2024/09/05/PDF_math/index.html index 816612a..133ed18 100644 --- a/2024/09/05/PDF_math/index.html +++ b/2024/09/05/PDF_math/index.html @@ -1 +1 @@ -23年国赛B题 - 马锦的博客

23年国赛B题


23年国赛B题
https://jimes.cn/2024/09/05/PDF_math/
作者
Jimes
发布于
2024年9月5日
许可协议
\ No newline at end of file +23年国赛B题 - 马锦的博客

23年国赛B题


23年国赛B题
https://jimes.cn/2024/09/05/PDF_math/
作者
Jimes
发布于
2024年9月5日
许可协议
\ No newline at end of file diff --git "a/2024/09/05/PDF_math/033\351\230\237\345\273\272\346\250\241\345\233\275\350\265\233.pdf" b/2024/09/05/PDF_math/math_struct.pdf similarity index 100% rename from "2024/09/05/PDF_math/033\351\230\237\345\273\272\346\250\241\345\233\275\350\265\233.pdf" rename to 2024/09/05/PDF_math/math_struct.pdf diff --git a/archives/2024/01/index.html b/archives/2024/01/index.html index 41c41c7..048a65a 100644 --- a/archives/2024/01/index.html +++ b/archives/2024/01/index.html @@ -1 +1 @@ -归档 - 马锦的博客
\ No newline at end of file +归档 - 马锦的博客
\ No newline at end of file diff --git a/archives/2024/02/index.html b/archives/2024/02/index.html index 56640b4..2a835fc 100644 --- a/archives/2024/02/index.html +++ b/archives/2024/02/index.html @@ -1 +1 @@ -归档 - 马锦的博客
\ No newline at end of file +归档 - 马锦的博客
\ No newline at end of file diff --git a/archives/2024/07/index.html b/archives/2024/07/index.html index 5fdf11a..9a4cab1 100644 --- a/archives/2024/07/index.html +++ b/archives/2024/07/index.html @@ -1 +1 @@ -归档 - 马锦的博客
\ No newline at end of file +归档 - 马锦的博客
\ No newline at end of file diff --git a/archives/2024/09/index.html b/archives/2024/09/index.html index 044431e..becc41e 100644 --- a/archives/2024/09/index.html +++ b/archives/2024/09/index.html @@ -1 +1 @@ -归档 - 马锦的博客

共计 7 篇文章


2024

23年国赛B题
\ No newline at end of file +归档 - 马锦的博客

共计 7 篇文章


2024

23年国赛B题
\ No newline at end of file diff --git a/archives/2024/index.html b/archives/2024/index.html index cc33d5d..edafb6b 100644 --- a/archives/2024/index.html +++ b/archives/2024/index.html @@ -1 +1 @@ -归档 - 马锦的博客
\ No newline at end of file +归档 - 马锦的博客
\ No newline at end of file diff --git a/archives/index.html b/archives/index.html index cd1a048..72201cc 100644 --- a/archives/index.html +++ b/archives/index.html @@ -1 +1 @@ -归档 - 马锦的博客
\ No newline at end of file +归档 - 马锦的博客
\ No newline at end of file diff --git a/categories/index.html b/categories/index.html index 352aed0..89667df 100644 --- a/categories/index.html +++ b/categories/index.html @@ -1 +1 @@ -分类 - 马锦的博客
\ No newline at end of file +分类 - 马锦的博客
\ No newline at end of file diff --git "a/categories/\346\225\260\345\255\246\345\273\272\346\250\241/index.html" "b/categories/\346\225\260\345\255\246\345\273\272\346\250\241/index.html" index 15c9d53..0a61e92 100644 --- "a/categories/\346\225\260\345\255\246\345\273\272\346\250\241/index.html" +++ "b/categories/\346\225\260\345\255\246\345\273\272\346\250\241/index.html" @@ -1 +1 @@ -分类 - 数学建模 - 马锦的博客

共计 1 篇文章


2024

23年国赛B题
\ No newline at end of file +分类 - 数学建模 - 马锦的博客

共计 1 篇文章


2024

23年国赛B题
\ No newline at end of file diff --git a/index.html b/index.html index a2436cd..2f80276 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -马锦的博客
\ No newline at end of file +马锦的博客
\ No newline at end of file diff --git a/local-search.xml b/local-search.xml index 37c8c38..00e5ae8 100644 --- a/local-search.xml +++ b/local-search.xml @@ -8,7 +8,7 @@ /2024/09/05/PDF_math/ - -->]]> + ]]> diff --git a/sw-register.js b/sw-register.js index c102705..ea21d1f 100644 --- a/sw-register.js +++ b/sw-register.js @@ -1 +1 @@ -navigator.serviceWorker&&navigator.serviceWorker.register('/sw.js?v=20240905215011').then(function(){navigator.serviceWorker.addEventListener('message',function(a){if('sw.update'===a.data){let a=document.querySelector('meta[name=theme-color]'),b=document.createElement('div');a&&(a.content='#000'),b.innerHTML='

\u64cd\u4f5c\u901a\u77e5

\u5df2\u66f4\u65b0\u6700\u65b0\u7248\u672c\uff08\u5237\u65b0\u751f\u6548\uff09
×
',document.body.appendChild(b),setTimeout(function(){document.getElementById('app-refresh').className+=' app-refresh-show'},16)}})}); \ No newline at end of file +navigator.serviceWorker&&navigator.serviceWorker.register('/sw.js?v=20240905222142').then(function(){navigator.serviceWorker.addEventListener('message',function(a){if('sw.update'===a.data){let a=document.querySelector('meta[name=theme-color]'),b=document.createElement('div');a&&(a.content='#000'),b.innerHTML='

\u64cd\u4f5c\u901a\u77e5

\u5df2\u66f4\u65b0\u6700\u65b0\u7248\u672c\uff08\u5237\u65b0\u751f\u6548\uff09
×
',document.body.appendChild(b),setTimeout(function(){document.getElementById('app-refresh').className+=' app-refresh-show'},16)}})}); \ No newline at end of file