Nocture-Insight / Dexterion

External CS2 Cheat
BSD 3-Clause "New" or "Revised" License
34 stars 4 forks source link

[Bug] C4 Showing when is out of tab #43

Closed wqq-z closed 2 months ago

wqq-z commented 2 months ago

🔍 Is there already an issue for your problem?

ℹ Environment / Computer Info

- Dexterion version: Dev-Branch
- Describe install method of offsets: -

📝 Description

C4 is showing when you're not showing in the game / you're out of tab.

What should happends: hide overlay ( ESP) the c4 when you;'re not in the game.

⚙️ Configuration Files

No response

📸 Screenshots

No response

wqq-z commented 2 months ago

This a known bug ill fix it

wqq-z commented 2 months ago

Screenshot 2024-07-17 114520 Screenshot 2024-07-17 114529

wqq-z commented 2 months ago

Fixing the bug

suspectedesp commented 2 months ago

add

            if (!overlayESP::isMenuOpen()) {
                if (!misc::isGameWindowActive()) return;
            }

at line 106 in entry.cpp and voilà!

suspectedesp commented 2 months ago

https://github.com/Skwrr/Dexterion/pull/47 pull for reference