From f498062d45a0b9a9f000bf1f8bb1fdf687d711c7 Mon Sep 17 00:00:00 2001 From: BenCat07 Date: Thu, 25 Jan 2018 20:00:34 +0100 Subject: [PATCH] Fix clientside Lag after tick 1 --- src/hacks/LagExploit.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/hacks/LagExploit.cpp b/src/hacks/LagExploit.cpp index 897b0985..4f763484 100644 --- a/src/hacks/LagExploit.cpp +++ b/src/hacks/LagExploit.cpp @@ -213,11 +213,10 @@ void CreateMove() if (!amount) return; - // Modifying command_number and lastoutgoingcommand turned out to be useless - // cmd->command_number += amount; - //*(int*)((unsigned)g_IBaseClientState + offsets::lastoutgoingcommand()) += - // amount; + cmd->command_number += amount; + *(int*)((unsigned)g_IBaseClientState + offsets::lastoutgoingcommand()) += + amount; INetChannel *ch = (INetChannel *) g_IEngine->GetNetChannelInfo(); int &m_nOutSequenceNr =