Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 57b0fe7

Browse files
committed
New Pips have been added and a autorun key variable has been made
1 parent bc38c5a commit 57b0fe7

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Make sure you pip install the following packages
1313
```
1414
pip install PyAutoGUI
1515
pip install PyDirectInput
16+
pip install Pillow
17+
pip install opencv-python
1618
```
1719

1820
New World must be installed and running..... But you know this already right?

main.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ def main():
3030
pyautogui.click()
3131
time.sleep(.1)
3232

33+
# Auto Run Key
34+
autowalkKey = '='
35+
3336
# Seconds to move foward
3437
fowardMoveTotal = 20
3538

@@ -54,15 +57,15 @@ def main():
5457
continue
5558

5659
# Do I got to explain?
57-
pyautogui.press('=')
60+
pyautogui.press(autowalkKey)
5861

5962
# Randomly move foward 0 - 1.5 seconds
6063
temp = 1.5 * random.random()
6164
currentFoward += temp
6265
time.sleep(temp)
6366

6467
# Brah, you know
65-
pyautogui.press('=')
68+
pyautogui.press(autowalkKey)
6669

6770
# Flippy flip if you hitty hit the max move time (fowardMoveTotal)
6871
if currentFoward >= fowardMoveTotal:
@@ -73,9 +76,9 @@ def main():
7376
pydirectinput.move(flipMouseMove * flip, 1, relative=True)
7477

7578
# Move Foward 1.5 secs
76-
pyautogui.press('=')
79+
pyautogui.press(autowalkKey)
7780
time.sleep(1.5)
78-
pyautogui.press('=')
81+
pyautogui.press(autowalkKey)
7982

8083
# Move the mouse 90 degrees
8184
pydirectinput.move(flipMouseMove * flip, 1, relative=True)

0 commit comments

Comments
 (0)