Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Changelog:
 - Updated cheat to latest game version
 - Added filled boxes esp
 - Added rgb fov colors (just type rgb in the color box)
 - Improved auto play overtime check
 - Added kill all
 - Added freeze all
 - Added no spread
 - Added infinite range
  • Loading branch information
waxnet committed Feb 10, 2024
1 parent 3b72a7c commit 060b78c
Show file tree
Hide file tree
Showing 15 changed files with 237 additions and 78 deletions.
3 changes: 3 additions & 0 deletions Data/Config.cs
Expand Up @@ -32,14 +32,17 @@ public static class Config
["combat.silentaim.fovcolor"] = "#4C4CFF",

["combat.weapons.norecoil"] = "false",
["combat.weapons.nospread"] = "false",
["combat.weapons.infiniteammo"] = "false",
["combat.weapons.rapidfire"] = "false",
["combat.weapons.infiniterange"] = "false",

// visual
["visual.esp.tracers"] = "false",
["visual.esp.skeleton"] = "false",
["visual.esp.3dboxes"] = "false",
["visual.esp.2dboxes"] = "false",
["visual.esp.filledboxes"] = "false",
["visual.esp.info"] = "false",
["visual.esp.nametags"] = "false",
["visual.esp.backgroundcolor"] = "#000000",
Expand Down
16 changes: 8 additions & 8 deletions Entities/LocalPlayer.cs
Expand Up @@ -9,12 +9,12 @@ public class LocalPlayer : MonoBehaviour
// other
public static PlayerController Get()
{
return PlayerController.JGCPJEAMFIG;
return PlayerController.LKIGDIGGPAD;
}

public static PlayerHealth GetHealth()
{
return Get()?.MLMEBEKJKAE;
return Get()?.DNBIIJJDBLN;
}

public static PlayerBuildingManager GetPlayerBuildingManager()
Expand All @@ -25,28 +25,28 @@ public static PlayerBuildingManager GetPlayerBuildingManager()
// controllers
public static vThirdPersonController GetThirdPersonController()
{
return Get()?.KNCPCFDCFCD;
return Get()?.EHCIACFKDOK;
}

public static WeaponsController GetWeaponsController()
{
return Get()?.DCINIDFEEJF;
return Get()?.DNLMMIKCGGE;
}

public static WeaponModel GetWeaponModel()
{
return GetWeaponsController()?.FFJBKALIODH;
return GetWeaponsController()?.EPKJMHJNGIB;
}

public static WeaponStats? GetWeaponStats()
{
return GetWeaponModel()?.BJEJCJJBMCC;
return GetWeaponModel()?.HMHEAENHHCF;
}

// camera
public static CameraManager GetCameraManager()
{
return CameraManager.CPBDFOPICLP;
return CameraManager.NKEFBCLBLKI;
}

public static vThirdPersonCamera GetThirdPersonCamera()
Expand All @@ -57,7 +57,7 @@ public static vThirdPersonCamera GetThirdPersonCamera()
// checks
public static bool CanShoot()
{
return GetPlayerBuildingManager()?.state == GOBILIEJCKA.NONE;
return GetPlayerBuildingManager()?.state == HLOAPFHPADJ.NONE;
}
}
}
14 changes: 7 additions & 7 deletions Entities/Players.cs
Expand Up @@ -38,7 +38,7 @@ public static Vector3 GetBonePosition(PlayerController playerController, HumanBo

public static bool IsPlayerTeammate(PlayerController playerController)
{
return playerController?.OPKOAJACEFI ?? true;
return playerController?.DKDMEOFNMBJ ?? true;
}

public static bool IsPlayerValid(PlayerController playerController)
Expand All @@ -48,22 +48,22 @@ public static bool IsPlayerValid(PlayerController playerController)

public static bool IsPlayerAlive(PlayerController playerController)
{
return playerController?.MLMEBEKJKAE?.KillerId == null;
return playerController?.DNBIIJJDBLN?.KillerId == null;
}

public static EMNMIIDMPNL GetPlayerInfo(PlayerController playerController)
public static BILPBJBHCII GetPlayerInfo(PlayerController playerController)
{
return playerController?.ANNFEKLCHMI;
return playerController?.BOEJCPIGOOP;
}

public static string GetPlayerName(PlayerController playerController)
{
return GetPlayerInfo(playerController)?.HNFNLIFMJCD;
return GetPlayerInfo(playerController)?.NKGIELNJNKI;
}

public static int? GetPlayerRankXP(PlayerController playerController)
{
return GetPlayerInfo(playerController)?.ENFMGIKJDFB;
return GetPlayerInfo(playerController)?.DEJEFFAEJMO;
}

public static double GetPlayerDistance(PlayerController playerController)
Expand All @@ -73,7 +73,7 @@ public static double GetPlayerDistance(PlayerController playerController)

public static PlayerHealth GetHealth(PlayerController playerController)
{
return playerController?.MLMEBEKJKAE;
return playerController?.DNBIIJJDBLN;
}
}
}
64 changes: 58 additions & 6 deletions Modules/Combat.cs
@@ -1,6 +1,8 @@
using Photon.Pun;
using UnityEngine;
using NetWare.Helpers;
using JustPlay.Equipment;
using System.Reflection;

