This repo is under reworking!
Do crafting automatically, with or without GUI.
Just a toy project.
- ATTENTION DO NOT do crafting when you're AFK. This tool DOES NOT ensure proper action of character in game.
Start with:
from craftbot import Craftbot-
Craftbot(self, window_title: str, *, debug: bool = False) Generate a Craftbot object. This requires admin permission, if not debugging.
-
window_title: title of FFXIV window. Typically, do it as:from craftbot import Craftbot ffxiv = Craftbot("最终幻想XIV")
-
-
Craftbot. run() Make craftbot run.
-
Craftbot. delay(ms: Number) Delay for some milliseconds, with default jitter as 5%.
-
Craftbot. press(key: str) Press certain key. Specially, it supports key like
numpad_0,numpad_*. -
Craftbot. press_hwnd(key: str) Press certain key in window. Specially, it supports key like
numpad_0,numpad_*.
from craftbot.macro import get_macro_time- get_marco_time(macro: str) -> int Calculate total time of macro.
-
Write your script, e.g. filename is
mymacro.py. -
Choose target recipe in crafting page. Ensure your macro is in correct key.
-
Open Powershell (with admin permission) and run:
python mymacro.py
Simply run:
python ffxiv_craftbot.pywor you can use Pyinstaller to pack it:
sh build.sh