Skip to content

Commit 80c5aa7

Browse files
Add files via upload
1 parent 552bea7 commit 80c5aa7

20 files changed

Lines changed: 1176 additions & 6 deletions

ChronClient/ChronClient.csproj

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
<Reference Include="System.Data" />
7272
<Reference Include="System.Drawing" />
7373
<Reference Include="System.Drawing.Design" />
74+
<Reference Include="System.Numerics" />
7475
<Reference Include="System.Windows" />
7576
<Reference Include="System.Windows.Forms" />
7677
<Reference Include="System.Windows.Forms.DataVisualization" />
@@ -165,9 +166,19 @@
165166
<Compile Include="ChronClient\GUI\Page\Page\ChronClient.GUI.MainWindow.DashboardPage.WelcomePage.xaml.cs">
166167
<DependentUpon>ChronClient.GUI.MainWindow.DashboardPage.WelcomePage.xaml</DependentUpon>
167168
</Compile>
168-
<Compile Include="ChronClient\Modules\ChronClient.ModuleManagment.cs" />
169+
<Compile Include="ChronClient\Modules\ChronClient.ModuleManagement.cs" />
169170
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.Airjump.cs" />
171+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.AutoClick.cs" />
172+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.HighJump.cs" />
173+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.Hitbox.cs" />
170174
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.NoFall.cs" />
175+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.NoKnockBack.cs" />
176+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.NoSwing.cs" />
177+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.ParticleTrace.cs" />
178+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.Reach.cs" />
179+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.Speed.cs" />
180+
<Compile Include="ChronClient\Modules\ChronClient.ModuleCommandManagement.cs" />
181+
<Compile Include="ChronClient\Modules\Module\ChronClient.Module.Teleport.cs" />
171182
<Compile Include="ChronClient\Threads\ChronClient.Threads.cs" />
172183
<Compile Include="lib\cmr\Cmr.Input.cs" />
173184
<Compile Include="lib\cmr\Cmr.MemoryManagement.cs" />

ChronClient/ChronClient/Console/ChronClient.Main.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,30 @@ public static void Start(string[] args)
2020
{
2121
Console.Title = @"ChronClient Console";
2222
cmr.EnableVirtualTerminalProcessing();
23+
Console.SetBufferSize(Console.BufferWidth, 300);
2324
cmr.DisableQuickEdit();
2425
Process.Start("minecraft://");
2526
Memory0.mem = new Chrones.Cmr.MemoryManagement.Memory("Minecraft.Windows");
2627
StartScreen();
2728
Console.WriteLine($@"{cmr.cf(255, 255, 255)}Thanks for using ChronClient :D");
2829
cmr.clogl(ConsoleData.ChronClientLogName, "Loading Application");
2930
StroringInformationSetup.FileSetup();
31+
Thread.Sleep(100);
3032
Modules.ModuleManagment.OnLoad.Start();
3133
Threads.ThreadManagement.StartAllThreads();
3234
cmr.clogl(ConsoleData.ChronClientLogName, "Finished!");
3335
cmr.clogl("Tips and Tricks", $"{cmr.cr}Use {cmr.cf(173, 255, 243)}{cmr.cb(16, 26, 24)}Control+RightShift{cmr.cr} to open the Console when playing Minecraft {cmr.cf(252, 255, 94)}:D{cmr.cr}");
36+
cmr.clogl("Tips and Tricks", $"{cmr.cr}Use {cmr.cf(173, 255, 243)}{cmr.cb(16, 26, 24)}P+MouseDown{cmr.cr} to enable AutoClicker {cmr.cf(252, 255, 94)}[Click]{cmr.cr}");
37+
38+
while (true)
39+
{
40+
Modules.ModuleCommandManagment.GetCommand();
41+
}
3442
}
3543

