Update CS:GO SDKTools gamedata.
authorNicholas Hastings <skamonkey@gmail.com>
Fri Feb 07 13:07:30 2014 -0500 (2014-02-07)
changeset 422957a18415b39a
parent 4228 12779bb13704
child 4230 45fe61058383
Update CS:GO SDKTools gamedata.
gamedata/sdktools.games/engine.csgo.txt
     1.1 --- a/gamedata/sdktools.games/engine.csgo.txt	Thu Feb 06 19:45:35 2014 -0600
     1.2 +++ b/gamedata/sdktools.games/engine.csgo.txt	Fri Feb 07 13:07:30 2014 -0500
     1.3 @@ -28,10 +28,10 @@
     1.4  	{
     1.5  		"Offsets"
     1.6  		{
     1.7 -			/* Offset into CBaseTempEntity constructor */
     1.8 +			/* Offset into CBaseTempEntity signature address */
     1.9  			"s_pTempEntities"
    1.10  			{
    1.11 -				"windows"	"19"
    1.12 +				"windows"	"4"
    1.13  			}
    1.14  			"GetTEName"
    1.15  			{
    1.16 @@ -58,7 +58,7 @@
    1.17  			"CBaseTempEntity"
    1.18  			{
    1.19  				"library"	"server"
    1.20 -				"windows"	"\x55\x8B\xEC\x8B\xC1\x8B\x4D\x08\xC7\x00\x2A\x2A\x2A\x2A\x89\x48\x2A\x8B"
    1.21 +				"windows"	"\x89\x41\x04\xA1\x2A\x2A\x2A\x2A\x89\x41\x08\x89\x0D\x2A\x2A\x2A\x2A\xC7"
    1.22  			}
    1.23  			"s_pTempEntities"
    1.24  			{
    1.25 @@ -78,7 +78,7 @@
    1.26  			"FindEntityByClassname"
    1.27  			{
    1.28  				"library"	"server"
    1.29 -				"windows"	"\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x4D\x08\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x83\xF8\xFF\x75\x2A\xB8\xFF\x1F\x00\x00\x8D\x04\x40\x8B\x74\xC6\x2A\xEB"
    1.30 +				// Fallback to IServerTools method instead on Windows, lest we add custom logic since it's no longer a thiscall on Windows in CS:GO
    1.31  				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
    1.32  				"mac"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
    1.33  			}
    1.34 @@ -115,7 +115,7 @@
    1.35  			"CreateGameRulesObject"
    1.36  			{
    1.37  				"library"	"server"
    1.38 -				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\x6A\x01\xFF\xD2"
    1.39 +				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x6A\x01\xFF\x50"
    1.40  			}
    1.41  			"g_pGameRules"
    1.42  			{
    1.43 @@ -139,7 +139,7 @@
    1.44  			 * the expected code. A pointer to sv (IServer interface) is used
    1.45  			 * here.
    1.46  			 */
    1.47 -			"CreateFakeClient_Windows"	"\x55\x8B\xEC\x8B\x2A\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x75"
    1.48 +			"CreateFakeClient_Windows"	"\x55\x8B\xEC\xFF\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85"
    1.49  		}
    1.50  		
    1.51  		"Offsets"
    1.52 @@ -147,7 +147,7 @@
    1.53  			/* Offset into IVEngineServer::CreateFakeClient */
    1.54  			"sv"
    1.55  			{
    1.56 -				"windows"	"8"
    1.57 +				"windows"	"7"
    1.58  			}
    1.59  		}
    1.60  		
    1.61 @@ -171,10 +171,23 @@
    1.62  			"EntityFactory"
    1.63  			{
    1.64  				"library"	"server"
    1.65 -				"windows"	"\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3"
    1.66  				"linux"		"@_Z23EntityFactoryDictionaryv"
    1.67  				"mac"		"@_Z23EntityFactoryDictionaryv"
    1.68  			}
    1.69 +			
    1.70 +			"EntityFactoryFinder"
    1.71 +			{
    1.72 +				"library"	"server"
    1.73 +				"windows"	"\xFF\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x8B\xC8\xC7"
    1.74 +			}
    1.75 +		}
    1.76 +		
    1.77 +		"Offsets"
    1.78 +		{
    1.79 +			"EntityFactoryOffset"
    1.80 +			{
    1.81 +				"windows" 	"4"
    1.82 +			}
    1.83  		}
    1.84  	}
    1.85  
    1.86 @@ -186,7 +199,7 @@
    1.87  			"FireOutput"
    1.88  			{
    1.89  				"library"	"server"
    1.90 -				"windows"	"\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x71\x2A\x57"
    1.91 +				"windows"	"\x55\x8B\xEC\x83\x2A\x2A\x81\xEC\x2A\x2A\x2A\x2A\x8B\xC1\x53\x56\x57\x8B\x2A\x2A\x89\x2A\x2A\x2A\x33"
    1.92  				"linux"		"@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
    1.93  				"mac"		"@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
    1.94  			}
    1.95 @@ -207,7 +220,7 @@
    1.96  			"SetUserCvar"
    1.97  			{
    1.98  				/* Not 100% sure on this, why would windows change and not linux - TEST ME */
    1.99 -				"windows"	"17"
   1.100 +				"windows"	"27"
   1.101  				"linux"		"64"
   1.102  				"mac"		"64"
   1.103  			}
   1.104 @@ -221,9 +234,9 @@
   1.105  			 */
   1.106  			"InfoChanged"
   1.107  			{
   1.108 -				"windows"	"168"
   1.109 -				"linux"		"168"
   1.110 -				"mac"		"168"
   1.111 +				"windows"	"412"
   1.112 +				"linux"		"412"
   1.113 +				"mac"		"412"
   1.114  			}
   1.115  		}
   1.116  	}