Fixed IServer in SDKTools on Windows.
authorPaul Clothier <wazzled08@gmail.com>
Tue Apr 17 22:27:03 2012 -0400 (2012-04-17)
changeset 3483c3210ff9c254
parent 3482 b5b689087577
child 3484 f5d70f330e19
Fixed IServer in SDKTools on Windows.
gamedata/sdktools.games/engine.ep2valve.txt
gamedata/sdktools.games/game.cstrike.txt
     1.1 --- a/gamedata/sdktools.games/engine.ep2valve.txt	Tue Apr 17 22:12:44 2012 -0400
     1.2 +++ b/gamedata/sdktools.games/engine.ep2valve.txt	Tue Apr 17 22:27:03 2012 -0400
     1.3 @@ -146,7 +146,7 @@
     1.4  			 * the expected code. A pointer to sv (IServer interface) is used
     1.5  			 * here.
     1.6  			 */
     1.7 -			"CreateFakeClient_Windows"	"\x8B\x44\x24\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8"
     1.8 +			"CreateFakeClient_Windows"	"\x55\x8B\xEC\x8B\x45\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0"
     1.9  		}
    1.10  		
    1.11  		"Offsets"
    1.12 @@ -154,7 +154,7 @@
    1.13  			/* Offset into IVEngineServer::CreateFakeClient */
    1.14  			"sv"
    1.15  			{
    1.16 -				"windows"	"6"
    1.17 +				"windows"	"8"
    1.18  			}
    1.19  		}
    1.20  
     2.1 --- a/gamedata/sdktools.games/game.cstrike.txt	Tue Apr 17 22:12:44 2012 -0400
     2.2 +++ b/gamedata/sdktools.games/game.cstrike.txt	Tue Apr 17 22:27:03 2012 -0400
     2.3 @@ -179,6 +179,42 @@
     2.4  	
     2.5  	"#default"
     2.6  	{
     2.7 +		"Keys"
     2.8 +		{
     2.9 +			/* Signature for the beginning of IVEngineServer::CreateFakeClient.
    2.10 +			 *
    2.11 +			 * The engine binary is not actually scanned in order to look for
    2.12 +			 * this. SourceHook is used to used to determine the address of the
    2.13 +			 * function and this signature is used to verify that it contains
    2.14 +			 * the expected code. A pointer to sv (IServer interface) is used
    2.15 +			 * here.
    2.16 +			 */
    2.17 +			"CreateFakeClient_Windows"	"\x8B\x44\x24\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8"
    2.18 +		}
    2.19 +		
    2.20 +		"Offsets"
    2.21 +		{
    2.22 +			/* Offset into IVEngineServer::CreateFakeClient */
    2.23 +			"sv"
    2.24 +			{
    2.25 +				"windows"	"6"
    2.26 +			}
    2.27 +		}
    2.28 +
    2.29 +		"Signatures"
    2.30 +		{
    2.31 +			/* CBaseServer object for IServer interface */
    2.32 +			"sv"
    2.33 +			{
    2.34 +				"library"	"engine"
    2.35 +				"linux"		"@sv"
    2.36 +				"mac"		"@sv"
    2.37 +			}
    2.38 +		}
    2.39 +	}
    2.40 +	
    2.41 +	"#default"
    2.42 +	{
    2.43  		"Signatures"
    2.44  		{
    2.45  			/* Functions in CGlobalEntityList */