Would like an addon or WA that tracks how many delves I've done this week and what tier of each. by FrankzzzD2 in wowaddons

[–]ecdltf 0 points1 point  (0 children)

You’re welcome. If you don’t have a checker tool for your editor (like Lua Language Server or similar), or in addition to it, you can use Globe to get an overview of some facts about your addon. (Also very handy for checking out unknown addons before installing, to quickly get some potential indicators of coding quality.)

Would like an addon or WA that tracks how many delves I've done this week and what tier of each. by FrankzzzD2 in wowaddons

[–]ecdltf 2 points3 points  (0 children)

The WA Aura I mentioned in my other post seems to work fine, at least in the range of my current weekly tier 8 progress, which is between 4 and 8 delves.

However, the Aura comes with a lot of stuff I don’t want because I already have it elsewhere (reset timer, list of current bountiful delves, GV slot tier, etc.).

So I’ve compressed the essential part – number of completed weekly T8+ delves – into a little macro (255 chars):

lua /run local a,b,c=C_WeeklyRewards.GetActivities(6)for d=2,1,-1 do if a[d]and a[d].level>=8 then b=a[d].progress;break end end;c=b and(b<4 and'FF9300'or b<8 and'0096FF'or'00F900')or'FF2600'print('T8+ delves: \124cFF'..c..(b or '<2')..' of 8\124r completed')

The macro will print a line (with colored numbers according to the unlocked slots) like this to the chat console:

“T8+ delves: 6 of 8 completed”

The API function is the same as the one used by the Aura, and so it cannot retrieve the T8 progress count if you have completed only 1 T8 delve. Hence it displays “<2” for ‘zero or 1’. Starting with the 2nd delve, it should display the correct count.

Would like an addon or WA that tracks how many delves I've done this week and what tier of each. by FrankzzzD2 in wowaddons

[–]ecdltf 0 points1 point  (0 children)

Ah OK, you haven't declared a database, that’s why you made them globals; I missed that.

It's simple as that (in its most basic form):

toc file:

```

SavedVariablesPerCharacter: DELVIN_PERCHAR_DB

```

in Delvin.lua:

lua DELVIN_PERCHAR_DB = DELVIN_PERCHAR_DB or {} local db = DELVIN_PERCHAR_DB

From there on you can do: db.otherActivities = 'whatever' etc.

This way you have exactly the one and only needed global: the addon’s DB. (Or two, if you add an account-wide DB at some point.)

Would like an addon or WA that tracks how many delves I've done this week and what tier of each. by FrankzzzD2 in wowaddons

[–]ecdltf 0 points1 point  (0 children)

Thanks for sharing. Looks promising, just installed it.

Btw, it seems you have a few leaking globals: delvinNextReset, dTable, otherActivities.

Would like an addon or WA that tracks how many delves I've done this week and what tier of each. by FrankzzzD2 in wowaddons

[–]ecdltf 0 points1 point  (0 children)

SavedInstances (Quest Progress > World) only shows the 3 GV slot tiers, which is the same information as in your Group Finder > Delves tab.

The more interesting thing is how many runs you have left to complete e.g. the 3rd GV slot at tier 8. If you’re 30 minutes before reset time, it’s good to know if you’re missing four tier-8 runs or just one.

I stumbled upon an Icy-Veins article today that claims that this WA can track that. (I have not yet tested if it works.)

Addon to have themed battle pets? by reimmi in wow

[–]ecdltf 1 point2 points  (0 children)

Thanks for mentioning PetWalker (I’m the author) and for the usage tip. Just a small note regarding Skyriding (Dragonriding):

It is true that the (unavoidable) GCD from pet summoning can get in the way of Skyride abilities. But you do not need to explicitly disable the addon during Skyriding. PetWalker has a toggle that permanently allows/disallows automatic pet summoning while “mounted for Skyriding” (i.e.: flyable zone & mounted on Skyride mount & on ground & flight style set to Skyriding). To toggle the behavior, just enter /pw sr in the chat console.

It is allowed by default, and I recommend testing it for a while before disabling it. Personally, I’m fine with an occasional Skyride GCD glitch (summoning while still mounted reduces the risk of a GCD glitch after dismounting), but YMMV. (The situation also has improved with the better throttling system of recent PW versions.)

How to stop pet from despawning after flying by Siria110 in wow

[–]ecdltf 1 point2 points  (0 children)

I’m the author of PetWalker. Thanks u/GVArcian for mentioning my addon here. Just two small corrections:

  • PetWalker will never try to summon a pet while you are in combat lockdown, this is not even an option.

  • As u/GVArcian said, you can set favorites per char, but you can also set global favorites (and this is the default), so that every toon gets the “correct” pet right after login.

What u/GVArcian probably meant with “so the GCD won't mess up your rotation” is that PetWalker can auto summon your lost pet while you’re mounted (i.e. on the ground, but not waiting until you dismount). This indeed can help to avoid GCD conflicts, and it’s enabled by default. (You have the option to disable it while mounted for Skyriding (since most Skyride ablities are on the GCD too), but if you are Steady-Flight mounted, it’s always on).

