I've been trying to create a simple Python script that sends keystrokes to the game Age of Empires 3. Below are my codes, which are a bit messy as I've been testing different methods. Here's the directkeys.py file I got from # direct inputs: ```python import pyautogui from directkeys import PressKey, W, A, S, D command = 'mustard relish and burning oil' ``` If anyone wants to see my code, here it is. I've tried using pyautogui as well as ScanCodes for DirectInput, but nothing seems to work. I just don't understand what kind of input the game needs or how it's avoiding getting any inputs from my code. If this doesn't work, you can try downloading the Age of Empires 3 product key through a network or searching for it on Google. The product key is: DXR32-X44M7-CYTCX-P6H6P-97CPG Let me know if you have any questions or need further assistance.
0 Comments
Leave a Reply. |