Skip to content

Commit 2c7f896

Browse files
authored
fix: armory update broken signatures and offsets (#584)
Co-authored-by: KillStr3aK <[email protected]>
1 parent 5a354a2 commit 2c7f896

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

configs/addons/counterstrikesharp/gamedata/gamedata.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
},
2323
"CCSPlayerController_ChangeTeam": {
2424
"offsets": {
25-
"windows": 98,
26-
"linux": 97
25+
"windows": 100,
26+
"linux": 99
2727
}
2828
},
2929
"CCSPlayerController_Respawn": {
3030
"offsets": {
31-
"windows": 254,
32-
"linux": 256
31+
"windows": 257,
32+
"linux": 259
3333
}
3434
},
3535
"CBasePlayerController_SetPawn": {
@@ -71,7 +71,7 @@
7171
"signatures": {
7272
"library": "server",
7373
"windows": "44 89 4C 24 20 44 88 44 24 18",
74-
"linux": "55 48 89 E5 41 57 41 56 41 89 D6 41 55 4D 89 C5"
74+
"linux": "55 48 89 E5 41 57 41 56 49 89 F6 41 55 4D 89 C5"
7575
}
7676
},
7777
"CBaseModelEntity_SetModel": {
@@ -84,26 +84,26 @@
8484
"CCSPlayer_WeaponServices_CanUse": {
8585
"signatures": {
8686
"library": "server",
87-
"windows": "48 89 5C 24 10 48 89 6C 24 18 56 57 41 56 48 83 EC 30 48 8B 01",
87+
"windows": "48 89 5C 24 ? 48 89 6C 24 ? 56 57 41 56 48 83 EC 30 48 8B 01",
8888
"linux": "55 48 8D 15 ? ? ? ? 48 89 E5 41 55 49 89 FD 41 54 49 89 F4"
8989
}
9090
},
9191
"CCSPlayer_ItemServices_GiveNamedItem": {
9292
"offsets": {
93-
"windows": 17,
94-
"linux": 18
93+
"windows": 19,
94+
"linux": 20
9595
}
9696
},
9797
"CCSPlayer_ItemServices_DropActivePlayerWeapon": {
9898
"offsets": {
99-
"windows": 18,
100-
"linux": 19
99+
"windows": 20,
100+
"linux": 21
101101
}
102102
},
103103
"CCSPlayer_ItemServices_RemoveWeapons": {
104104
"offsets": {
105-
"windows": 19,
106-
"linux": 20
105+
"windows": 21,
106+
"linux": 22
107107
}
108108
},
109109
"CGameSceneNode_GetSkeletonInstance": {
@@ -115,7 +115,7 @@
115115
"CCSGameRules_TerminateRound": {
116116
"signatures": {
117117
"library": "server",
118-
"windows": "48 8B C4 4C 89 48 ? 48 89 48 ? 55 56",
118+
"windows": "48 8B C4 4C 89 48 ? 48 89 48 ? 55 41 55",
119119
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 49 89 FC 53 48 81 EC 88 00 00 00 48 8D 05 ? ? ? ?"
120120
}
121121
},
@@ -156,8 +156,8 @@
156156
},
157157
"CBasePlayerPawn_CommitSuicide": {
158158
"offsets": {
159-
"windows": 372,
160-
"linux": 372
159+
"windows": 377,
160+
"linux": 377
161161
}
162162
},
163163
"CBasePlayerPawn_RemovePlayerItem": {
@@ -169,35 +169,35 @@
169169
},
170170
"CBaseEntity_Teleport": {
171171
"offsets": {
172-
"windows": 155,
173-
"linux": 154
172+
"windows": 157,
173+
"linux": 156
174174
}
175175
},
176176
"CBaseEntity_TakeDamageOld": {
177177
"signatures": {
178178
"library": "server",
179-
"windows": "48 89 74 24 20 57 48 83 EC 60 48 8B 41 10",
180-
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 49 89 FC 53 48 83 EC 48 4C 8D 2D ? ? ? ? 49 8B 7D 00 48 85 FF 0F 84 ? ? ? ?"
179+
"windows": "48 89 74 24 ? 57 48 81 EC 80 00 00 00 48 8B 41",
180+
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 49 89 FC 53 48 83 EC 58 4C 8D 3D"
181181
}
182182
},
183183
"CBaseTrigger_StartTouch": {
184184
"signatures": {
185185
"library": "server",
186-
"windows": "41 56 41 57 48 83 EC 58 48 8B 01",
186+
"windows": "40 57 41 57 48 83 EC 28 48 8B 01",
187187
"linux": "55 48 89 E5 41 56 49 89 F6 41 55 49 89 FD 41 54 53 BB"
188188
}
189189
},
190190
"CBaseTrigger_EndTouch": {
191191
"signatures": {
192192
"library": "server",
193-
"windows": "40 53 57 41 55 48 83 EC 40",
193+
"windows": "40 53 41 55 48 83 EC 28",
194194
"linux": "55 BA FF FF FF FF 48 89 E5 41 57 41 56 41 55 49 89 F5 41"
195195
}
196196
},
197197
"StateChanged": {
198198
"signatures": {
199199
"library": "server",
200-
"windows": "40 ? 53 56 41 ? 41 ? 48 ? ? ? ? 48 ? ? ? ? ? ? 48 ? ? 45",
200+
"windows": "40 55 53 56 41 56 41 57 48 8D 6C 24 ? 48 81 EC 70 01 00 00",
201201
"linux": "55 48 89 E5 41 57 41 56 41 55 41 54 53 89 D3"
202202
}
203203
},
@@ -230,8 +230,8 @@
230230
"IGameSystem_InitAllSystems_pFirst": {
231231
"signatures": {
232232
"library": "server",
233-
"windows": "48 8B 1D ? ? ? ? 48 85 DB 0F 84 ? ? ? ? BE ? ? ? ? 0F 1F 00 48 8B 7B 10",
234-
"linux": "4C 8B 35 ? ? ? ? 4D 85 F6 75 2D E9 ? ? ? ? 0F 1F 40 00 48 8B 05"
233+
"windows": "48 8B 3D ? ? ? ? 48 85 FF 0F 84 ? ? ? ? BE",
234+
"linux": "4C 8B 35 ? ? ? ? 4D 85 F6 75 ? E9"
235235
}
236236
},
237237
"CEntityResourceManifest_AddResource": {

0 commit comments

Comments
 (0)