Updated Garry's Mod offsets (bug 4230, r=dvander).
Updated Garry's Mod offsets (
bug 4230, r=dvander).
1.1 --- a/gamedata/core.games/engine.ep1.txt Mon Feb 08 20:06:48 2010 -0800
1.2 +++ b/gamedata/core.games/engine.ep1.txt Mon Feb 08 20:08:14 2010 -0800
1.3 @@ -17,7 +17,6 @@
1.4 "#supported"
1.5 {
1.6 "game" "cstrike"
1.7 - "game" "garrysmod"
1.8 "game" "hl2mp"
1.9 "game" "ship"
1.10 "game" "insurgency"
2.1 --- a/gamedata/core.games/engine.ep2.txt Mon Feb 08 20:06:48 2010 -0800
2.2 +++ b/gamedata/core.games/engine.ep2.txt Mon Feb 08 20:08:14 2010 -0800
2.3 @@ -19,6 +19,7 @@
2.4 "game" "ageofchivalry"
2.5 "game" "zps"
2.6 "game" "bg2"
2.7 + "game" "garrysmod"
2.8 }
2.9
2.10 "Offsets"
3.1 --- a/gamedata/sdktools.games/engine.ep2.txt Mon Feb 08 20:06:48 2010 -0800
3.2 +++ b/gamedata/sdktools.games/engine.ep2.txt Mon Feb 08 20:08:14 2010 -0800
3.3 @@ -21,6 +21,7 @@
3.4 "game" "empires"
3.5 "game" "synergy"
3.6 "game" "bg2"
3.7 + "game" "garrysmod"
3.8 }
3.9
3.10 "Offsets"
3.11 @@ -121,6 +122,7 @@
3.12 "game" "empires"
3.13 "game" "synergy"
3.14 "game" "bg2"
3.15 + "game" "garrysmod"
3.16 }
3.17
3.18 "Offsets"
4.1 --- a/gamedata/sdktools.games/game.garrysmod.txt Mon Feb 08 20:06:48 2010 -0800
4.2 +++ b/gamedata/sdktools.games/game.garrysmod.txt Mon Feb 08 20:08:14 2010 -0800
4.3 @@ -12,9 +12,7 @@
4.4 "Games"
4.5 {
4.6 /* Garry's Mod 10 - Windows only
4.7 - * This mod is not officially supported, and the definitions are
4.8 - * for Garry's Mod pre-Orange Box.
4.9 - * (credits: Damaged Soul)
4.10 + * This mod is not officially supported
4.11 */
4.12 "garrysmod"
4.13 {
4.14 @@ -22,55 +20,98 @@
4.15 {
4.16 "GiveNamedItem"
4.17 {
4.18 - "windows" "366"
4.19 + "windows" "391"
4.20 }
4.21 "RemovePlayerItem"
4.22 {
4.23 - "windows" "264"
4.24 + "windows" "279"
4.25 }
4.26 "Weapon_GetSlot"
4.27 {
4.28 - "windows" "262"
4.29 + "windows" "277"
4.30 }
4.31 "Ignite"
4.32 {
4.33 - "windows" "220"
4.34 + "windows" "228"
4.35 }
4.36 "Extinguish"
4.37 {
4.38 - "windows" "221"
4.39 + "windows" "232"
4.40 }
4.41 "Teleport"
4.42 {
4.43 - "windows" "99"
4.44 + "windows" "101"
4.45 }
4.46 "CommitSuicide"
4.47 {
4.48 - "windows" "394"
4.49 + "windows" "429"
4.50 }
4.51 "GetVelocity"
4.52 {
4.53 - "windows" "127"
4.54 + "windows" "131"
4.55 }
4.56 "EyeAngles"
4.57 {
4.58 - "windows" "119"
4.59 + "windows" "123"
4.60 }
4.61 "AcceptInput"
4.62 {
4.63 - "windows" "35"
4.64 + "windows" "34"
4.65 }
4.66 "DispatchKeyValue"
4.67 {
4.68 + "windows" "29"
4.69 + }
4.70 + "DispatchKeyValueFloat"
4.71 + {
4.72 + "windows" "28"
4.73 + }
4.74 + "DispatchKeyValueVector"
4.75 + {
4.76 + "windows" "27"
4.77 + }
4.78 + "SetEntityModel"
4.79 + {
4.80 + "windows" "23"
4.81 + }
4.82 + "WeaponEquip"
4.83 + {
4.84 + "windows" "270"
4.85 + }
4.86 + "Activate"
4.87 + {
4.88 "windows" "31"
4.89 }
4.90 - "DispatchKeyValueFloat"
4.91 + "PlayerRunCmd"
4.92 {
4.93 - "windows" "30"
4.94 + "windows" "409"
4.95 + }
4.96 + "FireOutputBackup"
4.97 + {
4.98 + "windows" "6"
4.99 }
4.100 - "DispatchKeyValueVector"
4.101 + }
4.102 + "Signatures"
4.103 + {
4.104 + "DispatchSpawn"
4.105 + {
4.106 + "library" "server"
4.107 + "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"
4.108 + }
4.109 + "CreateEntityByName"
4.110 {
4.111 - "windows" "29"
4.112 + "library" "server"
4.113 + "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"
4.114 + }
4.115 + "FindEntityByClassname"
4.116 + {
4.117 + "library" "server"
4.118 + "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"
4.119 + }
4.120 + "FireOutput"
4.121 + {
4.122 + "library" "server"
4.123 + "windows" "\x81\xEC\x2A\x2A\x2A\x2A\x53\x55\x56\x8B\x71\x2A\x57\x89"
4.124 }
4.125 }
4.126 }
5.1 --- a/gamedata/sdktools.games/master.games.txt Mon Feb 08 20:06:48 2010 -0800
5.2 +++ b/gamedata/sdktools.games/master.games.txt Mon Feb 08 20:08:14 2010 -0800
5.3 @@ -92,7 +92,6 @@
5.4
5.5 "game.garrysmod.txt"
5.6 {
5.7 - "engine" "original"
5.8 "game" "garrysmod"
5.9 }
5.10