diff --git a/include/projlogging.hpp b/include/projlogging.hpp old mode 100755 new mode 100644 index e7ab9b17..bef24f2e --- a/include/projlogging.hpp +++ b/include/projlogging.hpp @@ -5,7 +5,6 @@ * Author: nullifiedcat */ - #pragma once namespace projectile_logging diff --git a/include/sdk/ScreenSpaceEffects.h b/include/sdk/ScreenSpaceEffects.h old mode 100755 new mode 100644 index 8818d482..58cae8a5 --- a/include/sdk/ScreenSpaceEffects.h +++ b/include/sdk/ScreenSpaceEffects.h @@ -87,4 +87,3 @@ extern CScreenSpaceEffectRegistration **g_ppScreenSpaceRegistrationHead; CEffect pEffectName##_effect; \ CScreenSpaceEffectRegistration pEffectName##_reg(#pEffectName, \ &pEffectName##_effect); - diff --git a/src/chatlog.cpp b/src/chatlog.cpp old mode 100755 new mode 100644 index 6fa8e67c..0f225c69 --- a/src/chatlog.cpp +++ b/src/chatlog.cpp @@ -27,6 +27,7 @@ public: { }; static end_t end; + public: csv_stream() { diff --git a/src/copypasted/CSignature.cpp b/src/copypasted/CSignature.cpp old mode 100755 new mode 100644 index fc077bf2..d92b45a3 --- a/src/copypasted/CSignature.cpp +++ b/src/copypasted/CSignature.cpp @@ -79,7 +79,9 @@ uintptr_t CSignature::dwFindPattern(uintptr_t dwAddress, uintptr_t dwLength, } } - logging::Info("THIS IS SERIOUS: Could not locate signature: \n============\n\"%s\"\n============", szPattern); + logging::Info("THIS IS SERIOUS: Could not locate signature: " + "\n============\n\"%s\"\n============", + szPattern); return NULL; } diff --git a/src/hack.cpp b/src/hack.cpp index ddbcdf2a..6b3781ee 100644 --- a/src/hack.cpp +++ b/src/hack.cpp @@ -79,7 +79,7 @@ std::stack &hack::command_stack() return stack; } -#if ENABLE_VISUALS /* Why would we need colored chat stuff in textmode? \ +#if ENABLE_VISUALS /* Why would we need colored chat stuff in textmode? \ */ #define red 184, 56, 59, 255 #define blu 88, 133, 162, 255 @@ -245,8 +245,9 @@ free(logname);*/ if (not exists) { Error(("Missing essential file: " + s + - "/%s\nYou MUST run install-data script to finish " - "installation").c_str(), + "/%s\nYou MUST run install-data script to finish " + "installation") + .c_str(), s.c_str()); } } diff --git a/src/hacks/ESP.cpp b/src/hacks/ESP.cpp index 43e9f65b..c7423100 100644 --- a/src/hacks/ESP.cpp +++ b/src/hacks/ESP.cpp @@ -402,8 +402,8 @@ void _FASTCALL emoji(CachedEntity *ent) } glez_rgba_t white = glez_rgba(255, 255, 255, 255); while (!textur || textur == 4294967295) - textur = glez_texture_load_png_rgba(DATA_PATH - "/textures/atlas.png"); + textur = glez_texture_load_png_rgba( + DATA_PATH "/textures/atlas.png"); player_info_s info; unsigned int steamID; unsigned int steamidarray[32]{}; diff --git a/src/hacks/SkinChanger.cpp b/src/hacks/SkinChanger.cpp old mode 100755 new mode 100644 index eae1044e..6facc80d --- a/src/hacks/SkinChanger.cpp +++ b/src/hacks/SkinChanger.cpp @@ -398,7 +398,7 @@ void def_attribute_modifier::Set(int id, float value) logging::Info("Woah there, that's too many! Remove some."); return; } - modifiers.push_back(attribute_s{ (uint16_t)id, value }); + modifiers.push_back(attribute_s{ (uint16_t) id, value }); logging::Info("Added new attribute: %i %.2f (%i)", id, value, modifiers.size()); } diff --git a/src/hacks/Walkbot.cpp b/src/hacks/Walkbot.cpp index cdd255fc..ec587150 100644 --- a/src/hacks/Walkbot.cpp +++ b/src/hacks/Walkbot.cpp @@ -1194,7 +1194,8 @@ void Move() prevlvlname = g_IEngine->GetLevelName(); std::string prvlvlname = format(prevlvlname); logging::Info("%s %s", prevlvlname, prvlvlname.c_str()); - if (boost::contains(prvlvlname, "pl_") || boost::contains(prvlvlname, "cp_")) + if (boost::contains(prvlvlname, "pl_") || + boost::contains(prvlvlname, "cp_")) { logging::Info("1"); bool ret = false; diff --git a/src/hooks.cpp b/src/hooks.cpp old mode 100755 new mode 100644 index dfca7408..82611217 --- a/src/hooks.cpp +++ b/src/hooks.cpp @@ -79,8 +79,9 @@ void *VMTHook::GetMethod(uint32_t idx) const void VMTHook::HookMethod(ptr_t func, uint32_t idx) { - logging::Info("Hooking method %d of vtable 0x%08x, replacing 0x%08x with 0x%08x", idx, - vtable_original, GetMethod(idx), func); + logging::Info( + "Hooking method %d of vtable 0x%08x, replacing 0x%08x with 0x%08x", idx, + vtable_original, GetMethod(idx), func); vtable_hooked[2 + idx] = func; } diff --git a/src/hooks/others.cpp b/src/hooks/others.cpp index 0e11dee4..a5db9e5c 100644 --- a/src/hooks/others.cpp +++ b/src/hooks/others.cpp @@ -1045,8 +1045,8 @@ void LevelInit_hook(void *_this, const char *newmap) hacks::shared::lagexploit::bcalled = false; #if ENABLE_VISUALS typedef bool *(*LoadNamedSkys_Fn)(const char *); - uintptr_t addr = - gSignatures.GetEngineSignature("55 89 E5 57 31 FF 56 8D B5 ? ? ? ? 53 81 EC 6C 01 00 00"); + uintptr_t addr = gSignatures.GetEngineSignature( + "55 89 E5 57 31 FF 56 8D B5 ? ? ? ? 53 81 EC 6C 01 00 00"); static LoadNamedSkys_Fn LoadNamedSkys = LoadNamedSkys_Fn(addr); bool succ; logging::Info("Going to load the skybox"); diff --git a/src/velocity.cpp b/src/velocity.cpp old mode 100755 new mode 100644 index 4e3b5a11..23f4bd08 --- a/src/velocity.cpp +++ b/src/velocity.cpp @@ -14,14 +14,15 @@ namespace velocity EstimateAbsVelocity_t EstimateAbsVelocity{}; -void Init() { +void Init() +{ EstimateAbsVelocity = - (void (*)(IClientEntity *, Vector &)) gSignatures.GetClientSignature( - "55 89 E5 56 53 83 EC 20 8B 5D 08 8B 75 0C E8 ? ? ? ? 39 D8 74 79 " - "0F B6 05 ? ? ? ? 81 C3 B8 02 00 00 C6 05 ? ? ? ? 01 F3 0F 10 05 ? " - "? ? ? F3 0F 11 45 F0 88 45 EC A1 ? ? ? ? 89 45 E8 8D 45 E8 A3 ? ? " - "? ? A1 ? ? ? ? F3 0F 10 40 0C 89 74 24 04 89 1C 24 F3 0F 11 44 24 " - "08 E8 ? ? ? ? 0F B6 45 EC F3 0F 10 45 F0 F3 0F 11 05 ? ? ? ? A2 ? " - "? ? ? 8B 45 E8 A3 ? ? ? ? 83 C4 20 5B 5E 5D C3"); + (void (*)(IClientEntity *, Vector &)) gSignatures.GetClientSignature( + "55 89 E5 56 53 83 EC 20 8B 5D 08 8B 75 0C E8 ? ? ? ? 39 D8 74 79 " + "0F B6 05 ? ? ? ? 81 C3 B8 02 00 00 C6 05 ? ? ? ? 01 F3 0F 10 05 ? " + "? ? ? F3 0F 11 45 F0 88 45 EC A1 ? ? ? ? 89 45 E8 8D 45 E8 A3 ? ? " + "? ? A1 ? ? ? ? F3 0F 10 40 0C 89 74 24 04 89 1C 24 F3 0F 11 44 24 " + "08 E8 ? ? ? ? 0F B6 45 EC F3 0F 10 45 F0 F3 0F 11 05 ? ? ? ? A2 ? " + "? ? ? 8B 45 E8 A3 ? ? ? ? 83 C4 20 5B 5E 5D C3"); } } diff --git a/src/visual/drawmgr.cpp b/src/visual/drawmgr.cpp index 96340e1c..0bdaeb2b 100644 --- a/src/visual/drawmgr.cpp +++ b/src/visual/drawmgr.cpp @@ -27,9 +27,9 @@ void render_cheat_visuals() void BeginCheatVisuals() { -/*#if RENDERING_ENGINE_OPENGL - std::lock_guard draw_lock(drawing_mutex); -#endif*/ + /*#if RENDERING_ENGINE_OPENGL + std::lock_guard draw_lock(drawing_mutex); + #endif*/ draw_api::draw_begin(); ResetStrings(); } @@ -45,9 +45,9 @@ CatVar enable_logo(CV_SWITCH, "nullcore_mode_logo", "1", void DrawCheatVisuals() { -/*#if RENDERING_ENGINE_OPENGL - std::lock_guard draw_lock(drawing_mutex); -#endif*/ + /*#if RENDERING_ENGINE_OPENGL + std::lock_guard draw_lock(drawing_mutex); + #endif*/ { PROF_SECTION(DRAW_misc); hacks::shared::misc::DrawText();