mirror of
https://github.com/DumbDev69420/EscapeTheBackrooms_Internal.git
synced 2025-01-03 08:03:31 +08:00
i changed legit nun but visual studio wont leave me alone
This commit is contained in:
parent
1eb372e8fc
commit
1957e41ae8
@ -2786,7 +2786,6 @@ namespace Cheat {
|
|||||||
SDK::UClass* StaticABPCharacter = SDK::ABPCharacter_Demo_C::StaticClass();
|
SDK::UClass* StaticABPCharacter = SDK::ABPCharacter_Demo_C::StaticClass();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static bool HideActors = false;
|
static bool HideActors = false;
|
||||||
|
|
||||||
if (Settings::PeacefullMode) { HideActors = true; StaticSkinMf = SDK::ABP_SkinStealer_C::StaticClass(); StaticBacteriaMf = SDK::ABacteria_BP_C::StaticClass(); StaticHowlerMf = SDK::AHowler_BP_C::StaticClass(); }
|
if (Settings::PeacefullMode) { HideActors = true; StaticSkinMf = SDK::ABP_SkinStealer_C::StaticClass(); StaticBacteriaMf = SDK::ABacteria_BP_C::StaticClass(); StaticHowlerMf = SDK::AHowler_BP_C::StaticClass(); }
|
||||||
@ -3019,24 +3018,22 @@ namespace Cheat {
|
|||||||
|
|
||||||
|
|
||||||
if (Settings::ActorEsp || Settings::ActorEvent || CamsOff) {
|
if (Settings::ActorEsp || Settings::ActorEvent || CamsOff) {
|
||||||
auto EnemyArray = GetAllActorsOfClass(Engine->GameViewport->World, SDK::AActor::StaticClass());
|
auto ActorArray = GetAllActorsOfClass(Engine->GameViewport->World, SDK::AActor::StaticClass());
|
||||||
|
auto ActorArray_Component = FindInstances(SDK::UActorComponent::StaticClass());
|
||||||
|
|
||||||
if (EnemyArray.size() > 0) {
|
if (ActorArray.size() > 0) {
|
||||||
|
|
||||||
static bool WallsHidden = false;
|
static bool WallsHidden = false;
|
||||||
|
|
||||||
for (size_t i = 0; i < EnemyArray.size(); i++)
|
for (size_t i = 0; i < ActorArray.size(); i++)
|
||||||
{
|
{
|
||||||
if (!UsefullFuncs::ShouldUsePtr(EnemyArray[i]))continue;
|
auto CurrentActor = ActorArray[i];
|
||||||
|
|
||||||
auto CurrentEnemy = EnemyArray[i];
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (CamsOff) {
|
if (CamsOff) {
|
||||||
if (strToLower(CurrentEnemy->Name.ToString()).find("securitycam") != std::string::npos) {
|
if (strToLower(CurrentActor->Name.ToString()).find("securitycam") != std::string::npos) {
|
||||||
CurrentEnemy->SetActorHiddenInGame(true);
|
CurrentActor->SetActorHiddenInGame(true);
|
||||||
CurrentEnemy->SetActorEnableCollision(false);
|
CurrentActor->SetActorEnableCollision(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Settings::ActorEsp)continue;
|
if (!Settings::ActorEsp)continue;
|
||||||
@ -3045,20 +3042,20 @@ namespace Cheat {
|
|||||||
|
|
||||||
|
|
||||||
if (Settings::ActorEvent) {
|
if (Settings::ActorEvent) {
|
||||||
if (Settings::HideWalls) {
|
if (Settings::HideDoors) {
|
||||||
|
|
||||||
if (WallsHidden) {
|
if (WallsHidden) {
|
||||||
|
|
||||||
if (strToLower(CurrentEnemy->Name.ToString()).find("door") != std::string::npos) {
|
if (strToLower(CurrentActor->Name.ToString()).find("door") != std::string::npos) {
|
||||||
CurrentEnemy->SetActorHiddenInGame(false);
|
CurrentActor->SetActorHiddenInGame(false);
|
||||||
CurrentEnemy->SetActorEnableCollision(true);
|
CurrentActor->SetActorEnableCollision(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (strToLower(CurrentEnemy->Name.ToString()).find("door") != std::string::npos) {
|
if (strToLower(CurrentActor->Name.ToString()).find("door") != std::string::npos) {
|
||||||
CurrentEnemy->SetActorHiddenInGame(true);
|
CurrentActor->SetActorHiddenInGame(true);
|
||||||
CurrentEnemy->SetActorEnableCollision(false);
|
CurrentActor->SetActorEnableCollision(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3073,18 +3070,18 @@ namespace Cheat {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (CurrentEnemy->Name.ToString().find(Settings::ActorFilter) == std::string::npos)continue;
|
if (CurrentActor->Name.ToString().find(Settings::ActorFilter) == std::string::npos)continue;
|
||||||
|
|
||||||
|
|
||||||
SDK::FVector2D ScreenPos;
|
SDK::FVector2D ScreenPos;
|
||||||
|
|
||||||
auto Location = CurrentEnemy->K2_GetActorLocation();
|
auto Location = CurrentActor->K2_GetActorLocation();
|
||||||
if (!GPStatics->ProjectWorldToScreen(PlayerController, Location, &ScreenPos, true))continue;
|
if (!GPStatics->ProjectWorldToScreen(PlayerController, Location, &ScreenPos, true))continue;
|
||||||
|
|
||||||
auto Color = UsefullFuncs::RGBATOFLinear(255, 0, 0, 255);
|
auto Color = UsefullFuncs::RGBATOFLinear(255, 0, 0, 255);
|
||||||
|
|
||||||
UsefullFuncs::DrawCircle(Canvas, ScreenPos, 10.0f, 12, Color);
|
UsefullFuncs::DrawCircle(Canvas, ScreenPos, 10.0f, 12, Color);
|
||||||
std::wstring TextMsg = UsefullFuncs::stringToWideString(CurrentEnemy->Class->GetName());
|
std::wstring TextMsg = UsefullFuncs::stringToWideString(CurrentActor->Class->GetName());
|
||||||
ScreenPos.X -= TextMsg.size() * 5.0f / 2;
|
ScreenPos.X -= TextMsg.size() * 5.0f / 2;
|
||||||
ScreenPos.Y -= 30.0f;
|
ScreenPos.Y -= 30.0f;
|
||||||
DrawTextRGBWithFString(Canvas, SDK::FString(TextMsg.c_str()), ScreenPos, Color, false, 1.1f);
|
DrawTextRGBWithFString(Canvas, SDK::FString(TextMsg.c_str()), ScreenPos, Color, false, 1.1f);
|
||||||
@ -3096,8 +3093,12 @@ namespace Cheat {
|
|||||||
|
|
||||||
if (Settings::ActorEvent) {
|
if (Settings::ActorEvent) {
|
||||||
Settings::ActorEvent = false;
|
Settings::ActorEvent = false;
|
||||||
if (Settings::HideWalls)
|
if (Settings::HideDoors)
|
||||||
|
{
|
||||||
|
Settings::HideDoors = false;
|
||||||
WallsHidden = !WallsHidden;
|
WallsHidden = !WallsHidden;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -325,7 +325,6 @@
|
|||||||
<ClInclude Include="Out\File98.h" />
|
<ClInclude Include="Out\File98.h" />
|
||||||
<ClInclude Include="Out\File99.h" />
|
<ClInclude Include="Out\File99.h" />
|
||||||
<ClInclude Include="Out\IncludeFile.h" />
|
<ClInclude Include="Out\IncludeFile.h" />
|
||||||
<ClInclude Include="pch.h" />
|
|
||||||
<ClInclude Include="SDK\PropertyFixup.hpp" />
|
<ClInclude Include="SDK\PropertyFixup.hpp" />
|
||||||
<ClInclude Include="SDK\SDK.hpp" />
|
<ClInclude Include="SDK\SDK.hpp" />
|
||||||
<ClInclude Include="SDK\SDK\2_FFT_Resolution_classes.hpp" />
|
<ClInclude Include="SDK\SDK\2_FFT_Resolution_classes.hpp" />
|
||||||
@ -2238,12 +2237,6 @@
|
|||||||
<ClCompile Include="Config\Config.cpp" />
|
<ClCompile Include="Config\Config.cpp" />
|
||||||
<ClCompile Include="dllmain.cpp" />
|
<ClCompile Include="dllmain.cpp" />
|
||||||
<ClCompile Include="Localization\Localization.cpp" />
|
<ClCompile Include="Localization\Localization.cpp" />
|
||||||
<ClCompile Include="pch.cpp">
|
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="SDK\SDK\AIC_Animation_functions.cpp" />
|
<ClCompile Include="SDK\SDK\AIC_Animation_functions.cpp" />
|
||||||
<ClCompile Include="SDK\SDK\AIC_Roaming_Smiler_functions.cpp" />
|
<ClCompile Include="SDK\SDK\AIC_Roaming_Smiler_functions.cpp" />
|
||||||
<ClCompile Include="SDK\SDK\AIC_SkinStealer_functions.cpp" />
|
<ClCompile Include="SDK\SDK\AIC_SkinStealer_functions.cpp" />
|
||||||
|
@ -48,9 +48,6 @@
|
|||||||
</Filter>
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="pch.h">
|
|
||||||
<Filter>Headerdateien</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="SDK\PropertyFixup.hpp">
|
<ClInclude Include="SDK\PropertyFixup.hpp">
|
||||||
<Filter>Headerdateien\SDK</Filter>
|
<Filter>Headerdateien\SDK</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@ -6158,9 +6155,6 @@
|
|||||||
<ClCompile Include="dllmain.cpp">
|
<ClCompile Include="dllmain.cpp">
|
||||||
<Filter>Quelldateien</Filter>
|
<Filter>Quelldateien</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="pch.cpp">
|
|
||||||
<Filter>Quelldateien</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="SDK\SDK\Engine_functions.cpp">
|
<ClCompile Include="SDK\SDK\Engine_functions.cpp">
|
||||||
<Filter>Quelldateien\SDK</Filter>
|
<Filter>Quelldateien\SDK</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user