From 81a83fa7ceeda0e767f558ff61a3cd233d8c2524 Mon Sep 17 00:00:00 2001 From: Fyren Date: Fri, 2 Oct 2009 05:01:23 -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 747c7c7d..abe418e6 100644 --- a/gamedata/sdktools.games/engine.l4d.txt +++ b/gamedata/sdktools.games/engine.l4d.txt @@ -247,13 +247,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.