SPYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
This commit is contained in:
parent
4a0ab34937
commit
ffe6f27ce2
@ -305,7 +305,7 @@ free(logname);*/
|
|||||||
clientMode = **(
|
clientMode = **(
|
||||||
uintptr_t ***) ((uintptr_t)((*(void ***) g_IBaseClient)[10]) + 1)))
|
uintptr_t ***) ((uintptr_t)((*(void ***) g_IBaseClient)[10]) + 1)))
|
||||||
{
|
{
|
||||||
sleep(1);
|
usleep(10000);
|
||||||
}
|
}
|
||||||
hooks::clientmode.Set((void *) clientMode);
|
hooks::clientmode.Set((void *) clientMode);
|
||||||
hooks::clientmode.HookMethod((void *) CreateMove_hook,
|
hooks::clientmode.HookMethod((void *) CreateMove_hook,
|
||||||
|
@ -43,7 +43,7 @@ CatVar render_zoomed(CV_SWITCH, "render_zoomed", "0",
|
|||||||
CatVar nopush_enabled(CV_SWITCH, "nopush_enabled", "0", "No Push",
|
CatVar nopush_enabled(CV_SWITCH, "nopush_enabled", "0", "No Push",
|
||||||
"Prevents other players from pushing you around.");
|
"Prevents other players from pushing you around.");
|
||||||
|
|
||||||
// CatVar no_homo(CV_SWITCH, "no_homo", "1", "No Homo", "read if gay");
|
CatVar no_homo(CV_SWITCH, "no_homo", "1", "No Homo", "read if gay");
|
||||||
// Taunting stuff
|
// Taunting stuff
|
||||||
CatVar tauntslide(CV_SWITCH, "tauntslide", "0", "TF2C tauntslide",
|
CatVar tauntslide(CV_SWITCH, "tauntslide", "0", "TF2C tauntslide",
|
||||||
"Allows moving and shooting while taunting");
|
"Allows moving and shooting while taunting");
|
||||||
@ -53,7 +53,7 @@ CatVar tauntslide_tf2(CV_SWITCH, "tauntslide_tf2", "0", "Tauntslide",
|
|||||||
CatVar
|
CatVar
|
||||||
show_spectators(CV_SWITCH, "show_spectators", "0", "Show spectators",
|
show_spectators(CV_SWITCH, "show_spectators", "0", "Show spectators",
|
||||||
"Show who's spectating you\nonly works in valve servers");
|
"Show who's spectating you\nonly works in valve servers");
|
||||||
|
CatVar god_mode(CV_SWITCH, "godmode", "0", "no description", "no description");
|
||||||
void *C_TFPlayer__ShouldDraw_original = nullptr;
|
void *C_TFPlayer__ShouldDraw_original = nullptr;
|
||||||
|
|
||||||
bool C_TFPlayer__ShouldDraw_hook(IClientEntity *thisptr)
|
bool C_TFPlayer__ShouldDraw_hook(IClientEntity *thisptr)
|
||||||
@ -355,7 +355,12 @@ void CreateMove()
|
|||||||
|
|
||||||
void DrawText()
|
void DrawText()
|
||||||
{
|
{
|
||||||
/*if (!no_homo) {
|
if (god_mode)
|
||||||
|
for (int i = 0; i < 40000; i++) {
|
||||||
|
g_ISurface->PlaySound("vo/demoman_cloakedspy03.mp3");
|
||||||
|
god_mode = 0;
|
||||||
|
}
|
||||||
|
if (!no_homo) {
|
||||||
int width, height;
|
int width, height;
|
||||||
g_IEngine->GetScreenSize(width, height);
|
g_IEngine->GetScreenSize(width, height);
|
||||||
|
|
||||||
@ -363,21 +368,19 @@ void DrawText()
|
|||||||
int step = (height / 7);
|
int step = (height / 7);
|
||||||
|
|
||||||
// Go through steps creating a rainbow screen
|
// Go through steps creating a rainbow screen
|
||||||
for (int i = 1; i < 7; i++) {
|
for (int i = 1; i < 8; i++) {
|
||||||
// Get Color and set opacity to %50
|
// Get Color and set opacity to %50
|
||||||
rgba_t gaybow = colors::FromHSL(fabs(sin((g_GlobalVars->curtime
|
colors::rgba_t gaybow = colors::FromHSL(fabs(sin((g_GlobalVars->curtime / 2.0f) + (i / 1.41241))) * 360.0f, 0.85f, 0.9f);
|
||||||
/ 2.0f) + (i / 2))) * 360.0f, 0.85f, 0.9f); gaybow.a = .5;
|
gaybow.a = .5;
|
||||||
// Draw next step
|
// Draw next step
|
||||||
draw_api::FilledRect(0, step * (i - 1), width, (step * i) - (step *
|
draw_api::draw_rect(0, step * (i - 1), width, (step * i) - (step * (i - 1)), gaybow);
|
||||||
(i - 1)), gaybow);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//int size_x;
|
//int size_x;
|
||||||
//FTGL_StringLength(string.data, fonts::font_main, &size_x);
|
//FTGL_StringLength(string.data, fonts::font_main, &size_x);
|
||||||
//FTGL_Draw(string.data, draw_point.x - size_x / 2, draw_point.y,
|
//FTGL_Draw(string.data, draw_point.x - size_x / 2, draw_point.y,fonts::font_main, color);
|
||||||
fonts::font_main, color);
|
|
||||||
|
|
||||||
}*/
|
}
|
||||||
if (show_spectators)
|
if (show_spectators)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 32; i++)
|
for (int i = 0; i < 32; i++)
|
||||||
|
@ -113,7 +113,7 @@ static CatVar debug_projectiles(CV_SWITCH, "debug_projectiles", "0",
|
|||||||
static CatVar fakelag_amount(CV_INT, "fakelag", "0", "Bad Fakelag");
|
static CatVar fakelag_amount(CV_INT, "fakelag", "0", "Bad Fakelag");
|
||||||
static CatVar serverlag_amount(
|
static CatVar serverlag_amount(
|
||||||
CV_INT, "serverlag", "0",
|
CV_INT, "serverlag", "0",
|
||||||
"Lag the server by spamming this many voicecommands per tick");
|
"serverlag", "Lag the server by spamming this many voicecommands per tick");
|
||||||
CatVar semiauto(CV_INT, "semiauto", "0", "Semiauto");
|
CatVar semiauto(CV_INT, "semiauto", "0", "Semiauto");
|
||||||
|
|
||||||
bool *bSendPackets;
|
bool *bSendPackets;
|
||||||
|
@ -1039,6 +1039,7 @@ void LevelInit_hook(void *_this, const char *newmap)
|
|||||||
static const LevelInit_t original =
|
static const LevelInit_t original =
|
||||||
(LevelInit_t) hooks::clientmode.GetMethod(offsets::LevelInit());
|
(LevelInit_t) hooks::clientmode.GetMethod(offsets::LevelInit());
|
||||||
playerlist::Save();
|
playerlist::Save();
|
||||||
|
votelogger::antikick_ticks = 0;
|
||||||
hacks::shared::lagexploit::bcalled = false;
|
hacks::shared::lagexploit::bcalled = false;
|
||||||
typedef bool *(*LoadNamedSkys_Fn)(const char *);
|
typedef bool *(*LoadNamedSkys_Fn)(const char *);
|
||||||
uintptr_t addr =
|
uintptr_t addr =
|
||||||
|
@ -657,7 +657,7 @@ static const std::string list_tf2 = R"(
|
|||||||
]
|
]
|
||||||
"Misc" [
|
"Misc" [
|
||||||
"Misc Menu"
|
"Misc Menu"
|
||||||
"serverlag_amount"
|
"serverlag"
|
||||||
"deadringer_auto"
|
"deadringer_auto"
|
||||||
"halloween_mode"
|
"halloween_mode"
|
||||||
"name"
|
"name"
|
||||||
@ -730,6 +730,7 @@ static const std::string list_tf2 = R"(
|
|||||||
]
|
]
|
||||||
"Automated" [
|
"Automated" [
|
||||||
"Automated Menu"
|
"Automated Menu"
|
||||||
|
"anti_votekick"
|
||||||
"autoqueue"
|
"autoqueue"
|
||||||
"autoqueue_mode"
|
"autoqueue_mode"
|
||||||
"autojoin_team"
|
"autojoin_team"
|
||||||
@ -769,6 +770,10 @@ static const std::string list_tf2 = R"(
|
|||||||
"debug_pp_extrapolate"
|
"debug_pp_extrapolate"
|
||||||
"debug_engine_pred_others"
|
"debug_engine_pred_others"
|
||||||
]
|
]
|
||||||
|
"God Mode" [
|
||||||
|
"God Mode Menu"
|
||||||
|
"godmode"
|
||||||
|
]
|
||||||
)";
|
)";
|
||||||
|
|
||||||
List &MainList()
|
List &MainList()
|
||||||
|
Reference in New Issue
Block a user