danielkrupinski / Osiris

Cross-platform game hack for Counter-Strike 2 with Panorama-based GUI.
MIT License
3.35k stars 960 forks source link

Some of the features in the misc tab are inaccessible when you are on 4:3 800x600 #2540

Closed osirisbestlegitcheat closed 3 years ago

osirisbestlegitcheat commented 3 years ago

When you strech to 800x600 or below the acpect ratio, report bot, unhook and more are blocked because menu is to big.

3Ld4D commented 3 years ago

Stop playing on gameboy.

wemanzoz commented 3 years ago

just use aspect ration module lol, no need change ur res

linuxer9 commented 3 years ago

remove "ImGuiWindowFlags_NoScrollbar" and "ImGuiWindowFlags_NoResize" from window flags

constexpr auto windowFlags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize
| ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse;

and then you will get a resizable window, you may need to change window size here ImGui::SetNextWindowSize({ 580.0f, 0.0f }); set it to whatever you want.

osirisbestlegitcheat commented 3 years ago

where is this code located? edit: I found it, but when I remove it. it gives me errors about undeclared identifiers and it does not release the DLL.

osirisbestlegitcheat commented 3 years ago

just use aspect ration module lol, no need change ur res

I'm playing on a 2008 windows 8.1 Toshiba laptop. ideally need that stretch.

osirisbestlegitcheat commented 3 years ago

This is the output I get with the errors.

Build started... 1>------ Build started: Project: Osiris, Configuration: Release Win32 ------ 1>Config.cpp 1>EventListener.cpp 1>GameData.cpp 1>Aimbot.cpp 1>AntiAim.cpp 1>Backtrack.cpp 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\Hacks\AntiAim.cpp(64,137): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>Chams.cpp 1>EnginePrediction.cpp 1>Glow.cpp 1>SkinChanger.cpp 1>StreamProofESP.cpp 1>Triggerbot.cpp 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\Hacks\Glow.cpp(176,136): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>Visuals.cpp 1>Helpers.cpp 1>imguiCustom.cpp 1>imgui_stdlib.cpp 1>imgui_tables.cpp 1>InputUtil.cpp 1>Netvars.cpp 1>GUI.cpp 1>Misc.cpp 1>Hooks.cpp 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\GUI.cpp(32,34): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\GUI.cpp(31,16): error C2737: 'windowFlags': 'constexpr' object must be initialized 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\GUI.cpp(172,59): error C3536: 'windowFlags': cannot be used before it is initialized 1>imgui.cpp 1>imgui_demo.cpp 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\imgui\imgui_demo.cpp(2142,33): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\imgui\imgui_demo.cpp(2155,33): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>imgui_draw.cpp 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\imgui\imgui.cpp(3624,118): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\imgui\imgui.cpp(3626,31): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\imgui\imgui.cpp(3639,118): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>C:\Users\willp\OneDrive\Desktop\Osiris-master\Osiris\imgui\imgui.cpp(3641,31): error C2065: 'ImGuiWindowFlags_NoScrollWithMouse': undeclared identifier 1>imgui_impl_dx9.cpp 1>imgui_impl_win32.cpp 1>imgui_widgets.cpp 1>Entity.cpp 1>GlobalVars.cpp 1>Done building project "Osiris.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

osirisbestlegitcheat commented 3 years ago

Ok now i know how to do it bye lol.