Skip to content
Open
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
1 change: 1 addition & 0 deletions AMBuilder
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ for sdk_target in MMSPlugin.sdk_targets:

protoc_builder = builder.tools.Protoc(protoc = sdk_target.protoc, sources = [
os.path.join(sdk['path'], 'common', 'network_connection.proto'),
os.path.join(sdk['path'], 'common', 'valveextensions.proto'),
os.path.join(sdk['path'], 'common', 'networkbasetypes.proto'),
os.path.join(sdk['path'], 'common', 'engine_gcmessages.proto'),
os.path.join(sdk['path'], 'gcsdk', 'steammessages.proto'),
Expand Down
4 changes: 2 additions & 2 deletions gamedata/cs2fixes.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
{
"library" "server"
"windows" "\x0F\x84\x2A\x2A\x2A\x2A\x80\xB8\x2A\x2A\x2A\x2A\x00\x0F\x84\x2A\x2A\x2A\x2A\x80\x3D\x2A\x2A\x2A\x2A\x00\x74\x15"
"linux" "\x0F\x84\x2A\x2A\x2A\x2A\x44\x0F\xB6\xB0\x2A\x2A\x2A\x2A\x45\x84\xF6\x0F\x84"
"linux" "\x0F\x84\x2A\x2A\x2A\x2A\x44\x0F\xB6\xB8\x2A\x2A\x2A\x2A\x45\x84\xFF\x0F\x84"
}
// Called right after this in windows "Entity %s(%s) is ambiguously parented to..."
"CBaseEntity_SetParent"
Expand Down Expand Up @@ -338,7 +338,7 @@
"BotNavIgnore"
{
"windows" "\xE9\x2C\x00\x00\x00\x90"
"linux" "\xE9\x25\x00\x00\x00\x90"
"linux" "\xE9\x22\x00\x00\x00\x90"
}
}
}
Expand Down
7 changes: 5 additions & 2 deletions src/detours.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,11 @@ void* FASTCALL Detour_ProcessUsercmds(CCSPlayerController* pController, CUserCmd
{
uint64 button = iterator->button();

// Remove normal subtick movement inputs by button & subtick movement viewangles by pitch/yaw
if ((button >= IN_JUMP && button <= IN_MOVERIGHT && button != IN_USE) || iterator->pitch_delta() != 0.0f || iterator->yaw_delta() != 0.0f)
// Remove normal subtick movement inputs by button & subtick movement viewangles by pitch/yaw.
// IN_JUMP is exempt: since the CS2 Season 5 jump rework (buffered jump presses), a mousewheel
// +jump press exists only in the subtick moves — stripping it clips/eats scroll jumps entirely,
// while held space survives in the tick-boundary button state.
if ((button > IN_JUMP && button <= IN_MOVERIGHT && button != IN_USE) || iterator->pitch_delta() != 0.0f || iterator->yaw_delta() != 0.0f)
subtickMoves->erase(iterator);
else
iterator++;
Expand Down