Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ jobs:
path: ambuild

- name: Install AMBuild
shell: bash
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
pip install setuptools
fi
cd ambuild && python setup.py install && cd ..

- name: Install Clang 16
Expand Down
18 changes: 9 additions & 9 deletions gamedata/cs2fixes.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// "CCSPlayer_MovementServices::TryPlayerMove() Trace ended stuck"
"TryPlayerMove"
{
"library" "server"
"library" "server"
"windows" "\x48\x8B\xC4\x4C\x89\x48\x20\x4C\x89\x40\x18\x48\x89\x50\x10\x48\x89\x48\x08\x55\x53\x56\x57\x41\x54\x41\x55\x41\x56\x41\x57\x48\x8D\xA8\xC8\xFD\xFF\xFF"
"linux" "\x55\x66\x0F\xEF\xC0\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xF6\x41\x55\x49\x89\xD5"
}
Expand All @@ -17,16 +17,16 @@
// sub_18061D5B0(a1, a2, "PlayerMove_PostMove");
"CategorizePosition"
{
"library" "server"
"windows" "\x40\x55\x56\x57\x41\x55\x48\x8D\xAC\x24\x18\xFE\xFF\xFF"
"linux" "\x55\x66\x0F\xEF\xC0\x48\x89\xE5\x41\x57\x41\x56\x48\x8D\x85\x2A\x2A\x2A\x2A\x41\x55"
"library" "server"
"windows" "\x40\x55\x56\x57\x41\x55\x48\x8D\xAC\x24\xF8\xFD\xFF\xFF"
"linux" "\x48\xB8\x00\x00\x00\x00\x00\x00\x00\x07\x55\x66\x0F\xEF\xC0\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x89\xD5"
}
// Function with 5 arguments next to sv_walkable_normal references
"TracePlayerBBox"
{
"library" "server"
"windows" "\x4C\x89\x44\x24\x18\x55\x53\x56\x57\x41\x55\x41\x56\x48\x8D\xAC\x24\xF8\xFE\xFF\xFF"
"linux" "\x55\x48\x89\xE5\x41\x57\x49\x89\xFF\x41\x56\x49\x89\xCE\x41\x55\x49\x89\xD5"
"windows" "\x4C\x89\x44\x24\x18\x55\x53\x56\x57\x41\x55\x41\x56\x48\x8D\xAC\x24\xE8\xFE\xFF\xFF"
"linux" "\x55\x48\x89\xE5\x41\x57\x49\x89\xFF\x41\x56\x49\x89\xD6\x41\x55\x49\x89\xCD"
}
// String: "Noise removal", there should be 3 customermachine checks
"HammerNoCustomerMachine"
Expand Down Expand Up @@ -109,7 +109,7 @@
{
"library" "server"
"windows" "\x44\x88\x4C\x24\x2A\x53\x57\x41\x54\x41\x56\x41\x57\x48\x83\xEC"
"linux" "\x55\x48\x8D\x87\x2A\x2A\x2A\x2A\x48\x89\xE5\x41\x57\x41\x56\x41\x89\xCE\x41\x55\x45\x89\xCD"
"linux" "\x55\x48\x8D\x87\x2A\x2A\x2A\x2A\x48\x89\xE5\x41\x57\x41\x89\xCF"
}
// String: "CNavMesh::GetNearestNavArea"
"CNavMesh_GetNearestNavArea"
Expand Down Expand Up @@ -191,7 +191,7 @@
{
"library" "server"
"windows" "\x40\x57\x41\x57\x48\x81\xEC\x2A\x2A\x2A\x2A\x48\x83\x79"
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x49\x89\xF4\x53\x48\x89\xFB\x48\x83\xEC\x38\x48\x8B\x7F\x30"
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x49\x89\xF5\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x2A\x48\x8B\x7F"
}

