Skip to content

Commit e24d494

Browse files
committed
Add fixed gamedata from Anonymous Player
1 parent 63b0586 commit e24d494

File tree

2 files changed

+63
-105
lines changed

2 files changed

+63
-105
lines changed

gamedata/sdkhooks.games/game.hl1mp.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"linux" "340"
7575
"linux64" "340"
7676
}
77+
/* CBaseCombatWeapon::Reload */
7778
"Reload"
7879
{
7980
"windows" "276"
@@ -97,10 +98,10 @@
9798
}
9899
"Spawn"
99100
{
100-
"windows" "29"
101-
"windows64" "29"
102-
"linux" "30"
103-
"linux64" "30"
101+
"windows" "24"
102+
"windows64" "24"
103+
"linux" "25"
104+
"linux64" "25"
104105
}
105106
"StartTouch"
106107
{

gamedata/sdktools.games/game.hl1mp.txt

Lines changed: 58 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -11,73 +11,30 @@
1111

1212
"Games"
1313
{
14-
/* General GameRules */
15-
"#default"
16-
{
17-
"Offsets"
18-
{
19-
/* Offset into CreateGameRulesObject */
20-
"g_pGameRules"
21-
{
22-
"windows" "5"
23-
}
24-
}
25-
26-
"Signatures"
27-
{
28-
/* This signature sometimes has multiple matches, but this
29-
* does not matter as g_pGameRules is involved in all of them.
30-
* The same g_pGameRules offset applies to each match.
31-
*
32-
* Sometimes this block of bytes is at the beginning of the static
33-
* CreateGameRulesObject function and sometimes it is in the middle
34-
* of an entirely different function. This depends on the game.
35-
*/
36-
"CreateGameRulesObject"
37-
{
38-
"library" "server"
39-
"windows" "\x55\x8B\xEC\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x6A\x01"
40-
}
41-
"g_pGameRules"
42-
{
43-
"library" "server"
44-
"linux" "@g_pGameRules"
45-
}
46-
}
47-
}
48-
49-
/* CBaseEntityOutput::FireOutput */
50-
"#default"
14+
/* Half-Life Deathmatch: Source */
15+
"hl1mp"
5116
{
5217
"Signatures"
5318
{
19+
/* string: (%0.2f) output: (%s,%s) -> (%s,%s,%.1f)(%s)\n */
5420
"FireOutput"
5521
{
5622
"library" "server"
5723
"windows" "\x55\x8B\xEC\x81\xEC\x24\x01\x00\x00\x53\x8B\xC1"
24+
"windows64" "\x48\x8B\xC4\x48\x89\x50\x2A\x48\x89\x48\x2A\x41\x54"
5825
"linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
26+
"linux64" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
5927
}
60-
}
61-
}
62-
63-
/* CBaseAnimating::LookupAttachment */
64-
"#default"
65-
{
66-
"Signatures"
67-
{
6828
/* Windows: Called with string "vehicle_driver_eyes" as the second parameter */
6929
"LookupAttachment"
7030
{
7131
"library" "server"
7232
"windows" "\x55\x8B\xEC\x56\x8B\xF1\x80\xBE\x2A\x2A\x2A\x2A\x00\x75\x2A\x83\xBE\x2A\x2A\x2A\x2A\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x8B\xCE\xE8\x2A\x2A\x2A\x2A\x8B\x86\x2A\x2A\x2A\x2A\x85\xC0\x74\x2A\x83\x38\x00\x74\x2A\xFF\x75\x2A\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x08\x40"
33+
"windows64" "\x48\x89\x5C\x24\x2A\x57\x48\x83\xEC\x20\x80\xB9\x2A\x2A\x2A\x2A\x00\x48\x8B\xFA\x48\x8B\xD9\x75\x2A\x48\x83\xB9\x2A\x2A\x2A\x2A\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x48\x85\xC0\x74\x2A\x48\x8B\xCB\xE8\x2A\x2A\x2A\x2A\x48\x8B\x8B\x2A\x2A\x2A\x2A\x48\x85\xC9\x74\x2A\x48\x83\x39\x00\x74\x2A\x48\x8B\xD7\xE8"
7334
"linux" "@_ZN14CBaseAnimating16LookupAttachmentEPKc"
35+
"linux64" "@_ZN14CBaseAnimating16LookupAttachmentEPKc"
7436
}
7537
}
76-
}
77-
78-
/* Half-Life Deathmatch: Source */
79-
"hl1mp"
80-
{
8138
"Offsets"
8239
{
8340
"SetOwnerEntity"
@@ -89,66 +46,66 @@
8946
}
9047
"GiveNamedItem"
9148
{
92-
"windows" "412"
93-
"windows64" "412"
94-
"linux" "413"
95-
"linux64" "413"
49+
"windows" "407"
50+
"windows64" "407"
51+
"linux" "408"
52+
"linux64" "408"
9653
}
9754
"RemovePlayerItem"
9855
{
99-
"windows" "280"
100-
"windows64" "280"
101-
"linux" "281"
102-
"linux64" "281"
56+
"windows" "276"
57+
"windows64" "276"
58+
"linux" "277"
59+
"linux64" "277"
10360
}
10461
"Weapon_GetSlot"
10562
{
106-
"windows" "278"
107-
"windows64" "278"
108-
"linux" "279"
109-
"linux64" "279"
63+
"windows" "274"
64+
"windows64" "274"
65+
"linux" "275"
66+
"linux64" "275"
11067
}
11168
"Ignite"
69+
{
70+
"windows" "215"
71+
"windows64" "215"
72+
"linux" "216"
73+
"linux64" "216"
74+
}
75+
"Extinguish"
11276
{
11377
"windows" "219"
11478
"windows64" "219"
11579
"linux" "220"
11680
"linux64" "220"
11781
}
118-
"Extinguish"
119-
{
120-
"windows" "223"
121-
"windows64" "223"
122-
"linux" "224"
123-
"linux64" "224"
124-
}
12582
"Teleport"
12683
{
127-
"windows" "113"
128-
"windows64" "113"
129-
"linux" "114"
130-
"linux64" "114"
84+
"windows" "111"
85+
"windows64" "111"
86+
"linux" "110"
87+
"linux64" "110"
13188
}
13289
"CommitSuicide"
13390
{
134-
"windows" "453"
135-
"windows64" "453"
136-
"linux" "453"
137-
"linux64" "453"
91+
"windows" "446"
92+
"windows64" "446"
93+
"linux" "446"
94+
"linux64" "446"
13895
}
13996
"GetVelocity"
14097
{
141-
"windows" "146"
142-
"windows64" "146"
143-
"linux" "147"
144-
"linux64" "147"
98+
"windows" "143"
99+
"windows64" "143"
100+
"linux" "144"
101+
"linux64" "144"
145102
}
146103
"EyeAngles"
147104
{
148-
"windows" "137"
149-
"windows64" "137"
150-
"linux" "138"
151-
"linux64" "138"
105+
"windows" "134"
106+
"windows64" "134"
107+
"linux" "135"
108+
"linux64" "135"
152109
}
153110
"SetEntityModel"
154111
{
@@ -166,10 +123,10 @@
166123
}
167124
"WeaponEquip"
168125
{
169-
"windows" "271"
170-
"windows64" "271"
171-
"linux" "272"
172-
"linux64" "272"
126+
"windows" "268"
127+
"windows64" "268"
128+
"linux" "269"
129+
"linux64" "269"
173130
}
174131
"Activate"
175132
{
@@ -180,24 +137,24 @@
180137
}
181138
"PlayerRunCmd"
182139
{
183-
"windows" "430"
184-
"windows64" "430"
185-
"linux" "431"
186-
"linux64" "431"
140+
"windows" "425"
141+
"windows64" "425"
142+
"linux" "426"
143+
"linux64" "426"
187144
}
188145
"GiveAmmo"
189146
{
190-
"windows" "262"
191-
"windows64" "262"
192-
"linux" "263"
193-
"linux64" "263"
147+
"windows" "258"
148+
"windows64" "258"
149+
"linux" "259"
150+
"linux64" "259"
194151
}
195152
"GetAttachment"
196153
{
197-
"windows" "215"
198-
"windows64" "215"
199-
"linux" "216"
200-
"linux64" "216"
154+
"windows" "258"
155+
"windows64" "258"
156+
"linux" "259"
157+
"linux64" "259"
201158
}
202159
}
203160

0 commit comments

Comments
 (0)