Skip to content

Commit

Permalink
Update MM:S submodule, fix linux TracePlayerBBoxForGround signature
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0k-z committed Nov 14, 2023
1 parent e5e96ce commit 19f5a91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metamod-source
4 changes: 2 additions & 2 deletions src/utils/addresses.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ namespace sigs
// TODO
DECLARE_SIG(InitPlayerMovementTraceFilter, "\x48\x89\x5C\x24\x08\x48\x89\x74\x24\x10\x57\x48\x83\xEC\x20\x0F\xB6\x41\x37\x48\x8B\xD9");

// TODO
// Somewhere in CategorizePosition
DECLARE_SIG(TracePlayerBBoxForGround, "\x48\x8B\xC4\x48\x89\x58\x10\x48\x89\x70\x18\x48\x89\x78\x20\x48\x89\x48\x08\x55\x41\x54");

// search for "CCSBot::BendLineOfSight". should find 1 function, CGameTrace::Init is called in there right after this string is referenced with an 80 byte parameter.
Expand Down Expand Up @@ -215,7 +215,7 @@ namespace sigs
DECLARE_SIG(RecvServerBrowserPacket, "\x41\x54\x55\x48\x89\xF5\x53\x48\x89\xFB\x48\x63\x47\x08");
DECLARE_SIG(SnapViewAngles, "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x89\xF7\x4C\x8D\xA3\x28\x0D\x00\x00");
DECLARE_SIG(InitPlayerMovementTraceFilter, "\x55\xB8\x07\x00\x00\x00\x48\x89\xE5\x41\x55\x41\x54\x49\x89\xF4\x53\x48\x89\xFB\x48\x83\xEC\x08\x66\x89\x47\x34\x48\x8D\x05\x2A\x2A\x2A\x2A\x88\x4F\x36\x48\x89\x07\x0F\xB7\x47\x37\x48\x89\x57\x08\x48\xC7\x47\x10\x00\x00\x00\x00\x48\xC7\x47\x18\x00\x00\x00\x00\x66\x25\x80\x00\x48\xC7\x47\x20\xFF\xFF\xFF\xFF\x83\xC8\x49\x48\xC7\x47\x28\xFF\xFF\xFF\xFF\xC7\x47\x30\x00\x00\x00\x00\x66\x89\x47\x37\x48\x89\xF7\xE8\x2A\x2A\x2A\x2A\x31\xFF");
DECLARE_SIG(TracePlayerBBoxForGround, "\x55\x48\x89\xE5\x41\x57\x4D\x89\xC7\x41\x56\x49\x89\xD6\x41\x55\x41\x54");
DECLARE_SIG(TracePlayerBBoxForGround, "\x55\x48\x89\xE5\x41\x57\x4D\x89\xCF\x41\x56\x4D\x89\xC6\x4D\x89\xC8");
DECLARE_SIG(InitGameTrace, "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x81\xEC\xA8\x00\x00\x00\x4C\x8B\x25\x2A\x2A\x2A\x2A\x4D\x85\xE4");
DECLARE_SIG(GetMaxSpeed, "\x55\x48\x89\xE5\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x2A\x4C\x8D\x25\x2A\x2A\x2A\x2A\x49\x8B\x3C\x24\xE8");
DECLARE_SIG(ProcessMovement, "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x49\x89\xFC\x53\x48\x83\xEC\x2A\x48\x8B\x7F\x2A\x8B");
Expand Down

0 comments on commit 19f5a91

Please sign in to comment.