Skip to content

Instantly share code, notes, and snippets.

View mrsteyk's full-sized avatar
💔

Александр Герман mrsteyk

💔
  • Russia
View GitHub Profile
@mrsteyk
mrsteyk / out.common.txt
Last active July 16, 2021 01:49
Apex S9 parse
stem: common
Apex mode
0 | true
RPakHeader {
magic: 1801539666,
version: 8,
flags: 256,
typ: 132685286233396237,
unk10: 5930397256020256452,

Keybase proof

I hereby claim:

  • I am mrsteyk on github.
  • I am mrsteyk (https://keybase.io/mrsteyk) on keybase.
  • I have a public key ASCuufJsV5jp9GAqFMV6-SqcML6k5sWv5jxCLHHNeay7mwo

To claim this, I am signing this object:

@mrsteyk
mrsteyk / pBackstab.cpp
Last active November 6, 2017 12:42
pBackstab that doesnt depend on vfunc bullshit
// brought to you by MrSteyk and Volvo
bool IsBehindAndFacingTarget(IClientEntity *pVictim)
{
CTFPlayer *pSpy = ToTFPlayer(this->GetPlayerOwner());
if (pSpy == nullptr) return false;
Vector2D wsc_spy_to_victim = (pVictim->WorldSpaceCenter() - pSpy->WorldSpaceCenter()).AsVector2D();
wsc_spy_to_victim.NormalizeInPlace();

Keybase proof

I hereby claim:

  • I am mrsteyk on github.
  • I am mrsteyk (https://keybase.io/mrsteyk) on keybase.
  • I have a public key ASCsF_kOe2oHjRQLjIjD8AvkFlMTq2BnyTBL9bzedRhChgo

To claim this, I am signing this object: