Switched to using IServerTools in SDKTools where possible. (bug 4899, r=fyren).
authorNicholas Hastings <skamonkey@gmail.com>
Wed May 25 08:27:27 2011 -0400 (2011-05-25)
changeset 32807aea1316eff7
parent 3279 8d8270ab5e3d
child 3281 f1f9c27d290b
Switched to using IServerTools in SDKTools where possible. (bug 4899, r=fyren).
AMBuildScript
extensions/sdktools/Makefile
extensions/sdktools/extension.cpp
extensions/sdktools/extension.h
extensions/sdktools/msvc9/sdktools.vcproj
extensions/sdktools/vnatives.cpp
gamedata/sdktools.games/engine.bgt.txt
gamedata/sdktools.games/engine.ep2.txt
gamedata/sdktools.games/engine.ep2valve.txt
gamedata/sdktools.games/engine.l4d.txt
gamedata/sdktools.games/engine.l4d2.txt
gamedata/sdktools.games/engine.swarm.txt
gamedata/sdktools.games/game.alienswarm.txt
gamedata/sdktools.games/game.aoc.txt
gamedata/sdktools.games/game.bg2.txt
gamedata/sdktools.games/game.cspromod.txt
gamedata/sdktools.games/game.cstrike.txt
gamedata/sdktools.games/game.dinodday.txt
gamedata/sdktools.games/game.dod.txt
gamedata/sdktools.games/game.dystopia.txt
gamedata/sdktools.games/game.empires.txt
gamedata/sdktools.games/game.fas.txt
gamedata/sdktools.games/game.fof.txt
gamedata/sdktools.games/game.garrysmod.txt
gamedata/sdktools.games/game.gesource.txt
gamedata/sdktools.games/game.hl2mp.txt
gamedata/sdktools.games/game.obsidian.txt
gamedata/sdktools.games/game.pvkii.txt
gamedata/sdktools.games/game.rnlbeta.txt
gamedata/sdktools.games/game.synergy.txt
gamedata/sdktools.games/game.tf.txt
gamedata/sdktools.games/game.zpanic.txt
plugins/include/sdktools_functions.inc
     1.1 --- a/AMBuildScript	Tue May 24 20:36:09 2011 -0400
     1.2 +++ b/AMBuildScript	Wed May 25 08:27:27 2011 -0400
     1.3 @@ -299,6 +299,7 @@
     1.4  			paths.append(['game_shared'])
     1.5  		else:
     1.6  			paths.append(['public', 'game', 'server'])
     1.7 +			paths.append(['public', 'toolframework'])
     1.8  			paths.append(['game', 'shared'])
     1.9  			paths.append(['common'])
    1.10  
     2.1 --- a/extensions/sdktools/Makefile	Tue May 24 20:36:09 2011 -0400
     2.2 +++ b/extensions/sdktools/Makefile	Wed May 25 08:27:27 2011 -0400
     2.3 @@ -52,7 +52,7 @@
     2.4  	HL2LIB = $(HL2SDK)/lib/linux
     2.5  	CFLAGS += -DSOURCE_ENGINE=3
     2.6  	METAMOD = $(MMSOURCE17)/core
     2.7 -	INCLUDE += -I$(HL2SDK)/public/game/server -I$(HL2SDK)/common -I$(HL2SDK)/game/shared
     2.8 +	INCLUDE += -I$(HL2SDK)/public/game/server -I$(HL2SDK)/common -I$(HL2SDK)/game/shared -I$(HL2SDK)/public/toolframework
     2.9  	SRCDS = $(SRCDS_BASE)/orangebox
    2.10  	GAMEFIX = 2.ep2
    2.11  	override ENGSET = true
    2.12 @@ -63,7 +63,7 @@
    2.13  	HL2LIB = $(HL2SDK)/lib/linux
    2.14  	CFLAGS += -DSOURCE_ENGINE=4
    2.15  	METAMOD = $(MMSOURCE17)/core
    2.16 -	INCLUDE += -I$(HL2SDK)/public/game/server -I$(HL2SDK)/common -I$(HL2SDK)/game/shared
    2.17 +	INCLUDE += -I$(HL2SDK)/public/game/server -I$(HL2SDK)/common -I$(HL2SDK)/game/shared -I$(HL2SDK)/public/toolframework
    2.18  	SRCDS = $(SRCDS_BASE)/orangebox
    2.19  	GAMEFIX = 2.ep2v
    2.20  	override ENGSET = true
    2.21 @@ -74,7 +74,7 @@
    2.22  	HL2LIB = $(HL2SDK)/lib/linux
    2.23  	CFLAGS += -DSOURCE_ENGINE=5
    2.24  	METAMOD = $(MMSOURCE17)/core
    2.25 -	INCLUDE += -I$(HL2SDK)/public/game/server -I$(HL2SDK)/common -I$(HL2SDK)/game/shared
    2.26 +	INCLUDE += -I$(HL2SDK)/public/game/server -I$(HL2SDK)/common -I$(HL2SDK)/game/shared -I$(HL2SDK)/public/toolframework
    2.27  	SRCDS = $(SRCDS_BASE)/l4d
    2.28  	GAMEFIX = 2.l4d
    2.29  	override ENGSET = true
    2.30 @@ -85,7 +85,7 @@
    2.31  	HL2LIB = $(HL2SDK)/lib/linux
    2.32  	CFLAGS += -DSOURCE_ENGINE=6
    2.33  	METAMOD = $(MMSOURCE17)/core
    2.34 -	INCLUDE += -I$(HL2SDK)/public/game/server -I$(HL2SDK)/common -I$(HL2SDK)/game/shared
    2.35 +	INCLUDE += -I$(HL2SDK)/public/game/server -I$(HL2SDK)/common -I$(HL2SDK)/game/shared -I$(HL2SDK)/public/toolframework
    2.36  	SRCDS = $(SRCDS_BASE)/left4dead2
    2.37  	GAMEFIX = 2.l4d2
    2.38  	override ENGSET = true
     3.1 --- a/extensions/sdktools/extension.cpp	Tue May 24 20:36:09 2011 -0400
     3.2 +++ b/extensions/sdktools/extension.cpp	Wed May 25 08:27:27 2011 -0400
     3.3 @@ -64,6 +64,11 @@
     3.4  ICvar *icvar = NULL;
     3.5  IServer *iserver = NULL;
     3.6  CGlobalVars *gpGlobals;
     3.7 +
     3.8 +#if SOURCE_ENGINE >= SE_ORANGEBOX
     3.9 +IServerTools *servertools = NULL;
    3.10 +#endif
    3.11 +
    3.12  SourceHook::CallClass<IVEngineServer> *enginePatch = NULL;
    3.13  SourceHook::CallClass<IEngineSound> *enginesoundPatch = NULL;
    3.14  HandleType_t g_CallHandle = 0;
    3.15 @@ -239,6 +244,10 @@
    3.16  	GET_V_IFACE_ANY(GetServerFactory, playerinfomngr, IPlayerInfoManager, INTERFACEVERSION_PLAYERINFOMANAGER);
    3.17  	GET_V_IFACE_CURRENT(GetEngineFactory, icvar, ICvar, CVAR_INTERFACE_VERSION);
    3.18  
    3.19 +#if SOURCE_ENGINE >= SE_ORANGEBOX
    3.20 +	GET_V_IFACE_ANY(GetServerFactory, servertools, IServerTools, VSERVERTOOLS_INTERFACE_VERSION);
    3.21 +#endif
    3.22 +
    3.23  	gpGlobals = ismm->GetCGlobals();
    3.24  	enginePatch = SH_GET_CALLCLASS(engine);
    3.25  	enginesoundPatch = SH_GET_CALLCLASS(engsound);
     4.1 --- a/extensions/sdktools/extension.h	Tue May 24 20:36:09 2011 -0400
     4.2 +++ b/extensions/sdktools/extension.h	Wed May 25 08:27:27 2011 -0400
     4.3 @@ -51,6 +51,10 @@
     4.4  #include <iserver.h>
     4.5  #include <cdll_int.h>
     4.6  
     4.7 +#if SOURCE_ENGINE >= SE_ORANGEBOX
     4.8 +#include <itoolentity.h>
     4.9 +#endif
    4.10 +
    4.11  /**
    4.12   * @brief Implementation of the SDK Tools extension.
    4.13   * Note: Uncomment one of the pre-defined virtual functions in order to use it.
    4.14 @@ -115,6 +119,9 @@
    4.15  extern ICvar *icvar;
    4.16  extern IServer *iserver;
    4.17  extern CGlobalVars *gpGlobals;
    4.18 +#if SOURCE_ENGINE >= SE_ORANGEBOX
    4.19 +extern IServerTools *servertools;
    4.20 +#endif
    4.21  /* Interfaces from SourceMod */
    4.22  extern IBinTools *g_pBinTools;
    4.23  extern IGameConfig *g_pGameConf;
     5.1 --- a/extensions/sdktools/msvc9/sdktools.vcproj	Tue May 24 20:36:09 2011 -0400
     5.2 +++ b/extensions/sdktools/msvc9/sdktools.vcproj	Wed May 25 08:27:27 2011 -0400
     5.3 @@ -208,7 +208,7 @@
     5.4  				Name="VCCLCompilerTool"
     5.5  				AdditionalOptions="/D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_ORANGEBOXVALVE=4 /D SE_LEFT4DEAD=5"
     5.6  				Optimization="0"
     5.7 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKOB)\game\shared&quot;;&quot;$(HL2SDKOB)\common&quot;;&quot;$(HL2SDKOB)\public&quot;;&quot;$(HL2SDKOB)\public\engine&quot;;&quot;$(HL2SDKOB)\public\game\server&quot;;&quot;$(HL2SDKOB)\public\mathlib&quot;;&quot;$(HL2SDKOB)\public\tier0&quot;;&quot;$(HL2SDKOB)\public\tier1&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
     5.8 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKOB)\game\shared&quot;;&quot;$(HL2SDKOB)\common&quot;;&quot;$(HL2SDKOB)\public&quot;;&quot;$(HL2SDKOB)\public\engine&quot;;&quot;$(HL2SDKOB)\public\game\server&quot;;&quot;$(HL2SDKOB)\public\toolframework&quot;;&quot;$(HL2SDKOB)\public\mathlib&quot;;&quot;$(HL2SDKOB)\public\tier0&quot;;&quot;$(HL2SDKOB)\public\tier1&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
     5.9  				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=3"
    5.10  				MinimalRebuild="true"
    5.11  				BasicRuntimeChecks="3"
    5.12 @@ -291,7 +291,7 @@
    5.13  				Name="VCCLCompilerTool"
    5.14  				AdditionalOptions="/MP /D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_ORANGEBOXVALVE=4 /D SE_LEFT4DEAD=5"
    5.15  				FavorSizeOrSpeed="1"
    5.16 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKOB)\game\shared&quot;;&quot;$(HL2SDKOB)\common&quot;;&quot;$(HL2SDKOB)\public&quot;;&quot;$(HL2SDKOB)\public\engine&quot;;&quot;$(HL2SDKOB)\public\game\server&quot;;&quot;$(HL2SDKOB)\public\mathlib&quot;;&quot;$(HL2SDKOB)\public\tier0&quot;;&quot;$(HL2SDKOB)\public\tier1&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.17 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKOB)\game\shared&quot;;&quot;$(HL2SDKOB)\common&quot;;&quot;$(HL2SDKOB)\public&quot;;&quot;$(HL2SDKOB)\public\engine&quot;;&quot;$(HL2SDKOB)\public\game\server&quot;;&quot;$(HL2SDKOB)\public\toolframework&quot;;&quot;$(HL2SDKOB)\public\mathlib&quot;;&quot;$(HL2SDKOB)\public\tier0&quot;;&quot;$(HL2SDKOB)\public\tier1&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.18  				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=3"
    5.19  				RuntimeLibrary="0"
    5.20  				EnableEnhancedInstructionSet="0"
    5.21 @@ -537,7 +537,7 @@
    5.22  				Name="VCCLCompilerTool"
    5.23  				AdditionalOptions="/D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8"
    5.24  				Optimization="0"
    5.25 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKL4D)\game\shared&quot;;&quot;$(HL2SDKL4D)\common&quot;;&quot;$(HL2SDKL4D)\public&quot;;&quot;$(HL2SDKL4D)\public\engine&quot;;&quot;$(HL2SDKL4D)\public\game\server&quot;;&quot;$(HL2SDKL4D)\public\mathlib&quot;;&quot;$(HL2SDKL4D)\public\tier0&quot;;&quot;$(HL2SDKL4D)\public\tier1&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.26 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKL4D)\game\shared&quot;;&quot;$(HL2SDKL4D)\common&quot;;&quot;$(HL2SDKL4D)\public&quot;;&quot;$(HL2SDKL4D)\public\engine&quot;;&quot;$(HL2SDKL4D)\public\game\server&quot;;&quot;$(HL2SDKL4D)\public\toolframework&quot;;&quot;$(HL2SDKL4D)\public\mathlib&quot;;&quot;$(HL2SDKL4D)\public\tier0&quot;;&quot;$(HL2SDKL4D)\public\tier1&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.27  				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=6"
    5.28  				MinimalRebuild="true"
    5.29  				BasicRuntimeChecks="3"
    5.30 @@ -620,7 +620,7 @@
    5.31  				Name="VCCLCompilerTool"
    5.32  				AdditionalOptions="/MP /D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8"
    5.33  				FavorSizeOrSpeed="1"
    5.34 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKL4D)\game\shared&quot;;&quot;$(HL2SDKL4D)\common&quot;;&quot;$(HL2SDKL4D)\public&quot;;&quot;$(HL2SDKL4D)\public\engine&quot;;&quot;$(HL2SDKL4D)\public\game\server&quot;;&quot;$(HL2SDKL4D)\public\mathlib&quot;;&quot;$(HL2SDKL4D)\public\tier0&quot;;&quot;$(HL2SDKL4D)\public\tier1&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.35 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKL4D)\game\shared&quot;;&quot;$(HL2SDKL4D)\common&quot;;&quot;$(HL2SDKL4D)\public&quot;;&quot;$(HL2SDKL4D)\public\engine&quot;;&quot;$(HL2SDKL4D)\public\game\server&quot;;&quot;$(HL2SDKL4D)\public\toolframework&quot;;&quot;$(HL2SDKL4D)\public\mathlib&quot;;&quot;$(HL2SDKL4D)\public\tier0&quot;;&quot;$(HL2SDKL4D)\public\tier1&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.36  				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=6"
    5.37  				RuntimeLibrary="0"
    5.38  				EnableEnhancedInstructionSet="0"
    5.39 @@ -867,7 +867,7 @@
    5.40  				Name="VCCLCompilerTool"
    5.41  				AdditionalOptions="/D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8"
    5.42  				Optimization="0"
    5.43 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKOBVALVE)\common&quot;;&quot;$(HL2SDKOBVALVE)\public&quot;;&quot;$(HL2SDKOBVALVE)\public\engine&quot;;&quot;$(HL2SDKOBVALVE)\public\game\server&quot;;&quot;$(HL2SDKOBVALVE)\public\mathlib&quot;;&quot;$(HL2SDKOBVALVE)\public\tier0&quot;;&quot;$(HL2SDKOBVALVE)\public\tier1&quot;;&quot;$(HL2SDKOBVALVE)\game\shared&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.44 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKOBVALVE)\common&quot;;&quot;$(HL2SDKOBVALVE)\public&quot;;&quot;$(HL2SDKOBVALVE)\public\engine&quot;;&quot;$(HL2SDKOBVALVE)\public\game\server&quot;;&quot;$(HL2SDKOBVALVE)\public\toolframework&quot;;&quot;$(HL2SDKOBVALVE)\public\mathlib&quot;;&quot;$(HL2SDKOBVALVE)\public\tier0&quot;;&quot;$(HL2SDKOBVALVE)\public\tier1&quot;;&quot;$(HL2SDKOBVALVE)\game\shared&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.45  				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=5"
    5.46  				MinimalRebuild="true"
    5.47  				BasicRuntimeChecks="3"
    5.48 @@ -951,7 +951,7 @@
    5.49  				Name="VCCLCompilerTool"
    5.50  				AdditionalOptions="/MP /D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8"
    5.51  				FavorSizeOrSpeed="1"
    5.52 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKOBVALVE)\common&quot;;&quot;$(HL2SDKOBVALVE)\public&quot;;&quot;$(HL2SDKOBVALVE)\public\engine&quot;;&quot;$(HL2SDKOBVALVE)\public\game\server&quot;;&quot;$(HL2SDKOBVALVE)\public\mathlib&quot;;&quot;$(HL2SDKOBVALVE)\public\tier0&quot;;&quot;$(HL2SDKOBVALVE)\public\tier1&quot;;&quot;$(HL2SDKOBVALVE)\game\shared&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.53 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKOBVALVE)\common&quot;;&quot;$(HL2SDKOBVALVE)\public&quot;;&quot;$(HL2SDKOBVALVE)\public\engine&quot;;&quot;$(HL2SDKOBVALVE)\public\game\server&quot;;&quot;$(HL2SDKOBVALVE)\public\mathlib&quot;;&quot;$(HL2SDKOBVALVE)\public\tier0&quot;;&quot;$(HL2SDKOBVALVE)\public\tier1&quot;;&quot;$(HL2SDKOBVALVE)\game\shared&quot;;&quot;$(HL2SDKOBVALVE)\public\toolframework&quot;;&quot;$(MMSOURCE17)\core&quot;;&quot;$(MMSOURCE17)\core\sourcehook&quot;"
    5.54  				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=5"
    5.55  				RuntimeLibrary="0"
    5.56  				EnableEnhancedInstructionSet="0"
    5.57 @@ -1034,7 +1034,7 @@
    5.58  				Name="VCCLCompilerTool"
    5.59  				AdditionalOptions="/D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8"
    5.60  				Optimization="0"
    5.61 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKL4D2)\common&quot;;&quot;$(HL2SDKL4D2)\public&quot;;&quot;$(HL2SDKL4D2)\public\engine&quot;;&quot;$(HL2SDKL4D2)\public\game\server&quot;;&quot;$(HL2SDKL4D2)\public\mathlib&quot;;&quot;$(HL2SDKL4D2)\public\tier0&quot;;&quot;$(HL2SDKL4D2)\game\shared&quot;;&quot;$(HL2SDKL4D2)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.62 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKL4D2)\common&quot;;&quot;$(HL2SDKL4D2)\public&quot;;&quot;$(HL2SDKL4D2)\public\engine&quot;;&quot;$(HL2SDKL4D2)\public\game\server&quot;;&quot;$(HL2SDKL4D2)\public\toolframework&quot;;&quot;$(HL2SDKL4D2)\public\mathlib&quot;;&quot;$(HL2SDKL4D2)\public\tier0&quot;;&quot;$(HL2SDKL4D2)\game\shared&quot;;&quot;$(HL2SDKL4D2)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.63  				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=7"
    5.64  				MinimalRebuild="true"
    5.65  				BasicRuntimeChecks="3"
    5.66 @@ -1118,7 +1118,7 @@
    5.67  				Name="VCCLCompilerTool"
    5.68  				AdditionalOptions="/MP /D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8"
    5.69  				FavorSizeOrSpeed="1"
    5.70 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKL4D2)\game\shared&quot;;&quot;$(HL2SDKL4D2)\common&quot;;&quot;$(HL2SDKL4D2)\public&quot;;&quot;$(HL2SDKL4D2)\public\engine&quot;;&quot;$(HL2SDKL4D2)\public\game\server&quot;;&quot;$(HL2SDKL4D2)\public\mathlib&quot;;&quot;$(HL2SDKL4D2)\public\tier0&quot;;&quot;$(HL2SDKL4D2)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.71 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDKL4D2)\game\shared&quot;;&quot;$(HL2SDKL4D2)\common&quot;;&quot;$(HL2SDKL4D2)\public&quot;;&quot;$(HL2SDKL4D2)\public\engine&quot;;&quot;$(HL2SDKL4D2)\public\game\server&quot;;&quot;$(HL2SDKL4D2)\public\toolframework&quot;;&quot;$(HL2SDKL4D2)\public\mathlib&quot;;&quot;$(HL2SDKL4D2)\public\tier0&quot;;&quot;$(HL2SDKL4D2)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.72  				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=7"
    5.73  				RuntimeLibrary="0"
    5.74  				EnableEnhancedInstructionSet="0"
    5.75 @@ -1200,7 +1200,7 @@
    5.76  				Name="VCCLCompilerTool"
    5.77  				AdditionalOptions="/D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8"
    5.78  				Optimization="0"
    5.79 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDK-BGT)\game\shared&quot;;&quot;$(HL2SDK-BGT)\common&quot;;&quot;$(HL2SDK-BGT)\public&quot;;&quot;$(HL2SDK-BGT)\public\engine&quot;;&quot;$(HL2SDK-BGT)\public\game\server&quot;;&quot;$(HL2SDK-BGT)\public\mathlib&quot;;&quot;$(HL2SDK-BGT)\public\tier0&quot;;&quot;$(HL2SDK-BGT)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.80 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDK-BGT)\game\shared&quot;;&quot;$(HL2SDK-BGT)\common&quot;;&quot;$(HL2SDK-BGT)\public&quot;;&quot;$(HL2SDK-BGT)\public\engine&quot;;&quot;$(HL2SDK-BGT)\public\game\server&quot;;&quot;$(HL2SDK-BGT)\public\toolframework&quot;;&quot;$(HL2SDK-BGT)\public\mathlib&quot;;&quot;$(HL2SDK-BGT)\public\tier0&quot;;&quot;$(HL2SDK-BGT)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.81  				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=4"
    5.82  				MinimalRebuild="true"
    5.83  				BasicRuntimeChecks="3"
    5.84 @@ -1283,7 +1283,7 @@
    5.85  				Name="VCCLCompilerTool"
    5.86  				AdditionalOptions="/MP /D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8"
    5.87  				FavorSizeOrSpeed="1"
    5.88 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDK-BGT)\game\shared&quot;;&quot;$(HL2SDK-BGT)\common&quot;;&quot;$(HL2SDK-BGT)\public&quot;;&quot;$(HL2SDK-BGT)\public\engine&quot;;&quot;$(HL2SDK-BGT)\public\game\server&quot;;&quot;$(HL2SDK-BGT)\public\mathlib&quot;;&quot;$(HL2SDK-BGT)\public\tier0&quot;;&quot;$(HL2SDK-BGT)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.89 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDK-BGT)\game\shared&quot;;&quot;$(HL2SDK-BGT)\common&quot;;&quot;$(HL2SDK-BGT)\public&quot;;&quot;$(HL2SDK-BGT)\public\engine&quot;;&quot;$(HL2SDK-BGT)\public\game\server&quot;;&quot;$(HL2SDK-BGT)\public\toolframework&quot;;&quot;$(HL2SDK-BGT)\public\mathlib&quot;;&quot;$(HL2SDK-BGT)\public\tier0&quot;;&quot;$(HL2SDK-BGT)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.90  				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=4"
    5.91  				RuntimeLibrary="0"
    5.92  				EnableEnhancedInstructionSet="0"
    5.93 @@ -1365,7 +1365,7 @@
    5.94  				Name="VCCLCompilerTool"
    5.95  				AdditionalOptions="/D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8 /D COMPILER_MSVC /D COMPILER_MSVC32"
    5.96  				Optimization="0"
    5.97 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDK-SWARM)\common&quot;;&quot;$(HL2SDK-SWARM)\public&quot;;&quot;$(HL2SDK-SWARM)\public\engine&quot;;&quot;$(HL2SDK-SWARM)\public\game\server&quot;;&quot;$(HL2SDK-SWARM)\public\mathlib&quot;;&quot;$(HL2SDK-SWARM)\public\tier0&quot;;&quot;$(HL2SDK-SWARM)\game\shared&quot;;&quot;$(HL2SDK-SWARM)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.98 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDK-SWARM)\common&quot;;&quot;$(HL2SDK-SWARM)\public&quot;;&quot;$(HL2SDK-SWARM)\public\engine&quot;;&quot;$(HL2SDK-SWARM)\public\game\server&quot;;&quot;$(HL2SDK-SWARM)\public\toolframework&quot;;&quot;$(HL2SDK-SWARM)\public\mathlib&quot;;&quot;$(HL2SDK-SWARM)\public\tier0&quot;;&quot;$(HL2SDK-SWARM)\game\shared&quot;;&quot;$(HL2SDK-SWARM)\public\tier1&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
    5.99  				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=8"
   5.100  				MinimalRebuild="true"
   5.101  				BasicRuntimeChecks="3"
   5.102 @@ -1449,7 +1449,7 @@
   5.103  				Name="VCCLCompilerTool"
   5.104  				AdditionalOptions="/MP /D SE_EPISODEONE=1 /D SE_DARKMESSIAH=2 /D SE_ORANGEBOX=3 /D SE_BLOODYGOODTIME=4 /D SE_ORANGEBOXVALVE=5 /D SE_LEFT4DEAD=6 /D SE_LEFT4DEAD2=7 /D SE_ALIENSWARM=8 /D COMPILER_MSVC /D COMPILER_MSVC32"
   5.105  				FavorSizeOrSpeed="1"
   5.106 -				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDK-SWARM)\common&quot;;&quot;$(HL2SDK-SWARM)\public&quot;;&quot;$(HL2SDK-SWARM)\public\engine&quot;;&quot;$(HL2SDK-SWARM)\public\game\server&quot;;&quot;$(HL2SDK-SWARM)\public\mathlib&quot;;&quot;$(HL2SDK-SWARM)\public\tier0&quot;;&quot;$(HL2SDK-SWARM)\public\tier1&quot;;&quot;$(HL2SDK-SWARM)\game\shared&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
   5.107 +				AdditionalIncludeDirectories="..;..\sdk;..\..\..\public;..\..\..\public\extensions;..\..\..\public\sourcepawn;&quot;$(HL2SDK-SWARM)\common&quot;;&quot;$(HL2SDK-SWARM)\public&quot;;&quot;$(HL2SDK-SWARM)\public\engine&quot;;&quot;$(HL2SDK-SWARM)\public\game\server&quot;;&quot;$(HL2SDK-SWARM)\public\toolframework&quot;;&quot;$(HL2SDK-SWARM)\public\mathlib&quot;;&quot;$(HL2SDK-SWARM)\public\tier0&quot;;&quot;$(HL2SDK-SWARM)\public\tier1&quot;;&quot;$(HL2SDK-SWARM)\game\shared&quot;;&quot;$(MMSOURCE18)\core&quot;;&quot;$(MMSOURCE18)\core\sourcehook&quot;"
   5.108  				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SDK_EXPORTS;_CRT_SECURE_NO_DEPRECATE;SOURCEMOD_BUILD;SOURCE_ENGINE=7"
   5.109  				RuntimeLibrary="0"
   5.110  				EnableEnhancedInstructionSet="0"
     6.1 --- a/extensions/sdktools/vnatives.cpp	Tue May 24 20:36:09 2011 -0400
     6.2 +++ b/extensions/sdktools/vnatives.cpp	Wed May 25 08:27:27 2011 -0400
     6.3 @@ -40,6 +40,7 @@
     6.4  #include <inetchannel.h>
     6.5  #include <iclient.h>
     6.6  #include "iserver.h"
     6.7 +#include <iserverentity.h>
     6.8  
     6.9  SourceHook::List<ValveCall *> g_RegCalls;
    6.10  SourceHook::List<ICallWrapper *> g_CallWraps;
    6.11 @@ -630,6 +631,66 @@
    6.12  	return got_angles ? 1 : 0;
    6.13  }
    6.14  
    6.15 +#if SOURCE_ENGINE >= SE_ORANGEBOX
    6.16 +static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *params)
    6.17 +{
    6.18 +	char *searchname;
    6.19 +	CBaseEntity *pEntity;
    6.20 +
    6.21 +	if (params[1] == -1)
    6.22 +	{
    6.23 +		pEntity = (CBaseEntity *)servertools->FirstEntity();
    6.24 +	}
    6.25 +	else
    6.26 +	{
    6.27 +		pEntity = gamehelpers->ReferenceToEntity(params[1]);
    6.28 +		if (!pEntity)
    6.29 +		{
    6.30 +			return pContext->ThrowNativeError("Entity %d (%d) is invalid",
    6.31 +				gamehelpers->ReferenceToIndex(params[1]),
    6.32 +				params[1]);
    6.33 +		}
    6.34 +	}
    6.35 +
    6.36 +	pContext->LocalToString(params[2], &searchname);
    6.37 +
    6.38 +	char buffer[128];
    6.39 +	const char *classname = buffer;
    6.40 +	int lastcharpos;
    6.41 +	bool ismatch = false;
    6.42 +
    6.43 +	while (pEntity)
    6.44 +	{
    6.45 +		if (!servertools->GetKeyValue(pEntity, "classname", buffer, sizeof(buffer)))
    6.46 +		{
    6.47 +			pEntity = (CBaseEntity *)servertools->NextEntity(pEntity);
    6.48 +			continue;
    6.49 +		}
    6.50 +
    6.51 +		lastcharpos = strlen(searchname);
    6.52 +		if (searchname[lastcharpos-1] == '*')
    6.53 +		{
    6.54 +			if (strncasecmp(searchname, classname, lastcharpos-1) == 0)
    6.55 +			{
    6.56 +				ismatch = true;
    6.57 +			}
    6.58 +		}
    6.59 +		else if (strcasecmp(searchname, classname) == 0)
    6.60 +		{
    6.61 +			ismatch = true;
    6.62 +		}
    6.63 +
    6.64 +		if (ismatch)
    6.65 +		{
    6.66 +			return gamehelpers->EntityToBCompatRef(pEntity);
    6.67 +		}
    6.68 +
    6.69 +		pEntity = (CBaseEntity *)servertools->NextEntity(pEntity);
    6.70 +	}
    6.71 +
    6.72 +	return -1;
    6.73 +}
    6.74 +#else
    6.75  static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *params)
    6.76  {
    6.77  	static ValveCall *pCall = NULL;
    6.78 @@ -656,33 +717,14 @@
    6.79  
    6.80  	return gamehelpers->EntityToBCompatRef(pEntity);
    6.81  }
    6.82 +#endif
    6.83  
    6.84 -#if SOURCE_ENGINE >= SE_LEFT4DEAD
    6.85 +#if SOURCE_ENGINE >= SE_ORANGEBOX
    6.86  static cell_t CreateEntityByName(IPluginContext *pContext, const cell_t *params)
    6.87  {
    6.88 -	static ValveCall *pCall = NULL;
    6.89 -	if (!pCall)
    6.90 -	{
    6.91 -		ValvePassInfo pass[4];
    6.92 -		InitPass(pass[0], Valve_String, PassType_Basic, PASSFLAG_BYVAL);
    6.93 -		InitPass(pass[1], Valve_POD, PassType_Basic, PASSFLAG_BYVAL);
    6.94 -		InitPass(pass[2], Valve_Bool, PassType_Basic, PASSFLAG_BYVAL);
    6.95 -		InitPass(pass[3], Valve_CBaseEntity, PassType_Basic, PASSFLAG_BYVAL);
    6.96 -		if (!CreateBaseCall("CreateEntityByName", ValveCall_Static, &pass[3], pass, 3, &pCall))
    6.97 -		{
    6.98 -			return pContext->ThrowNativeError("\"CreateEntityByName\" not supported by this mod");
    6.99 -		} else if (!pCall) {
   6.100 -			return pContext->ThrowNativeError("\"CreateEntityByName\" wrapper failed to initialize");
   6.101 -		}
   6.102 -	}
   6.103 -
   6.104 -	CBaseEntity *pEntity = NULL;
   6.105 -	START_CALL();
   6.106 -	DECODE_VALVE_PARAM(1, vparams, 0);
   6.107 -	DECODE_VALVE_PARAM(2, vparams, 1);
   6.108 -	*(bool *)(vptr + 8) = true;
   6.109 -	FINISH_CALL_SIMPLE(&pEntity);
   6.110 -
   6.111 +	char *classname;
   6.112 +	pContext->LocalToString(params[1], &classname);
   6.113 +	CBaseEntity *pEntity = (CBaseEntity *)servertools->CreateEntityByName(classname);
   6.114  	return gamehelpers->EntityToBCompatRef(pEntity);
   6.115  }
   6.116  #else
   6.117 @@ -713,32 +755,18 @@
   6.118  }
   6.119  #endif
   6.120  
   6.121 -#if SOURCE_ENGINE >= SE_LEFT4DEAD2
   6.122 +#if SOURCE_ENGINE >= SE_ORANGEBOX
   6.123  static cell_t DispatchSpawn(IPluginContext *pContext, const cell_t *params)
   6.124  {
   6.125 -	static ValveCall *pCall = NULL;
   6.126 -	if (!pCall)
   6.127 +	CBaseEntity *pEntity = gamehelpers->ReferenceToEntity(params[1]);
   6.128 +	if (!pEntity)
   6.129  	{
   6.130 -		ValvePassInfo pass[3];
   6.131 -		InitPass(pass[0], Valve_CBaseEntity, PassType_Basic, PASSFLAG_BYVAL);
   6.132 -		InitPass(pass[1], Valve_Bool, PassType_Basic, PASSFLAG_BYVAL);
   6.133 -		InitPass(pass[2], Valve_POD, PassType_Basic, PASSFLAG_BYVAL);
   6.134 -		if (!CreateBaseCall("DispatchSpawn", ValveCall_Static, &pass[2], pass, 2, &pCall))
   6.135 -		{
   6.136 -			return pContext->ThrowNativeError("\"DispatchSpawn\" not supported by this mod");
   6.137 -		} else if (!pCall) {
   6.138 -			return pContext->ThrowNativeError("\"DispatchSpawn\" wrapper failed to initialize");
   6.139 -		}
   6.140 +		return pContext->ThrowNativeError("Entity %d (%d) is invalid", gamehelpers->ReferenceToIndex(params[1]), params[1]);
   6.141  	}
   6.142  
   6.143 -	int ret;
   6.144 -	START_CALL();
   6.145 -	DECODE_VALVE_PARAM(1, vparams, 0);
   6.146 -	/* All X-refs to DispatchSpawn I checked use true - Unsure of what it does */
   6.147 -	*(bool *)(vptr + 4) = true;
   6.148 -	FINISH_CALL_SIMPLE(&ret);
   6.149 +	servertools->DispatchSpawn(pEntity);
   6.150  
   6.151 -	return (ret == -1) ? 0 : 1;
   6.152 +	return 1;
   6.153  }
   6.154  #else
   6.155  static cell_t DispatchSpawn(IPluginContext *pContext, const cell_t *params)
   6.156 @@ -766,6 +794,23 @@
   6.157  }
   6.158  #endif
   6.159  
   6.160 +#if SOURCE_ENGINE >= SE_ORANGEBOX
   6.161 +static cell_t DispatchKeyValue(IPluginContext *pContext, const cell_t *params)
   6.162 +{
   6.163 +	CBaseEntity *pEntity = gamehelpers->ReferenceToEntity(params[1]);
   6.164 +	if (!pEntity)
   6.165 +	{
   6.166 +		return pContext->ThrowNativeError("Entity %d (%d) is invalid", gamehelpers->ReferenceToIndex(params[1]), params[1]);
   6.167 +	}
   6.168 +
   6.169 +	char *key;
   6.170 +	char *value;
   6.171 +	pContext->LocalToString(params[2], &key);
   6.172 +	pContext->LocalToString(params[3], &value);
   6.173 +
   6.174 +	return (servertools->SetKeyValue(pEntity, key, value) ? 1 : 0);
   6.175 +}
   6.176 +#else
   6.177  static cell_t DispatchKeyValue(IPluginContext *pContext, const cell_t *params)
   6.178  {
   6.179  	static ValveCall *pCall = NULL;
   6.180 @@ -792,7 +837,25 @@
   6.181  
   6.182  	return ret ? 1 : 0;
   6.183  }
   6.184 +#endif
   6.185  
   6.186 +#if SOURCE_ENGINE >= SE_ORANGEBOX
   6.187 +static cell_t DispatchKeyValueFloat(IPluginContext *pContext, const cell_t *params)
   6.188 +{
   6.189 +	CBaseEntity *pEntity = gamehelpers->ReferenceToEntity(params[1]);
   6.190 +	if (!pEntity)
   6.191 +	{
   6.192 +		return pContext->ThrowNativeError("Entity %d (%d) is invalid", gamehelpers->ReferenceToIndex(params[1]), params[1]);
   6.193 +	}
   6.194 +
   6.195 +	char *key;
   6.196 +	pContext->LocalToString(params[2], &key);
   6.197 +	
   6.198 +	float value = sp_ctof(params[3]);
   6.199 +
   6.200 +	return (servertools->SetKeyValue(pEntity, key, value) ? 1 : 0);
   6.201 +}
   6.202 +#else
   6.203  static cell_t DispatchKeyValueFloat(IPluginContext *pContext, const cell_t *params)
   6.204  {
   6.205  	static ValveCall *pCall = NULL;
   6.206 @@ -819,7 +882,31 @@
   6.207  
   6.208  	return ret ? 1 : 0;
   6.209  }
   6.210 +#endif
   6.211  
   6.212 +#if SOURCE_ENGINE >= SE_ORANGEBOX
   6.213 +static cell_t DispatchKeyValueVector(IPluginContext *pContext, const cell_t *params)
   6.214 +{
   6.215 +	CBaseEntity *pEntity = gamehelpers->ReferenceToEntity(params[1]);
   6.216 +	if (!pEntity)
   6.217 +	{
   6.218 +		return pContext->ThrowNativeError("Entity %d (%d) is invalid", gamehelpers->ReferenceToIndex(params[1]), params[1]);
   6.219 +	}
   6.220 +
   6.221 +	char *key;
   6.222 +	pContext->LocalToString(params[2], &key);
   6.223 +	
   6.224 +	cell_t *vec;
   6.225 +	pContext->LocalToPhysAddr(params[3], &vec);
   6.226 +
   6.227 +	const Vector *v = new Vector(
   6.228 +		sp_ctof(vec[0]),
   6.229 +		sp_ctof(vec[1]),
   6.230 +		sp_ctof(vec[2]));
   6.231 +
   6.232 +	return (servertools->SetKeyValue(pEntity, key, *v) ? 1 : 0);
   6.233 +}
   6.234 +#else
   6.235  static cell_t DispatchKeyValueVector(IPluginContext *pContext, const cell_t *params)
   6.236  {
   6.237  	static ValveCall *pCall = NULL;
   6.238 @@ -850,6 +937,7 @@
   6.239  
   6.240  	return ret ? 1 : 0;
   6.241  }
   6.242 +#endif
   6.243  
   6.244  static cell_t sm_GetClientAimTarget(IPluginContext *pContext, const cell_t *params)
   6.245  {
     7.1 --- a/gamedata/sdktools.games/engine.bgt.txt	Tue May 24 20:36:09 2011 -0400
     7.2 +++ b/gamedata/sdktools.games/engine.bgt.txt	Wed May 25 08:27:27 2011 -0400
     7.3 @@ -45,38 +45,6 @@
     7.4  		}
     7.5  	}
     7.6  	
     7.7 -	/* Create Entity Signatures */
     7.8 -	"#default"
     7.9 -	{
    7.10 -		"Signatures"
    7.11 -		{
    7.12 -			"DispatchSpawn"
    7.13 -			{
    7.14 -				"library"	"server"
    7.15 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB"
    7.16 -			}
    7.17 -			"CreateEntityByName"
    7.18 -			{
    7.19 -				"library"	"server"
    7.20 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2"
    7.21 -			}
    7.22 -		}
    7.23 -	}
    7.24 -
    7.25 -	/* CGlobalEntityList */
    7.26 -	"#default"
    7.27 -	{
    7.28 -		"Signatures"
    7.29 -		{
    7.30 -			/* Functions in CGlobalEntityList */
    7.31 -			"FindEntityByClassname"
    7.32 -			{
    7.33 -				"library"	"server"
    7.34 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x2A\x2A\x2A\x85\xC9\x57\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x2A\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\xEB\x2A\x8D\x2A\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x2A\xEB\x2A\x39"
    7.35 -			}
    7.36 -		}
    7.37 -	}
    7.38 -
    7.39  	/* General GameRules */
    7.40  	"#default"
    7.41  	{
    7.42 @@ -231,18 +199,6 @@
    7.43  			{
    7.44  				"windows"	"42"
    7.45  			}
    7.46 -			"DispatchKeyValue"
    7.47 -			{
    7.48 -				"windows"	"37"
    7.49 -			}
    7.50 -			"DispatchKeyValueFloat"
    7.51 -			{
    7.52 -				"windows"	"36"
    7.53 -			}
    7.54 -			"DispatchKeyValueVector"
    7.55 -			{
    7.56 -				"windows"	"35"
    7.57 -			}
    7.58  			"SetEntityModel"
    7.59  			{
    7.60  				"windows"	"31"
     8.1 --- a/gamedata/sdktools.games/engine.ep2.txt	Tue May 24 20:36:09 2011 -0400
     8.2 +++ b/gamedata/sdktools.games/engine.ep2.txt	Wed May 25 08:27:27 2011 -0400
     8.3 @@ -66,57 +66,6 @@
     8.4  			}
     8.5  		}
     8.6  	}
     8.7 -	
     8.8 -	/* Create Entity Signatures */
     8.9 -	"#default"
    8.10 -	{
    8.11 -		"#supported"
    8.12 -		{
    8.13 -			"game"		"ageofchivalry"
    8.14 -			"game"		"pvkii"
    8.15 -			"game"		"fistful_of_frags"
    8.16 -			"game"		"cspromod"
    8.17 -		}
    8.18 -
    8.19 -		"Signatures"
    8.20 -		{
    8.21 -			"DispatchSpawn"
    8.22 -			{
    8.23 -				"library"	"server"
    8.24 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
    8.25 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB"
    8.26 -			}
    8.27 -			"CreateEntityByName"
    8.28 -			{
    8.29 -				"library"	"server"
    8.30 -				"linux"		"@_Z18CreateEntityByNamePKci"
    8.31 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2"
    8.32 -			}
    8.33 -		}
    8.34 -	}
    8.35 -
    8.36 -	/* CGlobalEntityList */
    8.37 -	"#default"
    8.38 -	{
    8.39 -		"#supported"
    8.40 -		{
    8.41 -			"game"		"ageofchivalry"
    8.42 -			"game"		"pvkii"
    8.43 -			"game"		"fistful_of_frags"
    8.44 -			"game"		"cspromod"
    8.45 -		}
    8.46 -		
    8.47 -		"Signatures"
    8.48 -		{
    8.49 -			/* Functions in CGlobalEntityList */
    8.50 -			"FindEntityByClassname"
    8.51 -			{
    8.52 -				"library"	"server"
    8.53 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03"
    8.54 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
    8.55 -			}
    8.56 -		}
    8.57 -	}
    8.58  
    8.59  	/* General GameRules */
    8.60  	"#default"
     9.1 --- a/gamedata/sdktools.games/engine.ep2valve.txt	Tue May 24 20:36:09 2011 -0400
     9.2 +++ b/gamedata/sdktools.games/engine.ep2valve.txt	Wed May 25 08:27:27 2011 -0400
     9.3 @@ -65,60 +65,6 @@
     9.4  			}
     9.5  		}
     9.6  	}
     9.7 -	
     9.8 -	/* Create Entity Signatures */
     9.9 -	"#default"
    9.10 -	{
    9.11 -		"#supported"
    9.12 -		{
    9.13 -			"game"		"dod"
    9.14 -			"game"		"tf"
    9.15 -			"game"		"cstrike"
    9.16 -			"game"		"hl2mp"
    9.17 -		}
    9.18 -
    9.19 -		"Signatures"
    9.20 -		{
    9.21 -			"DispatchSpawn"
    9.22 -			{
    9.23 -				"library"	"server"
    9.24 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
    9.25 -				"mac"		"@_Z13DispatchSpawnP11CBaseEntity"
    9.26 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB"
    9.27 -			}
    9.28 -			"CreateEntityByName"
    9.29 -			{
    9.30 -				"library"	"server"
    9.31 -				"linux"		"@_Z18CreateEntityByNamePKci"
    9.32 -				"mac"		"@_Z18CreateEntityByNamePKci"
    9.33 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2"
    9.34 -			}
    9.35 -		}
    9.36 -	}
    9.37 -
    9.38 -	/* CGlobalEntityList */
    9.39 -	"#default"
    9.40 -	{
    9.41 -		"#supported"
    9.42 -		{
    9.43 -			"game"		"dod"
    9.44 -			"game"		"tf"
    9.45 -			"game"		"cstrike"
    9.46 -			"game"		"hl2mp"
    9.47 -		}
    9.48 -		
    9.49 -		"Signatures"
    9.50 -		{
    9.51 -			/* Functions in CGlobalEntityList */
    9.52 -			"FindEntityByClassname"
    9.53 -			{
    9.54 -				"library"	"server"
    9.55 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03"
    9.56 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
    9.57 -				"mac"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
    9.58 -			}
    9.59 -		}
    9.60 -	}
    9.61  
    9.62  	/* General GameRules */
    9.63  	"#default"
    10.1 --- a/gamedata/sdktools.games/engine.l4d.txt	Tue May 24 20:36:09 2011 -0400
    10.2 +++ b/gamedata/sdktools.games/engine.l4d.txt	Wed May 25 08:27:27 2011 -0400
    10.3 @@ -72,54 +72,6 @@
    10.4  			}
    10.5  		}
    10.6  	}
    10.7 -	
    10.8 -	/* Create Entity Signatures */
    10.9 -	"#default"
   10.10 -	{
   10.11 -		"#supported"
   10.12 -		{
   10.13 -			"game"		"left4dead"
   10.14 -		}
   10.15 -
   10.16 -		"Signatures"
   10.17 -		{
   10.18 -			"DispatchSpawn"
   10.19 -			{
   10.20 -				"library"	"server"
   10.21 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   10.22 -				"mac"		"@_Z13DispatchSpawnP11CBaseEntity"
   10.23 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB"
   10.24 -			}
   10.25 -			"CreateEntityByName"
   10.26 -			{
   10.27 -				"library"	"server"
   10.28 -				"linux"		"@_Z18CreateEntityByNamePKcib"
   10.29 -				"mac"		"@_Z18CreateEntityByNamePKcib"
   10.30 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2"
   10.31 -			}
   10.32 -		}
   10.33 -	}
   10.34 -
   10.35 -	/* CGlobalEntityList */
   10.36 -	"#default"
   10.37 -	{
   10.38 -		"#supported"
   10.39 -		{
   10.40 -			"game"		"left4dead"
   10.41 -		}
   10.42 -			
   10.43 -		"Signatures"
   10.44 -		{
   10.45 -			/* Functions in CGlobalEntityList */
   10.46 -			"FindEntityByClassname"
   10.47 -			{
   10.48 -				"library"	"server"
   10.49 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03"
   10.50 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   10.51 -				"mac"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   10.52 -			}
   10.53 -		}
   10.54 -	}
   10.55  
   10.56  	/* General GameRules */
   10.57  	"#default"
   10.58 @@ -330,24 +282,6 @@
   10.59  				"linux"		"38"
   10.60  				"mac"           "38"
   10.61  			}
   10.62 -			"DispatchKeyValue"
   10.63 -			{
   10.64 -				"windows"	"29"
   10.65 -				"linux"		"28"
   10.66 -				"mac"           "28"
   10.67 -			}
   10.68 -			"DispatchKeyValueFloat"
   10.69 -			{
   10.70 -				"windows"	"28"
   10.71 -				"linux"		"29"
   10.72 -				"mac"           "29"
   10.73 -			}
   10.74 -			"DispatchKeyValueVector"
   10.75 -			{
   10.76 -				"windows"	"27"
   10.77 -				"linux"		"30"
   10.78 -				"mac"           "30"
   10.79 -			}
   10.80  			"SetEntityModel"
   10.81  			{
   10.82  				"windows"	"23"
    11.1 --- a/gamedata/sdktools.games/engine.l4d2.txt	Tue May 24 20:36:09 2011 -0400
    11.2 +++ b/gamedata/sdktools.games/engine.l4d2.txt	Wed May 25 08:27:27 2011 -0400
    11.3 @@ -72,54 +72,6 @@
    11.4  			}
    11.5  		}
    11.6  	}
    11.7 -	
    11.8 -	/* Create Entity Signatures */
    11.9 -	"#default"
   11.10 -	{
   11.11 -		"#supported"
   11.12 -		{
   11.13 -			"game"		"left4dead2"
   11.14 -		}
   11.15 -
   11.16 -		"Signatures"
   11.17 -		{
   11.18 -			"DispatchSpawn"
   11.19 -			{
   11.20 -				"library"	"server"
   11.21 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntityb"
   11.22 -				"mac"		"@_Z13DispatchSpawnP11CBaseEntityb"
   11.23 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x2A\x8B\xCB"
   11.24 -			}
   11.25 -			"CreateEntityByName"
   11.26 -			{
   11.27 -				"library"	"server"
   11.28 -				"linux"		"@_Z18CreateEntityByNamePKcib"
   11.29 -				"mac"		"@_Z18CreateEntityByNamePKcib"
   11.30 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
   11.31 -			}
   11.32 -		}
   11.33 -	}
   11.34 -
   11.35 -	/* CGlobalEntityList */
   11.36 -	"#default"
   11.37 -	{
   11.38 -		"#supported"
   11.39 -		{
   11.40 -			"game"		"left4dead2"
   11.41 -		}
   11.42 -			
   11.43 -		"Signatures"
   11.44 -		{
   11.45 -			/* Functions in CGlobalEntityList */
   11.46 -			"FindEntityByClassname"
   11.47 -			{
   11.48 -				"library"	"server"
   11.49 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03"
   11.50 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   11.51 -				"mac"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   11.52 -			}
   11.53 -		}
   11.54 -	}
   11.55  
   11.56  	/* General GameRules */
   11.57  	"#default"
   11.58 @@ -333,24 +285,6 @@
   11.59  				"linux"		"44"
   11.60  				"mac"		"44"
   11.61  			}
   11.62 -			"DispatchKeyValue"
   11.63 -			{
   11.64 -				"windows"	"33"
   11.65 -				"linux"		"32"
   11.66 -				"mac"		"32"
   11.67 -			}
   11.68 -			"DispatchKeyValueFloat"
   11.69 -			{
   11.70 -				"windows"	"32"
   11.71 -				"linux"		"33"
   11.72 -				"mac"		"33"
   11.73 -			}
   11.74 -			"DispatchKeyValueVector"
   11.75 -			{
   11.76 -				"windows"	"31"
   11.77 -				"linux"		"34"
   11.78 -				"mac"		"34"
   11.79 -			}
   11.80  			"SetEntityModel"
   11.81  			{
   11.82  				"windows"	"26"
    12.1 --- a/gamedata/sdktools.games/engine.swarm.txt	Tue May 24 20:36:09 2011 -0400
    12.2 +++ b/gamedata/sdktools.games/engine.swarm.txt	Wed May 25 08:27:27 2011 -0400
    12.3 @@ -50,50 +50,6 @@
    12.4  			}
    12.5  		}
    12.6  	}
    12.7 -	
    12.8 -	/* Create Entity Signatures */
    12.9 -	"#default"
   12.10 -	{
   12.11 -		"#supported"
   12.12 -		{
   12.13 -			"game"		"swarm"
   12.14 -			"game"		"dinodday"
   12.15 -		}
   12.16 -
   12.17 -		"Signatures"
   12.18 -		{
   12.19 -			"DispatchSpawn"
   12.20 -			{
   12.21 -				"library"	"server"
   12.22 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x2A\x8B\xCB"
   12.23 -			}
   12.24 -			"CreateEntityByName"
   12.25 -			{
   12.26 -				"library"	"server"
   12.27 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
   12.28 -			}
   12.29 -		}
   12.30 -	}
   12.31 -
   12.32 -	/* CGlobalEntityList */
   12.33 -	"#default"
   12.34 -	{
   12.35 -		"#supported"
   12.36 -		{
   12.37 -			"game"		"swarm"
   12.38 -			"game"		"dinodday"
   12.39 -		}
   12.40 -			
   12.41 -		"Signatures"
   12.42 -		{
   12.43 -			/* Functions in CGlobalEntityList */
   12.44 -			"FindEntityByClassname"
   12.45 -			{
   12.46 -				"library"	"server"
   12.47 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x2E\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x83\xF8\xFF\x75\x10\xB8\xFF\x1F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x16\x25\xFF\xFF\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x34\x8B"
   12.48 -			}
   12.49 -		}
   12.50 -	}
   12.51  
   12.52  	/* General GameRules */
   12.53  	"#default"
    13.1 --- a/gamedata/sdktools.games/game.alienswarm.txt	Tue May 24 20:36:09 2011 -0400
    13.2 +++ b/gamedata/sdktools.games/game.alienswarm.txt	Wed May 25 08:27:27 2011 -0400
    13.3 @@ -29,18 +29,6 @@
    13.4  			{
    13.5  				"windows"	"39"
    13.6  			}
    13.7 -			"DispatchKeyValue"
    13.8 -			{
    13.9 -				"windows"	"34"
   13.10 -			}
   13.11 -			"DispatchKeyValueFloat"
   13.12 -			{
   13.13 -				"windows"	"33"
   13.14 -			}
   13.15 -			"DispatchKeyValueVector"
   13.16 -			{
   13.17 -				"windows"	"31"
   13.18 -			}
   13.19  			"SetEntityModel"
   13.20  			{
   13.21  				"windows"	"26"
    14.1 --- a/gamedata/sdktools.games/game.aoc.txt	Tue May 24 20:36:09 2011 -0400
    14.2 +++ b/gamedata/sdktools.games/game.aoc.txt	Wed May 25 08:27:27 2011 -0400
    14.3 @@ -66,21 +66,6 @@
    14.4  				"windows"	"34"
    14.5  				"linux"		"35"
    14.6  			}
    14.7 -			"DispatchKeyValue"
    14.8 -			{
    14.9 -				"windows"	"29"
   14.10 -				"linux"		"28"
   14.11 -			}
   14.12 -			"DispatchKeyValueFloat"
   14.13 -			{
   14.14 -				"windows"	"28"
   14.15 -				"linux"		"29"
   14.16 -			}
   14.17 -			"DispatchKeyValueVector"
   14.18 -			{
   14.19 -				"windows"	"27"
   14.20 -				"linux"		"30"
   14.21 -			}
   14.22  			"SetEntityModel"
   14.23  			{
   14.24  				"windows"	"23"
    15.1 --- a/gamedata/sdktools.games/game.bg2.txt	Tue May 24 20:36:09 2011 -0400
    15.2 +++ b/gamedata/sdktools.games/game.bg2.txt	Wed May 25 08:27:27 2011 -0400
    15.3 @@ -66,21 +66,6 @@
    15.4  				"windows"	"34"
    15.5  				"linux"		"35"
    15.6  			}
    15.7 -			"DispatchKeyValue"
    15.8 -			{
    15.9 -				"windows"	"29"
   15.10 -				"linux"		"28"
   15.11 -			}
   15.12 -			"DispatchKeyValueFloat"
   15.13 -			{
   15.14 -				"windows"	"28"
   15.15 -				"linux"		"29"
   15.16 -			}
   15.17 -			"DispatchKeyValueVector"
   15.18 -			{
   15.19 -				"windows"	"27"
   15.20 -				"linux"		"30"
   15.21 -			}
   15.22  			"SetEntityModel"
   15.23  			{
   15.24  				"windows"	"23"
    16.1 --- a/gamedata/sdktools.games/game.cspromod.txt	Tue May 24 20:36:09 2011 -0400
    16.2 +++ b/gamedata/sdktools.games/game.cspromod.txt	Wed May 25 08:27:27 2011 -0400
    16.3 @@ -55,31 +55,16 @@
    16.4  				"windows"	"34"
    16.5  				"linux"		"35"
    16.6  			}
    16.7 -			"DispatchKeyValue"
    16.8 -			{
    16.9 -				"windows"	"29"
   16.10 -				"linux"		"28"
   16.11 -			}
   16.12 -			"DispatchKeyValueFloat"
   16.13 +			"WeaponEquip"
   16.14  			{
   16.15 -				"windows"	"28"
   16.16 -				"linux"		"29"
   16.17 -			}
   16.18 -			"DispatchKeyValueVector"
   16.19 -			{
   16.20 -				"windows"	"27"
   16.21 -				"linux"		"30"
   16.22 +				"windows"	"230"
   16.23 +				"linux"		"231"
   16.24  			}
   16.25  			"SetEntityModel"
   16.26  			{
   16.27  				"windows"	"23"
   16.28  				"linux"		"24"
   16.29  			}
   16.30 -			"WeaponEquip"
   16.31 -			{
   16.32 -				"windows"	"230"
   16.33 -				"linux"		"231"
   16.34 -			}
   16.35  			"Activate"
   16.36  			{
   16.37  				"windows"	"31"
    17.1 --- a/gamedata/sdktools.games/game.cstrike.txt	Tue May 24 20:36:09 2011 -0400
    17.2 +++ b/gamedata/sdktools.games/game.cstrike.txt	Wed May 25 08:27:27 2011 -0400
    17.3 @@ -84,24 +84,6 @@
    17.4  				"linux"		"36"
    17.5  				"mac"		"36"
    17.6  			}
    17.7 -			"DispatchKeyValue"
    17.8 -			{
    17.9 -				"windows"	"30"
   17.10 -				"linux"		"29"
   17.11 -				"mac"		"29"
   17.12 -			}
   17.13 -			"DispatchKeyValueFloat"
   17.14 -			{
   17.15 -				"windows"	"29"
   17.16 -				"linux"		"30"
   17.17 -				"mac"		"30"
   17.18 -			}
   17.19 -			"DispatchKeyValueVector"
   17.20 -			{
   17.21 -				"windows"	"28"
   17.22 -				"linux"		"31"
   17.23 -				"mac"		"31"
   17.24 -			}
   17.25  			"SetEntityModel"
   17.26  			{
   17.27  				"windows"	"23"
    18.1 --- a/gamedata/sdktools.games/game.dinodday.txt	Tue May 24 20:36:09 2011 -0400
    18.2 +++ b/gamedata/sdktools.games/game.dinodday.txt	Wed May 25 08:27:27 2011 -0400
    18.3 @@ -45,18 +45,6 @@
    18.4  			{
    18.5  				"windows"	"39"
    18.6  			}
    18.7 -			"DispatchKeyValue"
    18.8 -			{
    18.9 -				"windows"	"34"
   18.10 -			}
   18.11 -			"DispatchKeyValueFloat"
   18.12 -			{
   18.13 -				"windows"	"33"
   18.14 -			}
   18.15 -			"DispatchKeyValueVector"
   18.16 -			{
   18.17 -				"windows"	"31"
   18.18 -			}
   18.19  			"SetEntityModel"
   18.20  			{
   18.21  				"windows"	"26"
    19.1 --- a/gamedata/sdktools.games/game.dod.txt	Tue May 24 20:36:09 2011 -0400
    19.2 +++ b/gamedata/sdktools.games/game.dod.txt	Wed May 25 08:27:27 2011 -0400
    19.3 @@ -76,24 +76,6 @@
    19.4  				"linux"		"36"
    19.5  				"mac"		"36"
    19.6  			}
    19.7 -			"DispatchKeyValue"
    19.8 -			{
    19.9 -				"windows"	"30"
   19.10 -				"linux"		"29"
   19.11 -				"mac"		"29"
   19.12 -			}
   19.13 -			"DispatchKeyValueFloat"
   19.14 -			{
   19.15 -				"windows"	"29"
   19.16 -				"linux"		"30"
   19.17 -				"mac"		"30"
   19.18 -			}
   19.19 -			"DispatchKeyValueVector"
   19.20 -			{
   19.21 -				"windows"	"28"
   19.22 -				"linux"		"31"
   19.23 -				"mac"		"31"
   19.24 -			}
   19.25  			"SetEntityModel"
   19.26  			{
   19.27  				"windows"	"23"
    20.1 --- a/gamedata/sdktools.games/game.dystopia.txt	Tue May 24 20:36:09 2011 -0400
    20.2 +++ b/gamedata/sdktools.games/game.dystopia.txt	Wed May 25 08:27:27 2011 -0400
    20.3 @@ -68,21 +68,6 @@
    20.4  				"windows"	"35"
    20.5  				"linux"		"36"
    20.6  			}
    20.7 -			"DispatchKeyValue"
    20.8 -			{
    20.9 -				"windows"	"31"
   20.10 -				"linux"		"30"
   20.11 -			}
   20.12 -			"DispatchKeyValueFloat"
   20.13 -			{
   20.14 -				"windows"	"30"
   20.15 -				"linux"		"31"
   20.16 -			}
   20.17 -			"DispatchKeyValueVector"
   20.18 -			{
   20.19 -				"windows"	"29"
   20.20 -				"linux"		"32"
   20.21 -			}
   20.22  			"SetEntityModel"
   20.23  			{
   20.24  				"windows"	"25"
    21.1 --- a/gamedata/sdktools.games/game.empires.txt	Tue May 24 20:36:09 2011 -0400
    21.2 +++ b/gamedata/sdktools.games/game.empires.txt	Wed May 25 08:27:27 2011 -0400
    21.3 @@ -62,21 +62,6 @@
    21.4  				"windows"	"128"
    21.5  				"linux"		"129"
    21.6  			}
    21.7 -			"DispatchKeyValue"
    21.8 -			{
    21.9 -				"windows"	"29"
   21.10 -				"linux"		"28"
   21.11 -			}
   21.12 -			"DispatchKeyValueFloat"
   21.13 -			{
   21.14 -				"windows"	"28"
   21.15 -				"linux"		"29"
   21.16 -			}
   21.17 -			"DispatchKeyValueVector"
   21.18 -			{
   21.19 -				"windows"	"27"
   21.20 -				"linux"		"30"
   21.21 -			}
   21.22  			"AcceptInput"
   21.23  			{
   21.24  				"windows"	"34"
   21.25 @@ -116,24 +101,6 @@
   21.26  				"library"	"server"
   21.27  				"windows"	"\x55\x8B\xEC\x8B\xC1\x8B\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x8B\x15\x2A\x2A\x2A\x2A\x89"
   21.28  			}
   21.29 -			"DispatchSpawn"
   21.30 -			{
   21.31 -				"library"	"server"
   21.32 -				"windows"	"\x55\x8B\xEC\x51\x53\x56\x8B\x75\x2A\x57\x85\xF6\x0F\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B"
   21.33 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   21.34 -			}
   21.35 -			"CreateEntityByName"
   21.36 -			{
   21.37 -				"library"	"server"
   21.38 -				"windows"	"\x55\x8B\xEC\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x83\x2A\x2A\x74\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
   21.39 -				"linux"		"@_Z18CreateEntityByNamePKci"
   21.40 -			}
   21.41 -			"FindEntityByClassname"
   21.42 -			{
   21.43 -				"library"	"server"
   21.44 -				"windows"	"\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x2A\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\x2A\x2A\x2A\x2A\x40\x03\xC0\x8B\x3C\xC6\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5D\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x2A\x2A\x2A\x2A\x83\xC4\x2A\xEB\x11\x39"
   21.45 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   21.46 -			}
   21.47  			"FireOutput"
   21.48  			{
   21.49  				"library"	"server"
    22.1 --- a/gamedata/sdktools.games/game.fas.txt	Tue May 24 20:36:09 2011 -0400
    22.2 +++ b/gamedata/sdktools.games/game.fas.txt	Wed May 25 08:27:27 2011 -0400
    22.3 @@ -62,21 +62,6 @@
    22.4  				"windows"	"122"
    22.5  				"linux"		"123"
    22.6  			}
    22.7 -			"DispatchKeyValue"
    22.8 -			{
    22.9 -				"windows"	"29"
   22.10 -				"linux"		"28"
   22.11 -			}
   22.12 -			"DispatchKeyValueFloat"
   22.13 -			{
   22.14 -				"windows"	"28"
   22.15 -				"linux"		"29"
   22.16 -			}
   22.17 -			"DispatchKeyValueVector"
   22.18 -			{
   22.19 -				"windows"	"27"
   22.20 -				"linux"		"30"
   22.21 -			}
   22.22  			"AcceptInput"
   22.23  			{
   22.24  				"windows"	"34"
   22.25 @@ -105,24 +90,6 @@
   22.26  		}
   22.27  		"Signatures"
   22.28  		{
   22.29 -			"DispatchSpawn"
   22.30 -			{
   22.31 -				"library"	"server"
   22.32 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x57\x85\xF6\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB"
   22.33 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   22.34 -			}
   22.35 -			"CreateEntityByName"
   22.36 -			{
   22.37 -				"library"	"server"
   22.38 -				"windows"	"\x56\x8B\x74\x24\x0C\x57\x8B\x7C\x24\x0C\x83\xFE\xFF\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2"
   22.39 -				"linux"		"@_Z18CreateEntityByNamePKci"
   22.40 -			}
   22.41 -			"FindEntityByClassname"
   22.42 -			{
   22.43 -				"library"	"server"
   22.44 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\x8D\xA4\x24\x00\x00\x00\x00\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x04\xEB\x2A\x39\x2A\x2A\x74\x2A\x53"
   22.45 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   22.46 -			}
   22.47  			"FireOutput"
   22.48  			{
   22.49  				"library"	"server"
    23.1 --- a/gamedata/sdktools.games/game.fof.txt	Tue May 24 20:36:09 2011 -0400
    23.2 +++ b/gamedata/sdktools.games/game.fof.txt	Wed May 25 08:27:27 2011 -0400
    23.3 @@ -61,21 +61,6 @@
    23.4  				"windows"	"34"
    23.5  				"linux"		"35"
    23.6  			}
    23.7 -			"DispatchKeyValue"
    23.8 -			{
    23.9 -				"windows"	"29"
   23.10 -				"linux"		"28"
   23.11 -			}
   23.12 -			"DispatchKeyValueFloat"
   23.13 -			{
   23.14 -				"windows"	"28"
   23.15 -				"linux"		"29"
   23.16 -			}
   23.17 -			"DispatchKeyValueVector"
   23.18 -			{
   23.19 -				"windows"	"27"
   23.20 -				"linux"		"30"
   23.21 -			}
   23.22  			"SetEntityModel"
   23.23  			{
   23.24  				"windows"	"23"
    24.1 --- a/gamedata/sdktools.games/game.garrysmod.txt	Tue May 24 20:36:09 2011 -0400
    24.2 +++ b/gamedata/sdktools.games/game.garrysmod.txt	Wed May 25 08:27:27 2011 -0400
    24.3 @@ -76,24 +76,6 @@
    24.4  				"linux"		"36"
    24.5  				"mac"		"36"
    24.6  			}
    24.7 -			"DispatchKeyValue"
    24.8 -			{
    24.9 -				"windows"	"30"
   24.10 -				"linux"		"29"
   24.11 -				"mac"		"29"
   24.12 -			}
   24.13 -			"DispatchKeyValueFloat"
   24.14 -			{
   24.15 -				"windows"	"29"
   24.16 -				"linux"		"30"
   24.17 -				"mac"		"30"
   24.18 -			}
   24.19 -			"DispatchKeyValueVector"
   24.20 -			{
   24.21 -				"windows"	"28"
   24.22 -				"linux"		"31"
   24.23 -				"mac"		"31"
   24.24 -			}
   24.25  			"SetEntityModel"
   24.26  			{
   24.27  				"windows"	"23"
   24.28 @@ -121,27 +103,6 @@
   24.29  		}
   24.30  		"Signatures"
   24.31  		{
   24.32 -			"DispatchSpawn"
   24.33 -			{
   24.34 -				"library"	"server"
   24.35 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x57\x85\xF6\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB"
   24.36 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   24.37 -				"mac"		"@_Z13DispatchSpawnP11CBaseEntity"
   24.38 -			}
   24.39 -			"CreateEntityByName"
   24.40 -			{
   24.41 -				"library"	"server"
   24.42 -				"windows"	"\x53\x8B\x2A\x2A\x2A\x56\x8B\x2A\x2A\x2A\x57\x83\xFE\xFF\x74\x2A\x8B\x0D\x2A\x2A\x2A\x2A\x8B"
   24.43 -				"linux"		"@_Z18CreateEntityByNamePKci"
   24.44 -				"mac"		"@_Z18CreateEntityByNamePKci"
   24.45 -			}
   24.46 -			"FindEntityByClassname"
   24.47 -			{
   24.48 -				"library"	"server"
   24.49 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\x8D\xA4\x24\x00\x00\x00\x00\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x04\xEB\x2A\x39\x2A\x2A\x74\x2A\x53"
   24.50 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   24.51 -				"mac"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   24.52 -			}
   24.53  			"FireOutput"
   24.54  			{
   24.55  				"library"	"server"
    25.1 --- a/gamedata/sdktools.games/game.gesource.txt	Tue May 24 20:36:09 2011 -0400
    25.2 +++ b/gamedata/sdktools.games/game.gesource.txt	Wed May 25 08:27:27 2011 -0400
    25.3 @@ -54,21 +54,6 @@
    25.4  				"windows"	"34"
    25.5  				"linux"		"35"
    25.6  			}
    25.7 -			"DispatchKeyValue"
    25.8 -			{
    25.9 -				"windows"	"29"
   25.10 -				"linux"		"28"
   25.11 -			}
   25.12 -			"DispatchKeyValueFloat"
   25.13 -			{
   25.14 -				"windows"	"28"
   25.15 -				"linux"		"29"
   25.16 -			}
   25.17 -			"DispatchKeyValueVector"
   25.18 -			{
   25.19 -				"windows"	"27"
   25.20 -				"linux"		"30"
   25.21 -			}
   25.22  			"SetEntityModel"
   25.23  			{
   25.24  				"windows"	"23"
   25.25 @@ -101,24 +86,6 @@
   25.26  				"library"	"server"
   25.27  				"windows"	"\x55\x8B\xEC\x8B\xC1\x8B\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x8B\x15\x2A\x2A\x2A\x2A\x89"
   25.28  			}
   25.29 -			"FindEntityByClassname"
   25.30 -			{
   25.31 -				"library"	"server"
   25.32 -				"windows"	"\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x2A\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5D\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x2A\x2A\x2A\x2A\x83\xC4\x2A\xEB\x2A\x39"
   25.33 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   25.34 -			}
   25.35 -			"CreateEntityByName"
   25.36 -			{
   25.37 -				"library"	"server"
   25.38 -				"linux"		"@_Z18CreateEntityByNamePKci"
   25.39 -				"windows"	"\x55\x8B\xEC\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x83\x2A\x2A\x74\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
   25.40 -			}
   25.41 -			"DispatchSpawn"
   25.42 -			{
   25.43 -				"library"	"server"
   25.44 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   25.45 -				"windows"	"\x55\x8B\xEC\x51\x53\x56\x8B\x75\x2A\x57\x85\xF6\x0F\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B"
   25.46 -			}
   25.47  			"FireOutput"
   25.48  			{
   25.49  				"library"	"server"
    26.1 --- a/gamedata/sdktools.games/game.hl2mp.txt	Tue May 24 20:36:09 2011 -0400
    26.2 +++ b/gamedata/sdktools.games/game.hl2mp.txt	Wed May 25 08:27:27 2011 -0400
    26.3 @@ -76,24 +76,6 @@
    26.4  				"linux"		"36"
    26.5  				"mac"		"36"
    26.6  			}
    26.7 -			"DispatchKeyValue"
    26.8 -			{
    26.9 -				"windows"	"30"
   26.10 -				"linux"		"29"
   26.11 -				"mac"		"29"
   26.12 -			}
   26.13 -			"DispatchKeyValueFloat"
   26.14 -			{
   26.15 -				"windows"	"29"
   26.16 -				"linux"		"30"
   26.17 -				"mac"		"30"
   26.18 -			}
   26.19 -			"DispatchKeyValueVector"
   26.20 -			{
   26.21 -				"windows"	"28"
   26.22 -				"linux"		"31"
   26.23 -				"mac"		"31"
   26.24 -			}
   26.25  			"SetEntityModel"
   26.26  			{
   26.27  				"windows"	"23"
    27.1 --- a/gamedata/sdktools.games/game.obsidian.txt	Tue May 24 20:36:09 2011 -0400
    27.2 +++ b/gamedata/sdktools.games/game.obsidian.txt	Wed May 25 08:27:27 2011 -0400
    27.3 @@ -56,18 +56,6 @@
    27.4  			{
    27.5  				"windows"	"34"
    27.6  			}
    27.7 -			"DispatchKeyValue"
    27.8 -			{
    27.9 -				"windows"	"29"
   27.10 -			}
   27.11 -			"DispatchKeyValueFloat"
   27.12 -			{
   27.13 -				"windows"	"28"
   27.14 -			}
   27.15 -			"DispatchKeyValueVector"
   27.16 -			{
   27.17 -				"windows"	"27"
   27.18 -			}
   27.19  			"SetEntityModel"
   27.20  			{
   27.21  				"windows"	"23"
   27.22 @@ -114,21 +102,6 @@
   27.23  				"library"	"server"
   27.24  				"windows"	"\x55\x8B\xEC\x8B\xC1\x8B\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x8B\x15\x2A\x2A\x2A\x2A\x89"
   27.25  			}
   27.26 -			"DispatchSpawn"
   27.27 -			{
   27.28 -				"library"	"server"
   27.29 -				"windows"	"\x55\x8B\xEC\x51\x53\x56\x8B\x75\x2A\x57\x85\xF6\x0F\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B"
   27.30 -			}
   27.31 -			"CreateEntityByName"
   27.32 -			{
   27.33 -				"library"	"server"
   27.34 -				"windows"	"\x55\x8B\xEC\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x83\x2A\x2A\x74\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
   27.35 -			}
   27.36 -			"FindEntityByClassname"
   27.37 -			{
   27.38 -				"library"	"server"
   27.39 -				"windows"	"\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x2A\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\x2A\x2A\x2A\x2A\x40\x03\xC0\x8B\x3C\xC6\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74"
   27.40 -			}
   27.41  			"FireOutput"
   27.42  			{
   27.43  				"library"	"server"
    28.1 --- a/gamedata/sdktools.games/game.pvkii.txt	Tue May 24 20:36:09 2011 -0400
    28.2 +++ b/gamedata/sdktools.games/game.pvkii.txt	Wed May 25 08:27:27 2011 -0400
    28.3 @@ -67,21 +67,6 @@
    28.4  				"windows"	"35"
    28.5  				"linux"		"36"
    28.6  			}
    28.7 -			"DispatchKeyValue"
    28.8 -			{
    28.9 -				"windows"	"29"
   28.10 -				"linux"		"28"
   28.11 -			}
   28.12 -			"DispatchKeyValueFloat"
   28.13 -			{
   28.14 -				"windows"	"28"
   28.15 -				"linux"		"29"
   28.16 -			}
   28.17 -			"DispatchKeyValueVector"
   28.18 -			{
   28.19 -				"windows"	"27"
   28.20 -				"linux"		"30"
   28.21 -			}
   28.22  			"SetEntityModel"
   28.23  			{
   28.24  				"windows"	"24"
    29.1 --- a/gamedata/sdktools.games/game.rnlbeta.txt	Tue May 24 20:36:09 2011 -0400
    29.2 +++ b/gamedata/sdktools.games/game.rnlbeta.txt	Wed May 25 08:27:27 2011 -0400
    29.3 @@ -45,18 +45,6 @@
    29.4  			{
    29.5  				"windows"	"34"
    29.6  			}
    29.7 -			"DispatchKeyValue"
    29.8 -			{
    29.9 -				"windows"	"29"
   29.10 -			}
   29.11 -			"DispatchKeyValueFloat"
   29.12 -			{
   29.13 -				"windows"	"28"
   29.14 -			}
   29.15 -			"DispatchKeyValueVector"
   29.16 -			{
   29.17 -				"windows"	"27"
   29.18 -			}
   29.19  			"SetEntityModel"
   29.20  			{
   29.21  				"windows"	"23"
   29.22 @@ -103,21 +91,6 @@
   29.23  				"library"	"server"
   29.24  				"windows"	"\x55\x8B\xEC\x8B\xC1\x8B\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x8B\x15\x2A\x2A\x2A\x2A\x89"
   29.25  			}
   29.26 -			"DispatchSpawn"
   29.27 -			{
   29.28 -				"library"	"server"
   29.29 -				"windows"	"\x55\x8B\xEC\x51\x53\x56\x8B\x75\x2A\x57\x85\xF6\x0F\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B"
   29.30 -			}
   29.31 -			"CreateEntityByName"
   29.32 -			{
   29.33 -				"library"	"server"
   29.34 -				"windows"	"\x55\x8B\xEC\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x83\x2A\x2A\x74\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
   29.35 -			}
   29.36 -			"FindEntityByClassname"
   29.37 -			{
   29.38 -				"library"	"server"
   29.39 -				"windows"	"\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x2A\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\x2A\x2A\x2A\x2A\x40\x03\xC0\x8B\x3C\xC6\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74"
   29.40 -			}
   29.41  			"FireOutput"
   29.42  			{
   29.43  				"library"	"server"
    30.1 --- a/gamedata/sdktools.games/game.synergy.txt	Tue May 24 20:36:09 2011 -0400
    30.2 +++ b/gamedata/sdktools.games/game.synergy.txt	Wed May 25 08:27:27 2011 -0400
    30.3 @@ -62,21 +62,6 @@
    30.4  				"windows"	"122"
    30.5  				"linux"		"123"
    30.6  			}
    30.7 -			"DispatchKeyValue"
    30.8 -			{
    30.9 -				"windows"	"29"
   30.10 -				"linux"		"28"
   30.11 -			}
   30.12 -			"DispatchKeyValueFloat"
   30.13 -			{
   30.14 -				"windows"	"28"
   30.15 -				"linux"		"29"
   30.16 -			}
   30.17 -			"DispatchKeyValueVector"
   30.18 -			{
   30.19 -				"windows"	"27"
   30.20 -				"linux"		"30"
   30.21 -			}
   30.22  			"AcceptInput"
   30.23  			{
   30.24  				"windows"	"34"
   30.25 @@ -115,24 +100,6 @@
   30.26  		}
   30.27  		"Signatures"
   30.28  		{
   30.29 -			"FindEntityByClassname"
   30.30 -			{
   30.31 -				"library"	"server"
   30.32 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\x8D\xA4\x24\x00\x00\x00\x00\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x04\xEB\x2A\x39\x2A\x2A\x74\x2A\x53"
   30.33 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   30.34 -			}
   30.35 -			"DispatchSpawn"
   30.36 -			{
   30.37 -				"library"	"server"
   30.38 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x57\x85\xF6\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB"
   30.39 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   30.40 -			}
   30.41 -			"CreateEntityByName"
   30.42 -			{
   30.43 -				"library"	"server"
   30.44 -				"windows"	"\x56\x8B\x74\x24\x0C\x57\x8B\x7C\x24\x0C\x83\xFE\xFF\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2"
   30.45 -				"linux"		"@_Z18CreateEntityByNamePKci"
   30.46 -			}
   30.47  			"FireOutput"
   30.48  			{
   30.49  				"library"	"server"
    31.1 --- a/gamedata/sdktools.games/game.tf.txt	Tue May 24 20:36:09 2011 -0400
    31.2 +++ b/gamedata/sdktools.games/game.tf.txt	Wed May 25 08:27:27 2011 -0400
    31.3 @@ -70,24 +70,6 @@
    31.4  				"linux"		"130"
    31.5  				"mac"		"130"
    31.6  			}
    31.7 -			"DispatchKeyValue"
    31.8 -			{
    31.9 -				"windows"	"30"
   31.10 -				"linux"		"29"
   31.11 -				"mac"		"29"
   31.12 -			}
   31.13 -			"DispatchKeyValueFloat"
   31.14 -			{
   31.15 -				"windows"	"29"
   31.16 -				"linux"		"30"
   31.17 -				"mac"		"30"
   31.18 -			}
   31.19 -			"DispatchKeyValueVector"
   31.20 -			{
   31.21 -				"windows"	"28"
   31.22 -				"linux"		"31"
   31.23 -				"mac"		"31"
   31.24 -			}
   31.25  			"SetEntityModel"
   31.26  			{
   31.27  				"windows"	"23"
    32.1 --- a/gamedata/sdktools.games/game.zpanic.txt	Tue May 24 20:36:09 2011 -0400
    32.2 +++ b/gamedata/sdktools.games/game.zpanic.txt	Wed May 25 08:27:27 2011 -0400
    32.3 @@ -66,21 +66,6 @@
    32.4  				"windows"	"35"
    32.5  				"linux"		"36"
    32.6  			}
    32.7 -			"DispatchKeyValue"
    32.8 -			{
    32.9 -				"windows"	"30"
   32.10 -				"linux"		"29"
   32.11 -			}
   32.12 -			"DispatchKeyValueFloat"
   32.13 -			{
   32.14 -				"windows"	"29"
   32.15 -				"linux"		"30"
   32.16 -			}
   32.17 -			"DispatchKeyValueVector"
   32.18 -			{
   32.19 -				"windows"	"28"
   32.20 -				"linux"		"31"
   32.21 -			}
   32.22  			"SetEntityModel"
   32.23  			{
   32.24  				"windows"	"24"
   32.25 @@ -104,24 +89,6 @@
   32.26  		}
   32.27  		"Signatures"
   32.28  		{
   32.29 -			"FindEntityByClassname"
   32.30 -			{
   32.31 -				"library"	"server"
   32.32 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x2A\x2A\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8D\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x2A\xEB\x2A\x39"
   32.33 -				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   32.34 -			}
   32.35 -			"CreateEntityByName"
   32.36 -			{
   32.37 -				"library"	"server"
   32.38 -				"linux"		"@_Z18CreateEntityByNamePKci"
   32.39 -				"windows"	"\x56\x8B\x74\x24\x2A\x57\x8B\x7C\x24\x2A\x83\xFE\xFF\x74\x2A\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x2A\x56\xFF\xD2"
   32.40 -			}
   32.41 -			"DispatchSpawn"
   32.42 -			{
   32.43 -				"library"	"server"
   32.44 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   32.45 -				"windows"	"\x53\x55\x56\x8B\x74\x2A\x2A\x57\x85\xF6\x0F\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x2A\x8B\xCB"
   32.46 -			}
   32.47  			"FireOutput"
   32.48  			{
   32.49  				"library"	"server"
    33.1 --- a/plugins/include/sdktools_functions.inc	Tue May 24 20:36:09 2011 -0400
    33.2 +++ b/plugins/include/sdktools_functions.inc	Wed May 25 08:27:27 2011 -0400
    33.3 @@ -148,7 +148,7 @@
    33.4   *  invalid or there is already an edict using that index, it will error out.
    33.5   *
    33.6   * @param classname			Entity classname.
    33.7 - * @param ForceEdictIndex	Edict index used by the created entity.
    33.8 + * @param ForceEdictIndex	Edict index used by the created entity (ignored on Orangebox and above).
    33.9   * @return					Entity index on success, or -1 on failure.
   33.10   * @error					Invalid edict index, or no mod support.
   33.11   */