galaxy-integration-wargaming
galaxy-integration-wargaming copied to clipboard
Play does nothing when game is updating
WOT | Windows 10 | during game active update or with paused update or with closed WGC.
Repro: Click play on a World Of Tanks EU in Galaxy when game is not playable in Wargaming.net Game Center
What happened: Game process has started, blink with window frame and died.
Expected: Any notification what went wrong. Preferably Wargaming.net Game Center should be focused/launched on WOT tab to make it clear that Play button is not available.
not sure if it possible to popup WGC.
if would be nice if GLX would have possibility to display custom error popup
@Mixaill
I've noticed that for some platforms an attempt to launch their exe brings them to focus. For others you can try ctypes module and its methods
ctypes.windll.user32.FindWindowW(None, window_name) ctypes.windll.user32.IsWindowVisible(hwnd) ctypes.windll.user32.ShowWindow(hwnd, mode) https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow
not sure about mac though. I agree it would be really nice if we had the ability to communicate information to the user from plugin side.