Code Monkey home page Code Monkey logo

gw2clarity's Introduction

GW2 Clarity

GitHub all releases GitHub Workflow Status Discord

Installation

Requirements:

You will need to install GW2 Addon Loader, instructions on installation found here: https://github.com/gw2-addon-loader/loader-core#installation

Alternatively, you may use the Addon Manager for an automated install

Clarity:

Download the latest gw2clarity.zip from the Assets section found here: https://github.com/Friendly0Fire/GW2Clarity/releases/latest

Copy all files into <Guild Wars 2 installation directory>/addons/gw2clarity/.

Usage

Configuration keybind is Alt+Shift+P. First create a Grid, then add buffs to the Grid. Grids can be assigned to Sets to quickly toggle which Grids are visible (e.g. to disable raid overlays in open world).

Currently unavailable in competitive modes.

gw2clarity's People

Contributors

aleab avatar antnieszka avatar friendly0fire avatar gessen avatar jawills avatar jordanrye avatar kiipey avatar megai2 avatar perks avatar progamesigner avatar slokhorst avatar void-method avatar xvwyh avatar zerthox avatar zyian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gw2clarity's Issues

Buff IDs to identify

Professions

  • Guardian
  • Revenant
  • Warrior
  • Engineer
  • Ranger
  • Thief
  • Elementalist
  • Mesmer
  • Necromancer

Raids

Vale Guardian

  • Unstable Magic Spike ("Blues")
  • Distributed Magic ("Greens") [?]
  • Pylon Attunements

Gorseval

  • Spectral Darkness ("Orbs")
  • Ghastly Prison ("Eggs")

Sabetha

  • Time Bomb
  • Sapper Bomb
  • Shell-Shocked
  • Target!
  • Platform Crush [?]

Slothasor

  • Nauseated
  • Fixated
  • Volatile Poison

Prison Camp

  • Sapper Bomb
  • Target!

Matthias Gabrel

  • Corruption
  • Unstable Blood Magic
  • Zealous Benediction
  • Snowstorm
  • Heat Wave
  • Downpour
  • Unbalanced

Escort

  • Toxic Spores
  • Healing Cleanse
  • Crimson/Radiant Attunement

Keep Construct

  • Fixated
  • Xera's Fury
  • Crimson/Radiant Attunement

Twisted Castle

  • Madness

Xera

  • Derangement
  • Intervention

Cairn

  • Celestial Dash
  • Unseen Burden
  • Gaze Avoidance
  • Shared Agony
  • Displacement

Mursaat Overseer
- [ ] Dispel
- [ ] Claim
- [ ] Protect

Samarog

  • Gift of True Sight
  • Fixated
  • Fixated (Guldhem)
  • Fixated (Rigom)
  • Inevitable Betrayal ("Lock and key")

Deimos

  • Teleport ("Green")
  • ??
  • Weak Minded
  • Form Up and Advance!
  • Tear Instability

Soulless Horror

  • Exile's Embrace
  • Fixated
  • Necrosis

River of Souls

  • Desmina's Protection
  • Soul Siphon
  • "Time Bomb"
  • Fractured Spirit

Statue of Death

  • Reclaimed Energy
  • Empowered
  • Mortal Coil
  • Fractured Spirit

Statue of Ice

  • Frozen Wind
  • Glaciate

Dhuum

  • Arcing Affliction
  • Residual Affliction
  • Soul Shackle
  • Hastened Demise

Conjured Amalgamate

  • Greatsword Power ("Sword")
  • Conjured Shield ("Shield")
  • Locked On

Twin Largos

  • Tidal Pool
  • Waterlogged

Qadim

  • Lamp Bond
  • Power of the Lamp
  • "Tether" [?]

Cardinal Adina

  • Tectonic Upheaval
  • Radiant Blindness
  • Eroding Curse

Cardinal Sabir

  • Violent Currents
  • Bolt Break [?]
  • Stasis Cage

Qadim the Peerless

  • Kinetic Abundance
  • Sapping Surge
  • Enfeebled Force

Strikes

Fractals

Misc

Buff timers

Hello,
Is it possible to add text timers to the icons like in other games such as FFXIV or WoW where you have a timer below the icon or in the center of the icon ?

GW2 Addon Manager inclusion?

