Giter VIP home page Giter VIP logo

wow-vanilla-gearmenu's Introduction

GearMenu

GearMenu aims to help the player switching between items in hectic situations by queueing items and doing the actual switch as soon as the player leaves combat

Note: With the release of World of Warcraft classic this addon is entering maintenance only mode. This means that no new features will be implemented and only the most important bugs are fixed. For the classic version of this addon see GearMenu-Classic.

Installation

WoW-Addons are installed directly in your WoW directory:

[WoW-installation-directory]\Interface\AddOns

Make sure to get the newest version of the Addon from the releases tab:

GearMenu-Releases

Note: If the Addon is not showing up in your ingame Addonlist make sure that the Addon is named GearMenu in your Addons folder

What is GearMenu?

GearMenu is based on the popular TrinketMenu Addon and its goal is to bring this functionality to other slots including trinkets. Its target is to assist the player in PvP but it has definitely some use in PvE as well.

Supported slots:

Slotname Description
HeadSlot Head/Helmet slot
NeckSlot Neck slot
ShoulderSlot Shoulder slot
ChestSlot Chest/Robe slot
WaistSlot Waist/Belt slot
LegsSlot Legs slot
FeetSlot Feet/Boots slot
WristSlot Wrist/Bracers slot
HandsSlot Hands slot
Finger0Slot First/Upper ring slot
Finger1Slot Second/Upper ring slot
Trinket0Slot First/Upper trinket slot
Trinket1Slot Second/Lower trinket slot
BackSlot Back/Cloak slot
MainhandSlot Main-hand slot
SecondaryHandSlot Secondary-hand/Off-hand slot
RangedSlot Ranged slot

Features of GearMenu

Item switch for certain slots

With GearMenu it is easy to switch between items in supported slots. This is especially useful for engineering items that you wear for a certain amount of time and then switch back to your usual gear.

Item switch one-handed to two-handed

Remember the error message you get when you try to switch your one-handed weapon with a two-handed? GearMenu recognizes this and will automatically unequip your offhand weapon or shield as long as there is enough space in your bag to store both weapons. Thus, allowing to switch to a two-handed weapon with a single click.

CombatQueue

Certain items cannot be switched while the player is in combat. Weapons will be switched immediately whether the player is in combat or not. Other items that cannot be switched in combat will be enqueued in the CombatQueue and switched as soon as possible. This is especially useful in PvP when you leave combat for a short time.

Quick Change

Quick Change consists of rules that apply when certain items are used. The player can define for items that have a usable effect what should happen after the items has been used. This means that an item is immediately switched after its used. If the user is in combat it will be moved to the combat queue instead.

In the optionsmenu you can define new rules based on the item type

Note: For items with a buff you will have to manually define a timeframe after which the item should be switched. If an item has a buff effect and you immediately change the item you will also lose its buff.

After adding such a rule you can try it out.

Note: It is also possible to add rules that don't make any sense. If you for example choose an item that has no onuse effect the item will be never switched.

Keybinding

GearMenu allows to keybind to every slot with a keybinding. Instead of having a keybind for every item that you have to remember you set it directly on the slot itself.

Drag and drop support

GearMenu allows to drag and drop items onto slots, remove from slots and slots can even be switched between.

Drag and drop between slots

Drag and drop item to GearMenu

Unequip item by drag and drop

Configurability

GearMenu is configurable. Don't need a certain slot? You can hide it.

To show the configuration screen use /gm opt while ingame and /gm info for an overview of options.

Hide/Show Cooldowns

Hide/Show Keybindings

Lock/Unlock Window

Filter Items by Quality

Not interested to see items with a quality level below a certain level? Filter them out and only items that meet your set level will be considered to be displayed in GearMenu.

FAQ

The Addon is not showing up in WoW. What can I do?

Make sure to recheck the installation part of this Readme and check that the Addon is placed inside [WoW-installation-directory]\Interface\AddOns and is correctly named as GearMenu.

I get a red error (Lua Error) on my screen. What is this?

