Skip to content

Commit f0d293e

Browse files
authored
v4.5
* hopefully fixed [issue #11](#11), edit the scaling in ow_config * changed watchlist format to csv
1 parent 7a13471 commit f0d293e

13 files changed

+413
-189
lines changed

CheckVacWindow.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@
33
import myglobals as g
44
import functions as f
55
import blackTkClasses as btk
6+
import AlertWindow as AW
67

78

89
class MyVacWindow:
910
def checkk(self, root, count):
11+
if g.thread_export.is_alive():
12+
AW.MyAlertWindow(self.window, "Exporting WatchList in progress, please wait!")
13+
return self.window.destroy()
1014
delay = self.entry_speed.text.get()
1115
try:
1216
delay = int(delay)

MainWindow.py

Lines changed: 67 additions & 62 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ CSGO Overwatch revealer by sniffing packets
88

99
## Latest Version:
1010

11-
* v**4.4.4** [Download](https://github.com/ZaharX97/OWReveal/releases/latest)
11+
* v**4.5** [Download](https://github.com/ZaharX97/OWReveal/releases/latest)
1212
* created a small site to show suspects from all people using this app
1313
* [zahar.one/owrev](https://zahar.one/owrev)
14-
* fixed [issue #12](https://github.com/ZaharX97/OWReveal/issues/12), net adapter is saved to settings
15-
* fixed [issue #14](https://github.com/ZaharX97/OWReveal/issues/14), right click to copy steamid
16-
* added some kind of format to renaming demos, [more info](https://github.com/ZaharX97/OWReveal#demo-rename-format)
17-
* fixed [issue #15](https://github.com/ZaharX97/OWReveal/issues/15), right click on the link to copy demo name
14+
* hopefully fixed [issue #11](https://github.com/ZaharX97/OWReveal/issues/11), edit the scaling in ow_config
15+
* changed watchlist format to csv
1816

1917
## How to use?
2018
1. Download and install npcap (https://nmap.org/npcap/)
@@ -63,14 +61,13 @@ more info here: [time format codes](https://docs.python.org/3/library/datetime.h
6361

6462
## Older Versions:
6563

66-
* v**4.3.6** [Download](https://github.com/ZaharX97/OWReveal/releases/tag/4.3.6)
64+
* v**4.4.4** [Download](https://github.com/ZaharX97/OWReveal/releases/tag/4.4.4)
6765
* created a small site to show suspects from all people using this app
6866
* [zahar.one/owrev](https://zahar.one/owrev)
69-
* fixed: only 1 suspect was added to site, then a restart was needed
70-
* fixed: check vac didnt work in v4.3
71-
* fixed: unranked gamed didnt show team scores
72-
* added demo date
73-
* (new) fixed: stats in wingman unranked (who plays that) were not shown correctly
67+
* fixed [issue #12](https://github.com/ZaharX97/OWReveal/issues/12), net adapter is saved to settings
68+
* fixed [issue #14](https://github.com/ZaharX97/OWReveal/issues/14), right click to copy steamid
69+
* added some kind of format to renaming demos, [more info](https://github.com/ZaharX97/OWReveal#demo-rename-format)
70+
* fixed [issue #15](https://github.com/ZaharX97/OWReveal/issues/15), right click on the link to copy demo name
7471

7572
* v**3.1.5** [Download](https://github.com/ZaharX97/OWReveal/releases/tag/3.1.5)
7673
* changed npcap link to main site

SettingsWindow.py

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(self, root):
107107
self.window.title("Settings")
108108
self.window.minsize(580, 445)
109109
sizex = self.window.minsize()[0]
110-
# sizey = self.window.minsize()[1]
110+
sizey = self.window.minsize()[1]
111111
self.window.resizable(False, False)
112112
self.window.config(bg="#101010")
113113
self.window.protocol("WM_DELETE_WINDOW", self._destroy_checkname)
@@ -188,17 +188,17 @@ def lc_event3(event):
188188

189189
self.label_skey = btk.MyLabelStyle(self.window, "API Key:")
190190
self.label_skey.frame.config(cursor="hand2")
191-
self.label_skey.frame.grid(row=20, column=0, padx=5, pady=5)
191+
self.label_skey.frame.grid(row=10, column=0, padx=5, pady=5)
192192
self.label_skey.frame.bind("<Button-1>", lc_event3)
193193
self.entry_steam_key = btk.MyEntryStyle(self.window, g.settings_dict["steam_api_key"])
194194
self.entry_steam_key.frame.config(state="normal")
195-
self.entry_steam_key.frame.grid(row=20, column=1, sticky=tk.W + tk.E, padx=5, columnspan=3)
195+
self.entry_steam_key.frame.grid(row=10, column=1, sticky=tk.W + tk.E, padx=5, columnspan=3)
196196

197197
self.btn_save = btk.MyButtonStyle(self.window, "Save to file", self._update_on_save)
198-
self.btn_save.btn.grid(row=21, column=3, sticky=tk.E, padx=5, pady=5)
198+
self.btn_save.btn.grid(row=11, column=3, sticky=tk.E, padx=5, pady=5)
199199

200200
self.btn_analyze = btk.MyButtonStyle(self.window, "Analyze a demo", self._analyze_demo)
201-
self.btn_analyze.btn.grid(row=21, column=0, columnspan=2, sticky=tk.W, padx=5, pady=5)
201+
self.btn_analyze.btn.grid(row=11, column=0, columnspan=2, sticky=tk.W, padx=5, pady=5)
202202

203203
def lc_event1(event):
204204
if g.browser_path is None:
@@ -208,14 +208,28 @@ def lc_event1(event):
208208

209209
self.label_github = btk.MyLabelStyle(self.window, "v{} {}".format(g.VERSION, g.PROJECT_LINK))
210210
self.label_github.frame.config(cursor="hand2")
211-
self.label_github.frame.grid(row=21, column=1, padx=5, pady=5, columnspan=2)
211+
self.label_github.frame.grid(row=11, column=1, padx=5, pady=5, columnspan=2)
212212
self.label_github.frame.bind("<Button-1>", lc_event1)
213213

214214
self._update_all_settings()
215-
self.window.grid_columnconfigure(0, minsize=0.15 * sizex, weight=1)
216-
self.window.grid_columnconfigure(1, minsize=0.5 * sizex, weight=1)
217-
self.window.grid_columnconfigure(2, minsize=0.15 * sizex, weight=1)
218-
self.window.grid_columnconfigure(3, minsize=0.2 * sizex, weight=1)
215+
self.window.grid_columnconfigure(0, minsize=0.15 * sizex * g.settings_dict["scaling"], weight=1)
216+
self.window.grid_columnconfigure(1, minsize=0.5 * sizex * g.settings_dict["scaling"], weight=1)
217+
self.window.grid_columnconfigure(2, minsize=0.15 * sizex * g.settings_dict["scaling"], weight=1)
218+
self.window.grid_columnconfigure(3, minsize=0.2 * sizex * g.settings_dict["scaling"], weight=1)
219+
220+
self.window.grid_rowconfigure(0, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
221+
self.window.grid_rowconfigure(1, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
222+
self.window.grid_rowconfigure(2, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
223+
self.window.grid_rowconfigure(3, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
224+
self.window.grid_rowconfigure(4, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
225+
self.window.grid_rowconfigure(5, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
226+
self.window.grid_rowconfigure(6, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
227+
self.window.grid_rowconfigure(7, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
228+
self.window.grid_rowconfigure(8, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
229+
self.window.grid_rowconfigure(9, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
230+
self.window.grid_rowconfigure(10, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
231+
self.window.grid_rowconfigure(11, minsize=0.083 * sizey * g.settings_dict["scaling"], weight=1)
232+
219233
self.window.grid_propagate(False)
220234
self.window.update_idletasks()
221235
self.window.geometry("+%d+%d" % (f.calc_window_pos(root, self.window)))

WLExtraWindow.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import tkinter as tk
2+
3+
import functions as f
4+
import blackTkClasses as btk
5+
6+
7+
class MyWlextraWindow:
8+
def __init__(self, root):
9+
self.window = tk.Toplevel(root.window)
10+
self.window.transient(root.window)
11+
self.window.title("Extra Stuff")
12+
# self.window.minsize(100, 50)
13+
self.window.resizable(False, False)
14+
self.window.attributes("-topmost")
15+
self.window.config(bg="#101010")
16+
self.window.protocol("WM_DELETE_WINDOW", self.window.destroy)
17+
self.btn_close = btk.MyButtonStyle(self.window, "More Stats", lambda: [root._open_more_stats(), self.window.destroy()])
18+
self.btn_close.btn.pack(padx=5, pady=5)
19+
self.btn_close = btk.MyButtonStyle(self.window, "Export WL (CSV)", lambda: [root.close_and_update(), f.export_wl_csv(self.window), self.window.destroy()])
20+
self.btn_close.btn.pack(padx=5, pady=5)
21+
self.window.update_idletasks()
22+
self.window.geometry("+%d+%d" % (f.calc_window_pos(root.window, self.window)))
23+
self.window.grab_set()
24+
self.window.focus_set()

0 commit comments

Comments
 (0)