namespace NetWare
{
Expand Down Expand Up @@ -140,17 +142,51 @@ public static void Execute()
}
}
}

if (CombatH.weaponStatsTimer >= 10)
{
WeaponModel weaponModel = LocalPlayer.GetWeaponModel();
WeaponStats stats = weaponModel.HMHEAENHHCF;

bool editWeaponStats = false;

if (Config.GetBool("combat.weapons.nospread"))
{
stats.StatsForLevel.SpreadSettings.IncreasePerShot = 0f;
stats.StatsForLevel.SpreadSettings.AimingSpread = 0f;
stats.StatsForLevel.SpreadSettings.DefaultSpread = 0f;
editWeaponStats = true;
}

if (Config.GetBool("combat.weapons.infiniterange"))
{
stats.Range = 999;
editWeaponStats = true;
}

if (editWeaponStats)
{
PropertyInfo property = typeof(WeaponModel).GetProperty("HMHEAENHHCF");
property.DeclaringType.GetProperty("HMHEAENHHCF");
property.GetSetMethod(true).Invoke(weaponModel, new object[] { stats });
}

CombatH.weaponStatsTimer = 0;
}
CombatH.weaponStatsTimer++;
}

public static void Draw()
{
// aimbot
if (Config.GetBool("combat.aimbot.enabled") && Config.GetBool("combat.aimbot.checkfov") && Config.GetBool("combat.aimbot.drawfov"))
{
Color fovColor = Colors.HexToRGB(Config.GetString("combat.aimbot.fovcolor"));
string fovSelectedColor = Config.GetString("combat.aimbot.fovcolor");
Color fovColor = Colors.HexToRGB(fovSelectedColor);
if (fovSelectedColor == "RGB")
fovColor = Colors.GetRainbow();

if (Config.GetBool("combat.aimbot.dynamicfov"))
{
if (Config.GetBool("combat.aimbot.dynamicfov")) {
Render.DrawCircle(fovColor, Render.screenCenter, Camera.main.fieldOfView + 80);
} else {
Render.DrawCircle(fovColor, Render.screenCenter, Config.GetFloat("combat.aimbot.fovsize"));
Expand All @@ -160,10 +196,12 @@ public static void Draw()
// silent aim
if (Config.GetBool("combat.silentaim.enabled") && Config.GetBool("combat.silentaim.checkfov") && Config.GetBool("combat.silentaim.drawfov"))
{
Color fovColor = Colors.HexToRGB(Config.GetString("combat.silentaim.fovcolor"));
string fovSelectedColor = Config.GetString("combat.silentaim.fovcolor");
Color fovColor = Colors.HexToRGB(fovSelectedColor);
if (fovSelectedColor == "RGB")
fovColor = Colors.GetRainbow();

if (Config.GetBool("combat.silentaim.dynamicfov"))
{
if (Config.GetBool("combat.silentaim.dynamicfov")) {
Render.DrawCircle(fovColor, Render.screenCenter, Camera.main.fieldOfView + 80);
} else {
Render.DrawCircle(fovColor, Render.screenCenter, Config.GetFloat("combat.silentaim.fovsize"));
Expand Down Expand Up @@ -317,6 +355,13 @@ public static void Tab()
"No Recoil"
)
);
Config.SetBool(
"combat.weapons.nospread",
Menu.NewToggle(
Config.GetBool("combat.weapons.nospread"),
"No Spread"
)
);
Config.SetBool(
"combat.weapons.infiniteammo",
Menu.NewToggle(
Expand All @@ -331,6 +376,13 @@ public static void Tab()
"Rapid Fire"
)
);
Config.SetBool(
"combat.weapons.infiniterange",
Menu.NewToggle(
Config.GetBool("combat.weapons.infiniterange"),
"Infinite Range"
)
);

Menu.End();
}
Expand Down
34 changes: 16 additions & 18 deletions Modules/Exploits.cs
@@ -1,4 +1,5 @@
using CodeStage.AntiCheat.ObscuredTypes;
using Assets.Scripts;
using CodeStage.AntiCheat.ObscuredTypes;
using NetWare.Helpers;
using Photon.Pun;
using UnityEngine;
Expand All @@ -25,8 +26,8 @@ public static void Execute()
{
Access.SetValue(
LocalPlayer.GetPlayerBuildingManager()?.buildingManager,
"KDCPDJHDGGB",
ObscuredInt.FOELBCEDFFI(1000)
"PKMKICGEJOM",
ObscuredInt.GMJAAELOEGO(1000)
);
}

Expand All @@ -42,14 +43,9 @@ public static void Execute()
ExploitsH.autoPlayTimer++;

// check for overtime
string timerText = ((Text)Access.GetValue(
TimerCounter.CPBDFOPICLP,
"_timerText")
)?.text;

if (timerText == "OVERTIME")
if (GameManager.BKICFNLCGAA)
{
ResultScreenManager.CPBDFOPICLP.OnPlayAgainPressed();
ResultScreenManager.NKEFBCLBLKI.OnPlayAgainPressed();
}

// godmode
Expand Down Expand Up @@ -118,15 +114,15 @@ public static void Execute()

if (Players.IsPlayerValid(playerController) && !Players.IsPlayerTeammate(playerController))
{
Vector3 buildingPosition = playerController.PFCNHGBHDLO;
Vector3 buildingPosition = Players.GetHipPosition(playerController);
BuildingNetworkController buildingNetworkController = Network.GetBuildingNetworkController();

if (buildingNetworkController != null)
{
buildingNetworkController.CreateBuilding(IONMIIBGNGA.Wall, buildingPosition, Quaternion.identity);
buildingNetworkController.CreateBuilding(IONMIIBGNGA.Floor, buildingPosition, Quaternion.identity);
buildingNetworkController.CreateBuilding(IONMIIBGNGA.Ramp, buildingPosition, Quaternion.identity);
buildingNetworkController.CreateBuilding(IONMIIBGNGA.Roof, buildingPosition, Quaternion.identity);
buildingNetworkController.CreateBuilding(KAIENNLBFOP.Wall, buildingPosition, Quaternion.identity);
buildingNetworkController.CreateBuilding(KAIENNLBFOP.Floor, buildingPosition, Quaternion.identity);
buildingNetworkController.CreateBuilding(KAIENNLBFOP.Ramp, buildingPosition, Quaternion.identity);
buildingNetworkController.CreateBuilding(KAIENNLBFOP.Roof, buildingPosition, Quaternion.identity);
}
}

Expand Down Expand Up @@ -156,7 +152,7 @@ public static void Execute()
// fun
if (Config.GetBool("exploits.fun.levelchanger"))
{
ServerUser serverUser = FirebaseManager.CPBDFOPICLP?.BELBMKMOMOC;
ServerUser serverUser = Network.GetServerUser();

if (serverUser != null)
{
Expand All @@ -171,11 +167,11 @@ public static void Execute()
{
WeaponsController weaponsController = LocalPlayer.GetWeaponsController();

if (PhotonNetwork.InRoom && LocalPlayer.GetWeaponStats()?.Range > 5)
if (PhotonNetwork.InRoom)
{
if (!ExploitsH.weaponModsHookedWeapons.Contains(weaponsController))
{
weaponsController.OHMEPDOPANM += ExploitsH.WeaponFiredHook;
weaponsController.NGJJCJHGBDH += ExploitsH.WeaponFiredHook;
ExploitsH.weaponModsHookedWeapons.Add(weaponsController);
}
} else {
Expand Down Expand Up @@ -251,6 +247,8 @@ public static void Tab()

Menu.NewSection("Game");
Menu.NewButton("Force Win", ExploitsH.ForceWin);
Menu.NewButton("Freeze All", ExploitsH.FreezeAll);
Menu.NewButton("Kill All", ExploitsH.KillAll);
Menu.NewButton("Destroy Buildings", ExploitsH.DestroyBuildings);
Menu.NewButton("Open Crates", ExploitsH.OpenCrates);
Config.SetBool(
Expand Down
5 changes: 3 additions & 2 deletions Modules/Helpers/CombatH.cs
Expand Up @@ -6,6 +6,7 @@ public class CombatH
{
// values
public static int rapidFireTimer = 0;
public static int weaponStatsTimer = 0;

// other
public static PlayerController GetBestPlayerInFOV(float fov)
Expand Down Expand Up @@ -54,13 +55,13 @@ public static PlayerController GetBestPlayer()

if (localPlayer != null)
{
Vector3 origin = localPlayer.PFCNHGBHDLO;
Vector3 origin = Players.GetHipPosition(localPlayer);

foreach (PlayerController playerController in Storage.players)
{
if (!Players.IsPlayerTeammate(playerController) && Players.IsPlayerValid(playerController))
{
float distance = (playerController.PFCNHGBHDLO - origin).magnitude;
float distance = (Players.GetHipPosition(playerController) - origin).magnitude;

if (distance < lastDistance)
{
Expand Down

0 comments on commit 060b78c

Please sign in to comment.