This is what we call a Lua error and it usually happens because of an oversight or error by the developer (in this case me). Take a screenshot off the error and create a Github Issue with it and I will see if I can resolve it. It also helps if you can add any additional information of what you we're doing at the time and what other addons you have active. Also if you are able to reproduce the error make sure to check if it still happens if you disable all others addons.

I can't seem to have different settings for my characters. What can I do?

Because of a bug versions before 1.2.0 saved the Addon options not only for the current character but also globally for the Addon. This was not intended and is fixed in the newest version. After updating to version 1.2.0 or newer make sure to delete the following files:

 WTF\Account\ACCOUNTNAME\SavedVariables\GearMenu.lua
 WTF\Account\ACCOUNTNAME\SavedVariables\GearMenu.lua.bak

After updating to a newer version of the Addon I run into Lua errors. What can I do?

When updating from an old version to a newer Addon options usually need to be migrated to the new version. While I intend to do this upgrading automatically there is a possibility that the upgrading didn't work as expected. In this case it usually is the easiest to delete locally stored configuration of GearMenu and start over. This means that your configuration is deleted and that you need to redo setting the options.

Delete the following files for all characters.

WTF\Account\ACCOUNTNAME\RealmName\CharacterName\SavedVariables\GearMenu.lua
WTF\Account\ACCOUNTNAME\RealmName\CharacterName\SavedVariables\GearMenu.lua.bak

Note: If those files do not exist skip the character. This means that you didn't login with that character while the Addon was active.

Development

Switching between Environments

Switching between development and release can be achieved with maven.

mvn generate-resources -Dgenerate.sources.overwrite=true -P development

This generates and overwrites GM_Environment.lua and GearMenu.toc. You need to specifically specify that you want to overwrite to files to prevent data loss. It is also possible to omit the profile because development is the default profile that will be used.

Switching to release can be done as such:

mvn generate-resources -Dgenerate.sources.overwrite=true -P release

In this case it is mandatory to add the release profile.

Note: Switching environments has the effect changing certain files to match an expected value depending on the environment. To be more specific this means that as an example test and debug files are not included when switching to release. It also means that variables such as loglevel change to match the environment.

As to not change those files all the time the repository should always stay in the development environment. Do not commit GearMenu.toc and GM_Environment.lua in their release state. Changes to those files should always be done inside build-resources and their respective template files marked with .tpl.

Packaging the Addon

To package the addon use the package phase.

mvn package -Dgenerate.sources.overwrite=true -P development

This generates an addon package for development. For generating a release package the release profile can be used.

mvn package -Dgenerate.sources.overwrite=true -P release

Note: This packaging and switching resources can also be done one after another.

# switch environment to release
mvn generate-resources -Dgenerate.sources.overwrite=true -P release
# package release
mvn package -P release

Deploy a Release

Before creating a new release update addon.tag.version in pom.xml. Afterwards to create a new release and deploy to GitHub the deploy profile has to be used.

# switch environment to release
mvn generate-resources -Dgenerate.sources.overwrite=true -P release
# deploy release to GitHub
mvn package -P deploy

For this to work an oauth token for GitHub is required and has to be configured in your .m2 settings file.

License

MIT License

Copyright (c) 2019 Michael Wiesendanger

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

wow-vanilla-gearmenu's People

Contributors

ragedunicorn avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kophaks miphalolx

wow-vanilla-gearmenu's Issues

new release?

will there be a new release?
after 1.2.1 corrections were released, but there is no release, and the master branch with debug mode.
I'd like to fix the add-on translation for the latest fixes.

Update gear menu for classic

This addon should be updated for classic! I wonder if the quick change rules would work with the legion addon API though.

ru Translation and some notes

Gear Menu ru Translation (for lastest commit)
GearMenuRUS.zip

also a few notes

  1. need to add the word "None" to the translation file.
    Скриншот 04-12-2019 050727

2.the text does not fit into the frame.
The translation of words is done very accurately, the maximum number of characters is 25.
Скриншот 04-12-2019 050747

  1. I get an error, it is not related to the translation. But .. she is. Because of what I do not know.

when you turn on the option - small tooltips, and when you hover over any item the game starts reporting an error

