Add YAML file builder and automatically resolve offsets in tests

This commit is contained in:
a2x
2023-12-07 21:46:35 +10:00
parent bc2b8d27b0
commit 6dc4f54ef2
26 changed files with 16054 additions and 45 deletions

36
generated/offsets.yaml Normal file
View File

@@ -0,0 +1,36 @@
---
client_dll: # client.dll
dwEntityList: 24885344
dwForceAttack: 23838000
dwForceAttack2: 23838144
dwForceBackward: 23838720
dwForceCrouch: 23839440
dwForceForward: 23838576
dwForceJump: 23839296
dwForceLeft: 23838864
dwForceRight: 23839008
dwGameEntitySystem: 26112096
dwGameEntitySystem_getHighestEntityIndex: 5392
dwGameRules: 25261656
dwGlobalVars: 23821984
dwGlowManager: 25261688
dwInterfaceLinkList: 26299640
dwLocalPlayerController: 25210032
dwLocalPlayerPawn: 23866840
dwPlantedC4: 25292088
dwPrediction: 23866528
dwSensitivity: 25267560
dwSensitivity_sensitivity: 64
dwViewAngles: 25668688
dwViewMatrix: 25272272
dwViewRender: 25274448
engine2_dll: # engine2.dll
dwBuildNumber: 4764484
dwNetworkGameClient: 4761848
dwNetworkGameClient_getLocalPlayer: 240
dwNetworkGameClient_maxClients: 592
dwNetworkGameClient_signOnState: 576
dwWindowHeight: 5511788
dwWindowWidth: 5511784
inputsystem_dll: # inputsystem.dll
dwInputSystem: 218976