From 767a3af64f5c7270877675446e5b99526581ae96 Mon Sep 17 00:00:00 2001 From: ifBars <114284668+ifBars@users.noreply.github.com> Date: Thu, 19 Oct 2023 01:39:07 -0600 Subject: [PATCH] Update update_offsets.py - Add C4 Offset --- offsets/update_offsets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/offsets/update_offsets.py b/offsets/update_offsets.py index a426f08..d46c075 100644 --- a/offsets/update_offsets.py +++ b/offsets/update_offsets.py @@ -32,8 +32,9 @@ dest_data["dwBuildNumber"] = source_data["Engine2Dll"]["dwBuildNumber"] dest_data["dwLocalPlayer"] = source_data["ClientDll"]["dwLocalPlayerPawn"] dest_data["dwEntityList"] = source_data["ClientDll"]["dwEntityList"] dest_data["dwViewMatrix"] = source_data["ClientDll"]["dwViewMatrix"] +dest_data["dwPlantedC4"] = source_data["ClientDll"]["dwPlantedC4"] with open(dest_path, 'w') as dest_file: json.dump(dest_data, dest_file, indent=4) -print("Offsets updated in the local file.") # We dont exit so we know that the game has been updated and that we have to commit the new offsets \ No newline at end of file +print("Offsets updated in the local file.") # We dont exit so we know that the game has been updated and that we have to commit the new offsets