NokiMo
GuidedHacking
GuidedHacking

patreon


dwForceJump & m_fFlags Explained

For the past 18 years, hundreds of thousands of people have been creating bunnyhop hacks by overwriting a bitfield with a random integer without anyone caring enough to ask why.

That pisses me off, so I went full retard on it as usual

m_fFlags and dwForceJump are both bitfields

A bitfield is typically a 4 byte variable where each bit is a bitflag. A bitflag is a bit that represents a bool. Why? To conserve memory and be efficient, better to use a bit than a 1 or 4 byte bool, especially when it comes to networking, every bit saved = less lag. As an integer is 32 bits, you can encode 32 bools into one integer, that's a big savings in memory.

bitfields, bunnyhops and bitflags 

dwForceJump & m_fFlags Explained

Related Creators