Really fixed issues for today's TF2 engine update (bug 5450).
authorNicholas Hastings <skamonkey@gmail.com>
Fri Aug 24 01:36:42 2012 -0400 (2012-08-24)
changeset 3627b6e36874284b
parent 3626 44eb47dcee63
child 3628 d2ab961b0f75
child 3631 0a420925da0b
Really fixed issues for today's TF2 engine update (bug 5450).
extensions/sdktools/vglobals.cpp
gamedata/sdktools.games/engine.ep2valve.txt
     1.1 --- a/extensions/sdktools/vglobals.cpp	Fri Aug 24 00:52:44 2012 -0400
     1.2 +++ b/extensions/sdktools/vglobals.cpp	Fri Aug 24 01:36:42 2012 -0400
     1.3 @@ -127,7 +127,7 @@
     1.4  
     1.5  #if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11
     1.6  	/* Get the CreateFakeClient function pointer */
     1.7 -#if SOURCE_ENGINE == SE_ORANGEBOXVALVE || SOURCE_ENGINE == SE_CSS
     1.8 +#if SOURCE_ENGINE == SE_CSS
     1.9  	if (!(vfunc=SH_GET_ORIG_VFNPTR_ENTRY(engine, &IVEngineServer::CreateFakeClientEx)))
    1.10  #else
    1.11  	if (!(vfunc=SH_GET_ORIG_VFNPTR_ENTRY(engine, &IVEngineServer::CreateFakeClient)))
    1.12 @@ -138,7 +138,7 @@
    1.13  #else
    1.14  	/* Get the interface manually */
    1.15  	SourceHook::MemFuncInfo info = {true, -1, 0, 0};
    1.16 -#if SOURCE_ENGINE == SE_ORANGEBOXVALVE || SOURCE_ENGINE == SE_CSS
    1.17 +#if SOURCE_ENGINE == SE_CSS
    1.18  	SourceHook::GetFuncInfo(&IVEngineServer::CreateFakeClientEx, info);
    1.19  #else
    1.20  	SourceHook::GetFuncInfo(&IVEngineServer::CreateFakeClient, info);
     2.1 --- a/gamedata/sdktools.games/engine.ep2valve.txt	Fri Aug 24 00:52:44 2012 -0400
     2.2 +++ b/gamedata/sdktools.games/engine.ep2valve.txt	Fri Aug 24 01:36:42 2012 -0400
     2.3 @@ -146,7 +146,7 @@
     2.4  			 * the expected code. A pointer to sv (IServer interface) is used
     2.5  			 * here.
     2.6  			 */
     2.7 -			"CreateFakeClient_Windows"	"\x55\x8B\xEC\x8A\x2A\x2A\xA2\x2A\x2A\x2A\x2A\x8B\x2A\x8B"
     2.8 +			"CreateFakeClient_Windows"	"\x55\x8B\xEC\x8B\x2A\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8"
     2.9  		}
    2.10  		
    2.11  		"Offsets"
    2.12 @@ -154,7 +154,7 @@
    2.13  			/* Offset into IVEngineServer::CreateFakeClient */
    2.14  			"sv"
    2.15  			{
    2.16 -				"windows"	"7"
    2.17 +				"windows"	"8"
    2.18  			}
    2.19  		}
    2.20