Skip to content

Instantly share code, notes, and snippets.

@SippieCup
Last active March 19, 2024 14:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SippieCup/06ceeca00bd1278d608e0aeb968ae71e to your computer and use it in GitHub Desktop.
Save SippieCup/06ceeca00bd1278d608e0aeb968ae71e to your computer and use it in GitHub Desktop.
Fake Lag
// This is not the complete code, but this is all you need to do within a createmove hook to implement your realization.
void CreateMoveHook(Create, Move, Arguements, Here)
{
static int ticksToChoke = 12;
static int chokedTicks = 0;
if(SanityCheck() && chokedTicks < ticksToChoke)
{
// Start 'Lagging'
bSendPacket = false;
}
else
{
// Resume from lagging and reset our counter
bSendPacket = true;
chokedTicks = 0;
}
chokedTicks++;
// now call the original create move
oldCreateMove(Create, Move, Arguements, Here)
}
@Morenih
Copy link

Morenih commented Mar 19, 2024

E muito bom

@Morenih
Copy link

Morenih commented Mar 19, 2024

E muito bom baixe ja

@Morenih
Copy link

Morenih commented Mar 19, 2024

Muito bom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment