galaxy-integration-wargaming icon indicating copy to clipboard operation
galaxy-integration-wargaming copied to clipboard

Play does nothing when game is updating

Open FriendsOfGalaxy opened this issue 5 years ago • 2 comments
trafficstars

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.

FriendsOfGalaxy avatar Apr 17 '20 13:04 FriendsOfGalaxy

not sure if it possible to popup WGC.

if would be nice if GLX would have possibility to display custom error popup

Mixaill avatar Apr 25 '20 18:04 Mixaill

@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.

FriendsOfGalaxy avatar Apr 27 '20 08:04 FriendsOfGalaxy