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cZH=;Fl*;w6ht9Rr
zZx3duNG~^>E!2JG>UivoK~K~Cg5$e`n+q|tLR91Srg@Z#ylH5ZrJFioHxKJ1zGwKT
zLVAYRna5JN8sbxWIuc)}p?Xi%JA8&7Rca*)QTozg3Uxmx`c_dlT|ZL<>zfs9ZsmLB
zsE(T$$6Msn<`(GsoxCa5fqfvIeaSvJlTN~1I*l%yc+iphO_xQQu>ms`!j}1FrE=JbNZqy-KBI#qMx1IxhIYLCZ_v3S_4%1S+7>`W6KBWj&HSssf
zyh*&L=E?z-%gnJb$cqeLxym8Eseaf~r=DPrF9MD8^e9@@&AYZ#x0*l663dp%Dyb~6
z$B9!}C5v9)-6C1LlG1}B^_11~J$*DLLZ#mHsh%=05>eAVS%SHT{T#o|`vC{;)pxTm
zcRzf{!u~9PhUel$^tGg9r?OQ7n*I2_8+j_LUFTzg7^zkAW|%A)ODXq+q2XsQ;;&Rf
zRIzRKsMJY>@~xZ#p~l|Mu}tysBwzOnpm<*0G~$e}*2Q;loNBoJ2^tMv@xnvVwxwX5
zV-5RW^{O4Ap=N7^_LMKOg?K%?_-r+Z3TW3zGCNjT(e`QW`#9Ii=Ic*%0;n9RA|fmN8i0+W4=s&fb%*
z7O{2{!BB9>65BN7`&^onAW2{oWcD$Qt@W+>S$8WN)I(yevN^gtd#6||<0*UgLlt~+gf&j|cQkoO1n
H#mD~!H2*#&
literal 0
HcmV?d00001
diff --git a/Catalyss/wwwroot/assets/ButtonCalls.js b/Catalyss/wwwroot/assets/ButtonCalls.js
index 7dbfd50..1cf6102 100644
--- a/Catalyss/wwwroot/assets/ButtonCalls.js
+++ b/Catalyss/wwwroot/assets/ButtonCalls.js
@@ -4,4 +4,12 @@
function UnloadDll() {
window.external.sendMessage('EjectMonoDll');
+}
+
+function StartAtlyss() {
+ window.external.sendMessage('StartGame');
+}
+
+function QuitAtlyss() {
+ window.external.sendMessage('QuitGame');
}
\ No newline at end of file
diff --git a/Catalyss/wwwroot/assets/main.css b/Catalyss/wwwroot/assets/main.css
index bb5ff4b..0ca7a57 100644
--- a/Catalyss/wwwroot/assets/main.css
+++ b/Catalyss/wwwroot/assets/main.css
@@ -34,7 +34,7 @@ body {
/* Center Box */
.center-box {
position: center;
- width: 400px;
+ width: 550px;
height: 400px;
background-color: rgba(30, 30, 30, 0.8);
border-radius: 20px;
diff --git a/Catalyss/wwwroot/index.html b/Catalyss/wwwroot/index.html
index bc8b2b7..8cab0ad 100644
--- a/Catalyss/wwwroot/index.html
+++ b/Catalyss/wwwroot/index.html
@@ -3,7 +3,7 @@
- Black GUI
+ GUI
@@ -18,6 +18,10 @@
+
+
+
+
diff --git a/CatalyssMod/CatalyssMod.csproj b/CatalyssMod/CatalyssMod.csproj
index 7bfc998..5f4e02e 100644
--- a/CatalyssMod/CatalyssMod.csproj
+++ b/CatalyssMod/CatalyssMod.csproj
@@ -7,11 +7,11 @@
- 1701;1702;8618
+ 1701;1702;8618;8600;8603
- 1701;1702;8618
+ 1701;1702;8618;8600;8603
diff --git a/CatalyssMod/cMod.cs b/CatalyssMod/CatalyssMonoMod.cs
similarity index 51%
rename from CatalyssMod/cMod.cs
rename to CatalyssMod/CatalyssMonoMod.cs
index fd2d7df..018a558 100644
--- a/CatalyssMod/cMod.cs
+++ b/CatalyssMod/CatalyssMonoMod.cs
@@ -6,9 +6,9 @@
namespace CatalyssMod
{
- internal class cMod : MonoBehaviour
+ internal class CatalyssMonoMod : MonoBehaviour
{
- public GameObject GetPlayer()
+ public static GameObject GetPlayer()
{
//Should fix multiplayer
if (Player._mainPlayer.Network_isHostPlayer)
@@ -29,80 +29,58 @@ public GameObject GetPlayer()
}
}
- //private readonly float FlightSpeed = 5f;
private void Update()
{
if (Input.GetKeyDown(KeyCode.F))
{
Entry.GuiTog = !Entry.GuiTog;
}
-
- if (IsFlightActive)
- {
- //Will fix later
- /*Vector3 movementDirection = Vector3.zero;
-
- if (GetPlayer() != null)
- {
- //Up down
- movementDirection -= GetPlayer().transform.up * (Input.GetKey(KeyCode.Q) ? 1 : 0);
- movementDirection += GetPlayer().transform.up * (Input.GetKey(KeyCode.E) ? 1 : 0);
-
- //Movement
- movementDirection += GetPlayer().transform.forward * (Input.GetKey(KeyCode.W) ? 1 : 0);
- movementDirection -= GetPlayer().transform.right * (Input.GetKey(KeyCode.A) ? 1 : 0);
- movementDirection -= GetPlayer().transform.forward * (Input.GetKey(KeyCode.S) ? 1 : 0);
- movementDirection += GetPlayer().transform.right * (Input.GetKey(KeyCode.D) ? 1 : 0);
- }
-
- if (Input.GetKey(KeyCode.LeftShift))
- {
- GetPlayer().transform.position += movementDirection * FlightSpeed * 2.5f * Time.deltaTime;
- }
- else
- {
- GetPlayer().transform.position += movementDirection * FlightSpeed * Time.deltaTime;
- }*/
- }
}
private void OnGUI()
{
- GUI.Label(new Rect(15f, 25f, 160f, 90f), $"Catalyss is Loaded!");
- GUI.Label(new Rect(15f, 40f, 160f, 90f), $"{DateTime.Now:hh:mm:ss}");
-
+ GUI.Label(new Rect(15f, 25f, 360f, 90f), $"Catalyss is Loaded!");
if (Entry.GuiTog)
{
- var GuiName = $"Catalyss v{Entry.ModVersion}";
- Entry.GuiRect = GUI.Window(0, Entry.GuiRect, ModGUI, GuiName);
+ Entry.GuiRect = GUI.Window(0, Entry.GuiRect, ModGUI, $"Catalyss v{Entry.ModVersion}");
}
}
- private bool IsSpeedBoostActive = false;
- private string SpeedBoostText = "OFF";
+ public static bool LoopGM = false;
+ public static bool LoopStam = false;
+
+ private bool IsSpeedBoostActive { get; set; } = false;
+ private string SpeedBoostText = "OFF";
+
+ private bool IsBigJumpActive { get; set; } = false;
+ private string BigJumpText = "OFF";
- private bool IsBigJumpActive = false;
- private string BigJumpText = "OFF";
+ private bool IsInfJumpActive { get; set; } = false;
+ private string InfJumpText = "OFF";
- private bool IsInfJumpActive = false;
- private string InfJumpText = "OFF";
+ private bool IsHoverActive { get; set; } = false;
+ private string HoverText = "OFF";
- private bool IsHoverActive = false;
- private string HoverText = "OFF";
+ private bool IsNoCDWActive { get; set; } = false;
+ private string NoCooldownsText = "OFF";
- private bool IsNoCDWActive = false;
- private string NoCooldownsText = "OFF";
+ private bool IsHugeDamageActive { get; set; } = false;
+ private string HugeDmgText = "OFF";
- private bool IsHugeDamageActive = false;
- private string HugeDmgText = "OFF";
+ private bool IsAOEActive { get; set; } = false;
+ private string AOEText = "OFF";
- private bool IsAOEActive = false;
- private string AOEText = "OFF";
+ private bool IsGodModeActive { get; set; } = false;
+ private string GodModeText = "OFF";
- private bool IsFlightActive = false;
- private string FlightText = "OFF";
+ private bool IsInfStamActive { get; set; } = false;
+ private string InfStamText = "OFF";
+
+ private bool IsAutoPActive { get; set; } = false;
+ private string AutoPText = "OFF";
private int ExpPointAmount { get; set; } = 20;
+ public string UserItemInput { get; set; } = "";
void ModGUI(int WindowId)
{
@@ -110,13 +88,13 @@ void ModGUI(int WindowId)
GUI.contentColor = Color.magenta;
GUI.color = Color.magenta;
- //40
+ //40 distance
if (GUI.Button(new Rect(20, 30, 300, 30), $"Speed Boost [{SpeedBoostText}]"))
{
IsSpeedBoostActive = !IsSpeedBoostActive;
if (IsSpeedBoostActive)
{
- SpeedBoostText = "ON";
+ SpeedBoostText = "ON";
if (GetPlayer() != null)
{
@@ -125,7 +103,7 @@ void ModGUI(int WindowId)
}
else
{
- SpeedBoostText = "OFF";
+ SpeedBoostText = "OFF";
if (GetPlayer() != null)
{
@@ -139,7 +117,7 @@ void ModGUI(int WindowId)
IsBigJumpActive = !IsBigJumpActive;
if (IsBigJumpActive)
{
- BigJumpText = "ON";
+ BigJumpText = "ON";
if (GetPlayer() != null)
{
@@ -148,7 +126,7 @@ void ModGUI(int WindowId)
}
else
{
- BigJumpText = "OFF";
+ BigJumpText = "OFF";
if (GetPlayer() != null)
{
@@ -162,7 +140,7 @@ void ModGUI(int WindowId)
IsInfJumpActive = !IsInfJumpActive;
if (IsInfJumpActive)
{
- InfJumpText = "ON";
+ InfJumpText = "ON";
if (GetPlayer() != null)
{
@@ -171,7 +149,7 @@ void ModGUI(int WindowId)
}
else
{
- InfJumpText = "OFF";
+ InfJumpText = "OFF";
if (GetPlayer() != null)
{
@@ -185,7 +163,7 @@ void ModGUI(int WindowId)
IsHoverActive = !IsHoverActive;
if (IsHoverActive)
{
- HoverText = "ON";
+ HoverText = "ON";
if (GetPlayer() != null)
{
@@ -196,7 +174,7 @@ void ModGUI(int WindowId)
}
else
{
- HoverText = "OFF";
+ HoverText = "OFF";
if (GetPlayer() != null)
{
@@ -212,7 +190,7 @@ void ModGUI(int WindowId)
IsNoCDWActive = !IsNoCDWActive;
if (IsNoCDWActive)
{
- NoCooldownsText = "ON";
+ NoCooldownsText = "ON";
if (GetPlayer() != null)
{
@@ -223,7 +201,7 @@ void ModGUI(int WindowId)
}
else
{
- NoCooldownsText = "OFF";
+ NoCooldownsText = "OFF";
if (GetPlayer() != null)
{
@@ -239,7 +217,7 @@ void ModGUI(int WindowId)
IsHugeDamageActive = !IsHugeDamageActive;
if (IsHugeDamageActive)
{
- HugeDmgText = "ON";
+ HugeDmgText = "ON";
if (GetPlayer() != null)
{
@@ -248,7 +226,7 @@ void ModGUI(int WindowId)
}
else
{
- HugeDmgText = "OFF";
+ HugeDmgText = "OFF";
if (GetPlayer() != null)
{
@@ -262,7 +240,7 @@ void ModGUI(int WindowId)
IsAOEActive = !IsAOEActive;
if (IsAOEActive)
{
- AOEText = "ON";
+ AOEText = "ON";
if (GetPlayer() != null)
{
@@ -271,11 +249,12 @@ void ModGUI(int WindowId)
}
else
{
- AOEText = "OFF";
+ AOEText = "OFF";
if (GetPlayer() != null)
{
GetPlayer().GetComponentInChildren()._currentScriptableWeaponType._hitboxScale = new Vector3(1.5f, 1.5f, 1.5f);
+ GetPlayer().GetComponentInChildren().Cmd_ResetHitboxes();
}
}
}
@@ -329,33 +308,152 @@ void ModGUI(int WindowId)
}
}
- if (GUI.Button(new Rect(340, 270, 300, 30), $"Player Flight (Bugged) [{FlightText}]"))
+ if (GUI.Button(new Rect(340, 270, 300, 30), $"Add Money"))
+ {
+ if (GetPlayer() != null)
+ {
+ GetPlayer().GetComponentInChildren().Add_Currency(50);
+ }
+ }
+
+ if (GUI.Button(new Rect(340, 310, 300, 30), $"Goon"))
{
if (GetPlayer() != null)
{
- IsFlightActive = !IsFlightActive;
- if (IsFlightActive)
+ GetPlayer().GetComponentInChildren()._displayBoobs = true;
+ GetPlayer().GetComponentInChildren()._boobWeight = 400;
+ GetPlayer().GetComponentInChildren()._bottomWeight = 400;
+ }
+ }
+
+ if (GUI.Button(new Rect(340, 350, 300, 30), $"Fat"))
+ {
+ if (GetPlayer() != null)
+ {
+ GetPlayer().GetComponentInChildren()._widthWeight = 400;
+ GetPlayer().GetComponentInChildren()._bellyWeight = 400;
+ }
+ }
+
+ if (GUI.Button(new Rect(340, 390, 300, 30), $"Hide Steam ID"))
+ {
+ if (GetPlayer() != null)
+ {
+ GetPlayer().GetComponentInChildren()._steamID = "CATALYSS EVILMANE INC";
+ }
+ }
+
+ if (GUI.Button(new Rect(340, 430, 300, 30), $"Drop Money"))
+ {
+ if (GetPlayer() != null)
+ {
+ GetPlayer().GetComponentInChildren().Cmd_AddCurrency(500);
+ GetPlayer().GetComponentInChildren().Cmd_DropCurrency(500);
+ }
+ }
+
+ //Other side
+ if (GUI.Button(new Rect(20, 310, 300, 30), $"GOD MODE [{GodModeText}]"))
+ {
+ if (GetPlayer() != null)
+ {
+ IsGodModeActive = !IsGodModeActive;
+ if (IsGodModeActive)
{
- FlightText = "ON";
+ GodModeText = "ON";
+ GetPlayer().GetComponentInChildren()._currentHealth = 999;
+ GetPlayer().GetComponentInChildren().Network_currentHealth = 999;
+ GetPlayer().GetComponentInChildren().Add_Health(999);
+ LoopGM = true;
}
else
{
- FlightText = "OFF";
+ //Ngl too lazy to make a check/cache for ur original health uhh deal with it 4 now I guess lol
+ GodModeText = "OFF";
+ GetPlayer().GetComponentInChildren()._currentHealth = 50;
+ GetPlayer().GetComponentInChildren().Network_currentHealth = 50;
+ GetPlayer().GetComponentInChildren().Add_Health(1);
+ LoopGM = false;
}
}
}
- if (GUI.Button(new Rect(340, 310, 300, 30), "Quit Game"))
+ if (GUI.Button(new Rect(20, 350, 300, 30), $"INF Stamina [{InfStamText}]"))
{
- Application.Quit();
+ if (GetPlayer() != null)
+ {
+ IsInfStamActive = !IsInfStamActive;
+ if (IsInfStamActive)
+ {
+ InfStamText = "ON";
+ GetPlayer().GetComponentInChildren().Change_Stamina(9999);
+ GetPlayer().GetComponentInChildren().Network_currentStamina = 9999;
+ GetPlayer().GetComponentInChildren()._currentStamina = 9999;
+ LoopStam = true;
+ }
+ else
+ {
+ //Same as health LOOOOL
+ InfStamText = "OFF";
+ GetPlayer().GetComponentInChildren().Change_Stamina(100);
+ GetPlayer().GetComponentInChildren().Network_currentStamina = 100;
+ GetPlayer().GetComponentInChildren()._currentStamina = 100;
+ LoopStam = false;
+ }
+ }
}
- GUI.DragWindow(new Rect(0, 0, 10000, 20));
- }
+ if (GUI.Button(new Rect(20, 390, 300, 30), $"Auto Parry [{AutoPText}]"))
+ {
+ if (GetPlayer() != null)
+ {
+ IsAutoPActive = !IsAutoPActive;
+ if (IsAutoPActive)
+ {
+ AutoPText = "ON";
+ GetPlayer().GetComponentInChildren()._autoParry = true;
+ }
+ else
+ {
+ //Same as health LOOOOL
+ AutoPText = "OFF";
+ GetPlayer().GetComponentInChildren()._autoParry = false;
+ }
+ }
+ }
- private void OnDisable()
- {
- Process.GetCurrentProcess().Kill();
+ if (GUI.Button(new Rect(20, 430, 300, 30), $"Force Revive"))
+ {
+ if (GetPlayer() != null)
+ {
+ GetPlayer().GetComponentInChildren().Cmd_RevivePlayer(Player._mainPlayer);
+ GetPlayer().GetComponentInChildren().Cmd_ReplenishAll();
+ }
+ }
+
+ if (GUI.Button(new Rect(300, 470, 300, 30), $"Next Page -->"))
+ {
+ //For next update
+ }
+
+ /*UserItemInput = GUI.TextField(new Rect(20, 350, 200, 40), "ItemName");
+
+ if (GUI.Button(new Rect(20, 360, 300, 30), "Give Item"))
+ {
+ if (GetPlayer() != null)
+ {
+ var aItem = new ItemData()
+ {
+ _itemName = UserItemInput,
+ _quantity = 69, //niceeee
+ _isEquipped = false,
+ _slotNumber = 1,
+ };
+ GetPlayer().GetComponentInChildren().Add_Item(aItem);
+ }
+ }*/
+
+ GUI.DragWindow(new Rect(0, 0, 10000, 200));
}
}
-}
+}
\ No newline at end of file
diff --git a/CatalyssMod/Entry.cs b/CatalyssMod/Entry.cs
index 02cf87c..96b3c26 100644
--- a/CatalyssMod/Entry.cs
+++ b/CatalyssMod/Entry.cs
@@ -1,20 +1,19 @@
-using System;
-using System.Runtime.InteropServices;
-using UnityEngine;
+using UnityEngine;
namespace CatalyssMod
{
public class Entry
{
public static GameObject? ModObj;
- public const string ModVersion = "1.1";
- public static Rect GuiRect = new(15, 15, 700, 500);
+ public const string ModVersion = "1.2";
+ public static Rect GuiRect = new(15, 15, 700, 600);
public static bool GuiTog { get; set; } = false;
public static void Load()
{
ModObj = new GameObject();
- ModObj.AddComponent();
+ ModObj.AddComponent();
+ ModObj.AddComponent();
UnityEngine.Object.DontDestroyOnLoad(ModObj);
}
diff --git a/CatalyssMod/Utils.cs b/CatalyssMod/Utils.cs
new file mode 100644
index 0000000..23ab6cd
--- /dev/null
+++ b/CatalyssMod/Utils.cs
@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using UnityEngine;
+using UnityEngine.UIElements;
+
+namespace CatalyssMod
+{
+ internal class Utils : MonoBehaviour
+ {
+ //Helper class for other game stuff
+ private void Start()
+ {
+ CatalyssMonoMod.LoopGM = false;
+ CatalyssMonoMod.LoopStam = false;
+ }
+
+ private void Update()
+ {
+ if (CatalyssMonoMod.LoopGM)
+ {
+ try
+ {
+ CatalyssMonoMod.GetPlayer().GetComponentInChildren()._currentHealth = 9999;
+ CatalyssMonoMod.GetPlayer().GetComponentInChildren().Network_currentHealth = 9999;
+ CatalyssMonoMod.GetPlayer().GetComponentInChildren().Add_Health(9999);
+ }
+ catch { }
+ }
+
+ if (CatalyssMonoMod.LoopStam)
+ {
+ try
+ {
+ CatalyssMonoMod.GetPlayer().GetComponentInChildren().Change_Stamina(9999);
+ CatalyssMonoMod.GetPlayer().GetComponentInChildren().Network_currentStamina = 9999;
+ CatalyssMonoMod.GetPlayer().GetComponentInChildren()._currentStamina = 9999;
+ }
+ catch { }
+ }
+ }
+
+ private void OnGUI() { }
+ }
+}
\ No newline at end of file