TKazer / CS2_External

CS2 external cheat.
MIT License
604 stars 141 forks source link

process of determining the offset value #132

Closed TestMagicCode closed 1 year ago

TestMagicCode commented 1 year ago
TempAddress = SearchOffsets(Offset::Signatures::ForceJump, ClientDLL);
if (TempAddress == 0)
    return false;

Offset::ForceJump = TempAddress + 0x30 - ClientDLL;
return true;

Hello! I'm curious about the process of determining the offset value, specifically the "0x30" added to the tempAddress. How is this value obtained? Any insights would be appreciated!

TKazer commented 1 year ago

These patterns come from the cs2-dumper project. Since the ForceJump data address does not have a good static bytes that can provide Bytes Scan, it is necessary to find unique static bytes in front of the address that is suitable for Bytes Scan.

TestMagicCode commented 1 year ago

What programs would you recommend i use to do this, i have ida, what tools do you use to get everything i would need to copy your method, i already use cs2-dumper for base offsets... do you use like cheat engine ? to get values like this "0x30"