-
Notifications
You must be signed in to change notification settings - Fork 4
/
Modules.cs
194 lines (170 loc) · 5.03 KB
/
Modules.cs
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
using BrokeProtocolClient.utils;
using BrokeProtocolClient.modules;
using BrokeProtocolClient.modules.combat;
using BrokeProtocolClient.modules.player;
using BrokeProtocolClient.modules.movement;
using BrokeProtocolClient.modules.render;
using BrokeProtocolClient.modules.misc;
using BrokeProtocolClient.modules.exploit;
using System.Collections.Generic;
using System;
using BrokeProtocolClient.modules.exploit.botter;
namespace BrokeProtocolClient.modules
{
class Modules
{
public static Modules instance;
private readonly List<Category> categories = new List<Category>();
private readonly List<Module> modules = new List<Module>();
private readonly List<Module> active = new List<Module>();
private readonly Dictionary<Category, List<Module>> groups = new Dictionary<Category, List<Module>>();
public Modules()
{
instance = this;
init();
}
public void init()
{
initCombat();
initPlayer();
initMovement();
initRender();
initExploit();
initMisc();
}
public void registerCategory(Category category)
{
categories.Add(category);
}
public void addActive(Module module)
{
if (!active.Contains(module))
{
active.Add(module);
}
}
public List<Category> getCategories()
{
return categories;
}
public Module getModule(Type type)
{
foreach (Module module in modules)
{
if (module.GetType() == type) return module;
}
return null;
}
public Module getActiveModule(Type type)
{
foreach (Module module in active)
{
if (module.GetType() == type) return module;
}
return null;
}
public List<Module> getModules()
{
return modules;
}
public List<Module> getModulesInCategory(Category category)
{
List<Module> list = new List<Module>();
foreach (Module module in modules)
{
if (module.category == category)
{
list.Add(module);
}
}
return list;
}
public List<Module> getActive()
{
return active;
}
public void removeActive(Module module)
{
active.Remove(module);
}
public void disableAll()
{
foreach (Module module in modules)
{
if (module.enabled) module.toggle();
}
}
public void add(Module module)
{
modules.Add(module);
}
private void initCombat()
{
add(new Aimbot());
add(new Recoil());
add(new NoSpread());
add(new MeleeReach());
//add(new Spinbot());
//add(new Antiaim());
add(new Kamikaze());
}
private void initPlayer()
{
add(new FovChanger());
add(new NoRestrain());
add(new NoWeightLimit());
add(new AutoCrack());
add(new AutoSteal());
add(new AutoHeal());
add(new AutoCollect());
add(new AutoDefuse());
add(new AutoDrop());
}
private void initMovement()
{
add(new Speed());
//add(new NoFall());
add(new Noclip());
}
private void initRender()
{
add(new HUD());
add(new Esp());
add(new Chams());
add(new Nametags());
add(new Skeleton());
add(new Freecam());
add(new Trajectories());
add(new Fog());
add(new DamageNumbers());
}
private void initExploit()
{
add(new BruteForcer());
//add(new InteriorLoader());
add(new ChatSpoofer());
add(new Botter());
add(new BotSpammer());
add(new Teleport());
add(new AutoStand());
add(new AutoBotTrade());
add(new AutoHackAppartment());
add(new VehicleSpeed());
add(new HitboxExpander());
//add(new Give());
add(new ServerCrasher());
}
private void initMisc()
{
add(new BetterChat());
add(new Notifier());
add(new ChatSpammer());
add(new TradeSpammer());
add(new AlertSpammer());
add(new HandsUpSpammer());
add(new MapSaver());
add(new Spoofer());
add(new PacketManager());
}
}
}