This isn't really a feature request, it's more of a question. It definitely isn't a bug or issue with the addon -- pebkac if anything.

The installation instructions say "Alternatively, you may use the Addon Manager for an automated install"

But Clarity isn't on the list of addons in the GW2 Addon Manager -- did it get removed or is there a way to add addons to the list in GW2 UOAOM ?

Thanks

(PS I tried the not-automated install and it did NOT go well. GW2 crashed before it even fully started, and it persisted even after I removed all the files I had added through the loader core. Probably should've backed up the files I was replacing!)

Config file makes the game crash on startup

Describe the bug
The game crashes at start if you have an empty item. In other words, the addon allows to change config in a way that crashes gw2clarity on startup.

To Reproduce
Steps to reproduce the behavior:
Create new item and leave it empty:
{
"buff_id": 0,
"pos": [
0,
0
],
"style": "[Default] Simple On/Off (hidden)"
}

Expected behavior
Crash on startup of the game.

config.json

arcdps_lastcrash.log

If you need something I could help with just ask. Thanks

Buff Pull Request Guidelines

This issue is intended to document the steps to submit a pull request for new buffs, be it mechanic buffs from encounters or profession buffs. If submitting new profession buffs, only full profession coverage will be accepted (i.e., you can't submit a PR for half a profession's buffs, even if those buffs are not commonly used).

Buffs are only acceptable if they display a buff icon in the game's standard buff bar or if they display a distinct visual effect on screen (e.g., the teleport AoEs on Vale Guardian showing a bright screen border).

To submit a PR, the following two pieces must be included:

  • An update to <repo>\GW2Clarity\src\BuffsList.inc.
  • The new buff icons, if any, in <repo>\GW2Clarity\assets\atlas.

Buffs List

The BuffsList.inc file follows a simple format: one buff is described each line, surrounded by braces, with a comma separator between each. Don't forget the trailing comma on each entry!

Headings

Headings are the simplest: just write the heading in between double quotes:
{ "This is a heading" },
The heading will be associated with every buff that follows it, until a new heading is defined. The buffs will then be sorted alphabetically by Clarity in each section, so no need to worry about writing them in any specific order.

Buffs

Buffs themselves have a few more parameters. Every buff will start by its ID: this can be found on the wiki, but take great care: the ID of the skill and its buff are different! For example, Skelk Venom has an ID of 21778 (you can hover on the "Game link" chat code to see it), but Skelk Venom (effect) is the actual buff that is applied and its ID is 21780 (this is the ID we want).

In some cases, a buff may have multiple associated IDs (e.g., a skill is modified by a trait but remains the same skill from a user standpoint). You can describe this by writing multiple IDs in braces, e.g. { { 1, 2 }, ... },.

The second buff parameter is always the display name. This will be shown in the menus. If the name itself has double quotes (most often shouts), escape them with a backslash: "\"Sic 'Em!\"".

The third parameter is optional and is the name of the original texture stored in the atlas folder (see next part). By default, Clarity will determine the texture's name by converting the display name to lowercase and replacing spaces and double quotes with underscores ( and " to _). However, certain special characters are not allowed in file names, and there are instances where multiple buffs reuse the same icon. For these scenarios, you can manually input the texture's name here.

The final parameter (which can be third or fourth depending on whether the texture name is present) is also optional and indicates the maximum number of stacks that the game uses. For instance, Bleeding stacks to a maximum of 1500, while Might stacks to 25 and Alacrity stacks to 1. If you do not know the maximum, omit this parameter and Clarity will put no cap (but remember that any number of stacks above 25 is simply displayed as ">25").

Some examples:

  • Basic buff: { 9113, "Virtue of Courage" },
  • Multiple IDs: { { 9220, 46554 }, "Signet of Resolve" },
  • With max stacks of 25: { 740, "Might", 25 },
  • Custom texture name: { 10497, "50% Magic Find Boost", "magic_find_boost" },
  • Multiple IDs, custom texture name, with a max stacks of 1: { { 34912, 34925 }, "Statue Fixated", "fixated", 1 },

Atlas

The second part of the process is adding the buff icons to the addon. The simplest way to do so is to copy the icons from the wiki. Taking the Skelk Venom (effect) example, you can get the icon image URL (https://wiki.guildwars2.com/images/7/75/Skelk_Venom.png).

The process to prepare an icon for use is then as follows:

  • Rename it as appropriate (see last section on the atlas name). For our example, this would be skelk_venom.png.
  • In your image editor of choice, trim any black or transparent border around the image.
  • Still in the image editor, resize the image to 32x32.
  • Save it in <repo>\GW2Clarity\assets\atlas.
  • If the image name does not follow the automatic pattern, don't forget to update the name in the buffs list entry!

Submission

Once you have generated both the buffs list and the atlas images, you can make a PR. I will quickly review the changes to make sure they look fine, and then activate the CI pipeline to generate a build. You can then use this build to immediately test your changes and see if they work, and make changes as necessary. Alternatively of course, you can develop, build and test locally if you are familiar with C++ and have a working Visual Studio 2022 installation.

Since testing would be hard to demonstrate, I will be working on a good faith basis: once you have run testing and have verified that all of your submitted buffs work, please let me know in the PR and I will merge it in.

If this long-winded process interests you and you want to help: thank you. I hope to see your PR in the near future!

Improve drop-down

  • Split the drop-down by category: boons, conditions, class mechanics, boss mechanics, misc
  • Add search bar

Stack detection stopped working on Feb. 28 patch

The detection of stacks for buffs and conditions stopped working since the Feb. 28 patch of GW2.
In more detail, setting a different color/opacity for 0 stacks and for 1-25 stacks will result in always showing the color/opacity for 0 stacks and never switch to the one for 1-25 stacks, even when applying the boon or condition.

Please let me know in case you need any files.

Thanks!

Showing all the boons even though i have no boons.

I have checked the box for it to show only during combat. Once I get in combat, all the boons in the grid is showing up even though I don't have any boons. I don't think it is reading what boons I have.

A Statement on Buff Durations

This is a quick pinned issue to address a common question: no, this addon will not have boon duration tracking.

There's a few reasons for this:

  • Boon duration is relatively complex to calculate and would require a large redesign of how the addon works.
  • Boon duration stacking is conditional and, since I don't have access to the stacking method from within the game, each buff in the game would have to be manually tagged for what kind of stacking it uses. This is brittle and a lot of work.
  • I'm intentionally restricting this addon's scope and functionality so that it does not become a strict upgrade over the game's own UI in order to quell fears and complaints about ToS compliance.

Any questions on this topic will be redirected to this issue. I will not have discussions on the matter as I consider this feature off-limits.

UX Improvements

  • Display buff numbers >25 correctly
  • Support displaying "0" and "1" digits if desired (style setting?)
  • Fix timeline for styles designed for buffs with more than 25 stacks
  • Make Grids and Layouts work like Styles and Cursors when it comes to creation (immediately create a new item and go into edit mode rather than using an ephemeral item that needs to be applied)
  • Always display a Grid's grid behind the imgui window when it's selected
  • Add default "no buff" icon
  • Allow buff to be of an arbitrary size on a grid rather than locked to the size of the grid
  • Display style preview when selecting through drop down in Grid view (tooltip next to drop-down iterating through buff stacks from 0 to 25)
  • Space out keybinds and global options in Layouts tab

Not In GW2-UOAOM (Add-on Manager)

There is no option to install GW2clarity in the add-on manager, despite this being mentioned as an install option. GW2Radial is there, but not clarity. Or it's named differently in the manager.

Cursor overlay

Make overlays (always following the cursor) which can be combined and layered arbitrarily. The overlays can affect:

  • Hue, saturation, brightness
  • Invert backbuffer color
  • Tint.
  • Draw under/over buffs overlay.

The masks include:

  • A ring
  • An infinite cross
  • A gaussian
  • A circle
  • A user-selectable bitmap.

Please Implement Steamdeck touchscreen functionalities

I'm always frustrated when playing on my steamdeck and want to swipe through various sets of buffs.

As such it would be imperative to implement Standard Finger Movements to clarity to switch between different sets of Buffs/Conditions and and Zoom funtionalities to or enlarge certain Buffs as shown in the picture below.
This is especially useful on Player vs Player areas such as Obsidian Sanctum because Mumble Link classifies it as a PvE area.

Untitled

Describe alternatives you've considered
No Compromises. Though colour blind mode would be nice.

Uncontrolled DMP File Creation

Describe the bug
Since 23 Aug 2023, GW2 Clarity has created hundreds of thousands of .dmp files in my C:/Guild Wars 2 folder.

To Reproduce
Steps to reproduce the behavior:
This is happening whenever I run the game. I did not notice it until the Addon Manager stopped working after the 19 Oct 2023 game update.

Expected behavior
For these files not to have been created.

Screenshots
If applicable, add screenshots to help explain your problem.
image

System configuration (please fill in):

  • OS: Windows 10
  • GPU: RTX2080
  • Chainloading, if any: Addon Manager for arcdps, GW2Radial, GW2Clarity, SelectRenderer for GShade

Additional context
Add any other context about the problem here.

error

Bad category sorry i pull request correctly

Add generic icons

Multi-buff icons might be more useful with generic buff icons instead of anything specific, plus the occasional mechanic without an explicit icon.

  • Generic boss mechanic (debuff, buff)
  • Generic buff
  • Generic condition
  • Generic non-damaging condition
  • Generic damaging condition

Error: No matching thread found

Describe the bug
On start-up get error popup: No matching thread found
Clicking OK will then crash GW2 back to desktop

To Reproduce
Steps to reproduce the behavior:

  1. Start GW2

Expected behavior
No popup, all runs

Screenshots
image

System configuration (please fill in):

  • OS: [e.g. Windows 10] Win10
  • GPU: [e.g. GTX1080] GTX 1080
  • Chainloading, if any [e.g. arcdps -> GW2Radial -> GW2Hook] ?

Notes
Started happening after the Dec 12 patch - 155626

Fatal error while iterating through buff table

Describe the bug
Fatal error while iterating through buff table

To Reproduce
I get a notification window for the error every time I start up the game with GW2Clarity. This issue started after the SOTO release and subsequent GW2Clarity update through the Addon Manager.

Expected behavior
That there wouldn't be a fatal error while iterating through buff table.

Screenshots
image

System configuration (please fill in):

  • OS: Windows 10
  • GPU: nVidia RTX2080
  • Chainloading, if any: UOAOM loads Arc, GW2 Radial, GW2Clarity, GShade

KERNELBASE.dll Warning and dump file

Starting Gw2 with Clarity throws the following warning in "gw2clarity.log" and creates a dump file for each logging. Addon works just fine.

[11:12:38.5338499|WRN] Intercepted exception in module 'C:\WINDOWS\System32\KERNELBASE.dll', address 0x7ffc0423cd29, code 0xe06d7363.

How can I solve the issue or stop creating dump files?

Way to change default set from none?

Currently when I log in, the default set is none. I have to use the key bind to change the set every time I log in.
Is there a way to change the default set?

Thanks for the addon.

No Gw2 Launch when add with LaunchBuddy

Describe the bug
I try to add Clarity to a GW2 launchbuddy (i add the clarity dll to it launch), but it block the launch completly

To Reproduce
Steps to reproduce the behavior:

  1. Do 'Add Dll to a GW2 Launchbuddy account'
  2. Then do 'Launch GW2'
  3. Launch full block

Expected behavior
Can work with launch buddy (i only need this wonderfull on my main account)

Screenshots
no scree,

System configuration (please fill in):

  • OS: Windows 10
  • GPU: RX580
  • Chainloading, any

Additional context
TY !

Any chance of open-sourcing getbuffs.dll?

I know this is a long shot, but is there any chance you could open-source getbuffs.dll?
It obviously works great at providing real-time buff info, and would be nice if others (myself included) could use it / iterate it when building new addons for GW2.

How can I add a new debuff/buff?

Wondering how would I go about adding a new buff/debuff on the current version? I have no experience with gw2 addons but I have with programming. (asking this since you are taking a break)

Crashes on second "/wiki" command

Describe the bug
The game crashes after 2 uses of the "/wiki" command.

To Reproduce
Steps to reproduce the behavior:

  1. Run the "/wiki" command twice with any argument.
  2. The game crashes and doesn't process the second wiki request.

Expected behavior
I would expect the game not to crash and open the correct wiki page.

System configuration (please fill in):

  • OS: Windows 11
  • GPU: NVIDIA RTX 3060
  • Chainloading: BlishHUD -> Arcdps BlishHUD Integration -> arcdps -> GW2Clarity

Additional context
I am using the updated getbuffs.dll.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.