Fix logical entity support for Dota 2 and CS:GO on Windows.

This commit is contained in:
Nicholas Hastings
2014-02-07 20:44:52 -05:00
parent 03c7a9d5f3
commit 39c82d6ea0
3 changed files with 62 additions and 54 deletions
+14 -9
View File
@@ -19,17 +19,22 @@
"game" "csgo"
}
"Addresses"
{
"EntInfosPtr"
{
"windows"
{
"signature" "EntInfosFinder"
"read" "36"
}
}
}
"Offsets"
{
/* Offset into LevelShutdown */
"gEntList"
{
"windows" "11"
}
"EntInfo"
{
"windows" "4"
"linux" "4"
"mac" "4"
}
@@ -37,10 +42,10 @@
"Signatures"
{
"LevelShutdown"
"EntInfosFinder"
{
"library" "server"
"windows" "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8"
"windows" "\x55\x8B\xEC\x8B\x4D\x08\x53\x56\x57\x85\xC9\x74\x2A\x8B\x01\xFF\x2A\x2A\x8B\x00\x83\xF8\xFF\x75\x11\xB8\x2A\x2A\x2A\x2A\x8D\x34\x40\x8B"
}
"gEntList"
+8 -20
View File
@@ -19,37 +19,25 @@
"game" "dota"
}
"Offsets"
"Addresses"
{
/* Offset into LevelShutdown */
"gEntList"
"EntInfosPtr"
{
"windows" "21"
}
"EntInfo"
{
"windows" "0"
"linux" "4"
"mac" "4"
"windows"
{
"signature" "EntInfosFinder"
"read" "21"
}
}
}
"Signatures"
{
// This isn't LevelShutdown, but there aren't a lot of places to get this from due to crazy insane inlining errwhere
"LevelShutdown"
"EntInfosFinder"
{
"library" "server"
"windows" "\x83\x2A\xFF\x74\x03\x0F\x2A\x2A\xC1\x2A\x04\x8B\x2A\x2A\x2A\x2A\x2A\xEB\x06\x8B"
}
"gEntList"
{
"library" "server"
"linux" "@gEntList"
"mac" "@gEntList"
}
}
}
}