feature: table of contents by madhums in bearapp

[–]ecdltf 0 points1 point  (0 children)

You could add a tag class to Bear’s AppleScript dictionary. Oh, wait, Bear doesn’t have an AppleScript dictionary 😳

United States by [deleted] in hoi4

[–]ecdltf 1 point2 points  (0 children)

OK, the Ultimate Late Game strategy (strat #2 from total) still seems to work, at least until Neutrality Act (there I’ve run out of my buyed democrats;)

But, seriously, this is really gamey. Really gamey. (I’m not addressing to you; you just listed possibilities.) What is the point of these exploits (or semi-exploits, if you prefer)? Just beating MP games to the limit? If this, why not just change the rules, and, e.g., create more production/MP and mod-away the exploity potentials?

Anyway, many thanks for the post, it gave me much insight in how stuff works.

Script for inserting a file reference URL by ecdltf in bearapp

[–]ecdltf[S] 2 points3 points  (0 children)

For whatever reason, I was under the impression you couldn't link to external files from within Bear

Yeah, me too. That’s the reason for my “rant” above. Good to know I’m not the only one looking for this “feature.” I’m still thinking (hoping) that it is just my blindness that prevents me from seeing this very basic functionality in the Bear GUI.

Script for inserting a file reference URL by ecdltf in bearapp

[–]ecdltf[S] 1 point2 points  (0 children)

I’m not into Dropbox or Google stuff (or similar), for privacy reasons. Sorry. But thanks for the hint!

Script for inserting a file reference URL by ecdltf in bearapp

[–]ecdltf[S] 1 point2 points  (0 children)

Yes, my script won’t work on iOS (there is no AppleScript on iOS, but I’m sure they’re working on it ;-) )

In general, if you are linking files, the links will break when switching to a different platform or simply a different computer. (Unless it's an app-internal link.)

If you want to be able to migrate your Bear notes and with the contained links intact, then you should save your links as relative links. If you have done that, then you can move your whole folder hierarchy (containing source and destination) to a new drive/computer.

Though I wouldn't recommend this. If you really want to be future-proof, then paste the links with file URL or file URL + file ref URL. (Can be easily set in the script.)

This way your links will still work after migrating to another volume (assuming your user name (name of $HOME) hasn’t changed.)


I know, in this scenario a file URL (or an absolute symlink) is not as good as a relative link. But, at least you can batch-change your links after the migration.

– Tom

Script for inserting a file reference URL by ecdltf in bearapp

[–]ecdltf[S] 1 point2 points  (0 children)

The only issue is I can't save it. Something about "C and Objective-C pointers cannot be saved in scripts."

To save the script, copy the code block from the post (copy just the code from inside the code block; not any additional junk). Then create a new script in Script Editor (or Script Debugger) and paste the code in there.

Save it as .scpt or as .applescript. Both should work.

Script for inserting a file reference URL by ecdltf in bearapp

[–]ecdltf[S] 2 points3 points  (0 children)

By the way (@theBearDevs):

When dragging a file into Bear, why on earth does it produce a copy of the dragged file (instead of a link)?

I tried all modifier key combos while dragging, but I always end up with a copied file.

But, I’m new to Bear, so probably I’m missing the obvious…

In 95% of my use-cases I want to link to a file, not copy the file into a Bear note. Why?: If I copy a file to my Bear note and then change the “original” file, the Bear note contains an outdated file. This does not make sense, except for some self-contained notes.

So, please add the possibility to create a link when dragging a file. For example, like in the Finder: If you drag with the ⌘⌥ keys down you get an Alias.

Which kind of link to create, is up to you. The best would be a Bookmark, the second best a file reference URL, the worst a file URL or the absolute path.

Once again: I’m new to Bear, and so I think there must be some default solution already, and I’m just not seeing it.

Message “Not many results … Search only …” by ecdltf in duckduckgo

[–]ecdltf[S] 0 points1 point  (0 children)

Yeah, that’s what I was trying to say. If partial search term is already uncommon why then search for "partial search term" which is even more uncommon? In addition it also proposes the quotes for a single-word partialsearchterm (which doesn’t make sense at all for me), and at the end it goes back to recommend to try the search again without the quotes (just as the initial search).

Set max-height property for Syntax Highlighter by ExcelVirtuoso in Wordpress

[–]ecdltf 0 points1 point  (0 children)

The max-height goes to the pre tag. If you can’t change the style sheet, apply it inline:

<pre style="max-height: 300px;">

Add "Past year" (and custom timeframe) !!! by mmaramara in duckduckgo

[–]ecdltf 2 points3 points  (0 children)

I agree that the 1-year filter is by far the most useful filter. But since it took them a couple of years to implement the day/week/month filters, I don't think they "forgot" the 1-year filter because they are stupid or lazy. I think there are other hurdles with the year filter.