Skip to content

Commit

Permalink
Temp disable on data collection
Browse files Browse the repository at this point in the history
  • Loading branch information
DylDevs committed Jul 3, 2024
1 parent a2fd900 commit 1c6cbc6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions blog/V1.11.Minor.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ title: Version 1.11 > Minor
This changelog will contain all changes from 1.11.0 onwards before the next major version.
!!!

==- Version 1.11.52
Temporarily disabled vehicle detection data collection (Will be re-enabled in 1.11.53 in a different format).
[!badge variant="dark" text="DylDev"] [!badge variant="ghost" text="VehicleDetection"] [!badge variant="ghost" text="DataCollection"]
==- Version 1.11.51
Adjust crack message. Fix main menu update time display.
[!badge variant="dark" text="Tumppi066"] [!badge variant="ghost" text="Backend"] [!badge variant="ghost" text="MainUI"]
Expand Down
4 changes: 2 additions & 2 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1.11.50: Add check for a cracked game or DLCs, since the game will refuse to load DLLs in this case.
1.11.51: Fix main menu update time display.
1.11.51: Fix main menu update time display.
1.11.52: Temporarily disabled vehicle detection data collection (Will be re-enabled in 1.11.53 in a different format).
2 changes: 2 additions & 0 deletions plugins/DataCollection/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def SendImage(image):
def plugin(data):
global vd_data_collection, x1, y1, x2, y2, cooldown, last_capture

'''
if vd_data_collection and last_capture + cooldown < time.time():
try:
data["frameFull"]
Expand All @@ -102,6 +103,7 @@ def plugin(data):
threading.Thread(target=SendImage, args=(frame,), daemon=True).start()
last_capture = time.time()
'''

return data

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.51
1.11.52

0 comments on commit 1c6cbc6

Please sign in to comment.