// "env_shake %s with...", in either xref there will be a call to SetMoveType(a1, 0, 0) at the top
Expand Down Expand Up @@ -321,4 +321,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion sdk
Submodule sdk updated 54 files
+23 −112 common/netmessages.proto
+9 −0 common/networkbasetypes.proto
+124 −0 common/source2_steam_stats.proto
+2 −2 entity2/entitykeyvalues.cpp
+1 −1 game/shared/base_gcmessages.proto
+26 −0 game/shared/cs/cs_gameevents.proto
+1 −0 game/shared/cstrike15/cstrike15_gcmessages.proto
+4 −0 game/shared/cstrike15/cstrike15_usermessages.proto
+2 −0 game/shared/econ/econ_gcmessages.proto
+3 −0 game/shared/gameevents.proto
+42 −40 game/shared/gamesystems/spawngroup_manager.h
+39 −34 game/shared/igamesystem.h
+5 −0 game/shared/usercmd.proto
+4 −2 game/shared/usermessages.proto
+ lib/linux64/libtier0.so
+ lib/linux64/tier1.a
+ lib/public/win64/tier0.lib
+ lib/public/win64/tier1.lib
+3 −3 public/bitvec.h
+4 −14 public/const.h
+6 −16 public/edict.h
+23 −4 public/engine/IEngineService.h
+49 −36 public/entity2/entityclass.h
+12 −9 public/entity2/entityinstance.h
+2 −2 public/entity2/entitykeyvalues.h
+5 −5 public/entity2/entitysystem.h
+4 −1 public/gametrace.h
+5 −0 public/globalvars_base.h
+5 −2 public/icvar.h
+0 −1 public/iloopmode.h
+0 −1 public/interfaces/interfaces.h
+2 −0 public/irecipientfilter.h
+15 −9 public/iserver.h
+1 −1 public/localize/ilocalize.h
+17 −3 public/networkstringtabledefs.h
+8 −13 public/playerslot.h
+8 −2 public/schemasystem/schemasystem.h
+2 −2 public/tier0/logging.h
+3 −3 public/tier0/platform.h
+69 −461 public/tier0/threadtools.h
+11 −11 public/tier1/bitbuf.h
+18 −1 public/tier1/convar.h
+35 −35 public/tier1/keyvalues3.h
+1 −1 public/tier1/mempool.h
+12 −2 public/tier1/utlblockmemory.h
+1 −1 public/tier1/utlhash.h
+1 −1 public/tier1/utlhashtable.h
+2 −2 public/tier1/utllinkedlist.h
+1 −1 public/tier1/utlmemory.h
+1 −1 public/tier1/utlrbtree.h
+2 −2 public/tier1/utlsymbollarge.h
+2 −2 public/tier1/utlvector.h
+28 −28 tier1/bitbuf.cpp
+21 −19 tier1/keyvalues3.cpp
4 changes: 2 additions & 2 deletions src/cs2_sdk/entity/services.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ class CPlayer_MovementServices_Humanoid : public CPlayer_MovementServices
SCHEMA_FIELD(uint32_t, m_nCrouchState)
SCHEMA_FIELD(bool, m_bInDuckJump)
SCHEMA_FIELD(float, m_flSurfaceFriction)
SCHEMA_FIELD(bool, m_bDucked)
};

class CCSPlayer_MovementServices : public CPlayer_MovementServices_Humanoid
Expand All @@ -103,6 +102,7 @@ class CCSPlayer_MovementServices : public CPlayer_MovementServices_Humanoid
SCHEMA_FIELD(float, m_flStamina)
SCHEMA_FIELD(float, m_flDuckSpeed)
SCHEMA_FIELD(bool, m_bDuckOverride)
SCHEMA_FIELD(bool, m_bDucked)
};

class CPlayer_WeaponServices : public CPlayerPawnComponent
Expand Down Expand Up @@ -380,4 +380,4 @@ class CMoveData : public CMoveDataBase
static_assert(sizeof(CMoveData) == 312, "Class didn't match expected size");
#else
static_assert(sizeof(CMoveData) == 304, "Class didn't match expected size");
#endif
#endif