Comments (18)
I've got a glitch where the card ages of the opponents cards doesn't line up - this seems to be a similar problem.
Also, the horizontal position of the player's deck is set to 80% to get it to show on screen.
This glitch occurs with the latest version of the program, 0.3.11 and earlier versions.
Desktop resolution (Win7x64) is set to 1920_1200
Hearthstone resolution (windowed) is set to 1920_1080
Curiously, the resolution of the window that Hearthstone has set is not as above but rather ~1845*1080.
Adjusting the CustomWidth and CustomHeight values in the config does alter where overlay sits but not by much - I'm unable to get the overlay to matchup.
from hearthstone-deck-tracker.
You can also set VisibleOverlay to true, that will make the overlay have a blue tint instead of being transparent and move it with OffsetX and OffsetY. You should be able to make it line up with hearthstone using those.
I still don't have the slightest clue why this happens :/. Or how to get the "correct" resolution, for that matter.
from hearthstone-deck-tracker.
Could you clear the custom values in the config (or just rename your config for the time being) and try if replacing your exe with this one fixes it?
from hearthstone-deck-tracker.
Running with that unfortunately didn't fix the problem.
Config was renamed, no config settings altered running new exe, restarted Hearthstone aswell to no luck.
from hearthstone-deck-tracker.
Well it was worth a try. Then I'm all out of ideas again.
from hearthstone-deck-tracker.
It looks like the tracker is just making the overlay bigger than it should be.
Desktop resolution (Win7x64) is set to 1920_1200
Hearthstone resolution (windowed) is set to 1920_1080
The dimensions of the window that Hearthstone has set is not as above resolution but rather ~1845*1080px.
But setting:-
0
0
1460
860
Will give correctish results.
When setting the tracker to auto-detecting size (custom values of -1) the overlay is also bigger than window.
Also, occasionally when alt-tabbing into Hearthstone card ages are shifting position upon x-axis by some smallish amount (other overlays are fine and are staying put when this occurs).
from hearthstone-deck-tracker.
This is what's used to get the window size. And that seems to be for some reason incorrect in some cases. All reports I got on this were laptop users, is that the case with you as well? Not sure what that means but it sure means something.
Does the cardage shifting happen after the opponent hand changed (play/draw)? That happens because the labels are on a parabola that shifts to the left/right depending on the handcount, to match the card locations. So the same thing should happen without alt-tabbing.
from hearthstone-deck-tracker.
Using a desktop computer with a widescreen 24inch monitor (1920*1200).
No action has been taken when the card ages have shifted.
Some further resolution testings:
1920_1080 resolution
1460_860 overlay
1650_1080
1320_860
1600_900
1280_720
Is the result of the call to User32.GetWindowRect logged at all?
The rest of the overlay sizes and variables?
from hearthstone-deck-tracker.
So I guess the shifting is then somehow related to the resolution problems.
No logging of that currently. Before I add that, your hearthstone window actually the resolution it says it is? (screenshot -> paint, draw selection)
from hearthstone-deck-tracker.
They are with the exception of the 1920_1080 resolution which is 1845_1080.
It seems like the overlay is out by 0.2 almost exactly in all cases - not sure if that's a hint to anything.
from hearthstone-deck-tracker.
So that's probably all the logging will tell us anyway then. I mean.. I could just add an option to scale the overlay down by 20% if that's consistent (which is the problem, since I haven't heard too many reports about it and I can't reproduce it either)... is the offset 0,0 in all cases?
from hearthstone-deck-tracker.
Each resolution has a different offset - they're not all offset by the same.
If it's just a few people experiencing this then perhaps there are other priorites to get to - no need to worry too much I guess.
from hearthstone-deck-tracker.
Is the offset at least consistent with the 20%?
Yeah, if I could think of a soution I would probably try to fix it asap, but I really can't. And once you set the custom values it would work just fine, so that's okay I suppose.
from hearthstone-deck-tracker.
Source of bug discovered.
If the dpi setting within Windows is not set to 100% (ie. font scaling is set to something other) then the overlay will not be the same size as the game window.
In Windows 7 right-click desktop -> Screen Resolution -> Make text and other items larger or smaller -> Setting to 100% fixes sizes issues for all resolutions.
The code fix would be to take current dpi of screen into account.
This also seems to fix all offsets issues - no offset adjustments required so far.
from hearthstone-deck-tracker.
You are awesome :).
Got it fixed now.
from hearthstone-deck-tracker.
yay!
from hearthstone-deck-tracker.
Awesome!
Glad we were able to tackle that one - can the faq on the front page be updated now?
from hearthstone-deck-tracker.
Completely forgot about that, yes, thanks.
from hearthstone-deck-tracker.
Related Issues (20)
- Incorrect attack counter after walking mountain is silenced
- Plugin Addition to wiki HOT 5
- [Battlegrounds] Win games are not recording to last games HOT 1
- Does not show either deck list after 28.6.0 HOT 2
- Decklists not displayed in overlay and in client (under Linux/wine) HOT 2
- Whizbang deck detection broken due to missing WHIZBANG_DECK_ID HOT 1
- "Minions banned" are incorrect in battlegrounds HOT 1
- tier 7 minion list HOT 2
- accessibility for screen reader HOT 4
- One of the latest update broke the plugin advisor HOT 1
- Watchers.PackWatcher.NewPackEventHandler not triggered at all
- Keeps switching to No Deck Mode HOT 8
- Battlegrounds Match data
- HDT not displaying card on my side HOT 2
- Aspect Ratio is wrong HOT 2
- Switches to wrong deck mode tab after deck import
- Show/import/export xiliax components HOT 3
- Missing icon on deck viewer for whizbang's workshop set
- Поля сражений трекер
- Changing the Ziliax Deluxe 3000 skin breaks HSReplay.net stats integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hearthstone-deck-tracker.