3644
public static void StartScreen()
3745
{
46+
Console.Clear();
3847
cmr_font.SetConsoleFont("Consolas", 13, 27);
3948
cmr.CenterConsole();
4049
//cmr.MaximizeConsole();

ChronClient/ChronClient/GUI/Controls/Forms/Overlay/ChronClient.GUI.Controls.Forms.OverlayUserControl.xaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
<Border BorderThickness="0" Background="#7F000000" CornerRadius="10" Margin="0.5"/>
1313
<Border x:Name="Border_Update_Color_9873" BorderThickness="2" CornerRadius="10" BorderBrush="White"/>
1414
<Grid>
15-
<TextBlock x:Name="TextBlock_Update_Color_8983" HorizontalAlignment="Left" TextWrapping="Wrap" Text="ChronClient" VerticalAlignment="Top" Margin="10,5" Foreground="White" FontFamily="Consolas" FontSize="28" FontWeight="Bold" FontStyle="Italic"/>
15+
<TextBlock x:Name="TextBlock_Update_Color_8983" HorizontalAlignment="Left" TextWrapping="Wrap" Text="ChronClient" VerticalAlignment="Top" Margin="10,5" Foreground="White" FontFamily="Consolas" FontSize="24" FontWeight="Bold" FontStyle="Italic"/>
1616
</Grid>
1717
</Grid>
1818
<Grid HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,20,20,0">
19-
<TextBlock x:Name="ModuleList" HorizontalAlignment="Right" TextWrapping="Wrap" Text="Airjump" VerticalAlignment="Top" Margin="0" Foreground="White" Background="#7F000000" FontFamily="Consolas" FontSize="22" TextAlignment="Right"/>
19+
<Border BorderThickness="0" Background="#7F000000" CornerRadius="10" Margin="0.5"/>
20+
<Border x:Name="Border_Update_Color_4567" BorderBrush="White" BorderThickness="2" CornerRadius="10"/>
21+
<TextBlock x:Name="ModuleList" HorizontalAlignment="Right" TextWrapping="Wrap" Text="Airjump" VerticalAlignment="Top" Margin="10,5" Foreground="White" FontFamily="Consolas" FontSize="18" TextAlignment="Right"/>
2022
</Grid>
2123
</Grid>
2224
</Grid>

ChronClient/ChronClient/GUI/Controls/Forms/Overlay/ChronClient.GUI.Controls.Forms.OverlayUserControl.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public OverlayUserControl()
2828
{
2929
InitializeComponent();
3030

31-
ModuleList.Text = "Airjump\nNoFall\nTabGUI";
31+
ModuleList.Text = "Speed\nAirjump\nNoKnockBack\nNoFall\nReach\nNoSwing\nHitbox\nAutoClick\nTabGUI\nListGUI";
3232

3333
#region ColorRGBTimer
3434
ColorRGBTimer = new DispatcherTimer();
@@ -51,6 +51,7 @@ public void UpdateGUIColor(Color color, SolidColorBrush colorbrush)
5151
this.Border_Update_Color_9873.BorderBrush = colorbrush;
5252
this.TextBlock_Update_Color_8983.Foreground = colorbrush;
5353
this.ModuleList.Foreground = colorbrush;
54+
this.Border_Update_Color_4567.BorderBrush = colorbrush;
5455
}
5556
}
5657
}
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Numerics;
5+
using System.Text;
6+
using System.Threading;
7+
using System.Threading.Tasks;
8+
using Chrones.Cmr;
9+
10+
namespace ChronClient.Modules
11+
{
12+
public static class ModuleCommandManagment
13+
{
14+
public static bool ProcessCommand(string command)
15+
{
16+
#region Standard
17+
18+
if (command == "module list" || command == "mod list" || command == "list module" || command == "list mod")
19+
{
20+
Console.Write($"{cmr.cr}");
21+
cmr.ccoutl($"{cmr.cf(255, 59, 59)}ChronClient", $"{cmr.cf(255, 253, 112)}Listing the Modules that ChronClient has:");
22+
Console.Write($"{cmr.cf(220, 220, 220)}╔═════════ {cmr.cf(176, 255, 158)}Module List{cmr.tr} ═════════╗\n"); Console.Write($"{cmr.cr}");
23+
Console.Write($"{cmr.cf(220, 220, 220)}║ ┌ {cmr.cf(171, 230, 255)}TabGUI{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
24+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}ListGUI{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
25+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}Airjump{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
26+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}Speed{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
27+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}Reach{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
28+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}AutoClick{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
29+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}NoKnockBack{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
30+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}NoFall{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
31+
Console.Write($"{cmr.cf(220, 220, 220)}║ └ {cmr.cf(171, 230, 255)}NoSwing{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
32+
Console.Write($"{cmr.cf(220, 220, 220)}╚═══════════════════════════════╝\n"); Console.Write($"{cmr.cr}");
33+
Console.Write($"{cmr.cr}");
34+
} else if (command == "list")
35+
{
36+
Console.Write($"{cmr.cr}");
37+
cmr.ccoutl($"{cmr.cf(255, 59, 59)}ChronClient", $"{cmr.cf(255, 253, 112)}Listing the Commands that ChronClient has:");
38+
Console.Write($"{cmr.cf(220, 220, 220)}╔═════════ {cmr.cf(176, 255, 158)}Command List{cmr.tr} ═════════╗\n"); Console.Write($"{cmr.cr}");
39+
Console.Write($"{cmr.cf(220, 220, 220)}║ ┌ {cmr.cf(171, 230, 255)}help{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
40+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}list{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
41+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}module{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
42+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}discord{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
43+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}patreon{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
44+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}update{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
45+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}about{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
46+
Console.Write($"{cmr.cf(220, 220, 220)}║ ├ {cmr.cf(171, 230, 255)}clear{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
47+
Console.Write($"{cmr.cf(220, 220, 220)}║ └ {cmr.cf(171, 230, 255)}exit{cmr.cf(220, 220, 220)}\n"); Console.Write($"{cmr.cr}");
48+
Console.Write($"{cmr.cf(220, 220, 220)}╚════════════════════════════════╝\n"); Console.Write($"{cmr.cr}");
49+
}
50+
51+
if (command == "discord")
52+
{
53+
cmr.ccoutl("ChronClient", "Do you want to open the Discord invite link in your browser? [Y|N]");
54+
Console.Write($"{cmr.cf(153, 242, 194)}[]{cmr.cr} {cmr.cf(255, 59, 59)}<{cmr.cr} {cmr.cf(255, 241, 89)}{cmr.cb(44, 49, 54)}");
55+
ConsoleKeyInfo ResultKey;
56+
ResultKey = Console.ReadKey();
57+
Console.WriteLine($"{cmr.cr}");
58+
if (ResultKey.Key == ConsoleKey.Y)
59+
{
60+
System.Diagnostics.Process.Start("http://discord.chrones.cc");
61+
cmr.clogl("ChronClient", "The Discord Link was opened in your browser.");
62+
} else
63+
{
64+
cmr.ccoutl("ChronClient", "Stopped.");
65+
}
66+
}
67+
68+
#endregion
69+
70+
#region Module
71+
if (command == "speed.value")
72+
{
73+
Console.Write($"{cmr.cf(173, 255, 243)}{cmr.cb(16, 26, 24)}Enter the value here:{cmr.cr} {cmr.cf(255, 255, 255)}");
74+
float value;
75+
try
76+
{
77+
value = Convert.ToSingle(Console.ReadLine());
78+
value = value / 100;
79+
Module.Speed.Value = value;
80+
Console.Write($"{cmr.cr}");
81+
cmr.clogl("Module_Speed", $"Speedvalue set to {value}{cmr.cr}");
82+
}
83+
catch
84+
{
85+
Console.Write($"{cmr.cr}");
86+
Console.WriteLine($"{cmr.cf(255, 30, 30)}There was an error!{cmr.cr}");
87+
}
88+
}
89+
90+
if (command == "highjump.value")
91+
{
92+
Console.Write($"{cmr.cf(173, 255, 243)}{cmr.cb(16, 26, 24)}Enter the value here:{cmr.cr} {cmr.cf(255, 255, 255)}");
93+
float value;
94+
try
95+
{
96+
value = Convert.ToSingle(Console.ReadLine());
97+
value = value / 100;
98+
Module.Highjump.Value = value;
99+
Module.Highjump.Refresh();
100+
Console.Write($"{cmr.cr}");
101+
cmr.clogl("Module_Highjump", $"Speedvalue set to {value}{cmr.cr}");
102+
}
103+
catch
104+
{
105+
Console.Write($"{cmr.cr}");
106+
Console.WriteLine($"{cmr.cf(255, 30, 30)}There was an error!{cmr.cr}");
107+
}
108+
}
109+
110+
if (command == "tp" || command == "teleport")
111+
{
112+
113+
}
114+
115+
if (command == "pos" || command == "position" || command == "get pos" || command == "get position" || command == "pos get" || command == "position get")
116+
{
117+
Vector3 Position = Module.Teleport.GetPosition();
118+
Console.WriteLine($"{cmr.cb(30, 32, 36)}{cmr.cf(112, 119, 255)}X: {cmr.cf(166, 184, 255)}{Position.X} {cmr.cf(112, 119, 255)}Y: {cmr.cf(166, 184, 255)}{Position.Y} {cmr.cf(112, 119, 255)}Z: {cmr.cf(166, 184, 255)}{Position.Z}{cmr.cr}");
119+
}
120+
121+
#endregion
122+
123+
return false;
124+
}
125+
126+
public static void GetCommand()
127+
{
128+
cmr.EnableQuickEdit();
129+
Console.Write($"{cmr.cf(153, 242, 194)}[]{cmr.cr} {cmr.cf(255, 59, 59)}<{cmr.cr} {cmr.cf(166, 216, 255)}");
130+
string Input;
131+
Input = Console.ReadLine();
132+
Console.Write($"{cmr.cr}");
133+
cmr.DisableQuickEdit();
134+
135+
if (Input == "exit !" || Input == "exit!")
136+
{
137+
cmr.ccoutl($"{cmr.cf(255, 153, 0)}ChronClient", $"{cmr.cf(255, 153, 0)}Exiting...");
138+
cmr.ExitApplication(false);
139+
}
140+
141+
if (Input == "exit")
142+
{
143+
cmr.ExitApplicationPrint();
144+
}
145+
146+
if (Input == "clear")
147+
{
148+
Console.Clear();
149+
cmr.clogl("ChronClient", "Console was cleared");
150+
}
151+
152+
if (Input == "clear !" || Input == "clear!")
153+
{
154+
Console.Clear();
155+
}
156+
157+
Modules.ModuleCommandManagment.ProcessCommand(Input);
158+
}
159+
}
160+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Diagnostics;
4+
using System.Linq;
5+
using System.Text;
6+
using System.Threading;
7+
using System.Threading.Tasks;
8+
using System.Windows.Threading;
9+
10+
namespace ChronClient.Modules
11+
{
12+
public static class ModuleManagment
13+
{
14+
public static class Tick
15+
{
16+
static Thread Tick10Thread;
17+
static Thread Tick100Thread;
18+
static Thread Tick1000Thread;
19+
20+
private static void Tick10()
21+
{
22+
while (true)
23+
{
24+
Thread.Sleep(10);
25+
}
26+
}
27+
28+
private static void Tick100()
29+
{
30+
while (true)
31+
{
32+
Module.Speed.Tick100();
33+
Module.ParticleTrace.Tick100();
34+
Thread.Sleep(100);
35+
}
36+
}
37+
38+
private static void Tick1000()
39+
{
40+
while (true)
41+
{
42+
Thread.Sleep(1000);
43+
}
44+
}
45+
46+
public static void Start()
47+
{
48+
Tick10Thread = new Thread(new ThreadStart(Tick10));
49+
Tick10Thread.Priority = ThreadPriority.Normal;
50+
Tick10Thread.Start();
51+
52+
Tick100Thread = new Thread(new ThreadStart(Tick100));
53+
Tick100Thread.Priority = ThreadPriority.BelowNormal;
54+
Tick100Thread.Start();
55+
56+
Tick1000Thread = new Thread(new ThreadStart(Tick1000));
57+
Tick1000Thread.Priority = ThreadPriority.Lowest;
58+
Tick1000Thread.Start();
59+
}
60+
}
61+
62+
public static class OnLoad
63+
{
64+
public static void Start()
65+
{
66+
// Setup Modules
67+
Module.Hitbox.ToggleState = true;
68+
Module.Airjump.ToggleState = true;
69+
Module.NoFall.ToggleState = true;
70+
Module.NoSwing.ToggleState = true;
71+
Module.Reach.ToggleState = true;
72+
Module.NoKnockBack.ToggleState = true;
73+
Module.Speed.ToggleState = true;
74+
Module.Highjump.ToggleState = true;
75+
//Module.ParticleTrace.ToggleState = true;
76+
Module.AutoClick.Start();
77+
}
78+
}
79+
}
80+
}

0 commit comments

Comments
 (0)