-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
43 lines (31 loc) · 1.08 KB
/
settings.py
File metadata and controls
43 lines (31 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import sys
class Settings:
def __init__(self) -> None:
self.is_running = True
self.frame_rate_limit = 128
self.show_capture_frames = False
self.overide_sleep_bind = 0x14
self.min_size = 20
self.FOV = 416
self.scale = 0.2
self.work_triggerbot = True
self.aimbot_bind = 0x12
self.work_aimbot = True
self.aimbot_always_work = True
self.reflex_on = False
self.visuals_on = True
args = sys.argv[1:]
print(args)
for i in range(len(args) // 2):
attr = args[::2][i].replace('-', '')
value = args[1::2][i]
if value.lower() == 'true':
value = True
elif value.lower() == 'false':
value = False
elif '.' in value:
value = float(value)
else:
value = int(value)
setattr(self, attr, value)
settings = Settings()