程序下载|源码(GitHub)

原理

每20分钟自动模拟按两次esc键,更新状态

使用方法:

下载编译好的exe文件

Releases 中下载FFxivPreventAutoExit.exe文件,管理员权限运行,回到游戏中即可。

自行编译:

环境:python3、pyinstaller

git clone git@github.com:NAkeshu/FFxivPreventAutoExit.git
cd FFxivPreventAutoExit
pyinstaller -F --uac-admin ./ffxiv_prevent_auto_exit.py

管理员权限运行dist文件夹下的ffxiv_prevent_auto_exit.exe

直接运行

环境:python3、pyinstaller

需要在管理员权限下运行脚本

git clone git@github.com:NAkeshu/FFxivPreventAutoExit.git
cd FFxivPreventAutoExit
python ./ffxiv_prevent_auto_exit.py

部分配置

# Configurations
WaitTime = 20 * 60  # 自动执行间隔(单位:秒)
NeedAlert = True  # 更新状态后是否发出提示音(True / False)

参考

  1. How to simulate raw input / Send a WM_INPUT message to an application the right way? (stackoverflow)
  2. Scan Key Code
Last modification:August 16th, 2022 at 12:29 am
如果觉得我的文章对你有用,请随意赞赏