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
Script does nothing, just hangs on start #18
Comments
same here |
Could you run it from the console and see what the program outputs? Maybe you'll spot some kind of error there. |
I think I'm encountering the same issue. I'm also running Windows 11 and I get this when trying to run the program from an elevated powershell console:
If it helps, I'm running dual 1440p monitors, with PoE running on screen 2, which is set as the main display. |
The problem is that pillow failed to resize the image. What is your scale value? |
I have none set, I'm using Windows default value. |
Is there a 'settings.ini' file in the tool directory? If so, could you try deleting it and starting the tool again? |
It seems that my issue resolved itself after I started the computer again. There was no settings.ini file before staring it again. Thanks for your help anyways :) |
Would like to hear from @Vikfr0 and @YetAnotherDevWannabe before closing this issue. |
same issue here, no settings.ini |
I suspect that the tool somehow calculates the scale as 0. Could you try forcing it to use 0.90 scale factor by creating the settings.ini file in the tool directory with the following content:
|
still same issue, need force set x1=2560,y1=1440 after win32gui.GetWindowRect(hwnd) and win32gui.GetClientRect(hwnd) |
Alright, it seems that winapi function may return 0 width and height for some reason. Maybe someone with a better winapi knowledge could figure out why that happens. For now, I'll fallback to using screen resolution if that happens. |
It seems that GetClientRect() may return zero width and height if the game is running in fullscreen. Is that your case @quamtum? |
no , I use windowed fullscreen mode |
Strange. Anyway, I'll add the code to check if width or height returned as zero and fallback to the screen resolution in that case. |
Fixed here: 6284bd6 |
New release is out: https://github.com/4rtzel/poe-archnemesis-scanner/releases/tag/v0.1.0. Closing this issue. |
Hi, I have tried running both through the release executable and the script after installing the dependencies. Both just hang with no output at all. I am using python 3.10 on Windows 11, running with admin rights. The game is running in the background when I try.
The text was updated successfully, but these errors were encountered: