Fixed IServer in SDKTools on Windows.

This commit is contained in:
Paul Clothier 2012-04-17 22:27:03 -04:00
parent 2454c0baae
commit 2b8038d700
2 changed files with 38 additions and 2 deletions

View File

@ -146,7 +146,7 @@
* the expected code. A pointer to sv (IServer interface) is used * the expected code. A pointer to sv (IServer interface) is used
* here. * here.
*/ */
"CreateFakeClient_Windows" "\x8B\x44\x24\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8" "CreateFakeClient_Windows" "\x55\x8B\xEC\x8B\x45\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0"
} }
"Offsets" "Offsets"
@ -154,7 +154,7 @@
/* Offset into IVEngineServer::CreateFakeClient */ /* Offset into IVEngineServer::CreateFakeClient */
"sv" "sv"
{ {
"windows" "6" "windows" "8"
} }
} }

View File

@ -177,6 +177,42 @@
} }
} }
"#default"
{
"Keys"
{
/* Signature for the beginning of IVEngineServer::CreateFakeClient.
*
* The engine binary is not actually scanned in order to look for
* this. SourceHook is used to used to determine the address of the
* function and this signature is used to verify that it contains
* the expected code. A pointer to sv (IServer interface) is used
* here.
*/
"CreateFakeClient_Windows" "\x8B\x44\x24\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8"
}
"Offsets"
{
/* Offset into IVEngineServer::CreateFakeClient */
"sv"
{
"windows" "6"
}
}
"Signatures"
{
/* CBaseServer object for IServer interface */
"sv"
{
"library" "engine"
"linux" "@sv"
"mac" "@sv"
}
}
}
"#default" "#default"
{ {
"Signatures" "Signatures"