TinyTip is possible, or other add-ons that add more information, I attach the image of the error, maybe this will help to fix it someday.

  • works
    Скриншот 04-12-2019 052016

  • not works (after enabling the option of small tooltips)
    Скриншот 04-12-2019 052056

Tooltips Insanely Big

Nice updating to 1.1 -- lots of improvements. Great job on that. No longer the cooldown timer issues -- if you had OmniCC you'd have duplicate cooldown timers (same with CCT which I tried too).

Only thing now, is that the tooltips are insanely big now. Is it possible to use the in-built tooltip instead of using your own? These are waaaay off right now. Even with the smaller option they are still as huge with the same positioning.

left hand nil error

There is no check of the presence of the item in the left hand

Click "Offhand" in Options menu\Quick Change
bandicam 2018-02-08 01-16-21-463

Size

There doesn't seem to be a way to resize the bar at all, and the lower right arrow when the addon is unlocked only moves the menu as opposed to scaling it (TrinketMenu uses this arrow for scaling and I assume the same function was intended here).

GearMenu 1.0.2 not working ?

I downloaded the release version for 1.0.2 and when I load the game I get this error https://imgur.com/2ARG38W

Nothing is working except for the /gm opt command but it looks like this https://imgur.com/qjFTriz

I tried downloading 1.0.1 and its working just fine. It shouldn't be an addon compatibility issue since I've tried disabling everything except gearmenu.

Suggestion - Add ranged weapon slot

Hey there, first of all great add-on! Currently every slot except the ranged weapon slot can be put on the gear bar, is it possible to add that for completeness?

Thanks a bunch. :)

[request] set approach

Hi

Will we ever have the possibility to make sets of gear, like outfitter/itemrack do, for the sake of having only one addon for taking care of all our gear needs ?
But as it's a very different thing of managing usable pieces of gear, i'll perfectly understand if your answer is "no".

Swapping Trinkets Via Drag & Drop When You're Dead (Not Queuing Up)

When you're dead in a battleground and you want to swap position of a trinket via drag & drop it does not work as it states that you cannot do that while you're dead.

Let's say you have a trinket in the first slot that you really want to have in the second and vice versa. You have to do instead multiple steps as well as wait when you respawn.

Perhaps using the queuing mechanism here would be preferable when you drag & drop while dead -- or simply showing all trinkets when you hover over (with your mouse when dead) so you can still "queue" even if you have the trinket equipped.

[GearMenu 1.2] Not Locked When Logging In (Even If It Is Checked)

Hey,

Using the latest branch of GearMenu at the moment (1.2).

When logging in it becomes unlocked every time. I have to go into option and press the lock window twice (disable & enable) to lock it. Using different textures hence the darkened icons

See screenshots:
trinketmenu
tm2

GearMenu chat spam

Just installed GearMenu for the first time. It works as advertised but it is generating an insane amount of chat spam. Every mouseover on the GM buttons produces several lines of text (e.g. GM: starting timer, GM: stopping timer etc pp).

I can only assume this has something to do with pfUI but I didn't find any option in either addon to stop this behaviour. Help! ;-)

GearMenu apparently doesnt work with custom bags

Gearmenu doesnt work with big 36 bags that are custom made on Turtle WoW server. Can you add support for this?

Issue is that you can see the items you want to swap to in GearMenu, but when you click them nothing happens.

Suggestions - tooltip at cursor - hide specific items - additional option for item switch rules

  1. Having the option to have tooltips at the mouse cursor would be a nice QoL option.

  2. Being able to blacklist/hide specific gear pieces would be handy. Some classes carry a lot of extra gear that provide unnecessary clutter (like healing + pvp gear). Being able to hide some of the healing pieces you'd never want to quickswap would make things cleaner.

Making sure it can detect the difference between two identical items but with two different enchants would be something to keep in mind.

Itemrack got a good implementation of this if you're unsure what I mean.

  1. Currently when you make a item switch rule the items swap even when the item doesn't successfully activate which can be an issue in some situations. For example making it possible to only change from skull of impending doom to another item after 9 seconds if skull activated in the first place.

[bug] Quick Change not working

I tried it with spider belt (with no cooldown) and skull of impending doom (with a cooldown, just to try it). I can create rules, but they never do anything.

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.