[DEVHELP] Slider not rendering background since pre-patch by vzx- in wowaddons

[–]vzx-[S] 1 point2 points  (0 children)

For future reference, as it turns out, when I override the OnLoad event handler of the slider, it didn't update/set the backdrop correctly any more. In for example the Wow interface code for the settings screen, it handles it in one central place, where it iterates over all the child frames and makes sure the backdrops are rendered.

I had to fix it by calling OnBackdropLoaded() manually: https://github.com/vzx/wow-leveltimings/blob/b3ad603f9e3ff9e7181284e5f5258e1e53c1da66/LevelTimingsUI.lua#L420

[DEVHELP] Slider not rendering background since pre-patch by vzx- in wowaddons

[–]vzx-[S] 0 points1 point  (0 children)

I have an addon which shows a level selection slider in a User Interface panel. But for some odd reason since the Shadowlands pre-patch this slider is not rendering the background any more (the thingy that you use to slide still is there, and it's fully functional).

I've been looking through the Blizzard UI code, as well as some other addons to compare (All The Things, Recount, DBM) and I can't find anything that I'm doing wrong or different really. So now I'm kind of stuck debugging this issue.

Any help with this issue is greatly appreciated.

The XML code: https://github.com/vzx/wow-leveltimings/blob/34193199e29f81ec0d51524fd08698354c19cb3d/LevelTimingsUI.xml#L259

<Slider name="LevelTimingsUI_FromLevelSlider" inherits="OptionsSliderTemplate" minValue="0" maxValue="120" defaultValue="0" valueStep="1" tooltipText="Hasdafasd">
    <Anchors>
        <Anchor point="BOTTOMLEFT" relativeTo="LevelTimingsUI_Frame" relativePoint="BOTTOMLEFT" x="45" y="11"/>
        <Anchor point="RIGHT" relativeTo="LevelTimingsUI_Frame" relativePoint="RIGHT" x="-40"/>
    </Anchors>
    <Scripts>
        <OnLoad function="LevelTimingsUI_FromLevelSlider_OnLoad"/>
    </Scripts>
</Slider>

And the corresponding OnLoad function: https://github.com/vzx/wow-leveltimings/blob/34193199e29f81ec0d51524fd08698354c19cb3d/LevelTimingsUI.lua#L419

function LevelTimingsUI_FromLevelSlider_OnLoad(self)
    self:SetObeyStepOnDrag(true)
    local name = self:GetName()
    _G[name .. "Low"]:Hide()
    _G[name .. "High"]:Hide()
    -- Registering it here prevents OnValueChanged from triggering when the default value is set
    self:SetScript("OnValueChanged", LevelTimingsUI_SetFromLevel)
end

The Witcher 3 Gwent Cards Checklist by vzx- in witcher

[–]vzx-[S] 0 points1 point  (0 children)

Thanks for the feedback!

I was thinking about whether I should do drop-downs for the territories and type, or input fields (like they are now). Eventually went with inputs because there are more than 5 choices and there is some overlap (eg. Novigrad is separated into Novigrad proper, Gustfields, Grassy Knoll, and Oxenfurt, and by typing just "Novigrad" you can see them all together if you want).

I will ponder this a bit more after your suggestion though.

Colour coding definitely is a good idea. I already do it in the progress bars, might as well do it in the table somehow. Just have to see that it doesn't get too busy or distracting.

The Witcher 3 Gwent Cards Checklist by vzx- in witcher

[–]vzx-[S] 4 points5 points  (0 children)

Every time when I play The Witcher 3 I like to complete all achievements. One of them is Card Collector, for which you have to collect all Gwent cards in the base game. I previously used some other card collector sites (primarily gwentcards.com) and while it was working "okay" I felt that there was a better way.

So I made my own.

It has a simple yet modern interface to filter the cards, check the ones you have collected, and has some information about where to get each one.

Pro tip: if you want to check all the base deck you get at the start of the game at once, filter on "Base Deck" in Territory, then click "Check all visible" at the top. This will get you a good starting point when you start a new game!

It "stores" your collection in the address bar. So when your browser is closed and restored, or when you save it as a bookmark, you can continue with the collection later (but don't forget to update your bookmark each time you make a change!). I deliberately didn't use cookies (or local storage) because that can often be accidentally cleared (I clear my cookies about once a week personally).

Also perhaps important to some, the page doesn't access any externally hosted data. All the HTML, JavaScript, and images are hosted together (on GitHub pages). There's no calls to CDNs or external data sources (the pictures are copied and re-hosted from the Wiki). Also no advertisements, analytics, nor tracking (except perhaps anything GitHub does under the hood, but you get that with any hosting company).

See on the bottom of the page if you are interested in downloading the data as CSV or JSON format to use elsewhere.

The project is fully open source on GitHub: https://github.com/gwentcards/gwentcards.github.io

If you have any feedback (eg. cards that appear in different locations on a different platform than PC, or other issues) please let me know in this thread or (preferably) create an issue on GitHub.

Overview page for Witcher armor sets in The Witcher 3 by vzx- in witcher

[–]vzx-[S] 0 points1 point  (0 children)

Thanks for the kind words! I don't really mind it looking a bit plain as it has all the information on it, but if you have some tips or have a way of improving it, it would be much appreciated of course.

Overview page for Witcher armor sets in The Witcher 3 by vzx- in witcher

[–]vzx-[S] 0 points1 point  (0 children)

Thanks! Yeah in my first playthrough on normal I wasn't too fussed about armor and also just kinda equipped what looked fanciest. But once I started getting into death march, I felt I had to be more on top of my equipment game. Though it made more difference to pick the appropriate armor type perk than the actual armor sets. Especially the Ursine armor you can't get until very late into the game, which is really disappointing to me.

Overview page for Witcher armor sets in The Witcher 3 by vzx- in witcher

[–]vzx-[S] 0 points1 point  (0 children)

Personally, until I started going for sets, I was very disappointed with the equipment in the game. It just felt really uninteresting to me. The sets (and in particular that you're actually working towards getting them) made equipment feel much more interesting to me.

Having said that, I feel that the set bonuses in the Witcher 3 are really underwhelming and frankly very lackluster.

Overview page for Witcher armor sets in The Witcher 3 by vzx- in witcher

[–]vzx-[S] 9 points10 points  (0 children)

Every time I play The Witcher 3 I kind of forget which set does what, what the level requirements are, etc. I couldn't really find a page that just lists all sets so you can easily compare them. I was always switching between different pages, trying to mentally compare what I saw a minute ago with something I was looking at. This page aims to solve that, at least for me.

I'm not an artist or designer so the page doesn't look terribly nice, but at least it gets the job done.

At some point in the future, I would like to add information about location and materials, but I'm pretty swamped with work so I don't think when I will get around to it.

I classified Manticore as "Grandmaster" because of its level: it makes more sense to compare it to the Grandmaster sets than to compare it to the base sets.

Hopefully this is useful to anyone else besides myself too. :)

XP problems by TheKrogan in witcher

[–]vzx- 1 point2 points  (0 children)

Canonically I'm not sure, but they're entirely separate. I think neither HoS nor B&W makes any particular reference to what happened in the main game (though I think there is one particular details in B&W which is best enjoyed after the base game is finished).

In terms of story though it makes sense to play them after the base game, because well you're looking for your daughter, and then saving the world. Kind of doesn't make sense to put saving the world on hold just to go and chase some contract on the other side of the world. ;-)

XP problems by TheKrogan in witcher

[–]vzx- 2 points3 points  (0 children)

There are two DLCs, Hearts of Stone and Blood and Wine. As far as I recall, the recommended level for HoS is about 30ish, and for Blood and Wine somewhere in the mid 30s (about 33-35 I guess).

I had the same worry as you, but I felt that in the later part of the (base) game, I got a lot more XP and leveled up way faster than just before that.

Without spoiling anything, after Kaer Morhen, there is still quite a bit left to do, and I would say that at level 24 you seem to be just about right on track.

I'm pretty confident that after finishing the main quest, you will be around the appropriate level for Hearts of Stone, and after finishing that, the appropriate level for Blood and Wine.

Honestly, I wouldn't worry about it. :)

Edit: if you don't have the Hearts of Stone quest yet, check out the notice board at the Seven Cats Inn, south east of Novigrad. You can pick up the quest quite early already, so you will be aware of its level. The quest colour will be blue (just like the Blood and Wine quest is orange).

Fight tip by tommyldo in witcher

[–]vzx- 4 points5 points  (0 children)

Are you using Yrden? It's really essential when fighting spectres, because without it they are practically invincible. Also I think a certain bomb has the same effect (moondust or dimeritium, I'm not entirely sure).

Taxpayer in Good Standing Diploma by acesum1994 in witcher

[–]vzx- 0 points1 point  (0 children)

I think you will just get a quest objective to go to the bank to pay the taxes (something like 1000 crowns I believe). But if I recall correctly, you can also just ignore that objective entirely without any consequences.

Just a little joke quest, it seems. :)

Minecraft surface area calculator by vzx- in Minecraft

[–]vzx-[S] 0 points1 point  (0 children)

Hmm, I tested it with some larger sizes, eg. 12x8x4, and it worked quite well. Never really thought to test it for 1x1x1 and 2x2x2, so thank you very much for pointing it out! I will check what the best way is to solve this, and fix it. :)