tried to make cleanconds (failed)
This commit is contained in:
parent
690d166a7a
commit
f10aa41b20
4
TODO
4
TODO
@ -16,14 +16,11 @@ Auto backstab, noise maker spam, kill say, team name spam (pre round team name s
|
||||
|
||||
Player List
|
||||
dominatesay assistsay worldsay
|
||||
DS esp slow
|
||||
menu reorder
|
||||
AutoDetonator
|
||||
|
||||
ProjPredOrigin
|
||||
MAX -> MIN priority
|
||||
Crit Hack
|
||||
Radar
|
||||
AutoTrashtalk
|
||||
Noisemaker Spam
|
||||
Deflected by enemy player
|
||||
@ -31,7 +28,6 @@ Deflected by enemy player
|
||||
FLAG ESP
|
||||
no aim sapper
|
||||
Improve Projectile Aimbot. A lot.
|
||||
Integrate SEGVCATCH
|
||||
Proper AutoHitbox
|
||||
Smoothe the smooth aim
|
||||
Display on the left
|
||||
|
@ -31,9 +31,17 @@
|
||||
|
||||
namespace hacks { namespace shared { namespace misc {
|
||||
|
||||
//static CatVar remove_conditions(CV_SWITCH, "remove_conditions", "0", "Remove conditions");
|
||||
|
||||
void CreateMove() {
|
||||
static bool flswitch = false;
|
||||
|
||||
/*(if (TF2 && remove_conditions) {
|
||||
RemoveCondition(LOCAL_E, TFCond_CloakFlicker);
|
||||
RemoveCondition(LOCAL_E, TFCond_Jarated);
|
||||
CE_FLOAT(LOCAL_E, netvar.m_flStealthNoAttackExpire) = 0.0f;
|
||||
}*/
|
||||
|
||||
if (TF2C && tauntslide)
|
||||
RemoveCondition(LOCAL_E, TFCond_Taunting);
|
||||
if (!AllowAttacking()) g_pUserCmd->buttons &= ~IN_ATTACK;
|
||||
|
@ -27,9 +27,13 @@ int IN_KeyEvent_hook(void* thisptr, int eventcode, int keynum, const char* pszCu
|
||||
return 0;
|
||||
}
|
||||
|
||||
static CatVar log_sent(CV_SWITCH, "debug_log_sent_messages", "0", "Log sent messages");
|
||||
|
||||
bool SendNetMsg_hook(void* thisptr, INetMessage& msg, bool bForceReliable = false, bool bVoice = false) {
|
||||
SEGV_BEGIN;
|
||||
|
||||
if (log_sent) {
|
||||
logging::Info("=> %s [%i] %s", msg.GetName(), msg.GetType(), msg.ToString());
|
||||
}
|
||||
//logging::Info("Sending NetMsg! %i", msg.GetType());
|
||||
if (hacks::shared::airstuck::IsStuck() && cathook && !g_Settings.bInvalid) {
|
||||
switch (msg.GetType()) {
|
||||
@ -108,6 +112,7 @@ void OverrideView_hook(void* thisptr, CViewSetup* setup) {
|
||||
}
|
||||
|
||||
static CatVar clean_chat(CV_SWITCH, "clean_chat", "0", "Clean chat", "Removes newlines from chat");
|
||||
static CatVar dispatch_log(CV_SWITCH, "debug_log_usermessages", "0", "Log dispatched user messages");
|
||||
|
||||
bool DispatchUserMessage_hook(void* thisptr, int type, bf_read& buf) {
|
||||
SEGV_BEGIN;
|
||||
@ -127,6 +132,9 @@ bool DispatchUserMessage_hook(void* thisptr, int type, bf_read& buf) {
|
||||
buf.Seek(0);
|
||||
}
|
||||
}
|
||||
if (dispatch_log) {
|
||||
logging::Info("D> %i", type);
|
||||
}
|
||||
//if (type != net_Tick) logging::Info("Got message: %s", type);
|
||||
return ((DispatchUserMessage_t*)hooks::hkClient->GetMethod(hooks::offFrameStageNotify + 1))(thisptr, type, buf);
|
||||
SEGV_END; return false;
|
||||
|
@ -32,6 +32,7 @@ void NetVars::Init() {
|
||||
this->flLastFireTime = gNetvars.get_offset("DT_TFWeaponBase", "LocalActiveTFWeaponData", "m_flLastFireTime");
|
||||
this->bDistributed = gNetvars.get_offset("DT_CurrencyPack", "m_bDistributed");
|
||||
this->_condition_bits = gNetvars.get_offset("DT_TFPlayer", "m_Shared", "m_ConditionList", "_condition_bits");
|
||||
this->m_flStealthNoAttackExpire = gNetvars.get_offset("DT_TFPlayer", "m_Shared", "tfsharedlocaldata", "m_flStealthNoAttackExpire");
|
||||
}
|
||||
if (TF2 || TF2C) {
|
||||
this->iCond = gNetvars.get_offset("DT_TFPlayer", "m_Shared", "m_nPlayerCond");
|
||||
|
@ -116,6 +116,8 @@ public:
|
||||
|
||||
offset_t flChargeLevel;
|
||||
offset_t bChargeRelease;
|
||||
|
||||
offset_t m_flStealthNoAttackExpire;
|
||||
};
|
||||
|
||||
extern NetVars netvar;
|
||||
|
Reference in New Issue
Block a user