• 0

    posted a message on Bag Ends
    Quote from Vynn
    The code will probably need some clean up - feel free to browse through it, but expect some changes as I polish it ;)


    A few pointers, if I may.

    • You are calling your frames "BagSlot0", "Bag0String" and "Bag0Highlight". First, I recommend prepending "BagEnds_" to it, so it becomes "BagEnds_BagSlot0". This avoids name clashes with other addons.
    • Second, but this is just a cosmetic thing, I would make the position of the index more consistent: "BagEnds_BagSlot0", "BagEnds_BagString0" and "BagEnds_BagHighlight0". It makes the names slightly easier to remember.
    • Another small change that would make the code more readable is to put the colors you return from GetBagColor into constants:
      local YELLOW = {1.0, 1.0, 0.0}
      Then you can do this in GetBagColor:
      r,g,b = unpack(YELLOW)
      It will add a slight overhead for unpacking the values, but this change also allows for easier implementation of configurable colors. Instead of YELLOW, you just unpack the user-configured color.

    Nice work!
    Posted in: General AddOns
  • 0

    posted a message on Luggage
    After a long WoW hiatus, I picked up development of Luggage again. Only bug fixes for now.

    There is still a bug I cannot reproduce reliably, and that is an occasional lockup of WoW at the bank. Presumably it only happens after playing an extended period of time, so if this happens to anyone, I would appreciate a short bug report with the following information:

    • How long the WoW client has been running
    • How long since the last loading screen (instance, continent switch, etc.)
    • Have you been to the bank previously in this session?
    • Did you change any settings in this session?
    • If yes, which ones?

    Thank you very much.
    Posted in: General AddOns
  • 0

    posted a message on Bag Mods?
    Warning! Shameless self-promotion incoming!

    You could take a look at Luggage. It has many default filters (PeriodicTable optional), among them a filter for equipment sets. I'm not sure if it is compact enough for you. You'd have to cope with one more (short, depending on your bag setup) bar on your screen, but with the right bag setup, you can selectively show potions, gear, quest items, anything you can filter.

    Unfortunately, it still has some bugs that (very rarely, I experience it about once a month) will hide half your items. If you try it out and find a way to reliably reproduce it (or any other bug for that matter), let me know, please.
    Posted in: AddOn HELP!
  • 0

    posted a message on Buffalo3
    Quote from tomsommer
    Nice! Why can you only have 20 buffs showing?

    You mean in the reference frames? It's high enough to see where the buffs will be placed, but not too much to clutter up the screen so you only see the reference frames. When you have more than 20 buffs, they will still be displayed, don't worry.
    Posted in: General AddOns
  • 0

    posted a message on Buffalo3
    Hi everyone,
    to keep this short:

    • Beta phase
    • Read a description, look at screenshots and download it on curse.
    • Post bugs and feature requests on curseforge, please.
    • General feedback, good or bad, is welcome in this thread.
    Posted in: General AddOns
  • 0

    posted a message on Totem Range on Minimap
    Quote from gramg »
    Do instances now have map coords?

    GetPlayerMapPosition does return coordinates inside of instances since at least 3.1.1. But this function returns normalized coordinates between 0.0 and 1.0. Since we only know the totem ranges in yards, we'd have to transform these normalized coordinates into yards as well. For this transformation, we need the actual size of the zone in yards. That size can be extracted from the zone map. Since only WotLK instances have zone maps, such an addon will not work in earlier instances.

    Astrolabe provides functions to get the zone coordinates in yards, but it only has the zone sizes for outdoor maps. Someone would have to add them for WotLK instances.

    Quote from nailertn »
    Though I would prefer displaying the information in the form of artificial auras appended to the player buff bar. Using the minimap instead of the conventional place seems impractical to me.

    Nice idea, I haven't thought of "virtual" buffs for totems. Unfortunately, many players use custom buff frames, so it would be a PITA to support them all. Maybe a separate frame (or Databroker addon?) that shows which totems the player is in range of? Anyway, displaying totem ranges on the minimap would still be useful. When the player knows that he is not in range of a totem, he / she still does not know in which direction to move to get in range.
    Posted in: Addon Ideas
  • 0

    posted a message on Totem Range on Minimap
    I don't think you can "anchor" things on the minimap so you don't have to move them around manually. Case in point: minimap pings. If you click the minimap while running, the ping will be stationary relative to the player blip in the center, not relative to the graphics scrolling along as you run.
    Posted in: Addon Ideas
  • 0

    posted a message on Totem Range on Minimap
    Quote from Chmee
    Not sure why you'd want to move the totem symbol and circle. Totems are stationary.


    Yes, but when the player moves, the minimap moves, so you would have to correct for this to keep the totem icons stationary in relation to the map.
    Posted in: Addon Ideas
  • 0

    posted a message on Totem Range on Minimap
    Hi all,
    would anyone want to try writing an addon that indicates the range of active totems on the minimap? Basic functionality would be:

    • When the player (obviously a shaman) drops a totem, the addon saves the position of the player on the zone map and puts a symbol on the minimap, indicating the totem's position
    • Draw a circle with the totem's position as center and the totem's range (where applicable) as radius on the minimap
    • Move circle and totem icon on minimap when player moves around
    • Remove icon and circle when the totem is destroyed, recalled or expires
    Additional features would include:

    • List of players in group / raid that are out of range, filtered by class (mages won't need a strength totem). I think there are addons out there that already do that, so it's relatively unimportant
    • Broadcast totem positions and ranges to group / raid so that non-shamans with the addon installed can see the ranges on their minimaps and can check whether they need to change position.
    I'd try writing this myself, but I'm packed with work and personal projects as it is. As I understand from the documentation of GetPlayerMapPosition, the obstacle that the API doesn't give coordinates inside of instances has been removed, so with a little coordinate translation magic, this should be possible. Or is there some step in the process of coordinate acquisition and circle drawing that won't work because of API limitations?
    Posted in: Addon Ideas
  • 0

    posted a message on Luggage
    Quote from kinnex
    Is there still a plan to make libBaggage support storage of guild bank data?


    Sorry for the long silence, my email notification of answers seems to be on strike. Anyway, if you still need this, libBaggage now scans the guild bank, too. It's a bit sketchy at the moment and not well documented, but if you need help, let me know.

    PS: You'll have to check out libBaggage from the svn for the guild bank support, there is no zip yet.
    Posted in: General AddOns
  • 0

    posted a message on Luggage
    Quote from DrunkenDonkey

    Also, just a note, Scae, luggage, as of ver 1.09 is using periodic table to arrange the stuff, while I found that without it items are lot better positioned, so if you want to give it a try, delete the 2 periodictable libs in the addon.


    Just a quick note: deleting the embedded Periodic Table libraries in Luggage may not deactivate the PT filters because those libs could be embedded somewhere else and then the filters would load regardless. Delete the file
    Interface/Addons/Luggage/filters/PeriodicTable.lua
    to go back to the old filters.
    Posted in: General AddOns
  • 0

    posted a message on Luggage
    Good point. Dropping items onto any bag puts it into the inventory. Coming up in 1.10 (whenever I will have time to actually make 1.10)
    Posted in: General AddOns
  • 0

    posted a message on Buffalo
    Try tagging it. The packager only generates files when a repository is tagged.
    Posted in: General AddOns
  • 0

    posted a message on Luggage
    Quote from DrunkenDonkey
    That being said I guess there is no way of going back to the pre-periodictable time...?


    Sure. Delete the PeriodicTable.lua in Luggage/filters. Maybe I should make it a separate addon.
    Posted in: General AddOns
  • 0

    posted a message on Luggage
    v1.09:
    * Added PeriodicTable filter
    * Added keyring to location filter
    * Clamped bag bars and bags to screen
    * Bag bars are now movable by dragging their tabs
    * Fixed "compare number with string" error
    * Fixed frame strata
    * Fixed ClosetGnome filter nil error when a set was deleted
    * Fixed lower border of bags too big
    * Tweaked defaults to better mimic Blizzard bags
    Posted in: General AddOns
  • To post a comment, please or register a new account.