commit
bdab798f0f
1
include/projlogging.hpp
Executable file → Normal file
1
include/projlogging.hpp
Executable file → Normal file
@ -5,7 +5,6 @@
|
||||
* Author: nullifiedcat
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace projectile_logging
|
||||
|
1
include/sdk/ScreenSpaceEffects.h
Executable file → Normal file
1
include/sdk/ScreenSpaceEffects.h
Executable file → Normal file
@ -87,4 +87,3 @@ extern CScreenSpaceEffectRegistration **g_ppScreenSpaceRegistrationHead;
|
||||
CEffect pEffectName##_effect; \
|
||||
CScreenSpaceEffectRegistration pEffectName##_reg(#pEffectName, \
|
||||
&pEffectName##_effect);
|
||||
|
||||
|
1
src/chatlog.cpp
Executable file → Normal file
1
src/chatlog.cpp
Executable file → Normal file
@ -27,6 +27,7 @@ public:
|
||||
{
|
||||
};
|
||||
static end_t end;
|
||||
|
||||
public:
|
||||
csv_stream()
|
||||
{
|
||||
|
4
src/copypasted/CSignature.cpp
Executable file → Normal file
4
src/copypasted/CSignature.cpp
Executable file → Normal file
@ -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;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ std::stack<std::string> &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());
|
||||
}
|
||||
}
|
||||
|
@ -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]{};
|
||||
|
2
src/hacks/SkinChanger.cpp
Executable file → Normal file
2
src/hacks/SkinChanger.cpp
Executable file → Normal file
@ -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());
|
||||
}
|
||||
|
@ -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;
|
||||
|
5
src/hooks.cpp
Executable file → Normal file
5
src/hooks.cpp
Executable file → Normal file
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
17
src/velocity.cpp
Executable file → Normal file
17
src/velocity.cpp
Executable file → Normal file
@ -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");
|
||||
}
|
||||
}
|
||||
|
@ -27,9 +27,9 @@ void render_cheat_visuals()
|
||||
|
||||
void BeginCheatVisuals()
|
||||
{
|
||||
/*#if RENDERING_ENGINE_OPENGL
|
||||
std::lock_guard<std::mutex> draw_lock(drawing_mutex);
|
||||
#endif*/
|
||||
/*#if RENDERING_ENGINE_OPENGL
|
||||
std::lock_guard<std::mutex> 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<std::mutex> draw_lock(drawing_mutex);
|
||||
#endif*/
|
||||
/*#if RENDERING_ENGINE_OPENGL
|
||||
std::lock_guard<std::mutex> draw_lock(drawing_mutex);
|
||||
#endif*/
|
||||
{
|
||||
PROF_SECTION(DRAW_misc);
|
||||
hacks::shared::misc::DrawText();
|
||||
|
Reference in New Issue
Block a user