From 5a09e9f61b4a9f88673703fba8c645db2fc330b9 Mon Sep 17 00:00:00 2001 From: Joaquin <67109235+Taiga74164@users.noreply.github.com> Date: Sat, 27 Aug 2022 23:13:47 -0600 Subject: [PATCH] Better Auto Seelie filtering :copium: --- cheat-library/src/user/cheat/game/filters.cpp | 3 ++- cheat-library/src/user/cheat/world/AutoSeelie.cpp | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cheat-library/src/user/cheat/game/filters.cpp b/cheat-library/src/user/cheat/game/filters.cpp index 2d31683..1ff0b95 100644 --- a/cheat-library/src/user/cheat/game/filters.cpp +++ b/cheat-library/src/user/cheat/game/filters.cpp @@ -393,7 +393,8 @@ namespace cheat::game::filters "WatchTower02", "StonePile", "BrokenWall", - "WoodenBox" + "WoodenBox", + "RoadBlock" } }; SimpleFilter Animals = { EntityType__Enum_1::EnvAnimal }; diff --git a/cheat-library/src/user/cheat/world/AutoSeelie.cpp b/cheat-library/src/user/cheat/world/AutoSeelie.cpp index 4f09dc0..1ba7692 100644 --- a/cheat-library/src/user/cheat/world/AutoSeelie.cpp +++ b/cheat-library/src/user/cheat/world/AutoSeelie.cpp @@ -5,6 +5,7 @@ #include #include #include +#include namespace cheat::feature { @@ -59,7 +60,9 @@ namespace cheat::feature auto distance = manager.avatar()->distance(entity); float radius = 100.0f; - if (entity->name().find("Seelie_") != std::string::npos) + if (game::filters::puzzle::Seelie.IsValid(entity) || + game::filters::puzzle::WarmingSeelie.IsValid(entity) || + game::filters::puzzle::ElectroSeelie.IsValid(entity)) { if (entity->name().find("ElectricSeelie") != std::string::npos) {