Qvin0000 / ExileApi

My version of PoeHud
119 stars 73 forks source link

Screen Resolution 2560x1440 is not supported #93

Open APXEOLOG opened 4 years ago

APXEOLOG commented 4 years ago

Even though hud detects this screen resolution and i see it is used somehow in calculations, the result is incorrect

Area info (preload) is mostly out of the screen: https://i.imgur.com/Aa4NSzN.png Monster icons on the minimap are also completely incorrect. I quickfixed it by substracting specific coordinate

MinimapIcons.cs

Vector2 offs = screentCenterCache / 4 - new Vector2(60, 30);
if (largeMap)
{
    position = screentCenterCache + MapIcon.DeltaInWorldToMinimapDelta(
                    icon.GridPosition() - playerPos, diag, scale, (iconZ - posZ) / (9f / mapWindowLargeMapZoom)) - offs;
}

Also other click-based plugins like Stashie don't work because of that. If you don't want to fix it, please at least point me to the code which probably contain mistake

dakota-bacoch commented 4 years ago

Got a new 2k monitor today and I am also experiencing this

git42leech commented 4 years ago

Monster icons on the minimap are also completely incorrect

map off Works now after rebooting and applying everything from:

Recommended setting: Set display to recommended resolution, same resolution in PoE. Disable scaling etc. Start PoE, login then start HUD.

Originally posted by @develBuzz in https://github.com/Qvin0000/ExileApi/issues/29#issuecomment-554484138