2021-02-19 18:59:02 +08:00
|
|
|
# Script to buy house in FFXIV
|
|
|
|
|
|
|
|
## Dependencies:
|
|
|
|
|
|
|
|
You will need python:
|
2021-02-19 19:04:12 +08:00
|
|
|
|
2021-02-19 18:59:02 +08:00
|
|
|
[https://www.python.org/downloads/]
|
|
|
|
|
|
|
|
This works on python 3.9.1
|
|
|
|
|
|
|
|
It also needs ``PyAutoGUI`` for mouse, keyboard and GUI control, and ``Pillow`` for image/screen processing.
|
|
|
|
|
|
|
|
## Windows
|
|
|
|
|
|
|
|
After you have installed python, run from below in CMD and Powershell:
|
|
|
|
|
|
|
|
```
|
2021-02-19 19:04:12 +08:00
|
|
|
py -m pip install -r requirements.txt
|
2021-02-19 18:59:02 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
Or alternatviely:
|
|
|
|
|
|
|
|
```
|
2021-02-19 19:04:12 +08:00
|
|
|
py -m pip install pyautogui
|
|
|
|
py -m pip install Pillow
|
2021-02-19 18:59:02 +08:00
|
|
|
```
|
2021-02-19 19:39:00 +08:00
|
|
|
|
|
|
|
## Usage:
|
|
|
|
|
|
|
|
Once you have either cloned or downloaded this, go into the folder with ``FileExplorer`` and ``Shift`` + ``Right Click``.
|
|
|
|
|
|
|
|
|
|
|
|
![OpenPowerShell](img/OpenPowerShell.png)
|
|
|
|
|
|
|
|
Select 'Open PowerShell window here' and run:
|
|
|
|
|
|
|
|
```
|
|
|
|
py .\autoclick.py
|
|
|
|
```
|
|
|
|
|
|
|
|
Position the game, so that the the placard is centered in the left third of the screen:
|
|
|
|
|
|
|
|
![PositionGame](img/PositionGame.png)
|
|
|
|
|