Add files via upload

This commit is contained in:
0TheSpy
2022-11-19 04:15:15 +03:00
committed by GitHub
parent c08da2f480
commit c934ffbd60
3 changed files with 11 additions and 7 deletions

View File

@ -134,7 +134,7 @@ void InitImGui(LPDIRECT3DDEVICE9 pDevice)
style->WindowTitleAlign = ImVec2(0.00f, 1.2f);
style->WindowRounding = 6;
float alpha = 0.6f; //other colors -> imgui_widgets.cpp
float alpha = 0.7f; // other colors -> imgui_widgets.cpp
#ifdef OLDSTYLE
alpha = 1.0f;
#endif
@ -1870,7 +1870,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
ImGui::Columns(3, nullptr, false);
//
style->ItemSpacing = ImVec2(7.0f, 8.0f); //10
style->ItemSpacing = ImVec2(7.0f, 5.0f); //10
ImGui::Checkbox("Spectator list", g_Options.speclist);
ImGui::Checkbox("Vote reveal", g_Options.votereveal);
ImGui::Checkbox("Rank reveal", g_Options.rankreveal);
@ -1921,7 +1921,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
ImGui::NextColumn();
style->ItemSpacing = ImVec2(7.0f, 8.0f); //10
style->ItemSpacing = ImVec2(7.0f, 5.0f); //10
ImGui::Checkbox("C4 timer", g_Options.c4timer);
ImGui::Checkbox("Block bot", g_Options.blockbot);
style->ItemSpacing = ImVec2(7.0f, 19.0f); //17
@ -1937,7 +1937,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
ImGui::NextColumn();
style->ItemSpacing = ImVec2(7.0f, 8.0f); //10
style->ItemSpacing = ImVec2(7.0f, 5.0f); //10
ImGui::Checkbox("Bunny hop", g_Options.bunnyhop);
DisableElements(*g_Options.bunnyhop, 1);

View File

@ -230,7 +230,7 @@ void do_precipitation() {
rain_networkable = ((void* (*)(int, int))precipitation_client_class->m_pCreateFn)(MAX_EDICTS - 1, 0);
if (rain_networkable) {
rain_ent = (C_Precipitation*)iff.g_pEntityList->GetClientEntity(MAX_EDICTS - 1);
rain_ent = (C_Precipitation*)iff.g_pEntityList->GetClientEntity(MAX_EDICTS - 1);
rain_ent->GetPrecipitationType() = (PrecipitationType_t)*g_Options.weathertype;
@ -238,7 +238,11 @@ void do_precipitation() {
rain_ent->OnPreDataChanged(DataUpdateType_t::DATA_UPDATE_CREATED);
rain_ent->GetMins() = Vector(-32767.0f, -32767.0f, -32767.0f);
rain_ent->GetMaxs() = Vector(32767.0f, 32767.0f, 32767.0f);
rain_ent->GetMaxs() = Vector(32767.0f, 32767.0f, 32767.0f);
auto collid = rain_ent->GetCollideable();
collid->OBBMins_() = Vector(-32767.0f, -32767.0f, -32767.0f);
collid->OBBMaxs_() = Vector(32767.0f, 32767.0f, 32767.0f);
rain_ent->OnDataChanged(DataUpdateType_t::DATA_UPDATE_CREATED);
rain_ent->PostDataUpdate(DataUpdateType_t::DATA_UPDATE_CREATED);

View File

@ -178,7 +178,7 @@ DWORD WINAPI HackThread(HMODULE hModule)
opt.hModuleGlobal = hModule;
NetvarSys::Get().Initialize();
void* ptrDevMsg = GetProcAddress(GetModuleHandleA("tier0.dll"), "?DevMsg@@YAXPBDZZ");
printfdbg("DevMsg %x\n", ptrDevMsg);