Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play does nothing when game is updating #23

Open
FriendsOfGalaxy opened this issue Apr 17, 2020 · 2 comments
Open

Play does nothing when game is updating #23

FriendsOfGalaxy opened this issue Apr 17, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@FriendsOfGalaxy
Copy link

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.

@Mixaill
Copy link
Owner

Mixaill commented Apr 25, 2020

not sure if it possible to popup WGC.

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

@FriendsOfGalaxy
Copy link
Author

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

@Mixaill Mixaill added the enhancement New feature or request label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants