add: fly and tp to azazel
This commit is contained in:
@@ -189,6 +189,10 @@ void DrawMapSpecificTab() {
|
|||||||
if (ImGui::Button("Instant Win")) {
|
if (ImGui::Button("Instant Win")) {
|
||||||
Misc::InstantWin();
|
Misc::InstantWin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ImGui::Button("TP To Azazel")) {
|
||||||
|
Misc::TpToAzazel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool inspector = false;
|
bool inspector = false;
|
||||||
@@ -314,7 +318,7 @@ void DrawMiscTab() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
ImGui::Checkbox("Fly", &settings::fly);
|
ImGui::Checkbox("Fly", &settings::fly);
|
||||||
ImGui::SliderFloat("Speed: ", &settings::fly_speed, 1.f, 10.f);
|
ImGui::SliderFloat("Speed: ", &settings::fly_speed, 5.f, 15.f);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (ImGui::Button("Make random noise")) {
|
if (ImGui::Button("Make random noise")) {
|
||||||
|
|||||||
@@ -266,8 +266,8 @@ void Misc::FullBright()
|
|||||||
if (nb != nullptr) {
|
if (nb != nullptr) {
|
||||||
app::Light* _flashlight = nb->fields.flashlightSpot;
|
app::Light* _flashlight = nb->fields.flashlightSpot;
|
||||||
|
|
||||||
app::Light_set_intensity(_flashlight, 0.7f, nullptr);
|
app::Light_set_intensity(_flashlight, 0.8f, nullptr);
|
||||||
app::Light_set_range(_flashlight, 400.0f, nullptr);
|
app::Light_set_range(_flashlight, 700.0f, nullptr);
|
||||||
app::Light_set_spotAngle(_flashlight, 179.0f, nullptr);
|
app::Light_set_spotAngle(_flashlight, 179.0f, nullptr);
|
||||||
|
|
||||||
app::Light_set_shadows(_flashlight, app::LightShadows__Enum::None, nullptr);
|
app::Light_set_shadows(_flashlight, app::LightShadows__Enum::None, nullptr);
|
||||||
@@ -438,3 +438,36 @@ void Misc::Kill(bool self) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Misc::TpToAzazel()
|
||||||
|
{
|
||||||
|
std::string _scene = SceneName();
|
||||||
|
|
||||||
|
if (_scene == std::string("Menu")) return;
|
||||||
|
|
||||||
|
app::GameObject* go = Player::GetLocalPlayer();
|
||||||
|
|
||||||
|
if (go) {
|
||||||
|
app::NolanBehaviour* nb = Player::GetNolan();
|
||||||
|
|
||||||
|
if (nb == nullptr) return;
|
||||||
|
|
||||||
|
app::Survival* _survival = UnityCore::Object<app::Survival>::FindObjectOfType("Survival");
|
||||||
|
if (_survival == nullptr) return;
|
||||||
|
|
||||||
|
// get azazel
|
||||||
|
app::GameObject* azazelGo = GetAzazel(_survival);
|
||||||
|
if (azazelGo == nullptr) return;
|
||||||
|
|
||||||
|
// get transform of azazel
|
||||||
|
app::Transform* transform = app::GameObject_get_transform(azazelGo, nullptr);
|
||||||
|
if (transform == nullptr) return;
|
||||||
|
|
||||||
|
app::Vector3 v3 = app::Transform_get_position(transform, nullptr);
|
||||||
|
app::Quaternion rotation = app::Quaternion_get_identity(nullptr);
|
||||||
|
|
||||||
|
if (app::NolanBehaviour_TeleportTo != nullptr) {
|
||||||
|
app::NolanBehaviour_TeleportTo(nb, v3, rotation, false, nullptr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -18,4 +18,5 @@ namespace Misc {
|
|||||||
void Jumpscare();
|
void Jumpscare();
|
||||||
void Kill(bool self);
|
void Kill(bool self);
|
||||||
void RankSpoofer(int value);
|
void RankSpoofer(int value);
|
||||||
|
void TpToAzazel();
|
||||||
}
|
}
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
#include "players/players.h"
|
#include "players/players.h"
|
||||||
#include "UnityCore.h"
|
#include "UnityCore.h"
|
||||||
#include "ClientHelper.h"
|
#include "ClientHelper.h"
|
||||||
|
#include "features/misc/misc.h"
|
||||||
|
|
||||||
#pragma warning(push, 0) //important cuz dx11 throws so much warnings
|
#pragma warning(push, 0) //important cuz dx11 throws so much warnings
|
||||||
#include <d3d11.h>
|
#include <d3d11.h>
|
||||||
@@ -634,6 +635,12 @@ HRESULT __stdcall hookD3D11Present(IDXGISwapChain* pSwapChain, UINT SyncInterval
|
|||||||
if (settings::player_esp)
|
if (settings::player_esp)
|
||||||
ESP::RunPlayersESP();
|
ESP::RunPlayersESP();
|
||||||
|
|
||||||
|
if (settings::fly)
|
||||||
|
Misc::Fly(settings::fly_speed);
|
||||||
|
|
||||||
|
if (settings::fullBright)
|
||||||
|
Misc::FullBright();
|
||||||
|
|
||||||
ImGui::GetIO().MouseDrawCursor = open_menu;
|
ImGui::GetIO().MouseDrawCursor = open_menu;
|
||||||
|
|
||||||
ImGui::EndFrame();
|
ImGui::EndFrame();
|
||||||
|
|||||||
@@ -115,20 +115,11 @@ void Run()
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if (GetAsyncKeyState(VK_END) & 0x8000 || should_unhook) {
|
if (GetAsyncKeyState(VK_END) & 0x8000 || should_unhook)
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
|
|
||||||
if (settings::fullBright) {
|
|
||||||
Misc::FullBright();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (settings::fly) {
|
|
||||||
//Misc::Fly(settings::fly_speed);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||||
}
|
}
|
||||||
CreateThread(0, 0, EjectThread, 0, 0, 0);
|
CreateThread(0, 0, EjectThread, 0, 0, 0);
|
||||||
}
|
}
|
||||||
@@ -35,7 +35,7 @@ namespace settings {
|
|||||||
bool server_name_spoof = false;
|
bool server_name_spoof = false;
|
||||||
std::string server_name = "Jadis0x";
|
std::string server_name = "Jadis0x";
|
||||||
bool fly = false;
|
bool fly = false;
|
||||||
float fly_speed = 1.f;
|
float fly_speed = 5.f;
|
||||||
bool unlock_all = true;
|
bool unlock_all = true;
|
||||||
bool exp_modifier = false;
|
bool exp_modifier = false;
|
||||||
int new_exp = 2000;
|
int new_exp = 2000;
|
||||||
|
|||||||
Reference in New Issue
Block a user