From 83e633534dc65896032ef9426e0c94929f61b46b Mon Sep 17 00:00:00 2001 From: Fyren Date: Fri, 2 Oct 2009 04:59:47 -0700 Subject: [PATCH] New L4D offset for SetUserCvar (bug 4033, r=dvander). --- gamedata/sdktools.games/engine.l4d.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamedata/sdktools.games/engine.l4d.txt b/gamedata/sdktools.games/engine.l4d.txt index 86ac8f20..b25ba36b 100644 --- a/gamedata/sdktools.games/engine.l4d.txt +++ b/gamedata/sdktools.games/engine.l4d.txt @@ -238,13 +238,13 @@ /** * CBaseClient::SetUserCVar(char const*,char const*); * Linux offset straight from VTable dump. - * Windows offset is crazy. Found the windows SetName function using string "(%d)%-0.*s" + * Windows offset is crazy. Found the windows SetName function using string "(%d)%-.*s" (aD_S in IDA) * Cross referenced back to the vtable and counted manually (SetUserCvar is 1 higher, offsets start from 1) */ "SetUserCvar" { "windows" "17" - "linux" "62" + "linux" "63" } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made.